Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

After Executing a BAPI, return parameters are empty

chethankyadav
Explorer
0 Kudos

Hi,

BAPI return parameters doesn't provide any ID, TYPE or MESSAGE. Just it shows '000' etc. Can anybody help me on this. Why does return parameter show empty or '000'. Can anyone provide explanation on this.

For Ex: BAPI_EQUI_CREATE returns '000' and after doing BAPI_TRANSACTION_COMMIT also it returns '000'. But still equipment gets created.

Thanks.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor

Not every BAPI fill the RETURN structure or table with 'S'uccess message, especially when they export already many information (like this one)

As long as a BAPI doesn't contain an 'E'rror or 'A'bort message, you can COMMIT WORK.

2 REPLIES 2

former_member186746
Active Contributor
0 Kudos

Hi,

Does exporting parameter EQUIPMENT have a value after creation? If so then use that to determine whether things went according to plan or not.

Kind regards, Rob Dielemans

raymond_giuseppi
Active Contributor

Not every BAPI fill the RETURN structure or table with 'S'uccess message, especially when they export already many information (like this one)

As long as a BAPI doesn't contain an 'E'rror or 'A'bort message, you can COMMIT WORK.