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

LSMW Standard Batch Input Program

Former Member
0 Likes
1,144

Hi,

I have one requirement on creating BOM.

I have to upload data from legacy system to SAP for T-Code ' CS01'

I have to use the Standard Batch input Program 'RCSBI010'.

I have source structure and Target Structure.

In Source structure i have Header and item data.

In Header i have 11 fields and in Item i have 23 fields.

In Target Structure i have upto 130 fields.

In the Standard program who have 4 structures and each structure have fields.

So How many fields i have to map with Standard structure. and in my source structure i dont have the fields like T-code, session name, user name,and xkeep.

So how to pass these fields (T-code, session name, user name,and xkeep) to the standard structure. and is it necessary to pass these fields to the standard batch input program.

Advance thanks,

Kumar A

2 REPLIES 2
Read only

Former Member
0 Likes
691

Hi,

Hi,

Record type 0: one session record (structure BGR00) per session..

The session header contains general administrative data on the batch input session to be created. All records that follow the header in the sequential file are assigned to the current session, until the next header occurs in the file.

Record type 1: one session record (structure BICSK) for each BOM

The BOM header record contains the transaction code (for example, CS01 Create material BOM) and the header data

Record type 2: one item record (structure BICSP) per item

All BOM item records are assigned to the preceding BOM header, until the next BOM header or session header occurs in the sequential file

Record type 3: one sub-item record (structure BICSU) per sub-item

All BOM sub-item records are assigned to the preceding BOM item, until the next item header, BOM header, or session header occurs in the sequential file

and x-line which will be used as index while retreiveing

and the file to be imported should contain values in this format

BGR00 data will be in first line (0-stype)

BICSK in second line (1 stype)

BICSP in 3rd line

BICSU in 4th line

e.g:

0 sessname 800

1 CS01 123

2 values req

3 values req

Hope this gives u some idea...

<b>Reward points</b>

Regards

Read only

Former Member
0 Likes
691

Hi,

Here is some information.

<b>How many fields i have to map with Standard structure</b>

Whichever fields u have in Source structure , Map only those fields with the target structure .

<b> in my source structure i dont have the fields like T-code, session name, user name,and xkeep.</b>

This fields are required & u can make these fields input as consatnt . i.e., in the fields mapping step, place the cursor on the tcode field & click on the ABAP Coding push button , there u can give consatnt values for the fields..like

T-code : 'CS01'

Session name, : 'TEST'

User name, : SY-UNAME

xkeep. : 'X'

i hope u have got some idea.

Reward Points if it is Useful.

Thanks,

Manjunath MS