Quantcast
Channel: SCN : All Content - Floorplan Manager for Web Dynpro ABAP
Viewing all 839 articles
Browse latest View live

how to set two acions at a time when click on single button with same event id's?is it possible?

$
0
0

Hi guys,

 

 

this is Siva i am created  fpm component with oif  in this i have a button in main view in this when i am clicking the button(create) that  perform two action one is create  the new dynamic sub view using add sub view method in override_event_oif method . and second one is at the same time that dynamic view is active that is the my requirement any one please give the solution it is possible? if possible how ?if not any other way ?


Issue opening an fpm app in a new tab after upgrade

$
0
0

Hi all,

we have just upgraded our dev system from EHP6 to EHP7 and now started having the following issue the non-upgraded systems don't have:

in our fpm portal in NWBC, we have a Launchpad with links to our fpm apps. In lpd_cust, the Navigation Mode for each of those app links is set to EXT_PORT, which allowed the app to open in a new tab when the user clicked on the app link. Now, it's opening in a new window (even though no settings have changed) and we don't want that.

I've looked everywhere for a solution and cannot find it, so I would appreciate any help on this.

Problem definig FPM screen .

$
0
0

Hi Experts

I am working with nwbc / FPM.

 

 

I created a Fast Order Screen to be called like First screen

when the user open a Forwarding Order.

 

1.png

 

 

This configuration worked correctly , because when the user open a

Forwarding Order my FAST Order screen is called:

 

2.png

 

My problem is: When i am using STAGES AND CLICK in BUTTON to call other screen,

and i back in this moment ,my FAST_ORDER IS NOT SHOWED ,BUT the main screen is showed

This problem has been ocurring when i call others screens too.

 

How to solve this problem?

 

 

Thanks

** TEAM FPM ** - A new Message Area

$
0
0

As already announced by Celeste's recent blog, there is a new Message Area available with SAP NetWeaver 750 SAP_UI SP01.

 

The new design provides a more modern look and feel. When an error arises, the system displays an notification icon and a popover displaying the messages. See Figure 1.


Figure1.png

Figure 1: New Message Area in FPM application S_EPM_UX_PO_GAF

 

For all Floorplan Manager applications there are two ways to get the new design

  1. Run the application with parameter WDUIGUIDELINE=FIORI (see also the documentation) or
  2. Set the Message Area Design to the value "Notification Icon" in the configuration environment (FLUID). See Figure 2.


There are two exceptions for which the new design cannot be rendered due to technical reasons:

  1. The Message Log has been activated in the Message Settings (see Figure 2)
  2. The application is rendered in quirks mode. See also SAP Note 2273522.

 

Figure2.png

Figure 2: Adapting the Message Area Design in FLUID.

 

Once the Message Area popover appears, it can be dragged (via mouse) to another position on the screen, see Figure 3.

 

Figure3.png

Figure 3: Changing the position of the Message Area

The Message Area popover can be pinned to the page header by using function Pin.PNG(see Figure 4), and  - vice versa - it can be unpinned from the page header with function UnPin.png.

Figure4.png

Figure 4: Message Area in pinned state


As with earlier versions the Message Area renders three messages by default. This default value can be changed in the configuration environment, see the field Maximum Message Size in the Message Settings (Figure 2). If the maximum number of messages has been exceeded, then a scrollbar appears, (see Figure 5). In addition a small handle resize.pngis available to change the height of the popover. A corresponding function is provided also in the pinned state (see Figure 4).


Figure5.png

Figure 5: Scrollbar and resize handle in Message Area


As with earlier versions there are three different message severities (resp. types): Error, Warning and Success. They are visualized with corresponding icons: error.png, warning.png and success.png.The amount of messages for each severity is displayed behind the icons (see Figure 5), and by clicking on the icons you can filter based on the selected type (see Figure 6).

 

Figure6.png

Figure 6: Filter messages by selected type

 

Enjoy this great improvement

FPM TREE GUIBB Master Column with dynamic fixed values

$
0
0

Hi experts,

I have a GUIBB Type FPM_TREE_UIBB.

