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

Query in BAPI BAPI_GOODSMVT_CREATE

Former Member
0 Likes
382

Hi,

I am usnig a BAPI BAPI_GOODSMVT_CREATE for creating good movement. I am succefully able to update the document flow. But when i try to delete the material through MIGO then not able to update the document flow.

If the goods movement is created through standard then i am successfully able to delete the material document and document flow is updated successfully.

I am passing the following parameters in the BAPI.

At Item Level: gs_item-move_type = '101'.

gs_item-mvt_ind = 'B'.

gs_item-po_number

gs_item-po_item

gs_item-deliv_numb_to_search

gs_item-deliv_item_to_search

gs_item-deliv_numb

gs_item-deliv_item

gs_item-entry_qnt

gs_item-entry_uom

gs_item-stge_loc

At Header Level:

gs_header-pstng_date = p_bldat.

gs_header-doc_date = sy-datum.

gs_code-gm_code = '01'.

Please suggest if i am getting wrong or have to pass some other parameters at header or item level so that when user delete the record through MIGO then also document flow will occur.

I have searched on SDN a lot for this but just found how to update document flow while creating... not while deleting through MIGO.

Regards,

Pankaj Aggarwal

2 REPLIES 2
Read only

Former Member
0 Likes
344

Hi,

please suggest how can i achieve..

Read only

0 Likes
344

Passeed the delivery item at header level and its resolved.