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

Material BOM update

arindam_samanta
Participant
0 Likes
875

Hi Expert,

I want to create BOM for material through program as CS01 tcode doing.

I have below information to create BOM -

Header -

MATNR

Article Number

C(8)

Mandatory

WERKS

Plant

C(4)

Mandatory

DATUV

Valid From

DDMMYY(6)

Mandatory

STLAL

Alternative BOM

C(2)

Mandatory

Item -

MATNR

Header Article Number

C(8)

Mandatory

POSTP

Item Category

C(1)

Mandatory

IDNRK

Component

C(8)

Mandatory

MENGE

Component Quantity

Dec(10,3)

Mandatory

MEINS

Unit of measure

C(3)

Mandatory

AUSCH

Scrap %

Dec(5,2)

Mandatory

ALPGR

Alt Item Group

C(2)

Optional

ALPRF

Alternative item: ranking order

C(2)

Optional

ALPST

Alternative item: strategy

N(1)

Optional

EWAHR

Usage probability in % (alternative item)

N(3)

Optional

                        

Is there any BAPI to create the BOM with above information.

Thanks & Regards,

Arindam Samanta.

1 ACCEPTED SOLUTION
Read only

jogeswararao_kavala
Active Contributor
0 Likes
806

Hello Arindam,

  • Have you checked this fm CSAP_MAT_BOM_CREATE ?
  • I agree with krishna, I created a BDC for this purpose with ease.

KJogeswaraRao

3 REPLIES 3
Read only

former_member241258
Active Participant
0 Likes
806

for ur rerquirement no FM .

if u want check function group : CSDI

better make BDC recording.

Read only

jogeswararao_kavala
Active Contributor
0 Likes
807

Hello Arindam,

  • Have you checked this fm CSAP_MAT_BOM_CREATE ?
  • I agree with krishna, I created a BDC for this purpose with ease.

KJogeswaraRao

Read only

michael_kozlowski
Active Contributor
0 Likes
806

You can use LSMW for this purpose:

Object               0030   Material BOM

Method              0001   Create

Program Name   RCSBI010

Program Type    B