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

Determining Edit/Display Mode from Within Freestyle Component

$
0
0

I am new to FPM.  We are running ESS.

 

I have enhanced a new Web Dynpro Component onto an Edit page of an OVP (as a Freestyle Component).

I want the new WDC to behave differently based on the mode I am in.

How, from within the new WDC, can I tell if I have entered the Edit page in Edit (pencil) or Display mode?

 

Thanks...

 

...Mike


Set UIBB title dynamically in FPM OVP

$
0
0


Hi all,

 

I am using FPM_OVP_COMPONENT for my FPM application. The application contains a UIBB list element (FPM_LIST_UIBB_ATS) for which the title can be set in the "General settings" of the configuration. However, this title needs to be set dynamically. Any suggestions on how to accomplish this?

 

Thank you for your replies.

 

Regards,

Mari Virik

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

How to Add/Create FPM GAF Roadmap Steps Dynamically??

$
0
0

Hello Experts,

 

I have a requirement where I need to create Roadmap steps dynamically in FPM GAF.

 

I have a Initial screen with 4 radio buttons , based on selection of radio button I need to create different number of steps in GAF FPM.

 

I understand that we create dynamic steps using Rodamap UI elements in Webdynpro without using FPM.

 

However have to use GAF FPM and create steps dynamically.

 

Kindly let me know if this is possible or not. OR if there is any other alternative for this.

 

 

Thanks

Pradeep

getting ERROR: The ASSERT condition was violated. while try to add custom CHIP in side panel

$
0
0

Hi experts,

 

I am getting error "ERROR: The ASSERT condition was violated." when I try add my own Web dynpro CHIP in side panel of the FPM application.

 

I have created CHART UIBB configuration under web dynpro component BS_ANLY_CHART_UIBB and added it in FPM_UCW_COMPONENT configuration.

 

And finally I have created CHIP using FPM_UCW_COMPONENT configuration.

 

After that I have added my CHIP from CHIP Catalog to the side panel.

 

But while executing the side panel I am getting "ERROR: The ASSERT condition was violated" error.

 

In  ST22  they have mentioned  error in below area:

 

Category                   :ABAP Programming Error

Runtime Errors          : ASSERTION_FAILED

ABAP Program         :  CL_FPM_COMPONENT_MANAGER======CP

 

line -> ASSERT mo_fpm = so_non_multi_instantiable.

 

Please help to sort out this issue.

 

Thanks in advance,

Saranya.

FPM event Handling

$
0
0

Hi everyone,


I've created a Log on screen in a webdynpro component and integrated that into FPM (GAF Component) as a main step 1. Now I need to validate the screen if the details entered are valid it should move to the next GUIBB that is, next main step 2.


In the log on screen I've written the code for validation at the web dynpro component level. if the details are valid how can trigger the main step 2 ( i.e Next GUIBB ) from the web dynpro component level.


Please Suggest me.


Thank you


Regards,

Nagendra

Custom button events in FPM

$
0
0

Hello ladies and gentlemen,

 

Please forgive my ignorance, as I'm on old-school procedural developer who is new to FPM? I was wondering if someone could explain to me the mechanism by which a custom event is triggered from a custom bottom added to the component toolbar in FPM. 

 

I have added the button and created the custom event against the button, can't determine where the event is coded (i.e. in FPM_GAF_COMPONENT object, in the custom WDA view or elsewhere) and how the FPM button event is linked to the WDA or FPM process.

 

I would appreciate any assistance you could offer in clarifying this.

 

Regards,

 

Steve

FPM - Hiding custom tab dynamically.

$
0
0

Dear friends,

 

Let me start with details.

Details :

 

STD WDC : FPM_OIF_COMPONENT(there are 5 views in this component)

Component configuration name : /SAPSRM/WDCC_FPM_OIF_PO_PURCH

 

In this CC, i have added a new custom tab as 7th position in the tab strip and given my own Z Webdynpro component in the attributes.

 

Requirement : The custom tab should appear only for certain conditions.

 

My method :

 

1) I have tried to put some code in the modifyview and post-exit of MAIN to hide based on condition - Requirement not met.

2) same as above, in post-exit method of CNR_VIEW - Requirement not met.

 

Solution :Any methods apart from the above to achieve this requirment would surely be appreciated.

 

Regards,

Vinay


basics for FPM in webdynpro abap

$
0
0

Hi Experts,

 

I am new to webdynpro know some basic concepts.

 

I want to learn the FPM. what exactly FPM and why need FPM.

 

what is ehp4,we have to install any patches for using eph4 or any version we have to isntall.I have ecc6.0.

 

I know package ABP_FPM_DEMO in that some application using FPM are there.But I ma not understaing taht can you please give me small hello world application from step by step how to configure,what is configuration and what is the use of FPM.

 

 

 

Thanks

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

Close Popup window in webdynpro abap.

$
0
0

Hi,

Can anyone tell me ...how to close the popup window through the action in webdynpro abap . In my popup window there is a button(i.e 'UPDATE') apart from that  default 'OK' button , I want that when 'UPDATE' button is pressed, along with the action window should be closed. I dont want to close the window by pressing 'OK' button at the botton

 

I have used following code to open the popup window.

 

data lo_window_manager type ref to if_wd_window_manager.

data lo_api_component  type ref to if_wd_component.

data lo_window         type ref to if_wd_window.

 

lo_api_component  = wd_comp_controller->wd_get_api( ).

lo_window_manager = lo_api_component->get_window_manager( ).

