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: 

BAPI_OBJCL_GETDETAIL behave

TJRP
Participant
0 Kudos

Hi,

I am using using BAdI mb_document_badi , in my BAdi I have a program that is submitted via a job. Within this program I read material classification data, which I am doing using BAPI BAPI_OBJCL_GETDETAIL.

If I create a material document using MB1B or MIGO, the program successfully returns the material classification.

If I run a bespoke program which creates a material document, which calls MB1B and the BAdI is invoked, however the program fails to read the material classification using BAPI_OBJCL_GETDETAIL and no data is returned, has anyone come across this issue before?

Regards

J-J

1 REPLY 1

TJRP
Participant
0 Kudos

Program error, now fixed