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

BOM creation.

Former Member
0 Likes
455

Hi,

I have a scenarion here.

It is known that during creation of material BOM . A entry is created in MAST which then links this material to MBOM.

If we look at MAST then we see that for corresponding MATNR we are getting a STLNR = 00000015.

Can anyone help me where this number 00000015 is generated. We want to replace this by our number range so as to identify a particular BOM type (if it was created automatically using BDC or created using standard BOM transactions).

P.S : FM to read mast is known :: CS_BT_MASTB_READ. I want to know the exact location where this number is generated.

regards,

abhishek

2 REPLIES 2
Read only

Former Member
0 Likes
388

The numbers come from a number range:

STUEM - Material BOM

STUEK - Sales order BOM

etc...

Each seems to have only one interval.

Read only

christian_wohlfahrt
Active Contributor
0 Likes
388

Hi Abhishek,

all(?) numbers (from number ranges) are generated via function module NUMBER_GET_NEXT. There is also a BAdI inside, you can influence the numbers.

BR, Christian