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 Number Conversion problem in standard function module '/SAPHT/DRM_MAT_BOM_READ'

Former Member
0 Likes
671

Hi,

I am using the standard function module '/SAPHT/DRM_MAT_BOM_READ' for BOM explosion in my program. It will explode child parts belonging to the part number. It is not exploding for the part number which contains only number eg: '0181015'  but it is working fine for the part number like 'P3110220' .

While debugging i found some length error during material number conversion. Is there any solution to get proper output.

3 REPLIES 3
Read only

Former Member
0 Likes
519

Hi Balaji,

While you are passing the material to function module pass use the function modules CONVERSION_EXIT_MATN1_INPUT to get the material stored in internal format in the database.

After sending the proper material you will get the output for this '/SAPHT/DRM_MAT_BOM_READ' function module

Hope this helps.

Thanks,

Tooshar Bendale

Read only

0 Likes
519

Hi Bendale,

     Thanks for your response, actually my problem is not that passing material number to that function module. Inside FM it will call itself again (Recursively) for further explosion. At that time if the part number contains only number like '0181013' it is converted as '000000000000000000               0181013' so it is not exploding further. The problem persist inside the sandard function not while passing material. Can you please suggest any note that need to be applied to correct it.

Read only

Former Member
0 Likes
519

Hi Balaji,

Check 

Note 587097 - CSAP and long material number

Note 863358 - BMG140: Material number is longer than setting

Regard's

Smruti