2013 Mar 21 8:42 AM
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.
2013 Mar 21 10:17 AM
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
2013 Mar 27 3:57 AM
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.
2013 Mar 27 4:24 AM
Hi Balaji,
Check
Note 587097 - CSAP and long material number
Note 863358 - BMG140: Material number is longer than setting
Regard's
Smruti