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

LIST UIBB - Cell Property Control At Runtime

$
0
0


Dear all,

 

I am using List UIBB in Standard FPM OIF Application to display the list. I am facing the problem in controlling the cell property based on conditions at row level. I have the first column as dropdown by key. Based on its value, the next three columns(which are actually input fields in configuration) should be set as editable or read only at run time. In get data method, when I change the field property, it changes the whole column as read only or editable. I need to modify at row wise.

 

Please help me resolve this.

 

Thanks in advance.


Additional Operators with FPM Search GUIBB

$
0
0

Hello everyone,

 

another question about the FPM Search GUIBB.

 

I have the requirement to implement a FPM Search GUIBB where the user can search for "relative dates" like today, yesterday, last week, last month, etc. To do so, I planed to add new operators (using attribute INCLUDE_OPERATOR of parameter ET_FIELD_DESCRIPTION_ATTR in feeder class method GET_DEFINITION). Everything works fine, however I would like to hide the value fields, when a relative date is selected. With standard search operator the value fields are controlled automatically. For example: When the "between" operator is selected, two value fields are shown. When the "is empty" operator is selected, no value fields are shown, etc.

 

Is such a controlling of value fields also possible with additional search operators?

 

Thanks in advance for your advices!

selection option using form uibb

$
0
0

Hi experts,

 

I would like to build the select-option in form uibb. It is possible in the search uibb. Is this possible in the form uibb?

 

Thanks and regards,

Clark

Adding a custom button to FPM - how to manage the custom event

$
0
0

Hello experts,

 

I'm dealing with a simple task, that is, adding a custom button to FPM (OIF) in a standard application.

 

So; I found that the standard application (RFx process in SRM) uses FPM_OIF_COMPONENT with the configuration /SAPSRM/WDCC_FPM_OIF_RFQ_PR_PU.

 

I then used the Component Configurator on /SAPSRM/WDCC_FPM_OIF_RFQ_PR_PU , enhancing that in order to add a custom button, say FOO.
The element ID is the set to "FOO" while FPM Event ID is set to "FOO_BAR" (I have to implement this, right?).

 

Now, starting from the point that the button is visible thru the application but obviously, it doesn't work...Searching in SDN I found that I should write my own code into the PROCESS_EVENT of ComponentController... but which ComponentController?

 

As the application uses FPM_OIF_COMPONENT, it has a lot a subordered MainView, and each one of these contains a WD Component. Each one has its own ComponentController.

 

This makes me thinking that once I add to identify what's called "appCC" for a certain configuration. I used to do it via Configurator on a SAP SRM 700.

 

Is this the right direction or I'm missing something?

 

If I'm following the right path... there's a problem. I'm now dealing with a SAP SRM 702 and the Component Configurator layout has been modified a bit; I cannot locate the option to see what's the appCC reference for that configuration.

 

Could you please help me? Thanks!

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 layout issue

$
0
0

Hello,

 

I am trying to enhance the delivered OVP configuration - HRESS_CC_PER_OVP. I have created another FORM UIBB and added it to this configuration. I am not able to place my custom form uibb at the beginning of the screen.

 

1. I added the new form uibb to the configuration main page - PERS_DATA

2. Changed the sequence so that my new component comes first

3. In this setup Tabbed component(HRESS_CC_OVR_PERSDATA_PHOTO_XX) is displayed first

4. I have tried adding a complete new section and gave the sequence to be 1 to that new section also. This section is displayed at the end.

 

I have not found any help on why this is behaving like this? Please help me.

 

 

thanks in advance

FLUID - Preview button disabled

$
0
0

Hi experts,

 

In the preview section I cannot reach my items anymore.

So I cannot neither : drag and drop, modify etc....

 

I can select them in the UIBB schema and then delete but not enough to build a WDA.

 

Can anyone help me about it?

 

Thanks

Sans titre.png

Form UIBB: Radio Button Group: How to set default value?

$
0
0

Hello,

i've added a Radio Button Group in Forum UIBB (FPM_FORM_UIBB) with 3 possible values. How can I set the default value for this group? When starting the application, no radio button is selected..

 

Thanks & Regards

Christopher


Parameters not passed in launch_transaction; transaction stop

$
0
0

Hi all,

 

I'm trying to call a report based transaction from the FPM object as follows:

 

ls_tra_lo-header_text = 'Log-in with your HR_ User!'.

