cancel
Showing results for 
Search instead for 
Did you mean: 

LSMW: Uploading Vendor Master : Muliple-Items

Former Member
0 Kudos

Hi ,

This is Prabhu , i created one LSMW for Uploading vendor Master .For Withholding tax Type i have to upload atleast 18 items.for that one I given Pagedown to Fill all The Item.But In the maintaining Source Structute I am getting Error.How can overcome This error.How to handle Table Control COncept in LSMW.

please Guide me.

regards

Prabhu

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

BDC , Page down(P+)

Former Member
0 Kudos

Hi,

what exactly the problem which you are facing

which Object and method you are using for this upload.

and try to send the data at least one header and corresponding item records then we can analyze and tell you what exactly the problem is.

regards

Shravan

Former Member
0 Kudos

Hi Shravan ,

I am Uploading vendor master thru LSMW. In that i have to Upload Multiple line items for Withholding tax for the Vendor.For that i done the Above Recording.But i am unable to Upload more that 6 Line items.IN BDC we have table Control , so i know how to handle TC in Normal BDC, But i dont have any Idea How to handle this Issue in LSMW.

So please guide me how to overcome this Issue.

regards

prabhu

former_member214131
Active Contributor
0 Kudos

Hello,

Are you filling this Structure, BLFBW in LSMW?? This is the Structure for Withholding Tax in BI prg.:RFBIKR00: Iassume that DI prg is used in your LSMW step.

Best Regards, Murugesh AS

Former Member
0 Kudos

First Set :-„³

SAPMF02K 0610

BDC_OKCODE =P+

BDC_SUBSCR SAPMFWTV

BDC_CURSOR LFBW-WT_SUBJCT(06)

LFB1-QLAND IN QLAND

LFBW-WITHT(01) 1A WITHT_01

LFBW-WITHT(02) 1B WITHT_02

LFBW-WITHT(03) 1C WITHT_03

LFBW-WITHT(04) 1D WITHT_04 LFBW-WITHT(05) 1E WITHT_05

LFBW-WITHT(06) 1G WITHT_06 LFBW-WT_SUBJCT(01) X WT_SUBJCT_01

LFBW-WT_SUBJCT(02) X WT_SUBJCT_02 LFBW-WT_SUBJCT(03) X WT_SUBJCT_03 LFBW-WT_SUBJCT(04) X WT_SUBJCT_04 LFBW-WT_SUBJCT(05) X WT_SUBJCT_05 LFBW-WT_SUBJCT(06) X WT_SUBJCT_06

For Second Set

SAPMF02K 0610

BDC_OKCODE =P+

BDC_SUBSCR SAPMFWTV

BDC_CURSOR LFBW-WT_SUBJCT(06)

LFB1-QLAND IN QLAND

LFBW-WITHT(01) 1H WITHT_01

LFBW-WITHT(02) 1S WITHT_02

LFBW-WITHT(03) 1T WITHT_03

LFBW-WITHT(04) 2A WITHT_04

LFBW-WITHT(05) 2B WITHT_05

LFBW-WITHT(06) 2C WITHT_06

LFBW-WT_SUBJCT(01) X WT_SUBJCT_01

LFBW-WT_SUBJCT(02) X WT_SUBJCT_02

LFBW-WT_SUBJCT(03) X WT_SUBJCT_03

LFBW-WT_SUBJCT(04) X WT_SUBJCT_04

LFBW-WT_SUBJCT(05) X WT_SUBJCT_05

Here I am enclosing The Source Structure .i am looking for Ur Comments on This .

I am doing recording itself.

former_member214131
Active Contributor
0 Kudos

Hello,

It is difficult to achieve this by recording. I would suggest that you use DI method instead of recording. This is better way if you have different structures to be filled in an object.

Please refer to the BI/DI object which has been refered in earlier post.

Hope this helps you.

Best Regards, Murugesh AS

Former Member
0 Kudos

Hi M.A.S,

After Ur Input reg. Di/Bi i tried that one also,Thing is i dont have any idea abt

1. wht all r the Inputs Required for that Di/Bi Program,

2.What will be the Structure of that Input File .

3.Where i have to Save the File in Frond end/App.server.

i am waiting for ur val.guidelines.

regards

Prabhu

former_member214131
Active Contributor
0 Kudos

Hello,

The DI/ BI programs are SAP standard objects. SAP has provided DI / BI objects for most of the master data objects which have multiple structures / views.

Multiple structures means for example, assume that you've got to load the Vendor details as per your reqmt,

we create a vendor master for vendor 'A' who has multiple records for 'withholding tax'. So we have 2 data files. First one will be for Vendor master which has data and mapped to structures BLF00, BLFA1. This first file has 1 record for Vendor 'A'. The second file has 10 records for Withholding Tax data for Vendor 'A' and is mapped to Structure BLFBW. You can either put the data files on application or presentation servers. But please note that the mapping of data between both the files are done internally by a set of key fields. Please have a look at this link for details.

I suggest you read thro' the SAP Documentation on LSMW before you start this method.

http://help.sap.com/saphelp_erp2004/helpdata/en/ad/2d54a41d7011d2b42e006094b944c8/content.htm

Also SAP provides the program documentation for all DI / BI programs.

Let me know how it goes about.

Best Regards, Murugesh AS