Quantcast
Channel: SCN : Popular Discussions - Floorplan Manager for Web Dynpro ABAP
Viewing all 1726 articles
Browse latest View live

How to add a button in the FPM application..?

$
0
0

Here is my FPM application for MDG(Material data governance)

Anybody please tell me how to add it.

Is there any thing to do with the feeder class because it is bassically built by using the feeder classes.

MDG_2.JPG

 

I that screen, near to the CHECK Button i have to add another button and wanted to do some event for that.


It will be realy helpfull if some could tell me the answer.


What is the best way to delete an FPM application?

$
0
0

Hey, it's me again.

I created an FPM Web Dynpro Application called "ZOR_TEST".

In order to delete it, I performed the following steps:

1) Delete the configuration in the FLUID

2) Delete the application in the Application Configuration

3) I had to go to SE80 and delete my application under the "FPM_OIF_COMPONENT". (Which is weird by the way, because I thought that after                 performing steps 1 and 2, the application wouldn't appear in SE80 yet I still saw it there, hence I deleted it.

 

Now, when trying to create another application with the same name, "ZOR_TEST", I get the following error: "ICF node for Web Dynpro application already exists".

 

I guess it means that the previous application wasn't deleted like it should have, because the ICF node still remained.

So there are 2 approaches to solve this:

 

A) Find a way to delete the ICF node

B) Find a way to delete an FPM application in a way that the ICF node will be deleted as well.

 

I need this because I still want to create application with the same name..

Thanks in advance.

Calling exits from FPM application - Suggestions required

$
0
0

Hi Experts,

 

We have a custom FPM OVP application which modifies material notifications - in simple words it does the same thing that transaction QM02 does.

 

Now, in QM02 we have implemented many exits for our custom logic when saving the material notifications. The business wants the same logic, written in the exits,to trigger when we transact through the FPM application also.

 

Now, my question is - is there any way by which we can trigger the same exits from our FPM application..? If not, is there any other optimised way to do it other than writing all those logic in my application.?

 

Many thanks in advance.

 

Saikat

Refresh Fields When Close Popup

$
0
0

Hello Community,

 

I created a dialog for a search.

My issue is when I close this popup and open it again the old values entered are always filled in in the fields.

I tried to clean IS_DATA in FLUSH method but it is in IMPORT so I cannot.

Should I use the POWL or do you have another solution ?

 

Thank you in advance.

How to pass data between UIBB?

$
0
0

Hi,

 

I have a zweb_1 WebDynpro component, with two views and window.

 

I use two UIBB FPM_OIF_COMPONENT the two windows above were added before. How can you use the IF_FPM_SHARED_DATA interface without having to create two component webdynpro as seen in the URL?

 

http://scn.sap.com/docs/DOC-25220

 

Example:

 

WebDynpro  Component: zweb_1

View: V_FILTER atributte sflight-carrid  1..1

View: V_ALV, Node Structure sflight     0..n

 

Window: W_ALV

Window: W_FILTER

 

FPM_OIF_COMPONENT

UIBB1: W_ALV

UIBB2: W_FILTER

 

How you can pass the data sflight-carrid of UIBB1 to UIBB2? always with one component webdynpro ?.

 

All examples use two WebDynpro component, one for IF_FPM_SHARED_DATA and another to include the first. It wants to prevent this behavior.

 

regards

Navigation between pages with value

$
0
0

Hi Guru's,

 

I created a popup with 3 fields to getting an ID and when I click on my button I go to the Method PROCESS EVENT and check if I receive this ID.

Then I would like to go back on my initial_screen or skip it if this ID is filled in.

 

 

Should I wire the popup with the initial_screen ?

The issue for wiring together is the init screen is a BOPF node an the popup not.

 

Also the feeder class for initial screen inherits from

I need your help please !

Thank you in advance.


Method Process_EVENT

 

if lv_id is not initial.

 

"Close Popup

lo_fpm->raise_event_by_id( export event_id = gc_close_dialog)

 

 

"Set value

lo_fpm_parameter->mo_app_parameter->set_value( export iv_key = 'ID'

                                                                                                iv_value = lv_id ).

 

