cancel
Showing results for 
Search instead for 
Did you mean: 

Re-calculation of Shopping cart delivery date.

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

ricardo_cavedini
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Thanks Muthu but my requirement is for SRM 7.0, Do u mean Change BADI implementation would serve the purpose in 7.0 as well?

Answers (1)

Answers (1)

former_member183819
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi Muthu,

We can approve the shopping cart by Two ways. Doc Change Badi is not triggered if the approver approves through Green Button under the action.

Thanks.

Regards,

Thamilselvan.

former_member183819
Active Contributor
0 Kudos

Hi

I believe SRM system never check the delivery date .

only it checks less than current date WHILE CREATING SC.

NOT po

BBP_PD 584 Preferred delivery date cannot be kept; Earliest date: &

br

Muthu