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: 

LSMW error: Field name '' used more than once in file"

former_member226419
Contributor

Hi,

I am doing a sample vendor master load with LSMW but while reading data I am getting an error

"Field name '' used more than once in file

'C:\Users\sdurgia\Desktop\LSMW\MM\vendor_master_te

s'."

Not getting proper reason.Can you please guide?

Urgent please help.

BR

Sumeet

16 REPLIES 16

Former Member
0 Kudos

Hi

How do you have defined the structure of input file?

Max

0 Kudos

Hi,

FYI.

LIFNRBUKRSEKORGKTOKKNAME1NAME2SORT1SORT2STREETHOUSE_NUM1STR_SUPPL1STR_SUPPL2CITY2CITY1REGIONPOST_CODE1LAND1TAXJURCODEPFACHPSTL2REMARKTEL_NUMBERTEL_EXTENSMOB_NUMBERFAX_NUMBERFAX_EXTENSSMTP_ADDRDEFLT_COMMKUNNRVBUNDKONZSBEGRUSTCD1STCD2STCD3STCD4SCACDSFRGRDLGRPBANKSBANKLBANKNKOINHBKONTLNRZAXZEMPAKONTZUAWAFDGRVBEGRU1QSSKZQSZNRQSZDTALKTNZTERMTOGRUREPRFKULTGZWELSZAHLSLNRZBHBKIDTOGRREIKTOWAERSZTERM1INCO1INCO2EIKTO1WEBREXERSYXERSRVSBEDNAMEKJ_1IPANOQLANDLFBW-QSRECXVERRFYTYPSTCDTBKREF
40000486742550M004DHL EXPRESS (USA) INCPAY4000069273PO BOX 4723HOUSTONTXUS77210-4723CONTAC: IRMA MURILLO800-225-5345281-874-0678DHLACH.remit@dhl.com94-3380425US11000536999999ACCOUNT HOLDER2213001AP VENDZ011XTBUSDZ011

former_member226419
Contributor
0 Kudos


Can someone please help? Not able to get the root cause for the same

former_member201275
Active Contributor
0 Kudos

In your LSMW go to "Maintain Source Fields", click on button "Fields with same name" on the right hand side of your menu bar.


kabil_g
Active Participant
0 Kudos

Dear Summeet,

Goto Maintain Source Fields

,

Example : Lifnr is maintained again your trying to maintain lifnr provide Lifnr_01

0 Kudos

Hi,

But i have maintained lifnr once only..

BR

Sumeet

Former Member
0 Kudos

Hi

Can you post the definition of the file in LSMW project?

Max

kabil_g
Active Participant
0 Kudos

Share 6th & 3th step

Former Member
0 Kudos

Hi Sumeet,

can you try by redueing the filename. I also got same error which resolved ny reduing the file path length.

Regads,

Pravin

former_member201275
Active Contributor
0 Kudos

The problem is in your recording.

It is possible, but rare, that the technical fieldname has been used more than once in a recording, for example in 2 different tables. Make sure you change the technical name of the field, so that it is not the same in both screen input fields, or else the system will not be able to differentiate the fields.

former_member201275
Active Contributor
0 Kudos

Hi Sumeet,

Is your problem solved? As I mentioned, it is in your recording. You have clicked on "Default All" and this has resulted in a field name being used more than once.

former_member226419
Contributor
0 Kudos

Hello,

Solved.

BR

Sumeet

0 Kudos

Can you tell us what the problem was and how you solved it, and also mark your question as answered. Thank you.

former_member201275
Active Contributor

Did none of the answers help or answer your question.

Would be really useful to all if you could detail how you solved this in case anyone else has this issue, as we kinda help each other on this forum.

0 Kudos

Hi,

One needs to check the checkbox 'Field order matches Source structure Definition' in step 7.

BR

Sumeet


0 Kudos

Hi sumeet durgia,

it will be checked default........................