Problem with calling BAPI BAPI_objcl_getdetail

Hello,

I have added the BAPI BAPI_OBJCL_DETDETAIL to my SAP datastore. I can call the function and I get status “RFC_OK” but it does not contain any values in the return parameters (datatype table). All fields are NULL.
Are there any issues with Data Services and return tables in BAPIs?

Another thing is that if I call the BAPI in SAP GUI there is an import parameter called unvaluated chars which is datatype char(1). This parameter does not exist in Data Services - there is an array with name unvalueted_chars with 14 fields instead. So I don’t know which field to use. I tried all of them but nothing worked. I always get an empty return set (NULL values).

What am I doing wrong?

Thanks for help


ifm_tkr (BOB member since 2010-09-17)

I have seen a bug like that when importing the function metadata. Can you check if the Z_AW_ functions are installed?

Run the function module Z_AW_FUNCTION_GET manually from SAPGUI and check what the output is for your example.


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

Thanks for your answer Werner!

I will check if the customer can check this in the SAP system or if I can find any other SAP system to try that.


ifm_tkr (BOB member since 2010-09-17)

Something Similar:

I am using function : BAPI_MATERIAL_AVAILABILITY

When I execute it in SAP I am prompted to input values. I do that and get the Export Parameters filled in as expected.

However, when I try to use this function in Data Services I get all NULL values. No errors; just NULL


toscajo (BOB member since 2002-09-04)