cancel
Showing results for 
Search instead for 
Did you mean: 

Block Add Items in a Sales Order (VA02)

Former Member
0 Kudos

Hello,

Is there possible to block the add of items/materials (but let the user to add/modify "Reason of rejection") in a Sales Order? (When you enter in the VA02)

Maybe I can modify this with customizin or profiles/roles.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Thanks for your feedback,

Is it possible to do this without using a "User Exit"?

I was trying with the "Transaction Variantas" at SHTDO, but I only can modify the first screen (where you define the parameters of you document search). I don't know if I can do something more in order to get a Variant at the Sales Order.

Former Member
0 Kudos

Not sure... But I dont think it will work the way you want it to if you modify the screen variant. User exit I think is the better option.

Hope this helps

Regards,

Mukund S

Edited by: MukundHS on Feb 11, 2011 9:29 PM

Former Member
0 Kudos

Now I was thinking in an alternative...

Is it possible to Block or make invisible some tabs in the Sales Order? (With out creating a new class of sales document)

Former Member
0 Kudos

hi manzarek,

yes this is possible

in this way

include : MV45AFZZ,

user exit : USER EXIT_SAVE_DOCUMENT_PREPARE.

write a code on ROR VBAK-AUGRU OR VBEP-LIFSP.

no you cannot modify in roles or authorizations for this issue

hope this clears your issue

balajia

Former Member
0 Kudos

Hi,

I think you can use user exit MV45AFZZ. I think you can put a piece of code in Save_Document_Prepare or save_document where you can compare the tcode. If tcode is 'VA02', then, you can restrict the new items getting created or saved.

Hope this helps...

Regards,

Mukund S