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

Problem in CS_BOM_EXPLOSION function module

Former Member
0 Likes
639

Hi,

I am using CS_BOM_EXPLOSION function module to get BOM component details. It has been called inside the loop. The output table STBP is having a field called 'INDEX'. The index field is not getting refreshed.

When first time the FM is called the index comes like 1,2,3. and for next loop it is coming like 4,5,6. While i checked the FM through debugging, the global field (HLF_IXZHL) which is used to calculate index inside the FM is not getting cleared.

Please tell is there any way to refresh the field or getting the index properly.

Correct answers will be rewarded.

Thanks in advance.

- S.Shanmugapriya.

2 REPLIES 2
Read only

surya_prakash18
Explorer
0 Likes
525

Try FM "CS_BOM_EXPL_MAT_V2".

Regards,

Surya

Read only

0 Likes
525

Thanks for your reply.

I want to get both Material and Sales Order BOM details. Hence i cannot use CS_BOM_EXPL_MAT_V2 as it will give only material bom details.

Regards,

S.Shanmugapriya.