Now the requirement is to create a dynamic valuehelp for the master column. So that I can change the values at any roundtrip (maybe in the get_data Method, like i can do it for every other field by changing the field catalog.

Problem is, there is no entry in the field catalog for the master column.

 

Anyone an idea?

 

Thanks and BR,

Sebastian

Launch_URL menubar still displaying

$
0
0

Hi,

 

Does anyone know how to hide the menubar when launching a new window?

menubar.jpg

Below is the code I am using

 

DATA ls_params TYPE apb_lpd_s_portal_parameters.

       ls_params-window_features = 'directories=no,location=no,menubar=no,status=no,titlebar=no,toolbar=no'.

 

       CALL METHOD if_nav->launch_url

         EXPORTING

           is_url_fields            = ls_url

           is_additional_parameters = ls_params.


regards

Julian

 

Dialog Boxes in FPM applications

$
0
0

I have created many dialog boxes in FPM FORM UIBB ,but all of them open with small window size as default .

 

Is there any way ,by which Dialog Boxes open with big default size

Dropdown in Search GUIBB

$
0
0

Hi Experts,

Could you please explain how to create a dropdown in search GUIBB?

 

In Form UIBB it is configurable - but couldn't find a option for the same in search uibb.


** TEAM FPM ** - Chart UIBB - New Features for NW 7.50

$
0
0

For our Chart UIBB we have introduced with SAP NetWeaver 7.50 a couple of new features that you should know about I will briefly demonstrate these on the basis of OVP test application FPM_TEST_CHART_PERS and Chart UIBB configuration FPM_TEST_CHART_11.

 

1. Export As Portable Network Graphic (PNG)

 

Customers frequently asked for a possibility to export the graphic in a suitable format like PNG. Since we use HTML5 inline Scalable Vector Graphics, the browser does not provide this out of the box. So we have realized it in NW 7.50 SAP_UI SP0 on the basis of Java Script Library canvg.js

 

To have this functionality just run the configuration editor (FLUID) and open the General Settings Panel. Here you will find the field Export (see Figure 1). There are three options: Disabled, Enabled (Chart Toolbar), Enabled (Panel Header). The first options is the default value, with the second option you can enable the feature in the Chart Toolbar. Use the third option, if you want that function in the panel header (so-called exposable action) inside of an Overview Page Floorplan.

 

Figure1.png

Figure 1: FLUID - Enabling the Export as PNG

During the FPM runtime it looks like this (see Figure 2): Once you click on function export.png a browser dialog asks for a download of file ChartUIBB.png (see Figure 3).

 

Figure2.png

Figure 2: Export function during FPM runtime

 

Figure3.png

Figure 3: Browser dialog to download the portable network graphic

 

2. Advanced Personalization

 

So far we offered for the Chart UIBB a Basic Personalization in which you could change the chart type, set the drawing finish and some visibilities (legend, tooltip and animation) . Now with NW 7.50 SAP_UI SP2 we provide an Advanced Personalization in which you can assign measures and dimensions and edit their indices.


There are two possibilities to get this feature: Either run the FPM application with URL parameter sap-config-mode=X (Administrator Mode) or enable the Advanced Personalization in the General Settings of the Flexible UIDesigner.


Figure4.png

Figure 4: FLUID - Enabling the Advanced Personalization

During the runtime it looks this (see Figure 5): If you click on function personalization.png on the right hand side of the Chart Toolbar the Advanced Personalization Dialog appears.



Figure5.png

Figure 5: Chart UIBB - Advanced Personalization Dialog


Via Browse & Collect you can assign and remove measures and/or dimensions regarding the shown data. In addition you can adapt their axis and sequence indices. This of course determines the number of available chart types. The type itself can be set below. This way you can change your graphic very quickly to gain more insight from the data (see Figure 6).


Figure6.png

Figure 6: Personalized Chart UIBB


3. Alternative List Rendering

 

So far we offered a tabular rendering of the chart data within the accessibility mode. But customers asked for dynamic switch between the graphic and tabular rendering. So we introduced with NW 7.50 SAP_UI SP3 the Alternative List Rendering (based on FPM List UIBB ATS) that can be enabled during the FPM Design Time (see Figure 7).

Figure7.png

Figure 7: FLUID - Enabling the Alternative List Rendering

During the runtime it looks this (see Figure 8): Once you click on buttonAlternativeList.pngthe graphic rendering turns into the tabular rendering. In this mode you benefit from standard List UIBB ATS features, such as Sorting& Grouping, Search (Ctrl-F) and Export to Spreadsheet.


Figure8.png

Figure 8: Chart UIBB - Alternative List Rendering

 

Thanks for your attention

FPM Image Scaling issue

$
0
0

   I am working on  a functionality to display image from MIME repository in FPM  application . I need scale down the image size.

I am not able to find a way to do this. If anyone has worked on this kind of requirement or having solution , please send me mail or ping me .

Display of Image:

Flame1.JPG


 

 

FPM Field Attributes:

flame2.JPG


Using FBI - Related View tab

$
0
0

Hello Consultants,

I am new to FBI. I am facing issue with "Related view" tab in FBI view..

 

Below are the steps I have followed to create application:

 

1. Created component configuration for FORM UIBB

2. In Feeder class parameters, I have given the FBI view. I have used FBI view to display fields from multiple nodes of the BOPF.

3. In the Elements, I got all the fields from multiple nodes in popup

 

Issue is that, When I placed the fields on UI, Only fields in ROOT node are in editable and rest other fields are disabled for input. What is the issue behind this behaviour?

 

Thanks,

Riz..

FPM POWL GUIBB - column width

$
0
0

Hi guys - does anyone know if it is possible to allow the user to change the column widths of fields when accessing a GUIBB POWL ?

 

I have a report with a maintainable dropdown field and I cannot for the life of me get to to display the full text, or enable the user to be able to resize the columns, or manually set the size of the column in the GET_FIELD_CATALOG method of the feeder class so that the whole text is displayed.

 

FYI the largest text in that field would be about 40 chars. I thought it might be because I have the wrapping flags set, but turning them off doesn't make a difference.

 

I'm calling it from an application against FPM_OVP_COMPONENT.

 

Any pointers would be VERY helpful.

 

thanks in advance.

Sean

Help central /Quick help in FPM application

$
0
0

Can any one please tell,what is use of this help central . If I try to maintain notes via FLUID for one application ,then all other FPM applications have same text .

 

How should this be used .

 

Also,is there any way to hide this ,so that client is not confused with it .

 

Capture.JPG

Theme blue crystal - cell design readonly

$
0
0

Hi Experts,

 

I want to use the theme blue crystal in a table (fpm application). But in this theme (blue crystal) i'm not able to see the difference between cell design editable and readonly. Can I change this?

 

Table with blue crystal:

 

sap_blue_crystal.GIF

 

Table wit sap corbu:

 

sap_corbu.GIF

 

Kind Regards

 

Matthias

UIBB with panel is always collapsing when an ui action is triggered

$
0
0

Hello all,

 

I am new to FPM and I need some help with a problem which could be trivial to some.

I have a UIBB inside a component configuration displayed using a panel. On this UIBB I have two checkboxes a dropdown list and a text area which should be displayed for a specific value of the dropdown.

 

The problem is that whatever action I make inside the panel (I check one of the two checkboxes or I select a value in the dropdown) my panel is always getting collapsed. I don't want it to be collapsed but to stay expanded.

 

Could any of you guys please help me?

 

Best Regards,

 

Mihai Dipsan


FPM URL ,paramter passing

$
0
0

Hi All ,

 

I have to open FPM URL on button click ,which is fine ,I can achieve it . But I need to open URL with some predefine information e.g PO number .

 

In order to pass PO number from one FPM application to another ,I am using Export to Database indx(p/) ID 'XX" and import from DB indx and then delete DB indx.

 

 

But this solution is not consistent.Export and import does not work properly every time .

Can any one please advice , how can we pass information  from one URL to another .

 

I tried using singleton class as well,but data is cleared up .

** TEAM FPM ** - Asynchronous Loading of GUIBBs

$
0
0

Every time you deal with GUIBBs that load large amount of data, then asynchronous approaches may help to let the screen be still responsive and more user friendly. Since this topic is frequently discussed in the forum, I decided to describe a possible solution based on the FPM Asynchronous Events and Web Dynpro Notification Service, which was delivered with SAP NetWeaver 731 SP7.

 

The idea is quite simple: During the initialization phase we register an asynchronous FPM event (e.g. FILL_DATA) via interface IF_FPM and start a RFC function module in a parallel work process, doing the expensive data retrieval. Once this is done, Web Dynpro Notification Service is used to trigger the asynchronous FPM event that brings the data to the user interface.

 

Let's start with the Feeder Class: At method IF_FPM_GUIBB~INITIALIZE you may apply the following code:

 

METHOD if_fpm_guibb~initialize.
*   create event    DATA lo_event TYPE REF TO cl_fpm_event.    CREATE OBJECT lo_event      EXPORTING        iv_event_id = 'FILL_DATA'.
*   source uibb    lo_event->ms_source_uibb-component = iv_component_name.    lo_event->ms_source_uibb-config_key = is_config_key.    lo_event->ms_source_uibb-instance_id = iv_instance_id.
*   register event    DATA(lv_id) = cl_fpm_factory=>get_instance( )->register_asynchronous_event( lo_event ).
*   create id (char32) for task    mv_task = 'TEST_FILL_DATA_ASYNC'.
*   get data in new task    CALL FUNCTION 'FPM_TEST_FILL_DATA_ASYNC' STARTING NEW TASK mv_task CALLING fill_data ON END OF TASK      EXPORTING        iv_notification_id = lv_id      EXCEPTIONS        OTHERS             = 1.    ASSERT sy-subrc EQ 0.  ENDMETHOD.

whereas the class attribute MV_TASK is of type CHAR32.

 

Next you have to define a public feeder method (e.g. FILL_DATA) that acts as callback to bring the results of the parallel work process into the feeder instance:

 

METHOD fill_data.    CHECK mt_data IS INITIAL AND p_task EQ mv_task.    RECEIVE RESULTS FROM FUNCTION 'FPM_TEST_FILL_DATA_ASYNC'         IMPORTING et_data = mt_data         EXCEPTIONS OTHERS = 1.    ASSERT sy-subrc EQ 0.
ENDMETHOD.

The feeder method GET_DATA (in this case for a Chart UIBB) may look like this:

 

METHOD if_fpm_guibb_chart~get_data.
*   disable actions at fpm start    IF io_event->mv_event_id EQ cl_fpm_event=>gc_event_start.      set_action_usage(        EXPORTING          iv_enabled                        = abap_false        CHANGING          ct_action_usage                = ct_action_usage          cv_action_usage_changed = ev_action_usage_changed ).    ENDIF.    CHECK iv_raised_by_own_ui EQ abap_true.
*   set data    io_chart_data->get_table_model( )->set_data( mt_data ).
*   enable actions    set_action_usage(        EXPORTING          iv_enabled                        = abap_true        CHANGING          ct_action_usage                = ct_action_usage          cv_action_usage_changed = ev_action_usage_changed ).  ENDMETHOD.

Here the GUIBB specific toolbar actions are being disabled at FPM_START and enabled once the table MT_DATA has been filled.

 

Last but not least we have a look in the RFC enabled function module FPM_TEST_FILL_DATA_ASYNC. Once all data are available, the Web Dynpro Notification Service (Method UPDATE_EVENT_STATUS) is used to trigger the asynchronous FPM Event on the client side.


FUNCTION fpm_test_fill_data_async.
*"----------------------------------------------------------------------
*"*"Local Interface:
*"  IMPORTING
*"     VALUE(IV_NOTIFICATION_ID) TYPE  WDR_NOTIFICATION_ID OPTIONAL
*"  EXPORTING
*"     VALUE(ET_DATA) TYPE  FPM_T_CVOM_DATA
*"----------------------------------------------------------------------
* get data   CALL FUNCTION 'FPM_TEST_FILL_DATA'     IMPORTING       et_data = et_data.
* delay: just for simulating an expensive data load   WAIT UP TO 5 SECONDS.
* inform notification service   IF iv_notification_id IS SUPPLIED.     cl_wd_notification_service=>update_event_status(       EXPORTING         event_id       =     iv_notification_id         event_status =     cl_wd_notification_service=>c_status_done     ).   ENDIF.
ENDFUNCTION.

 

The above described solution is used also in test application configuration FPM_TEST_CHART_ASYNC_LOAD, which comes with SAP NetWeaver 751 SAP_UI SP0. Here you will find also a WebSocket based approach that is provided with our brand new ABAP Push Channel for FPM Events that will be described in this forum soon

 

Thanks for your attention!

Benefits enrollment FPM roadmap - Action is not being triggered for Edit/Display button

$
0
0

Hi,

 

I am facing an issue in the HRESS_CC_BENF_ENR_GAF in steps 1 and 2 where the Edit or Display (when configured in V_T7XSSPERSUBTY) button does not work in the CCs HRESS_CC_BEN_OVR_PERSDATA_US, HRESS_CC_PER_OVR_ADDRESS_XX or HRESS_CC_PER_OVR_FAMILY_XX.

 

The button 'Edit personal data' from the tollbar is working fine. I could not find any custom configuration or development that might be causing this issue.

 

Has anyone faced this issue?

 

Regards,

Felipe

Display/Edit mode settings in FPM OVP Application

$
0
0

The post describes how we can achieve the display & edit functionality without coding as FPM already provides this. The below post describes this by using an OVP application with form UIBB.


Check the link for details- Display/Edit mode settings in FPM OVP Application | TECHSAP


-------------------------------------------------------------------------------------------------------------------------------

Embedding an FPM application in Web Dynpro application

$
0
0


The post describes about how to embed a FPM application in Webdynrpo applictaion. Already we have a FPM OVP application ZTEST_APPL_BILL_LIST. This is an OVP application. In fact we can embed any FPM application whether OVP, OIF or GAF .


Check the link for details- Embedding an FPM application in Web Dynpro application | TECHSAP


-------------------------------------------------------------------------------------------------




Viewing all 839 articles
Browse latest View live


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