on 10-24-2013 1:40 PM
Hi Gurus,
I have a requirement that is:
I have different customers, and these different customers (more than 100) have different requirements when placing sales orders (e.g. some need PO, some need to provide a service card number, etc).
I was thinking about having a Sales Order with a Dynamic Imcompletion log.
So, depending on customer requirements, a different incompletion log would be presented to the user.
Would this be the best approach? OR Is there another solution that can be used?
Please advise.
Thank you!
As rightly pointed out by Amit, through functional configuration (status profile or incompletion log), this cannot be achieved. You have to go with some sale order related user exit. May be you can try with USEREXIT_SAVE_DOCUMENT in the program MV45AFZZ but even for that I am not sure, whether you maintain those (service card number etc.,) requirements in SAP. If not, you need to have a zee table with required fields like customer code, service card number etc., and as and when, sale order is generated, before saving, with the above exit, you can validate this zee table and accordingly allow the system to save the order
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Carlos
As pointed out by experts, this would require some enhancement.
If you can define the incompletion log with the required fields functionally, (In SPRO - SD - BF - Log_of_Incomplete_Items), then you may be able to assign it to Sold-to-party.
You may try to use the exit - USEREXIT_SAVE_DOCUMENT_PREPARE for assigning to SP in the program MV45AFZZ. This exit is called just before saving the document.
You need to create the incompletion logs in SPRO and call the Incompletion procedure from this exit
The logic you may ask your technical team to try is:
If VBAK-KUNNR = '1000', (1000 = Sold to party) " (Though CASE - ENDCASE would be better than IF - ENDIF.)
then read table XVBUV with KEY FEHGR = '11' (eg incompletion procedure).
and if Return Code is not equal to zero, give an error message.
Thanks
Pronojit Gupta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Carlos,
Incompletion log is assigned on document type and not linked to customer.
We had a same requirement but for Status profile where we need different levels of approval in sales order depending on order value, but since Status profile is assigned to document type, nothing could be achieved even through Exit.
Let us wait for expert to reply on this. As per my knowledge, it is not possible.
Regards,
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
10 | |
6 | |
6 | |
4 | |
3 | |
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.