Application Development 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: 

how to capture the value in buffer

Former Member
0 Kudos

Hi,

In VA01, when I change name of ship to party. Want to compare changed with name in ztable.

But when I change the name it will be in buffer.So how to do this?

Is there any function module to caputure the value in buffer.

Please suggest me.

Regards,

Brahmaji

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

Use user exit "MV45AFZB", form routine "USEREXIT_CHECK_VBAK".

Read table xvbpa into <workarea> with key posnr ='000000' parvw = 'WE'.

Check <workarea>-KUNNR with the value in Z table.

Regards

Vinod

5 REPLIES 5

Former Member
0 Kudos

Hi,

Use user exit "MV45AFZB", form routine "USEREXIT_CHECK_VBAK".

Read table xvbpa into <workarea> with key posnr ='000000' parvw = 'WE'.

Check <workarea>-KUNNR with the value in Z table.

Regards

Vinod

0 Kudos

Hi,

Thanks for your reply, in wihch structure can i find the changed name of ship to party in debugging.

I didnt find the changed name of ship to party in xvbpa while debugging,

plz suggest me.

Thanks,

Brahmaji

0 Kudos

Hi,

You can get the value of changed ship to party name in XVBPA-NAME1 ( XVBPA-PARVW = 'WE'). You can

use user exit MV45AFZZ, form-routine : USEREXIT_SAVE_DOCUMENT_PREAPARE for this.

Regards

Vinod

former_member193821
Active Participant
0 Kudos

Hi,

You can add your validation logic in "MV45AFZB", form routine "USEREXIT_CHECK_VBAK" which is used to add additional logic for checking the header for completeness and consistency.

or "MV45A175" where object data is loaded to subscreen work area through FM "OII_SOC_ORDER_GET_CUST_TANK".

Thanks and Regards,

P.Bharadwaj

Former Member
0 Kudos

the value is found in kuwev-name1.

thanks for ur replies