on 04-20-2012 12:04 PM
Dear Experts,
In SODS account assignment we are giving wbs. We have done dispatch of few quantities from the same account assigned wbs for a corresponding line item. Now, when i change this wbs and replace it with another system is allowing me to change it. why it is happening? As logically it should not happen.Please tell the way such that if a dispatch is done for a line item user should not be able to change it. However if we could make it in display after dispatch will also serve my purpose.
Also, please tell the table where the reservation and PR of materials are saved .
Please suggest..
Thanks & Regards
Ankur
Hi Ankur,
I think small development in userexit of Sales Order change/save should solve the issue. Please find appropriate user exit. I have listed few below, check if they suit the requirement. Code should be written to check whether the sales order line item is already present in LIPS (Delivery Line Item) table. If yes, system should issue message and disallow changes.
USEREXIT_SAVE_DOCUMENT_PREPARE
USEREXIT_CHECK_VBAP
BADI_SD_SALES_ITEM
Also you can check once with SD consultant if any standard config is available. Hope this helps.
Regards
Shrikant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Shrikant,
I asked with SD conslt. and found that no such config exists henceforth we shall have to go by userexit.
But, I have a doubt: In SODS line item we have assigned material code for which there exist a reservation against wbs element.Do i need to include EBAN table in my concern while applying userexists? And, if however the same material code exists under reservation against two or more wbs elements then in that case we should be able to change the account assignment of sods line item.
So, how can we achieve the same. please suggest.
Thanks & Regards
Ankur
Hi Ankur,
I feel there is no necessity to co-relate this with material reservation unless there is very specific requirement to do so. I feel this because we will be checking delivery in LIPS table with respect to SO line item and SO line item will have 1:1 relationship with material entered. Hence if we are checking SO line item for existing delivery, is it necessary to check material?
Further if you still want to introduce that check, you can define a logic involving LIPS and RESB table. RESB table will give you WBS reservation info.
Hope this clarifies your doubt
Regards
Shrikant
Yes , Sourav U got it right.
And you can see EBAN table for the reservation and PR of materials are saved
Thanks for the info Sourav.
But still I am stuck with my query.Kindly help.
Thanks & Regards
Ankur
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ankur,
Are you talking about account assignment tab in Sales order where you are assigning WBS element?
And you can see EBAN table for the reservation and PR of materials are saved.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Experts,
Kindly suggest on the same.
Regards
Ankur
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 | |
11 | |
11 | |
6 | |
6 | |
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.