Quantcast
Channel: SCN: Message List - Floorplan Manager for Web Dynpro ABAP
Viewing all 2665 articles
Browse latest View live

Re: Display message raised at the user exit level in Web dynpro screen

$
0
0

Thanks Thomas,

 

This works but the message are getting displayed like a warning message. In my case i need them as a pop up message and based on the user click it should proceed or not.Even though am passing 'I' as message type it gets displayed as warning


Re: how to display a pop up information message in a standard fpm application?

$
0
0

Hi Thomas,

 

Thanks for you reply,

I tried doing the suggested but getting the below mentioned error

 

Exception condition "EXC_LORD_NOT_LOADED" triggered (termination: RABAX_STATE)

 

am trying to call this popup from the userexit.

 

Thanks.

Shitanshu Sahai

Initialize MDG screen fields using FPM

$
0
0

I want to initialize Standard Sap Fields in customer governance with values from sap tables. for example want to initialize the value of Company Code.

I dont have authorization rights to create or modify  standard feeder classes . Is there any  way how I can fill the drop-down values.

 

Regards,

Vicky

Re: Sequence of Method-Calls in event-loop

$
0
0

Hello Paul, or better any FPM Team Menber,

 

i can't believe that this is really intended by the team.

At least the own UI Handlers have to be called first to avoid even more complicated stuff for even an easy appplication.

I think handler f.e. a lead selection in the own feeder handler  (F.e. to pass the right data to a shared object or any choosen sharing method ) should be possible without an AppController or another exit-Method and without to fire just another event, so that more and more overhead has to be handled.

 

None of the mentioned solutions is looking nice for simple scenarios.

 

(Deleted: Bad idea, before checked the event sequence diagram of fpm ....)

 

Regards,

 

Uli

Re: Display message raised at the user exit level in Web dynpro screen

$
0
0

Hi Shitanshu,

 

I've just tested on my system here, and the message is correctly displayed as an error message.

Thus I don't know why you don't have the same result.

 

I hope you'll find a way... Good luck!

Re: how to display a pop up information message in a standard fpm application?

$
0
0

Hi Shitanshu,

 

As far as I know...

 

You can't call the popup from the user exit, you have to do it in a feeder class (or application controller).

 

For example, let's say you have an FPM application with a GUIBB, and only one button within it. This GUIBB must be associated with a feeder class. In the PROCESS_EVENT method of this feeder class, you can add the code I mentioned previously (...open_dialog_box...).

 

As a prerequisite, you have to create the dialog box in the configuration of the FPM application. The ID you provide there is the ID you use to call OPEN_DIALOG_BOX. This dialog box should be supplied with GUIBBs (almost) as any other FPM screens.

 

That is, the dialog box does not exist outside the FPM application.

CX_POWL_FATAL_EXCEPTION

$
0
0

Hi experts, I'm Getting a dump Category              ABAP Programming Error Runtime Errors        UNCAUGHT_EXCEPTION Except.                CX_POWL_FATAL_EXCEPTION ABAP Program          CL_POWL_MODEL=========== Application Component  BC-MUS-POW Thnks $ Regards Sajid

Search criteria in FPM_SEARCH_UIBB

$
0
0

Hi!

 

I have in my search result three new columns and wanna add those to my Search criteria.

The only way as far as I get is to add them as Columns of Result List, which generates a result table of the three new columns.

But I don't wanna have them as result, I wanna have them as search criteria.

Hope someone can help on how to do this!?


Re: Search criteria in FPM_SEARCH_UIBB

$
0
0

Hello Alexander,

 

If the structure is same in both feeder classes of search criteria and search result, go to the search result list uibb schema, delete those new columns.

Now come back to the search criteria schema add those new columns to the search criteria using the "Search Criteria" button.

 

If you want to view all fields in search criteria change the value of "number of search rows on open" in general settings.

 

Hope this will helps you.

 

 

Regards,

Naga

Re: Search criteria in FPM_SEARCH_UIBB

$
0
0

Hi Nagendra!

 

Thx, for your reply.

Unfortunately, this won't help since the problem that we have is to add searchcriteria to the repository in the left side bar.

Basically, we are aware on how to add available search criteria to the Scheme-UIBB, but the problem is that we have added three columns in the resultlist and can't find a way to add them in the searchcriteria.

 

Probably, you or someone has any hint on how to do this!?

 

Regards,

Alex

Re: Display message raised at the user exit level in Web dynpro screen

$
0
0

Hi Shantanu,

 

If you want this as WD specific development , you can write the code on   Post exit  of CHECK_BEFORE_SAVE method in LO_OIF_MAIN_COMP  (Component Controller ). You can raise your message as a pop-up and based on user selection you can set the EV_REJECTED = 'X'.

 

 

  

         DATA: LO_MODEL              TYPE REF TO CL_LO_OIF_MODEL.

         LO_MODEL = CL_LO_OIF_MODEL=>GET_MODEL( ).

         LO_MODEL->OPEN_POPUP( 'OUTPUT' ).

         EV_REJECTED = 'X'.

 

 

