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

va01 user exit

Former Member
0 Likes
1,069

i am updating a ztable field in va02 user exit.

how to know user is changing the line items or user

is selected reason for rejection .

xvbap-abgru indicates reason for rejection field,

so what field indicates whether user has editing the line items or not.

thank you for all the replies.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,016

Hi Shiva,

code like this..

IF xvbap-updkz = 'U'. "means change mode va02

here you can write the code for line items changes.

IF yvbap-abgru EQ 'X' AND xvbap-abgru NE 'X'.

  • yvbap-abgru it represents reason for rejection.

your code for reason for rejection here

ENDIF.

IF xvbap-abgru EQ 'X'.

your code for reason for rejection ENDIF.

ENDIF.

If you have further queries pls let us know.

Regards,

Viveks

7 REPLIES 7
Read only

Former Member
0 Likes
1,016

please post the replies its urgent

Edited by: Shiva on Jul 9, 2008 12:20 PM

Read only

Former Member
0 Likes
1,016

Hi Shiva,

Pls have a look at this field..

xvbap-updkz

Regards,

Viveks

Read only

Former Member
0 Likes
1,016

compare value of

  • means old value

IF xvbap-abgru NE *xvbap-abgru.

OR

IF xvbap-abgru NE yvbap-abgru.

Hope this will help.

Read only

0 Likes
1,016

hello vivek and neo, please surely explain me more on this .

thank you much for the replies.

Read only

Former Member
0 Likes
1,016

Hi shiva k,

Please have a look on below threads...

Hope it will solve your problem..

Thanks & Regards

ilesh 24x7

Read only

Former Member
0 Likes
1,016

Hi,

Also have a look at the variable SVBAP-TABIX!

SVBAP-TABIX = 0 Create Item

SVBAP-TABIX > 0 Change Item

Kind Regards

Read only

Former Member
0 Likes
1,017

Hi Shiva,

code like this..

IF xvbap-updkz = 'U'. "means change mode va02

here you can write the code for line items changes.

IF yvbap-abgru EQ 'X' AND xvbap-abgru NE 'X'.

  • yvbap-abgru it represents reason for rejection.

your code for reason for rejection here

ENDIF.

IF xvbap-abgru EQ 'X'.

your code for reason for rejection ENDIF.

ENDIF.

If you have further queries pls let us know.

Regards,

Viveks