SAP function import to BODI has missing export parameter

Hi All

I have imported a custom SAP R/3 function module into BODI (version 12.1.1.4), but it has not brought in one of the export parameters, the one I actually need returned.

I had something similar happend with another function module but saw that the developer had used a data element without a defined domain and once I had created the domain and linked that to the data element the parameter was imported. This did not happen with this function module though.

Has anyone else experienced this and have some suggestions.

Regards
Aidan


aidanmac :uk: (BOB member since 2009-02-04)

any weird datatype maybe?


Werner Daehn :de: (BOB member since 2004-12-17)

Hi Werner

No, it is a custom one named ZARAG_TXT with data type CHAR and length of 1. I also just tried changing the parameter type to CHAR1 but that also did not work. BODI leaves off the parameter completely.

Regards
Aidan


aidanmac :uk: (BOB member since 2009-02-04)

When you post the input/output/table parameters we can create the same function in our environment and try.


Werner Daehn :de: (BOB member since 2004-12-17)

Import Parameter: I_OBJNR TYPE OBJPO
Export Parameter: E_ZARAG TYPE ZARAG_TXT

Data Element: ZARAG_TXT, Domain: ZARAG_TXT

Domain: ZARAG_TXT, Data Type: CHAR, No. Characters: 1
Value Range: R - Red, A - Amber, G - Green

Let me know if you need more details.

Interestingly I had an idea and added E_VBELN TYPE VBELN and that pulls through to BODI, but still not the E_ZARAG. Could it be something to do with the custom data element?


aidanmac :uk: (BOB member since 2009-02-04)

I changed the data element to have a domain of VBELN and then BODI imports the field alright. When I switch the domain back to ZARAG_TXT it fails with the attached error.
BODI Error.jpg


aidanmac :uk: (BOB member since 2009-02-04)

I also just noticed after switching the domain back to VBELN that the size of all the fields in the imported function are exactly half the size they should be. So E_VBELN and E_ZARAG are a length of 5 instead of 10.


aidanmac :uk: (BOB member since 2009-02-04)

I give up. Please open a case.


Werner Daehn :de: (BOB member since 2004-12-17)

I have gotten it to work now by switching all parameters from TYPE to LIKE declarations and now it works!

I_OBJNR LIKE VBAP-OBJNR
E_ZARAG LIKE TSKTV-FLAG1

I will raise a case anyway to look into this.


aidanmac :uk: (BOB member since 2009-02-04)

appreciate it!

:+1:


Werner Daehn :de: (BOB member since 2004-12-17)

Hi,

Do you know if there was a resolution to this? We’re experiencing a similar problem (input & output parameters not coming through to BODI after importing an R/3 function), for the same version of BODI - 12.1.1.4

Thanks,
Alex


jefale :uk: (BOB member since 2005-07-28)

Hi Alex

I have opened a case with SAP and they are still busy with the investigation.

Using the LIKE with SAP standard references has worked for me for now.

Regards
Aidan


aidanmac :uk: (BOB member since 2009-02-04)

Thanks Aidan - we’ve just done the same and it’s now working.

Thanks for your help.


jefale :uk: (BOB member since 2005-07-28)

Pleasure.

I will leave a message once SAP comes back to me either with or without a solution. Hopefully with!


aidanmac :uk: (BOB member since 2009-02-04)

Did SAP ever come back with a solution to this, or an explanation of why it happens?

I’m getting this same problem on v12.2.2


dcstevenson (BOB member since 2006-09-06)