Skip to Content

Create a FPM app with two drop-down list, second will depend of first one, and dynamic list.

I found and example on FPM TEST page, and it have this component

'FPM_TEST_DYNAMIC_CONTROL' that have a context which containt some table names that will be displayed in the dropdown.

With this example i can use to make my app and consists in:

I have one dropdown list with some data, when i select one ítem on this dropdwon i need the second dropdown refresh and show the data depending on some tables in the ddic. And after i select the second ítem on second dropdown i want to show a list below with the data depending on this ítem, so i have to créate a dynamic fieldcat for the list every time i choose an ítem on second dropdown.

Can someone tell me the steps to put the code in? i mean i have my fpm app created with all the components, i only need to put the code on the right method of the interface

IF_FPM_GUIBB_LIST to make all work like i want.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 29, 2018 at 07:15 AM

    Hi,

    First you have to assign an action for drop down selection event. You can specify it in the Configure UIBB part (Action Assignment). Then for each selection the action/event will be triggered.

    Then you can populate data of drop down list dynamically to corresponding field in CS_DATA (Form UIBB) from GET_DATA method of UIBB Feeder class.

    Thanks and Regards,

    Senthil kumar K

    Add comment
    10|10000 characters needed characters exceeded

  • Jun 08, 2018 at 12:51 PM

    Hi,

    please check the documentation on dynamic fieldcatalogs:

    https://help.sap.com/viewer/9c91640bf34c49d8bad6bc560bedd707/7.52.1/en-US/2f4d4d95392642aa81940358c22083e1.html

    the FPM although provides a testsuite where you can check how the feature works.

    Therefore please call transaction FPM_WB in your backend system.

    On the left side you find the link to the FPM Test Suite and within the testsuite an page general features you see the Miscellaneous part where you can find the Dynamic UIBBs link.

    regards

    Heike Leopold

    Add comment
    10|10000 characters needed characters exceeded