10-07-2008 9:37 PM
Hi,
I have to change both header and item of the sales order using IDOC message type - ORDCHG.
I'm passing Sales Order# to the E1EDK01-BELNR and E1EDK01-ACTION = '002' for orders header.
when i test using WE19, It's creating a new document instead of changing the existing sales order.
Am i doing something wrong here? any inputs from you guys?
Thanks,
Arun
10-07-2008 10:59 PM
>I'm passing Sales Order# to the E1EDK01-BELNR and E1EDK01-ACTION = '002' for orders header.
you are doing wrong.
the correct approach is
you need to pass the order number to e1edk02-belnr and e1edk02-qulf = '002'.
10-07-2008 9:43 PM
What is the process code you are using in the partner profile? What is the FM assigned to that process code?
For change it should be calling IDOC_INPUT_ORDCHG, while it seems it is callingIDOC_INPUT_ORDERS, check that and you will be fine
10-07-2008 9:54 PM
10-07-2008 10:59 PM
>I'm passing Sales Order# to the E1EDK01-BELNR and E1EDK01-ACTION = '002' for orders header.
you are doing wrong.
the correct approach is
you need to pass the order number to e1edk02-belnr and e1edk02-qulf = '002'.
10-07-2008 11:04 PM