Skip to Content
-1

How to change delivery date when save the PO?

Aug 28, 2017 at 07:13 AM

34

avatar image
Former Member

Hello,

I need help.

I want to change delivery date when I save PO. I`m using BADI

ME_PROCESS_PO_CUST method CHECK but here the value of delivery date = EEIND isnt change. I tried PROCESS_SCHEDULE method, here it is posible but system doesn´t stop when you are save the PO.

Please, anyoen knows where can I do that??

thanks in advance

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Raymond Giuseppi
Aug 28, 2017 at 01:02 PM
0

Did you actually loop at the items and schedules in your implementation of the CHECK method to update schedule?

items = im_header->get_items( ).
LOOP AT items ASSIGNING <item>.
  schedules = <item>-item->get_schedules( ).
  LOOP AT schedules ASSIGNING <schedule>.
    <schedule>-schedule->get_data( ).
    " only use set_data if you actually change a value (no infinite loop)
    <schedule>-schedule->set_data( ).
  ENDLOOP.
ENDLOOP.
Share
10 |10000 characters needed characters left characters exceeded