Application Development and Automation 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: 
Read only

reg Bapi_goodsmvt_create

Former Member
0 Likes
335

hi all,

i have a situation to find succesfull entry & unsuccesfull after calling bapi_goodsmvt_create. can i know where does the succes & unsuccess entry lies in the function module. bcoz i need to specify the no individually,

Thanks in advance,

Prem.

2 REPLIES 2
Read only

Former Member
0 Likes
304

Hi Prem,

You can find the BAPI execution status in the RETURN field of the function module.

The FM execution status will be in the field TYPE in RETURN.

Message type: <b>S</b> Success,<b>E</b> Error, <b>W</b> Warning, <b>I</b> Info, <b>A</b> Abort

The message number will be in the field NUMBER.

best regards,

Thangesh

Read only

Former Member
0 Likes
304

hi

Bapi_goodsmvt_create is used to post material documents with different movement types for consumption, transfer posting etc.,

if it is sucessfully executed then you will get the bapiret structure with a sucess messages and also a material document number is generated.

But this document will not be available in MSEG/ MKPF tables unless you commit work. or use BAPI_TRANSACTION_COMMIT along with it.

Thanks.