Skip to Content
Feb 27 at 09:37 PM

Valid From & Valid To in Components not showing in CSAP_MAT_BOM_MAINTAIN function


Hello experts,

I am building BOM Copy program and tried to use 'CSAP_MAT_BOM_MAINTAIN' FM.

Everything looks fine except I cannot get Valid From and Valid To data in components.

CSAP_MAT_BOM_MAINTAIN has 'T_STPO' table and I appended 'Valid From' and 'Valid To' values in every components.

After I run this FM, Copied BOM components don't have these dates and instead, it shows Header's Valid From date, which was registered in FM CSAP_MAT_BOM_MAINTAIN - 'Valid_From' Section.

Can anyone tell me how can I copy 'COMPONENT'S VALID DATES' using this FM? Or should I use other BAPI or BDC to achieve this?

Thanks in advance.