ThX,

 

Hari

Re: Search criteria in FPM_SEARCH_UIBB

$
0
0

Hi Alex,

 

I don't really get what exactly the problem is. To add new search criteria, you have to define them in method GET_DEFINITION in the feeder class for the search UIBB. To add new search criteria you have to add the fields to the field catalog EO_FIELD_CATALOG_ATTR. If you want to add new columns for the result list you have to add the fields to the field catalog EO_FIELD_CATALOG_RESULT.

Additionally you have to add them via FLUID or GET_DEFAULT_CONFIG method.

 

Best regards,

Rebekka


Issue while creating fpm app using ACT and Odata

$
0
0

Hi FPM Gurus,

I am trying to create an FPM application using ACT with ODATA as a data source, but after entering the RFC destination i am not able to see/select any odata service(the search help is returning empty values). Please check the below screen shot and advice what could be the issue.

 

act.PNG

 

 

Regards

Imran

Best Practice for Feeder Classes

$
0
0

Hi FPM Gurus,

I am new to FPM and would like to know the best practice for creating feeder classes. Lets say i have a Search GUIBB which is used to hold the selection criteria and a List GUIBB to display the results based on the selection criteria. In this case what is the best way to have the feeder classes

 

Option 1

  1. Create a common base class which would be used for data storage(results).
  2. Create a Feeder class for Search GUIBB which defines the search criteria with super class as the base class defined above.
  3. Create a Feeder class for List GUIBB which displays the results with super class as the base class defined above.

 

Option 2

  1. Create a Feeder class for Search GUIBB which defines the search criteria.
  2. Create a Feeder class for List GUIBB which displays the results .
  3. Pass the search criteria from search feeder class to list feeder class - not sure if this is possible


Option 3

  1. Create one Feeder class for both Search GUIBB  and List GUIBB and implement jnterfaces IF_FPM_GUIBB_SEARCH and IF_FPM_GUIBB_LIST in the same class.

Re: Best Practice for Feeder Classes

$
0
0

Hello Imran,

 

Normally we always go for option 1.

 

Option 1: when ever the result data need to required in further processing will store the data in base class. Whenever need this data will get it using the base class reference. Which is the best practice for FPM applications.

 

Option 2: It just like particular to those feeder classes only, if there is no dependency you can prefer this option. i.e; if the data is not required for further processing. This option is not suggestible.

 

Option 3: It won't be possible. While doing the component configuration will get an error.

 

 

Regards,

Naga


Re: Best Practice for Feeder Classes

$
0
0

Hi Nagendra,

  Thanks for your advice. I checked some standard SAP FPM application where they have used the below option, i feel this is better if we don't need to re-use the search feeder class, what is your opinion on this.?

 

 

  1. Create a common base class which would be used for data storage(results).
  2. Create one common Feeder class for Search GUIBB and List GUIBB with base class as the super class.
  3. Implement the methods of Search and List GUIBB in this common class

 

Check the example feeder class - CL_FPM_TEST_SEARCH_E_SBOOK

Re: Best Practice for Feeder Classes

$
0
0

Hi Imran,

 

there is no best practice for these options; it is really up to the developer and the specific context which option suits best. Option 1 is often preferred for generic feeder classes with a large reuse potential, but as for Option 2 you need to take care about the data flow from search to list as you will have separate instances for these classes (unless you want to use static attributes in the common super class - somewhat dirty). In fact Option 3 is also a valid one (and no, you won't get error messages in the configuration) and it comes with the advantage that FPM will indeed resuse the same instance of the feeder class (unless you don't go for different feeder class parameterization in the configurations). This makes that data flow handling pretty easy: Store the search criteria in SEARCH~PROCESS_EVENT and retrieve the search results in LIST~GET_DATA.

 

Best regards

Jens

Re: Best Practice for Feeder Classes

$
0
0

Thanks Jens for your advice, so i feel the following option is also feasible if we don't need to re-use the search feeder class.

 

  1. Create a common base class which would be used for data storage(results).
  2. Create one common Feeder class for Search GUIBB and List GUIBB with base class defined above as the super class.
  3. Implement the methods of Search and List GUIBB in this common class - SEARCH~PROCESS_EVENT and  LIST~GET_DATA.

Re: Issue while creating fpm app using ACT and Odata

$
0
0

Hi Imran,

 

please note that the FPM Odata Adapter is just a case study but nothing which is recommended for broader usage.

But if you want to test it you need to use an RFC connection which points to a public OData service e.g. to target host services.odata.org with path prefix /Northwind/Northwind.svc or something similar.

 

Best regards

Jens

Re: Best Practice for Feeder Classes

$
0
0

Hi Imran,

not sure if I got you right, but now you seem to be back to Option 1. I addressed Option 3, i.e. one single class implementing the search and list interface. Then you don't need a joint base (super) class, and FPM will take the same instance. (This is not the case if you use different classes, even if they have a joint super class.)

Best regards

Jens

Viewing all 2665 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>