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 Upload vendor master data

Former Member
0 Kudos

I am uploading vendor master data via a batch input in LSMW (program RFBIKR00).

I uploaded all the vendors for 1 company code.

When I try to upload the vendors for another company code, in the step “Create Batch Input Session” I get the error: “Trans. 1 XK01 : Acct already exists; general area not being processed, ... Data in table BLFA1 cannot be processed”.

When I try to manually create a vendor for another company code via tcode XK01, I have no problems. But when I create an existing vendor manually for another company code I don’t have to add the information which is contained in table lfa1.

Therefore I tried to upload the vendor, which has to be created for the company code, with a “/” in the data for table lfa1. But this doesn’t work.

Has somebody a suggestion to solve this problem?

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I tried to answer a but I don't know if it ever worked out. You might try the ideas there.

I'd like to know if it does or doesn't work out.

Rob

4 REPLIES 4

Former Member
0 Kudos

I tried to answer a but I don't know if it ever worked out. You might try the ideas there.

I'd like to know if it does or doesn't work out.

Rob

Former Member
0 Kudos

In the similar thread you said:

"If the vendor exists in LFA1 but not LFB1, use XK02 with the structures for LFA1. Then use XK01 with the structures for LFB1."

It is not possible to use XK02 in order to create the vendor for another company code if the vendor already exists with a certain company code. You will get the error "Vendor xxx has not been created for company code yyy".

The problem is that LSMW requires a mapping onto structure LFA1, but when the vendor already exists for a certain company code, LSMW returns in the step "Create Batch Input Session" the error: "Trans. 1 XK01 : Acct already exists; general area not being processed, ... Data in table BLFA1 cannot be processed".

Former Member
0 Kudos

The problem is solved.

The problem was that I used one input file which contained the data for structure BLF00 and BLFA1. With a separate file for the header (BLF00) and BLFA1, vendors can be created for several company codes.

0 Kudos

Please close the thread (solved on own).

Rob