2 Replies Latest reply: Jun 23, 2012 5:16 AM by Venu Cherupillil RSS

PO Latest changes in an IDOC.

Rob Bennete
Currently Being Moderated

Guys.

For the PO Interface to our new WMS system, there is a  requirement to send all the latest changes on a given time. Here is the scenario

 

- The STO's received in SAP from an external system.

- The purchasing group will make changes and amend new things in PO.

- Now we do not want to send any idocs. But once the work day is over around 6 PM we need to create one IDOC and send it to our WMS.

 

How to achieve this.

 

Thanks

Rob.

  • Re: PO Latest changes in an IDOC.
    Aram Kalyanasundaram
    Currently Being Moderated

    Hi Rob,

     

          From your requirement,it is understood that you would potentially look for the Purchase Order History in terms of PO header and PO Item changes and based on that trigger an idoc to WMS at the end of day on a daily basis.

     

    I think you can acheive this by using Function Module ISIDE_PH_PDOC_HIST_READ which actually uses Standard SAP program SAPLDE_PH and then you can schedule a job(SM37) for a specific time.You may also wish to make use of the change pointers to trigger the change by activating ORDCHG message type.(Alternately you may also use FM IDOC_INPUT_ORDCHG).

     

    NOTE : Dont Forget to activate Change Pointers using BD50 for Message Type ORDCHG.

     

    Hope it helps

     

    BR,

    Aram.

  • Re: PO Latest changes in an IDOC.
    Venu Cherupillil
    Currently Being Moderated

    Hello,

     

    You may setup output condition record (MN04) with Output Date/Time = 1 (Send with periodically scheduled job). Then you may schedule the program RSNAST00 to create the output (IDOCs) when you need it.

     

    Thanks,

    Venu

Actions