06-27-2007 9:50 PM
Hello Guys,
I am migrating open standing orders using standard object 0090.the thing is i need to migrate sold-to-party and ship-to -party fields whose fileds are kunnr .how can i migrate these two field values as iam having only kunnr field in standard object to map.please help me.
Regards
Janapathi
06-28-2007 8:32 AM
Hi,
Do you mean to say that you have only ONE KUNNR as the Target field and
for 2 Source Fields Ship to and Sold To.
Regards,
Jack.
06-28-2007 8:56 AM
Fill the Structure BVBPAKOM - this holds entries for the different partner functions, so make 2 entries:
Partner Function KUNNR
WE Shipto Ship to Customer Code
AG Sold to Sold to Customer Code
06-28-2007 4:07 PM
Hello John ,
can you explain me more elaboratly .do u mean i need to write code at field kunnr
based on the partner function entries WE and AG.
Regards
Janapathi
06-29-2007 8:33 AM
Hi,
The code you need depends on what your input data looks like:
If the ship to and sold to numbers come in a on single record, then you use a similar technique to that in the SAP LSMW documentation:
Fill the first record with the Soldto number:
then at the ENDOF_RECORD___ Point
TRANSFER_RECORD. (to extract the Soldto)
Set partner to WE
Fill KUNNR from Input Ship to number
TRANSFER_RECORD. (to extract the Shipto)
06-28-2007 6:24 PM
Hi Janapthi,
You need to fill the structure BVBPAKOM where you need to fill in two rows (Multiple Rows) one for partner type 'AG' where you need to fill Sold To Party and the second row with Partner Type 'WE' where you need to fill Ship To Party.
Thanks & Regards,
Sandip Kamdar