Skip to Content
author's profile photo Former Member
Former Member

Using the same feeder class for 4 diff LIST UIBBs in one of the step of GAF floorplan. How to populate data in GET_DATA method

Hi Experts,

I am using GAF floorplan, in one of the step i have 4 LIST_UIBBs. These 4 UIBBs have different Component configurations but having the same feeder class with the same structure. I have one common field in all the four and remaining are different.

In the GET_DATA method i want to display the data based on the configuration ID. How can i get the configuration ID or Name in the GET_DATA method?

With Regards,

Srinivasa Rao

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2013 at 03:35 AM

    Hi Srinivasa,

    As Aliaksandr said you can get the config id of your GUIBB.

    But on top of this i would suggest you to use feeder parameter approach to differentiate the GUIBB.

    So in the INITIALIZE method of your feeder you can get the defined parameter value in importing parameter IT_PARAMETER. Set these parameter into global attribute of feeder class and then use it in GET_DATA method.

    Thanks

    Praveen Gupta

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 18, 2013 at 05:15 AM

    Hi Aliaksandr or Praveen Gupta,

    When you are executing the application and coming to that step, the FPM event loop will loop the

    GET_PARAMETER_LIST, INITIALIZE & GET_DEFINITION methods respectively each time in the loop (in this case i have 4 GUIBBs so 4 times it will loop). And then GET_DATA for another 4 times. So i cant use the parameter IS_CONFIG_KEY in INITIALIZE method in GET_DATA method.

    As Mr Praveen said, i define the Feeder Parameters in GET_PARAMETERS_LIST, assign the parameter value in the configuration, get the parameter value in the INITIALIZE, append it to one attribute table and used it in the GET_DATA method.

    It is working fine.

    Thank you Praveen

    With Regards,

    Srinivasa Rao

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      If you have 4 UIBB then you have 1 feeder class "instance" for each UIBB and total 4 instances.

      Please set IS_CONFIG_KEY in INITIALIZE into "instance attribute" level (not static attribute level).

      Static attribute is shared in class instances have same class name.

      Instance attribute is not shared.

      Both of IS_CONFIG_KEY and IT_PARAMETER are all right.

      Have a good day.

  • Posted on Sep 17, 2013 at 07:55 PM

    Hello Srinivasa Rao,

    You can take information about configuration ID in parameter IS_CONFIG_KEY of method INITIALIZE (interface IF_FPM_GUIBB) and store this info in global attribute in your feeder class. You can use this attribute in GET_DATA method.

    Kind regards, Aliaksandr.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.