‎2007 Jan 19 3:12 PM
Hi All,
I am using one BAPI Function Module for Delivery(Post goods Issue)---VL02n
I am Using this Function Module: BAPI_OUTB_DELIVERY_CONFIRM_DEC
In That i am getting one error : Transaction has already been completely referenced.
Plz Help me any one for this. What is this error?
This function Module Correct for VL02n?
‎2007 Jan 19 3:27 PM
normally for Post goods Issue the BAPI's are not working properly. Try using a BDC for VL02N...We have implemented the same in our place and it is working fine.
‎2007 Jan 19 3:33 PM
for post good issue u have to use BDC.. we have done BDC for postgoods issue...
BAPI_OUTB_DELIVERY_CONFIRM_DEC is used to Change the Delivery details in Decentralised system.example if u have where house management system separatly then they use this BAPI to replicate the data into sap.
Please Close this thread.. when u r problem is solved
Reward if Helpful
Regards
Naresh Reddy K
‎2007 Jan 19 3:33 PM
Hi,
you may use one of these two FM, both are working.
MB_POST_GOODS_MOVEMENT
BAPI_GOODSMVT_CREATE
Regards,
Amit
‎2007 Jan 19 4:05 PM
Hi,
Check this example for PGI..
PARAMETERS: p_vbeln LIKE likp-vbeln.
DATA: vbkok_wa TYPE vbkok.
vbkok_wa-vbeln_vl = p_vbeln.
vbkok_wa-wabuc = 'X'.
DATA: v_error.
CALL FUNCTION 'WS_DELIVERY_UPDATE'
EXPORTING
vbkok_wa = vbkok_wa
delivery = p_vbeln
IMPORTING
ef_error_in_goods_issue_0 = v_error.
COMMIT WORK.
Thanks,
Naren
‎2007 Jan 19 4:07 PM
Hi,
You can try the BAPI BAPI_OUTB_DELIVERY_CONFIRM_DEC
In the header_control parameter pass POST_GI_FLG = 'X'..
I believe this should work..
Thanks,
Naren
‎2007 Jan 19 5:02 PM
Hello,
In the BAPI u need to set the flag of
<b>POST_GI_FLG = 'X'..<b></b></b>
If useful reward.
Vasanth