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

update customer table in user exit 'Save_document ' when post goods issue

Former Member
0 Likes
1,022

Dear All,

I need collect data when user create delivery and post goods issue for consignment credit check.Because SAP standard does not update S097 and S096.

Now I found some times table YVBFA is filled some times not. Especially when post goods issue. Then I want to check if YVBFA is initial or not .If it is initial and XVBFA's last record is related with goods issue .Then I judge it as post goods issue.

Then collect my required data.

But I am not sure in this point.I mean when YVBFA is empty and the last record in XVBFA ,is the user is doing post goods issue with VL02N?

Is there anybody has the experience on this point ?

Thanks for you suggestions in advance/

1 ACCEPTED SOLUTION
Read only

Manohar2u
Active Contributor
0 Likes
898

Am not sure which method you are using - but in general you have control flags in importing parameter IS_V50AGL and variable WARENAUSGANG tells you if this is goods issue or not.

Am not sure which method you are using - but in general you have control flags in importing parameter IS_V50AGL and variable WARENAUSGANG tells you if this is goods issue or not.

4 REPLIES 4
Read only

Manohar2u
Active Contributor
0 Likes
899

Am not sure which method you are using - but in general you have control flags in importing parameter IS_V50AGL and variable WARENAUSGANG tells you if this is goods issue or not.

Read only

Former Member
0 Likes
898

I am using the exit of transaction VL02N .The exit is save document.

Will this parameters also tell me is reverse post goods issue or not ? Because I also need reverse custom table when user reverse post goods issue.

Read only

Manohar2u
Active Contributor
0 Likes
898

WARENAUSG_STORNO field is for Goods issue cancellation.

Are you not using LE_SHP_DELIVERY_PROC BADI? As this has SAVE_AND_PUBLISH_DOCUMENT &

SAVE_DOCUMENT_PREPARE methods!!

Edited by: Manohar Reddy Kallem on Mar 8, 2010 4:20 PM

Read only

Former Member
0 Likes
898

Thanks for your reply. I am using MV50AFZ1's FORM routine USEREXIT_SAVE_DOCUMENT.

Here can I find any indicator about post goods issue and cancel goods issue ?