Application Development 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: 

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

0 Kudos
219

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.

0 REPLIES 0