Application Development and Automation 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: 
Read only

LSMW

Former Member
0 Likes
1,212

I am trying to load pricing conditions using LSMW - direct input object 0070 method 0000. I tried creating a source structure COND ( structure - BKOND1) and CONP (structure -BKOND2) at a lower level to COND. Made all the field mappings.

But when i try to assign the same input file to these only it gets assigned to COND and when i try to assign it to CONP it give me an error 'file can be assigend to only one source structure'.

In the next step i.e read file it gives error

'Generation cancelled. Reason: No Fields Called the same'.

How do i create the source structure for this? and how do i assign the file.

thanks in advance

Eda

I am trying to load pricing conditions using LSMW - direct input object 0070 method 0000. I tried creating a source structure COND ( structure - BKOND1) and CONP (structure -BKOND2) at a lower level to COND. Made all the field mappings.

But when i try to assign the same input file to these only it gets assigned to COND and when i try to assign it to CONP it give me an error 'file can be assigend to only one source structure'.

In the next step i.e read file it gives error

'Generation cancelled. Reason: No Fields Called the same'.

How do i create the source structure for this? and how do i assign the file.

thanks in advance

Eda

7 REPLIES 7
Read only

Former Member
0 Likes
1,074

Above BKOND1 you need to add one more structure for stype '0' for BGR00 which consists session details. I suppose this is a mandatory field. Check the same.

I have created a program to use this Direct Input Program and works fine.

Thanks

Eswar

Note: Reward for useful info.

Read only

0 Likes
1,074

I got rid of this error by using a single source structure will all the required fields in it. Looks like you defined a sub-structure within a structure when the target object is looking for a flat structure (One structure will all the fields in it)

Target structure BGR00 is optional? I did not define source fields for this structure and the system defaulted the values.

In Structure relationship, map this single source flat structure to all the target structures. It should work.

I think we should define a substructure within a structure when there is one-many mapping in the target object Eg: (Struct:Customer Name

Sub Struct:Customer Contact List)

Reply if it works for you!

Sampat Ponnaganti (fd98279).

Read only

Former Member
0 Likes
1,074

tried adding the BRG00 and assigned the file. But it still gives me the same error.

Thanks

Eda

Read only

Former Member
0 Likes
1,074

Hi,

I feel it is not possible to assign the same file to both the structures. There should be two structure , which will be linked by common field. Assign the file to each structure.

Regards,

M.Saravanan

Read only

Former Member
0 Likes
1,074

Hi,

One file can be assigned to one and only one source structure, but one source structure can be assigned to mutiple target structures. So, create one source strucre with all the fields for BKOND1 and BKOND2 structrue. in the step 4 you may assign this one structure to both BKOND1 and BKOND2 target structures.

Let me know if you need some more clarifs.

Thanks,

Prabhu.

Read only

Former Member
0 Likes
1,074

if the input file is in the below format than how can we create one source structure in this format. thanks

1 VK15 A 005 V PR00

2 200101CAPTECH55PE 20061212 20060727 50 USD 1 LB

2 200101CAPTECH55PE-ENG 20061212 20060727 10 USD 1 LB

2 200101CAPTECH55PE-VAN 20061212 20060727 10 USD 1 LB

Read only

0 Likes
1,074

hi

you need to create a header and footer structure for your scenario and assign the same to the corresponding source structure.

Cheers,

Abdul Hakim

Mark all useful answers..