lo_fpm->raise_event_by_id(if_fpm_constants=>gc_event_leave_initial_screen).

 

endif.

 

Message was edited by: rahhaoui mohamed

Getting reference to used components of FPM OIF component

$
0
0

Hello,

 

I am try to find a way to get reference to instances of used components created by OIF FPM. My scenario is as follows.

 

  • I have two custom components - Component A and component B.( both with just a single MAIN view )
  • BOth components are configured as subviews in FPM_OIF_COMPONENT component configuration. Component A forms the first  subview ( initial screen) and Component B forms the second subview.
  • Component B needs to display componentA->MAIN view in a view container ( component A defined as used component in component B- calling this usedcomponentA).
  • Changes made to fields of usedcomponent A ( from component B) should show up for component A when user switches back to component A.

 

Now since FPM framework creates an instance of componentA and component B creates another instance of componentA ( usedcomponentA)
My changes are not getting synced as required.

 

Does anyone know if there is a way to get the instance of the used component which FPM is using so that there is only only instance of the used component and thus no discrepency. I have done this with custom compoents but so far found no way of doing the same with FPM.

 

Note:i know my issue can be easily resolved using SDC or singleton class. However i was curious to know how to deal wth multiple instances of same used components when FPM is creating one of the instances.

 

Cheers,

Vivek

Insert Standard Webdynpro into FPM

$
0
0

Hello,

i want to insert a default application to FPM .

I do not want to copy the default application. I must have IF_FPM_UI_BUILDING_BLOCK interface .

 

Regards

Kerim


Title of columns via get_default_config

$
0
0

Hello,

 

I'm trying to add columns to a LIST_ATS_UIBB at runtime.

I'm using method ADD_COLUMN in the method GET_DEFAULT_CONFIG of the feeder class which works fine until I want to add a custom column header.

No matter what I pass to the method ADD_COLUMN in parameter iv_header, it is always ignored and the technical name of the component is taken as column header.

 

 

When I change the configuration of the UIBB to a normal list UIBB (not an ATS_LIST) everything works fine with the same feeder class.

Is this a known problem or does this just work differently with the LIST_ATS_UIBB?

 


Regards,

Rebekka

 


How to pass data between UIBB?

$
0
0

Hi,

 

I have a zweb_1 WebDynpro component, with two views and window.

 

I use two UIBB FPM_OIF_COMPONENT the two windows above were added before. How can you use the IF_FPM_SHARED_DATA interface without having to create two component webdynpro as seen in the URL?

 

http://scn.sap.com/docs/DOC-25220

 

Example:

 

WebDynpro  Component: zweb_1

View: V_FILTER atributte sflight-carrid  1..1

View: V_ALV, Node Structure sflight     0..n

 

Window: W_ALV

Window: W_FILTER

 

FPM_OIF_COMPONENT

UIBB1: W_ALV

UIBB2: W_FILTER

 

How you can pass the data sflight-carrid of UIBB1 to UIBB2? always with one component webdynpro ?.

 

All examples use two WebDynpro component, one for IF_FPM_SHARED_DATA and another to include the first. It wants to prevent this behavior.

 

regards

Confirmation dialog in Leave Request

$
0
0

Hi Experts,

 

My requirement is to display a dialog in Leave Request application (FPM_OVP_COMPONENT, HRESS_A_PTARQ_LEAVREQ_APPL) when the value is selected in a drop down. I will try to make it more clear with the screen shots below:

 

  1. I want to display the dialog box when the 'Type of Leave' is selected and for certain leaves only:

         Leave Type Select.png

    2. Here are the technical details of the field, and I see the FPM event 'LRF_TYPE_OF_LEAVE_SET()' is assigned to the field:

        Filed Details.png

   3. There's a dialog page already existing in the configuration. Can I use the same page with different messages while opening it to the user?

        Leave Request CC.png

This configuration using the feeder class 'CL_HRESS_PTARQ_LEAVREQ_GUIBBF', but I do not see any FPM events within this.

 

Please suggest how can I achieve this?

 

Thank you,

Balajii

Changing field usage in Feeder class for Lists

$
0
0

Hi,

 

