cancel
Showing results for 
Search instead for 
Did you mean: 

va01 user exit

Former Member
0 Kudos

Hi friends,

Iam facing the following problem in the below user exit.

in the include MV45AFZZ

FORM USEREXIT_SAVE_DOCUMENT

In that iam writing a code.

actually my requirment is

loop at xvbap where KWMENG is initial.

xVBAP-ABGRU = 10.

modify xvbap index sy-tabix transporting abgru.

endloop.

actually my requirment is

ie: for any values i enter it should perform a check that if the order quantity is 0 and when i save the order then if the order quantity is initial then the REASON FROM REJECTION should be asigned to it.

ie : vbap-abgru can be any one of the value.

can any one tell me how can i do it.

when i check the value in the va02 , FOR the initial order quanity the REASON FOR REJECTION should be assigned.

Iam getting every thing correct in the debugging and the document number is being saved but the reason for rejection value is not getting assigned when i see the order in va02.

can any one tell me were iam getting wrong......

points will be regared,

Regards

Kumar.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

can u try to change the values of YVBAP as well .

regards

Prabhu

Answers (1)

Answers (1)

former_member181995
Active Contributor
0 Kudos

Satish,

did you see your yesterday thread i update that one already.

Amit.