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

Function Module

Former Member
0 Likes
686

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?

6 REPLIES 6
Read only

Former Member
0 Likes
643

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.

Read only

Former Member
0 Likes
643

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

Read only

amit_khare
Active Contributor
0 Likes
643

Hi,

you may use one of these two FM, both are working.

MB_POST_GOODS_MOVEMENT

BAPI_GOODSMVT_CREATE

Regards,

Amit

Read only

Former Member
0 Likes
643

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

Read only

Former Member
0 Likes
643

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

Read only

Former Member
0 Likes
643

Hello,

In the BAPI u need to set the flag of

<b>POST_GI_FLG = 'X'..<b></b></b>

If useful reward.

Vasanth