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

Va21 & va22

radhushankar
Participant
0 Likes
400

hi all,

i am working in va21..In that the user will maintain the serial numbers in

extras---->serialnumbers.

if the user didnt maintain the seril number also it will alow the user to save the quotation.

my requirment is, i have to give a error message while savin the document if the user didnt maintain the serial number.

can any one tel me in which exit i have to make it?

Thanks in advance

hi all,

i am working in va21..In that the user will maintain the serial numbers in

extras---->serialnumbers.

if the user didnt maintain the seril number also it will alow the user to save the quotation.

my requirment is, i have to give a error message while savin the document if the user didnt maintain the serial number.

can any one tel me in which exit i have to make it?

Thanks in advance

1 REPLY 1
Read only

Former Member
0 Likes
350

Hi Radhu Shankar G,

The requirement that you have works even if the serial numbers are not entered is because while saving it automatically gives number or serial numbers and saves them.

If your requirement is crucial and needs to be done as per this you can either check it at each time you enter the line item or while saving. The exits are:

1> USEREXIT_PRICING_PREPARE_TKOMP -> this is triggered each time while the line items are entered.

2> USEREXIT_SAVE_DOCUMENT_PREPARE -> This is triggered while the sales order is being saved.

They both are found in the standard program SAPMV45A.

Use either and achieve at your results.

Reward points if useful.

Thanks,

Tejus.