ls_tra_lo-tcode = 'ZHR_XX_SSF_UPD_SYSTM'.

ls_tra_lo-pers_dialog = 'ZHR_XX_SSC_HCM_PF_UPD'. "'DIA_BUA_CCMONITOR'.

ls_tra_lo-variant = space.

ls_tra_lo-gui_type = 'WIN_GUI'. "just to test

ls_tra_lo-system_alias = 'HR-BSP'. "'ZHR_XX_SSC_HCM_PF_UPD'.

ls_parameter-key = 'PAPROCNR'.

ls_parameter-value = '900000000038'.

APPEND ls_parameter TO ls_tra_lo-parameter.

ls_add_param-skip_init_screen_if_possible = abap_true.

lo_navigate_to = mo_fpm->get_navigate_to( ).

CALL METHOD lo_navigate_to->launch_transaction

    EXPORTING

      is_transaction_fields    = ls_tra_lo

      is_additional_parameters = ls_add_param

    IMPORTING

      et_messages              = lt_message

      ev_error                 = lv_error.

 

Unfortunately, the parameters don't get passed to the selection screen of the report (they are in the generated URL). Furthermore while the first screen of the transaction is shown, after clicking on execute (F8) the transaction just stops and the empty shell of program SAPMSYST is being shown.

I have the impression that there might be a bug, at least in the parameters' passing.

 

Anyone had this problem? I would like to use it since it allows me to call in an internet explorer window the WinGui itself, not just the WEBGui.

Trying the code of this discussion http://scn.sap.com/thread/1594478 it works, except that the parameter doesn't get passed with that code either.

 

Thanks a lot in advance, Ioan.

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

How to grayout input fields in fpm guibb ?

$
0
0

How to grayout input fields in fpm guibb ?

FPM interview Question

$
0
0

Hi,

 

I want set of  important  of webdynpro FPM. so Please send me as well as soon !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Adding a custom button to FPM - how to manage the custom event

$
0
0

Hello experts,

 

I'm dealing with a simple task, that is, adding a custom button to FPM (OIF) in a standard application.

 

So; I found that the standard application (RFx process in SRM) uses FPM_OIF_COMPONENT with the configuration /SAPSRM/WDCC_FPM_OIF_RFQ_PR_PU.

 

I then used the Component Configurator on /SAPSRM/WDCC_FPM_OIF_RFQ_PR_PU , enhancing that in order to add a custom button, say FOO.
The element ID is the set to "FOO" while FPM Event ID is set to "FOO_BAR" (I have to implement this, right?).

 

Now, starting from the point that the button is visible thru the application but obviously, it doesn't work...Searching in SDN I found that I should write my own code into the PROCESS_EVENT of ComponentController... but which ComponentController?

 

As the application uses FPM_OIF_COMPONENT, it has a lot a subordered MainView, and each one of these contains a WD Component. Each one has its own ComponentController.

 

This makes me thinking that once I add to identify what's called "appCC" for a certain configuration. I used to do it via Configurator on a SAP SRM 700.

 

Is this the right direction or I'm missing something?

 

If I'm following the right path... there's a problem. I'm now dealing with a SAP SRM 702 and the Component Configurator layout has been modified a bit; I cannot locate the option to see what's the appCC reference for that configuration.

 

Could you please help me? Thanks!

FLOOR PLAN MANAGER WITH WEBDYNPRO ABAP

$
0
0

Hi All,

 

How to learn FPM , please help me....and please send some doc's...

 

 

 

Regards.

Sunil B

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: Issue while navigating for second time

$
0
0

Hello Experts,

 

I've created 2 FPM applications, one displays the list of POs created by the user through a List UIBB and the other displays the Header and Item of the PO when selected.

 

My both Configurations are purely UIBB based and I'm not using webdynpro at all for designing any views, everything is designed using FPM UIBBs and feeder classes only.

 

I'm able to navigate between two applications and display details as required, thanks to CL_FPM_NAVIGATE and LPD_CUST.

 

On my PO display screen, I have provided a 'BACK' button to go back to the PO List. When I clicks on any other PO number then, it is navigating to the Display screen but displaying the details of the first PO number clicked, always.


I also tried to put a breakpoint at INITIALIZE method of Display screen feeder class, it stops there when I execute for the first time.

