Replicate VA01 process with auto IDOC import
First post on this forum and I have a question I need assistance answering regarding the importation or IDOCS automatically into SAP.
Let me outline my situation;
I have an EDI provider who creates IDOC's based on sales orders they receive from my customers. The end goal is to have these IDOC's import automatically into SAP, to save my sales force time from entering orders manually.
I have configured SAP to import the IDOC correctly (via AS2 connection) however, I have an issue which is preventing me going live.
The problem is, due to the way my company structures the customers internally the Sold-To number from the IDOC header, is not the Sold-To number I want to go into the Sold-To section of the order.
My IDOC contains KUAG1004737 in the header - SAP checks a partner profile exists for 1004737 (it does) and enters 1004737 into the Order as the Sold-To Party.
I accept that SAP needs to check the header for KUAG1004737 for the partner profile, but I do not want SAP to enter 1004737 as the Sold-To party number, because it is the wrong number.
My IDOC contains a Ship-To account number (3003012) in the E2EDKA1003 WE line. Ship-To account has an associated Sold-To account, which is NOT 1004737, rather it is 1005011.
My aim is to have SAP read the header, discard the info, populate the Ship-To section of the order with 3003012 from the IDOC, then use the associated Sold-To record that SAP has to enter 1005011 as the Sold-To party number.
If I enter an order manually using VA01, I can enter the Ship-To number, press return & SAP auto populates the correct Ship-To number based on the association. This is what I'm trying to achieve with the IDOC import process.
Does anybody have any idea how to achieve this?
Thanks (sorry if what I'm after is not clear, there's a lot to go on!)