cancel
Showing results for 
Search instead for 
Did you mean: 

Org Management Data Migration

Former Member
0 Kudos

Hello everyone !!

I am currently working of org data migration from legacy to SAP and using LSMW Recording for Infotype 1000, 1001, 1002 .....

when I came across info type 1001 were I was creating Relations using recording i can easily do whole recording with out any problem, and then I saved this recording and provided source and structure fields.

Problem I encountered at P1001-SCLAS in second screen of tcode PP02. where I have to enter " Type of related object ". its a list of selections where I have to pick one from a list, the value i pick here is description of what I upload from a text file. for eg: if I read the value of SCLAS : k or s, or c or o. then similarly I have to pick a description.

k = cost center, s = positions, c = jobs and o = org unit. depending of subtype I select a list of description is populated.

In P1001-SCLAS which is in the second screen of PP02. here comes the problem, this field is of only 2 character but on the screen I have to select a description which is obviously greater than 2 character.

When I read file and convert data the converted data has only values picked from the file but not description.

Here is what I needed. How do I convert a 2 char field to a 12 or 15 character field in target table and how to select a single description from a list of descriptions.

Note: DTT is ruled out here. No chance of using DTT. But still you can add comments on DTT.

Thanks for any help.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Suresh,

Please can you be more specific on this !.

Thanks.

suresh_datti
Active Contributor
0 Kudos

Mark,

As an alternative to BDC, you can explore the option of using the BAPI,

BAPI_HRMASTER_SAVE_REPL_MULT.

~Suresh

Former Member
0 Kudos

I am using tcode PP02 and then entering values for

Plan Version,

Object Type,

Object ID,

-


Infotype,

Subtype,

Planning status, and

Validity.

Once I hit create icon "Create Relationships" screen comes up here I have to enter Type of related object, which I can select from a drop down list. This field is P1001-SCLAS. Which is of 2 characters, but when I see a drop down list its a description which is more than 2 characters. How can I populate values in this field using BDC or Recording. the value I am reading from a file for this field is k or s ... but same field has a drop down list with descriptions but not k or s...., its kind of hard for me to imagin how this field can be populated. When I run a session in SM35 I am getting an error in BDC session as " No batch input data for screen MP100100 2000 ".When I look Converted data in LSMW its k or s ... but not description this is obvious.

Thanks.

Former Member
0 Kudos

I am creating relationships through tcode PP02. if this is not correct then what will be tcode to create relationships in org management.

Thanks.

Former Member
0 Kudos

Mark u r on a right track.. you can use PP02 or PP01 .. in what ever you feel comfortable... but if you want to records a BDC then PP02 is better than PP01.

Former Member
0 Kudos

Hi Mark,

Buddy I think u r going wrong some where....

sclas LIKE p1001-sclas, "Relationship type

sobid LIKE p1001-sobid, "Relationship Object ID

sclas is 2 Char which should be your Object Type where as

Sobid is 8 Char which is 8 Digit unique ID for the object

While creating relationship you never come across maintaining Descriptions ... either u r creating object and not relationship.

Just check and confirm.

~Bhawanidutt