cancel
Showing results for 
Search instead for 
Did you mean: 

How to fill the 'IS_PARAMETERS' parameter of an action in BO with a value from a field in FPM?

helga_raemaekers2
Participant
0 Kudos

Hello,

in our FPM application with FBI, we make use of an action with a parameter in our BO.

We click a record of our Guibb List, and the value of a field of this record is the value of the parameter for the action.
So, we don't have to fill the parameter via a popup. The meaning is to get the value of the field into the 'IS_PARAMETERS' parameter of the action in the BO.

We always used the ACTPRM class /BOFU/CL_FBI_GUIBB_ACTPRM_FDR for this kind of actions (with parameters), but hereby you have to fill in the value of the parameters by a popup ( Guibb Form ).

  • Is it possible to skip the popup in this class?
  • Is there another class without a popup that we can use?
  • Is there another solution to get the value of the field into the 'IS_PARAMETERS' parameter?

Thanks a lot for your advise!

gr,

Helga

Accepted Solutions (0)

Answers (4)

Answers (4)

simon_hoeg
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Helga,

perfect 🙂 This is the way to go!

Additionally, in the dynamic feeder (method GET_DEFAULT_CONFIG), you can also use the instance on IF_FPM, if needed.

Best regards,

Simon

simon_hoeg
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Helga,

there is from FPM side no technical reason why it should not work also for FBI. During the runtime you will see that there is no difference between a statically configured GUIBB and a dynamic one. The rules for the FPM Loop are the same in both cases.

Of course, the dynamic GUIBB requires a bit more programming effort (-> method GET_DEAULT_CONFIG), and you automatically loose the adaptation options (-> Enhancement, Customizing, CBA) for the corresponding GUIBB. But from an ABAP Developers perspective you have additional possibilities, because you can re-instantiate a dynamic GUIBB at every time (-> e.g. via FPM Event FPM_INVALIDATE_UIBB), which leads to a recall of method GET_DEFAULT_CONFIG, and a assignment of Feeder parameters in your case.

Best regards,

Simon

helga_raemaekers2
Participant
0 Kudos

Hello Simon,

I managed to pass the parameter to my action in my BO!
Thanks a lot, this was a way of working (dynamic guibbs) that I didn't do before, it was very learnfull !!

gr,

Helga

simon_hoeg
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Helga,

yes, of course ... there are many ones 😉

See for instance in the Test Suite > General Features > Miscellaneous the sample "Dynamic UIBBs" which corresponds to application configuration ID FPM_TEST_DYNAMIC_UIBB.

Best regards,

Simon

helga_raemaekers2
Participant
0 Kudos

Thx Simon,

although I'm in search of an example with FPM with FBI Views and BOPF ... or is this not possible maybe, FBI and dynamic uibbs?

gr,

Helga

simon_hoeg
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Helga,

I think this would be only possible with a dynamic GUIBB, see

https://help.sap.com/docs/ABAP_PLATFORM_NEW/9c91640bf34c49d8bad6bc560bedd707/d82d9a9451134865a42f174...

The Feeder Class implements the additional interface IF_FPM_GUIBB_DYNAMIC_CONFIG, and then the configuration content (including the Feeder Parameters) are involved by Feeder method GET_DEFAULT_CONFIG.

Best regards,

Simon

helga_raemaekers2
Participant
0 Kudos

Thx Simon,
is there an example of this way of working, in Test Suite perhaps? I never worked with a dynamic GUIBB ...

gr,

Helga