We have a requirement to hide fields, and set as read only, and mandatory dynamically at run time on standard UIBBs.

 

To achieve this I am editing the GET_DATA method of the Feeder class and changing ct_field_usage. And then setting  ev_field_usage_changed = abap_true.

 

This seems to work well for the FEEDER_FORM classes but is not working on the FEEDER_LIST classes. For instance the Dimensions UIBB fields are not becoming read only.

 

I have debugged the code and seen that ct_field_usage for my fields is in fact being changed (to read only) but the UI is keeping these fields as editable.

 

What am I doing wrong?

 

Thanks in advance

Search feature in Tree UIBB

$
0
0

Hi,

 

I'm currently working with a tree UIBB. Now I want to add a search button to the UIBB.

I have filled the search component of structure ES_OPTION in method GET_DEFINITION. When I want to just activate the search in FLUID I get an exception.

I have to add a random toolbar element or a separator first in order to be able to activate the search without an exception. Is this really necessary or did I miss something?

 

After I've added a separator to the toolbar, I can see the search button in my tree UIBB. But when I click on the button nothing happens. I can see that the event FPM_GUIBB_OPEN_SEARCH is thrown, but there is no window opening to enter the search criteria. Do I have to do anything else to activate the search?

I have tried with search option 'enabled' as well as with search option 'dynamic'.

 

 

Best regards,

Rebekka

How to add a button in the FPM application..?

$
0
0

Here is my FPM application for MDG(Material data governance)

Anybody please tell me how to add it.

Is there any thing to do with the feeder class because it is bassically built by using the feeder classes.

MDG_2.JPG

 

I that screen, near to the CHECK Button i have to add another button and wanted to do some event for that.


It will be realy helpfull if some could tell me the answer.

How to create Drop-Down List in FPM, with values from intenal table?

$
0
0

Hi Experts!

 

I need to create a Drop-Down List Box in from UIBB. Drop-Down should contain values from an internal table. I know, that this is possible for Web Dynpro, but how can I manage values for FPM's Drop-Down list?


FPM OVP pop-up

$
0
0

Hi All

 

I´m trying to call a pop-up when click on radio-button.

 

I´m using FPM OVP. I have made a Dialog Box, but  do not know if this is correct.

 

When click on radio button in MOBILE Page, I need to launch a POP up .

 

 

 

 

Thanks

FPM LIST GUIBB - 1st Dropdown value sel. sets the value for 2nd dropdown enumeration

$
0
0

Hi All,

 

I have 2 dropdowns in my LIST view configuration and they are working fine.

Problem I am having:

When user selects the 1st dropdown in row X, I want the values of 2nd dropdown in row X to change.

 

If I update CT_FIELD_USAGE-FIXED_VALUES in GET_DATA it obviously updates the entire table dropdown values. I want to be able to change only the row values for 2nd dropdown.

 

I can do this easily in WebDynpro ALV but I want to achieve this by using IF_FPM_GUIBB_LIST.

 

Regards,

Abhinav

How to display data from search UIBB to list UIBB

$
0
0

Hi Experts,

 

I have search UIBB with personnel number. Once i click on search button , I should display data in LIST UIBB.

 

I had written code but it is triggering LIST UIBB first and then SEARCH UIBB.

 

 

Please help me how to trigger SEARCH UIBB first and then LIST UIBB.

 

 

Best regards,

Narasimha.

send mail from FPM LIST UIBB?

$
0
0

Hi Experts,

 

I have a login page with user name and password. If the user forget the password, he/she will click on forget_password button. Then it opens a dialog box where we will enter user email id. After that, user will click on OK button, it should send a mail with required details.

 

Please somebody help me to acheive this requirement.

 

 

Best regards,

narasimha.

FPM_LIST_GUIBB scrollbar

$
0
0

Hi Experts,

 

we are facing an issue with a List GUIBB and its vertical scrollbar. We have configured the list so that all the available records to be displayed. However, when opening the dialog, where the list is contained, a scrollbar is available though all the records are visible. I have attached screenshots of the UI and the configuration of the list.

Could you please tell me what is wrong?

 

Thank you in advance!

Kind Regards,

Miroslava

Viewing all 1726 articles
Browse latest View live


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