Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

problem with kunnr field

Former Member
0 Kudos

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

5 REPLIES 5

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

0 Kudos

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

0 Kudos

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)

Former Member
0 Kudos

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