cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW for Vendor Master

Former Member
0 Kudos

Hi Experts,

I want to upload vendor master details using LSMW (XK01) but for the same vendor with different Company codes and Purchase orgs.

How to do this in LSMW.

Thanks ...

Chandra

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can upload the vendor in two or three stages as suits to requirement to upload vendor data.

Consider standard object : 0040(vendor master) method: 0001(standard)

First create vendor with basic data only.This can be done bys electing output structure BLFA1 along with mandatory structure BGR00,BLF00.

Then in next stage extend the created vendor to a company code and purchasing organisation. This can done by selecting structures for comapny code and purchasing organisation along with mandatory structure BGR00,BLF00.

Hope this solves your problem.

Regards,

Brajvir

Answers (4)

Answers (4)

Former Member

The LSMW method does not supporting for multiple company codes. choose the LSMW recording method, record the vendor details with different company codes and prcoess the remaing steps.

paul_shrewsbury2
Contributor
0 Kudos

Hi,

If you have all the information to create a vendor the first time for a single company code, why not just use multiple lines in your flat file with the vendor number, company code, purchasing org., and account group. This scenario may require that you set up external vendor master numbering. Alternatively, you could have two LSMWs, the first creates the original vendor master in a company code. The second would use this first vendor as a reference and then be created in each additional company code as needed.

Just a couple ideas.

Regards

Former Member
0 Kudos

Hi,

In LSMW you can use (IDoc) Message Type CREMAS, and fill in segment for table LFB1.

Former Member
0 Kudos

Hi ,

You can do one thing in LSMW.In step 5 i.e maintain field mapping step,make the vendor as constant and assign the source field to comp code and purchase orgs.

Hope it helps.

Regards,

Rahul

Former Member
0 Kudos

Hi,

But it is dynamic , data coming from flat file and once a vendor created in a comapany code for the same vendor another company code recording was not properly working. it is directly going to 3 or 4 th view of XK01. tahts y it is showing error.

Chandra

Former Member
0 Kudos

Hello,

First LSMW will create a vendor for company code

Create another LSMW with different recording which will take extend the vendor code to another company code.

regards,

mukund