But when I go BACK and clicks on any other PO, it simply displays the details of the previous PO without stopping at the breakpoint. It seems it is not executing the code on second time and displaying me the same screen from some cache or static instance.


I'm not using Suspend and Resume feature as I'm not getting SAP-WD-RESUMEURL parameter from portal, thus on BACK button, I'm again navigating to the PO List.


In LPD_CUST, navigation mode is 'INPLACE' as i want to display screen in the same window.



Kindly advice.

Let me know if any other information is required.



--

Best Regards

Jitin Kharbanda

FPM_SAVE button Issue

$
0
0

Hello ,

 

As required , I need to have two Buttons SAVE and SUBMIT in my FPM OVP  GLOBAL tool Bar.

SAVE only save the current GUIBB List to the data base, Where as SUBMIT will SAVE and close my windows/Sections.

 

So I have used FPM_SAVE for Submit and It is solving my requirement of closing the windows.

 

But for the SAVE , I can not use FPM_SAVE as it is closed the window. As per requirement it is just save the edited data to the  data base and window remains  open.

 

Which standard Event can help me to only save and remain in the window without closing it.

 

I have came across some other standard Save  event like FPM_SAVE_BACK_TO_MAIN  and FPM_SAVE_EDIT. Can it be helpful?

 

Regards,

Partha

Dropdown list in the form UIBB

$
0
0

Hi All ,

 

I have 2 plant fileds(werks) in the form UIBB , Dropdown list

 

 

If the user selects some input from 1 st dropdown

 

If user selects the 0003 from site and if the company code is 0001 , then i need to take the store which has company code as 0001 and display in the dropdown list of the house.

 

 

But here i am facing a problem ,I am populating the fixed values in the form class get definition , I have build the fixed values for the Site field , and after i select a value 0003 in site ,

 

 

How can i populate the fixed values for the house field , ? I think i need to create actions for site , but anyway i may need to write the logic in process event , but the fixed values we can build in the get definition ,

 

My question is where i can write the code for house field fixed values ?

 

 

Thanks,

Pradeep.

Using Selection screen in Initial screen of FPM and how to pass to process_event method

$
0
0


I want to write an OIF FPM WDA with initial screen as selection screen using WDR_SELECT_OPTIONS but I do not know how to correctly retrieve and pass the selected value entered in the initial screen in order to process.

 

In my application, I have a view V_INITIAL with usage component WDR_SELECT_OPTIONS) and V_MAIN with 2 tabs for data retrieved from selection screen in V_INITIAL. I am using OIF component.

 

On initial screen, I have selection input fields sales area, document type and  soldto customer range. I was able to set the default value on the initial screen in the WDDOINIT of the V_INITIAL view.  But after user enter value, in which method should I code so that I can get the value user entered ?

I was trying to put code in method WDDOBEFOREACTION to get the value and store in global attributes declared from component controller (See below code) but I have issue when user change default value and click button continue in initial screen without hit enter key, the value I get is still as the default value.  If after user change value and hit enter key

Is it possible to use inital screen in FPM with select options?  I search but could not find a similar scenario.

Here is my code:

 

method wddobeforeaction.   "In V_INITIAL view

 

field-symbols:

   <fval> type any,

   <ls_field> type LINE OF if_wd_select_options=>tt_selection_screen_item

 

data: lr_helper TYPE REF TO if_wd_select_options.

data lt_fields type if_wd_select_options=>tt_selection_screen_item

 

lr_helper->get_selection_screen_items( IMPORTING
     et_selection_screen_items = lt_fields ).

  Loop at lt_fields ASSIGNING <ls_field>.
  case <ls_field>-m_id.

        when 'SPART'.

        ASSIGN <ls_field>-m_value->to <fval>.
        wd_comp_controller->gv_sel_spart = <fval>.

       when 'KUNNR'.    

       ASSIGN <ls_field>-mt_range_table->* to <lt_range_table>.
        wd_comp_controller->gt_sel_soldto = <lt_range_table>.

      when others.

  endcase.

..  Later on, in process_event mehod of component controller, I check if the event is leaving initial screen, I will extract data from the input selection fields user entered.

 

Can someone advise is this a correct approach or should I just use a regular view for user input selection and create action to capture input value?

Please advise.

 

Thanks

How to grayout input fields in fpm guibb ?

$
0
0

How to grayout input fields in fpm guibb ?

Viewing all 1726 articles
Browse latest View live