Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

set inactive BPs

hi experts,

on a web page when the user clicks to delete BP i use BP.Valid =BoYesNoEnum.tNO;

which sets the BP to inactive (validfor in OCRD) so it's not gonna show on the site again.

it's working very well. but i noticed that the Radio button (Active) still ticked in BP's form.

if i query OCRD i see that validfor ="N" for that BP.

my question is: how to change the Radio button on the form to be Inactive using SDK?

thanks in advance

Former Member

Hi Samira,

Active/Inactive of a BP depends on 6 fields named ValidFor, ValidFrom, ValidTo, FrozenFor, FrozenFrom and FrozenTo.

When you set ValidFor = 'N' means that the Active check box is not checked.
It does not means that this BP is frozen/Active, you need to review the other 5 fields.

But if you set the FrozenFor = 'Y', and leave all the fields empty, this will make the BP inactive.



1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question