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-cs01

Former Member
0 Likes
818

hi,

i am doing lsmw for cs01(BOM),

using a standard program RCSBI010,

it has 3 structures

~~bgr00

~~~~|

~~~-BICSK

~~~~~~ |

~~~~~~ |-BICSP

~~~~~~ |

~~~~~~ |-BICSU

there a field 'stype' common between all the 3 structures,

and a field 'xline' common between BICSP and BICSU.

can someone explain what 'xline' and 'stype' are for,

and do the file to be imported needs to have their values and in what order.

thanx in advance.

Message was edited by: chirantan chanana

hi,

i am doing lsmw for cs01(BOM),

using a standard program RCSBI010,

it has 3 structures

~~bgr00

~~~~|

~~~-BICSK

~~~~~~ |

~~~~~~ |-BICSP

~~~~~~ |

~~~~~~ |-BICSU

there a field 'stype' common between all the 3 structures,

and a field 'xline' common between BICSP and BICSU.

can someone explain what 'xline' and 'stype' are for,

and do the file to be imported needs to have their values and in what order.

thanx in advance.

Message was edited by: chirantan chanana

1 REPLY 1
Read only

sridharreddy_kondam
Active Contributor
0 Likes
620

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...

Regards

Sridhar Reddy