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: 

How to set the Valid-to-date (datub) of a BOM item

Former Member
0 Kudos

Is there a way I can set the "Valid-to-date" of a BOM item?

According to SAP documentation...

Quote

<i>"If you change a BOM using a change number, the system determines the valid-to date dynamically."</i>

Unquote

I want to "expire" a BOM item. Meaning I want to set the valid-to-date to a date in the past.

Is this possible at all?

Thanks for any input.

Fred

1 ACCEPTED SOLUTION

ferry_lianto
Active Contributor
0 Kudos

Hi Fred,

Sorry ... perhaps you can use this FM instead <b>BOM_POST_V2_MAT</b>.

Hope this will help.

Regards,

Ferry Lianto

5 REPLIES 5

ferry_lianto
Active Contributor
0 Kudos

Hi Fred,

You can tr this FM <b>CS_BOM_EXPL_MAT_V2</b> to set the date.

Hope this will help.

Regards,

Ferry Lianto

Former Member
0 Kudos

Ferry,

Thanks for you reply.

I do not see a field for the "Valid-to" date in the function module - CS_BOM_EXPL_MAT_V2. There is one for the "Valid-From" date called DATUV. But I would like to change the "Valid-from" date of the BOM item.

Or is there another way to set the BOM item's valid-to date using this function module which I am missing?

Fred

0 Kudos

PL check this fm CAVC_I_CHANGE_BOM_ITEM_DATA

Regards,

Suresh Datti

ferry_lianto
Active Contributor
0 Kudos

Hi Fred,

Sorry ... perhaps you can use this FM instead <b>BOM_POST_V2_MAT</b>.

Hope this will help.

Regards,

Ferry Lianto

former_member181966
Active Contributor
0 Kudos

I can only see One exit for this .... in SE37

EXIT_SAPLCASL_002 Validity Date for Order BOM

Thanks