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

vendor master direct input using LSMW

Former Member
0 Likes
1,651

Hi,

i am using lsmw to upload data to specific table LFAZ , because already vendor master

uploaded using idoc except LFAZ table data,  i neee to update lifnr, bukrs and empfk

of LFAZ , in my excel these field values exist.

but my problem is what i need assign structure for BGR00

                                                                          BLF00

                                                                           BLFA1

and what method i have to use in batch input  either standard or shared......

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,263

Correct table is LFZA.

Choose standard batch/direct input , method 0001, RFBIKR00

Map BGR00 with

  BGR00-STYPE = '0'.
  BGR00-MANDT = MANDT.
  BGR00-GROUP = SY-UNAME.
  BGR00-USNAM  = USNAM.
  BGR00-START  = sy-datum.
  BGR00-XKEEP  = SPACE.
  BGR00-NODATA = '/'

Map BLF00 with

 

  l_blf00-stype = '1'.
  l_blf00-tcode = 'XK02'.
  l_blf00-lifnr = source_structure_vendor_number.

  l_blf00-bukrs = company_code

Map BLFZA with your source structure

Hi,

i am using lsmw to upload data to specific table LFAZ , because already vendor master

uploaded using idoc except LFAZ table data,  i neee to update lifnr, bukrs and empfk

of LFAZ , in my excel these field values exist.

but my problem is what i need assign structure for BGR00

                                                                          BLF00

                                                                           BLFA1

and what method i have to use in batch input  either standard or shared......

4 REPLIES 4
Read only

Former Member
0 Likes
1,264

Correct table is LFZA.

Choose standard batch/direct input , method 0001, RFBIKR00

Map BGR00 with

  BGR00-STYPE = '0'.
  BGR00-MANDT = MANDT.
  BGR00-GROUP = SY-UNAME.
  BGR00-USNAM  = USNAM.
  BGR00-START  = sy-datum.
  BGR00-XKEEP  = SPACE.
  BGR00-NODATA = '/'

Map BLF00 with

 

  l_blf00-stype = '1'.
  l_blf00-tcode = 'XK02'.
  l_blf00-lifnr = source_structure_vendor_number.

  l_blf00-bukrs = company_code

Map BLFZA with your source structure

Read only

0 Likes
1,263

Hi Praveen ,

thanks for ur quick replay.. in my scenario i want to do this susing Direct input, bu t when i am

giving method 0001 and standard program ,it is automatically taking BATCH INPUT only but i need do this by DIRECT INPUT, can u please help on this if u know

Read only

0 Likes
1,262

Hi Srinivas,

Direct Input program is not available for vendor master.

Regards

Praveen

Read only

0 Likes
1,262

Hi Praveen,

i am assigning same source structure values  for BLF00 lifnr, bukrs and BLFZA bukrs and empfk

is it correct...