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.
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.
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?
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.
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.
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