Skip to Content
Former Member
May 10, 2010 at 07:40 AM

Replaced value is not getting relected in IDOC segment field



Need your help for the below issue.

I am replacing the PO # with Delivery Doc # . But the replaced value is not getting reflected in the IDOC segment field(e1bp2017_gm_item_create-po_number.).

Function Module which I am using is IDOC_INPUT_MBGMCR as a copy.

Here is my code given below:


SINGLE vbeln

INTO lx_vbeln

FROM lips

WHERE vgbel EQ e1bp2017_gm_item_create-po_number.

Move lx_vbeln TO e1bp2017_gm_item_create-po_number.




MOVE-CORRESPONDING e1bp2017_gm_item_create

TO goodsmvt_item.

Then this is passed as TABLE in "BAPI_GOODSMVT_CREATE".

Please do the needful.