on 02-24-2014 6:33 AM
Using standard please suggest a methodolgy which will prevent adding line item in a sales order (using t.code VA02) whose document type has mandatory reference.
In VA01 the sales document type is having mandatory reference and user creating sales order with reference.But by using VA02 the user is able to add items which are not referenced to contract.
Although the line items can be selected and assigned contract reference the requirement is to prevent creating such line items in VA02.
Hi Prabhakar,
Yes,as per standard functionality it will always allow to make modifications in Sales order as they represent the confirmed orders whereas contract act as an agreement.
So in your case the required functionality can only be achieved via customising in USEREXIT_SAVE_DOCUMENT_PREPARE in the program MV45AFZZ,
So tell your ABAPer to put the logic that
-> When creating the Sales Order it checks the current document items & quantity with its referred contract .And in case of mismatch throws an error popup and don't allow to save.
Thanks
Vaibhav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Hope this might also work
Copy controls---VTAA---Header Complete Reference.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Siva Vasireddy sir
i am correcting as per my knowledge plz let me know your feed back sir
i think Even if we make complete reference we can add line item in sales order
only this purpose is suppose i have created sales order 100 qnty and in and qt are respectively 200 (in),200(qt)
so now once created one sales order with 100 if maintained complet ref system wont allow to create another sales order for remaining 100
but we can add new line item in va02
Thanks a lot
Message was edited by: Jyoti Prakash
Don't post in all BOLD
Through standard, it is not possible to achieve this reqiurement if this is user specific which can be controlled via authorisation to VA02. Else, you need to try with USEREXIT_SAVE_DOCUMENT_PREPARE in the program MV45AFZZ
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.