lo_window         = lo_window_manager->create_window(

                   window_name            = 'POP_UP  WINDOW'

                   title                  = ''

  •                   close_in_any_case      = abap_true

                   message_display_mode   = if_wd_window=>co_msg_display_mode_selected

  •                  close_button           = abap_true

                   button_kind            = if_wd_window=>co_buttons_ok

                   message_type           = if_wd_window=>co_msg_type_none

                   default_button         = if_wd_window=>co_button_ok

                   ).

 

lo_window->open( ).

Enable/disable search field in SEARCH UIBB FPM

$
0
0

Hi ,

 

Is it possible to enable or disable a selection field based on a condition using SEARCH UIBB for FPM?

 

Thanks,

Shailaja Ainala.

How to check all mandatory fields in different UIBBs which are not active

$
0
0

Hi FPM colleagues,

 

Thanks for your time in advance:).

 

We are using FPM to develop our application(Solution Manager) Now we get a requirement from user that they want fields mandatory property to be configurable according to their own business requirement.

 

The first idea coming up to us is that we create component configuration to change fields mandatory properties and apply them to FPM application configuration. And then check those fields validation by framework method:

 

    CALL METHOD cl_wd_dynamic_tool=>check_mandatory_attr_on_view

          EXPORTING

               view_controller = lo_api_controller.

 

Since mandatory fields are configurable and may exist in several UIBBs in different main views. The check method will not work if those UIBBs are never created(e.g. user didn't click it, then the instance will not exist and check will not work)

 

So the question is: how can I check all mandatory fields by this framework method(since user need it to be configurable) in a FPM application even some UIBBs are not active. Or maybe I can activate all UIBBs by code? Thanks a lot for any answer regarding this requirement:):)         

 

BR,

Steve

How to grayout input fields in fpm guibb ?

$
0
0

How to grayout input fields in fpm guibb ?

Passing Data to Webdynpro from normal module pool screen

$
0
0

Hi,

 

I am working on a requireent, where I have a normal screen with some fields and a button. When I click on the button I want to navigate to the webdynpro screen and also pass the data from the screen to web dynpro.

 

Any suggestion is really appriciated.

 

Thanks

Sanjaya


Hide Previous and Next buttons in GAF?

$
0
0

Hi,

 

I want to use the Guided Activity Floorplan, but I plan to use buttons from my own view to navigate to the next screen. Is it possible to hide or remove the default 'Previous' and 'Next' buttons that come with GAF?

 

Kamal

New button missing after translation.

$
0
0

Hi Guys.

I've added a new "Print" button in the header of the NWBC screen.

This button has 3 sub-items.

fp1.png

 

I created a OTR to translate the text of the Print button.

fp2.png

I associated the 'OTR' created with  Print button and now the button does not appear on screen.

 

So to test I associated a standard OTR / SCMTMS / UI_CMN / CALCULATE_CHARGES and the button appeared.

 

What is wrong in my OTR created or could be other motive.?

 

Thanks for help.

 

Ronaldo

Disable standard webdynpro UI element dynamically

$
0
0


Hi All,

 

We have a requirement to make a standard UI button on MDG change request approval screen dynamically visible/invisible based on the approver.

 

Process: Whenever a Change requested is created and finalized processing is done, it is sent for approval. The approver opens the change request, where he has the option to Approve/Reject the change request. Our requirement is to make the 'Approve' button invisible for certain agents and provide them with only Reject option.

 

Technical Information for UI Element:

Application:                      USMD_CREQUEST_PROCESS

WebDynpro Component: FPM_OIF_COMPONENT        

Window Information:        FPM_WINDOW

 

Information on Field:

 

 

Appreciate any help on this.

 

Thanks,

Nithin

Passing custom URL parameter to a FPM app

$
0
0

Hello,

 

I am facing a problem when trying to pass an URL parameter to a GAF FPM application.

 

The standard way by adding a parameter to the WD application and adding a parameter to the default plug in the window doesn't work for FPM... at least in my case.

 

Does anyone know how URL parameters work with the FPM framework?

 

Thank you and BR,

Chris

Open a popup on standard FPM buttons - FPM dialog box

$
0
0

Hi gurus,

 

a "simple" requirement: I have to open a confirmation popup ("Are you sure?" with yes/no buttons) on some FPM buttons for a standard application (view/edit of an RFx).

I've seen that FPM Dialog Boxes are often suggested as solution that meets my desiderata, but I have some doubts.

First of all: following this tutorial:

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

 

I created an enhancement over the proper configuration for FPM_OIF_COMPONENT, in which i created a Dialog Box referring to a custom (and empty, for now) WD Component.

 

The problem is: how to associate this Dialog box to existing, standard FPM buttons?

 

In the tutorial a custom button has been created and an FPM Event ID called "FPM_OPEN_DIALOG" has been set for this button; as parameter, an entry with:
Parameter name: DIALOG_BOX_ID

value: <mycustomDialogBoxID>

has been created.

 

The problem is that each standard FPM button has its own FPM Event ID, so the first question is: should I override that event with FPM_OPEN_DIALOG?

And then, how can the Dialog Box know what's the correct FPM Event ID that should be triggered by the pressure of the OK button?

 

Could anyone suggest me the best approach to this task? I'm kinda confused, I guess there should be a kind of parameter's passing system, probably my custom WD Component which is used as UIBB for the popup has to implement a specific interface.

 

Any help will be appreciated, thanks

Viewing all 1726 articles
Browse latest View live


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