Hi all,
is it possible to navigate between two OVP applications?
The first OVP is the main application, meanwhile the second has to be called at button event.
Thanks in advance.
Regards,
Dario.
Hi all,
is it possible to navigate between two OVP applications?
The first OVP is the main application, meanwhile the second has to be called at button event.
Thanks in advance.
Regards,
Dario.
Hi all,
i have created a new configuration for component FPM_CHART_UIBB with corresponding type "PIE".
The result data is correct, but i need to change color palette for a particular value in my internal table. Is it possible to change it?
My table example is :
CODE PERCENTANGE (%)
L (in late) 55
D (to do) 35
C (complete) 10
In my pie chart type i would like to show the following colors :
L --> Red
D --> Yellow
C --> Green
Thanks in advance.
Regards.
Dario.
Hi Experts
I have a requirement wherein I need to make a field read only once the button to start the workflow is triggered.
I have gone through some blogs here for making a field read only by enhancing the GET_DATA method of the feeder class,
but this is not working in my case . I tried setting the ct_usage field read_only for my field ,also ev_field_usage_changed = X.
The required field is been first added to the BOPF structure then added to the FPM screen configuration. All other standard fields in the structure which are also there in screen gets into display mode once the workflow is triggered only the custom field remains in edit mode.
BOPF object : EHHSS_RAS_ACTION .
Any suggestion would be appreciated .
Thanks
Hi all,
is it possible to navigate between two OVP applications?
The first OVP is the main application, meanwhile the second has to be called at button event.
Thanks in advance.
Regards,
Dario.
Hi All,
not sure if ist the right place.
We have a requirement in Org Mangement to offer a web application to the users in which they must be able to
1. drag and drop the Business Partners from one Position to the other Position
2. Change the percentage of this assignement.
Is it possible to develop in Web dynpro or in FPM. if not what could be the alternative.
Thanks
LS
Hello Experts,
We have recently upgraded our development system to EHP7 from EHP6. We are facing issue in ESS leave request where Send Button on global toolbar is in disabled mode. I checked the component configuration and found all parameters are in place for send button which is under global toolbar setting of OVP. Any idea how to make it enable?
Regards,
Sagar
Hi,
Dynamically Change an Object Instance Floorplan (OIF)
I'm replicating the AppCC in the tutorial to suppress dialog box.
In my main view of wd component, displaying PA0000 details of employee. If user selects a row and click on Show_ADDRESS button, the Address details PA0006 for the employee displays in a Modal Dialog box.
I wanted to suppress the address dialog box on click of Show_address button. So, Implemented IF_CONF_OIF_EXIT for APPCC. Settings are all done.
Created FPM event for dialog box in Show_address button event handler and raising the event.
Though the OVERRIDE_EVENT_OIF is triggered and inturn the IO_OIF->CANCEL_EVENT is processed, still the address dialog box appears.
Please share your thoughts, how to suppress the dialog.
method OVERRIDE_EVENT_OIF .
DATA: lv_ev_val TYPE string.
IF io_oif->mo_event->mv_event_id = cl_fpm_event=>GC_EVENT_OPEN_DIALOG_BOX.
* io_oif->mo_event->mo_event_data->get_value( EXPORTING iv_key = 'B1'
* IMPORTING ev_value = lv_ev_val ).
* IF lv_ev_val = 'BUTTON1'.
io_oif->cancel_event( ).
* ENDIF.
* io_oif->set_variant( 'VARIANT_2' ).
ENDIF.
endmethod.
Button Event Handler:
*********************************************************
method ONACTIONSHOW .
DATA: lo_nd_addr TYPE REF TO if_wd_context_node,
lo_nd_org TYPE REF TO if_wd_context_node,
lo_el_org TYPE REF TO if_wd_context_element,
lo_el_addr TYPE REF TO if_wd_context_element,
ls_org TYPE wd_this->element_org,
lt_addr TYPE wd_this->elements_addr,
l_cmp_api TYPE REF TO if_wd_component,
l_win_mngr TYPE REF TO if_wd_window_manager,
l_win TYPE REF TO if_wd_window,
l_msg_mngr TYPE REF TO if_wd_message_manager,
* l_win TYPE REF TO if_wd_window,
lv_pernr TYPE pernr.
lo_nd_org = wd_context->get_child_node( wd_this->wdctx_org ).
lo_el_org = lo_nd_org->get_element( ).
CALL METHOD lo_el_org->get_static_attributes
IMPORTING
static_attributes = ls_org.
l_cmp_api = wd_comp_controller->wd_get_api( ).
SELECT pernr endda begda uname anssa stras ort01 ort02 pstlz land1
FROM pa0006
INTO CORRESPONDING FIELDS OF TABLE lt_addr
WHERE pernr = ls_org-pernr.
IF sy-subrc eq 0.
lo_nd_addr = wd_context->get_child_node( wd_this->wdctx_addr ).
lo_nd_addr->bind_table( lt_addr ).
l_win_mngr = l_cmp_api->get_window_manager( ).
CALL METHOD l_win_mngr->create_window
EXPORTING
* modal = ABAP_TRUE
window_name = 'ADDR_WINDOW'
* title =
* close_button = ABAP_TRUE
button_kind = IF_WD_WINDOW=>co_button_ok
message_type = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
* close_in_any_case = ABAP_TRUE
* message_display_mode =
* default_button =
* is_resizable = ABAP_TRUE
receiving
window = l_win.
l_win->open( ).
ELSE.
l_msg_mngr = l_cmp_api->get_message_manager( ).
l_msg_mngr->report_error_message(
message_text = 'No Address for the selected employee' ).
ENDIF.
**************************************************************************************************
DATA: lo_fpm_event TYPE REF TO cl_fpm_event,
lo_fpm TYPE REF TO if_fpm.
CALL METHOD cl_fpm_event=>create_by_id
EXPORTING
iv_event_id = cl_fpm_event=>GC_EVENT_OPEN_DIALOG_BOX
* io_event_data =
* iv_action_type = IF_FPM_CONSTANTS=>GC_ACTION_TYPE-STANDARD
receiving
ro_event = lo_fpm_event.
lo_fpm = cl_fpm_factory=>get_instance( ).
lo_fpm_event->mo_event_data->set_value( EXPORTING iv_key = 'B1'
iv_value = 'BUTTON1').
lo_fpm->raise_event( EXPORTING IO_EVENT = lo_fpm_event ).
**************************************************************************************************
endmethod.
regards,
Shivakrishna E
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
Hi Experts,
I have come up with a requirement which is very common I am sure but I juts need some help.
My requirement is - I will have a OIF screen and inside that I will have a tabbed UIBB or lets say multiple GUIBBS. IN each GUIBB there are a set of fields. The user will open the application and fill out those fields and will be able to save them.
Now, while saving those values will go into different tables so wherever I write the logic for save I will need the data entered in all the GUIBBs.
Lets say I use same feeder for all the GUIBBs. Then how is it going to be possible to get all the data for all the UIBBs..
Many thanks in advance.
Saikat
Hi All,
Am trying to use the above enhancement in ESS WDA in order to restrict the number of payslips items available for the user to view.
I've implented the code in the Enhancement HRESS_PAYSLIP_BADI_DEF, syntax correct, and set the checkbox as implementation is active, but when I run the WDA application and goto view Salary Statement, I get the following error "Feeder class is not correctly defined". Now I wouldn't have thought this exit would not impact on the feeder class since it only restricts data and does not change it in any way.
Googled this error and can't find another instance of it, so was wondering if anyone has any ideas how to fix this error.
The feeder class lives in FPM_LIST_UIBB -> HRESS_CC_LIST_PAYSLIP, but changing this doesn't seem to me the right way to fix this.
As usual, any advice most welcome.
Hi,
how can I change the width of the columns in the List UI? I'm using the interface IF_FPM_GUIBB_LIST.
kind regards,
Pieter
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:
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:
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?
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
Hello Experts,
Can you please advise how can I force call PROCESS_EVENT of a generic form UIBB.
I am working in ESS CATS timesheet screen and I added one custom built form UIBB which should do something
once Save button pressed.
The Timesheet component (HRESS_C_CATS) should pass some data to the form UIBB screen after Save is pressed.
But my problem is that PROCESS_EVENT of the form UIBB is called first before the PROCESS_EVENT of HRESS_C_CATS is called when Save is pressed (FPM_SAVE event).
So I cannot get a chance to pass some data and do some processing in the PROCESS_EVENT of the form UIBB.
Is there any way I can force call the form UIBB's PROCESS_EVENT from the other component when Save is pressed.
Thanks
Arindam
Hi Experts,
This is my scenario.
I have an INITIAL PAGE in which I am displaying a list of Purchase Orders by using LIST ATS GUIBB.
I have exposed the FPM_NAVIGATE action in the GET_DEFINITION method of the LIST Feeder.
I have assigned FPM_NAVIGATE event to a column ( PO Number ) in the LIST.
Processing Mode is 'EXECUTE SEARCH AND LEAVE'
I have specified the PADE ID as one MAIN PAGE in the same Application.
I have not specified any ROLE or INSTANCE .. I have not created any Launchpad config.
This set up is working just fine when I test. When I click on a PO number, it opens the MAIN Page and here I am able to capture the source attributes from the LIST and display some detailed result. The MAIN Page is opening as a new window( This is what I need as opposed to in-place navigation where the INITIAL page will be replaced by the MAIN page ).
However, when we integrate this app to Portal, when we click on a PO number, it tries to open a new window. But in the new window all we see is an error message as below.
"Page not found. Refresh the page or try again later. If the problem persists, contact your portal administrator for assistance".
Could anyone suggest some tips to fix this issue?
Thanks,
Ajith Cheruvally
Hello Experts,
We have recently upgraded our development system to EHP7 from EHP6. We are facing issue in ESS leave request where Send Button on global toolbar is in disabled mode. I checked the component configuration and found all parameters are in place for send button which is under global toolbar setting of OVP. Any idea how to make it enable?
Regards,
Sagar
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
How to grayout input fields in fpm guibb ?
Hi Experts,
Need help to navigate to EHSM FPM application in display mode on click of a link or button from WDA screen.
I have the parameters that needs to be passed to the application .
Need help on how to call this application and pass the parameters.
Thanks
Hallo Experts and Colleagues,
I have been experimenting to implement QuickView Thing using FPM just now.
E.g. my table has field "QV_DETAILS", and I want to implement the Quickview on this "QV_DETAILS" field.
As far as I understand up to now, the iv_key parameter in if_fpm_guibb_qv_thing~get_data is the value of the field, on which the mouse hover to.
But QV_DETAILS value is not unique (static text), therefore I could not query an entry in DB based on this field value.
KEY1 | KEY2 | QV_DETAILS |
---|---|---|
KEY001 | ABC | show_detail |
How do you solve this situation? My table keys are in other fields (KEY1 and KEY2).
What I can think of:
Is there may be possible to catch mouse hover event on the FPM List (I'm using ATS List)?
Therefore I could saved table row data, and then to be transferd it to quickview thing?
Thank you and best regards,
Steve
PS: Thanks to Dhivya Baskaran for the SCN post of Quickview Thing (http://scn.sap.com/docs/DOC-61212)
Dear -
I was referring Dynamically Change an Object Instance Floorplan (OIF)
and facing an issue with the component configuration. As per the tutorial , it is using OIF_COMP_CONF_APPCC as the component configuration. Unfortunately I am not able to find this component in my SAP instance.
I searched the forum but unable to find any thread which I can refer to, Could some one put some help on this, please?
Also in my case the screen for UIBB is bit different than what being shown in the tutorial , as a new comer to this topic , I am facing little issues to follow the given approach.
Any help is appreciated!
- Thanks , Somnath