cancel
Showing results for 
Search instead for 
Did you mean: 

FBI-BOPF: controlling the properties of a button (action)

Ulli_Hoffmann
Contributor
0 Kudos

Hello,

I'm trying to understand the FPM-FBI-BOPF workings of the BO example /BOFU/DEMO_CUSTOMER:

  • WD application /BOFU/DEMO_SAMPLE_CUSTOMER
  • FPM_OIF_COMPONENT with WD CompConfig /BOFU/DEMO_SAMPLE_CUSTOMER_OIF

The BO implements a custom action "CHECK_ARCHIVABILITY". It's connected to a button in the OIF.
At runtime, the UI-button becomes active in "CHANGE"-mode, i.e. after the button "Edit" is pressed. The UI-button becomes inactive
when switching back to read-only mode. I can't find any determination that implements this behavior for the CHECK_ARCHIVABILITY action. I'd assume that class  /bobf/cl_lib_h_set_property would be involved, but this isn't the case either.


What do I miss?

Thanks for any hint and clarification.

regards,
Ulli

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Ulli,

I think this is because of the action's setting for 'Change mode':  Action archivability will only be enabled in Write / edit mode:

Kind regards,

Bjorn

Ulli_Hoffmann
Contributor
0 Kudos

Hi Bjorn,

thanks, that's indeed the cause of the observed behavior. I was working on a 7.31 SP13 system and it doesn't show the "change mode" option. I checked it on a 7.40 system and it's as you've described it. That's quite confusing, but I assume that on a 7.31 system an action will always be created in "Exclusive write" mode. I don't see any option in BOBX. Maybe the SAP-moderators can comment on this.

regards,

Ulli

Answers (0)