on 03-15-2010 9:48 AM
Hi,
I have a requirement wherein , i have to do some calcutaions on the delivery date of the shoppinng Cart based on the approvals.
we are currently on SRM 5.0.
The scenario is ,When a shopping cart is created a Delivery date is determined for the same. If an approval takes 2 days later, 2 more days should be added to the delivery date.
Please let me know whether there is a BADI through which this can be implemented.
Thanks & Regards
Thamilselvan
Hello,
DOC_CHANGE_BADI will be triggered while creating the shopping cart.
During its approval, you cannot change the delivery date according the date that approver is approving the cart.
You could implement something like this in your CHANGE_BADI to change the delivery date while creating the cart:
*item data
loop at it_item into ls_item_import.
ls_item_import-deliv_date = sy-datum + 2.
move-corresponding ls_item_import to ls_item.
append ls_item to lt_item.
endloop.
Then, you can change message BBP_PD 584 to warning via message control.
Kind regards,
Ricardo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In DOC Change BADI , you can add as much dates you want right
if you are in ECS , while creating a PO check the delivery date is old or not and add 7 days and create a PO upon your need.
doc change badi only helps
you can alarm the approver or while creating a PO you can modify them.
check badi to check whether needs to be extended or not with current date.
br
muthu
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.