F4 help in FPM Form UIBB (Get Default Config)

Hallo,
I need help to configurate a Form UIBB dynamicaly.
I insert in the Method Get_Default_Config some fields of the Table SPFLI - this works fine. But my Problem is that all the fields doesn't have a F4 Help.
What is my mistake?
And how can I configurate the length of a textfield?
   Data: lt_dfies Type STANDARD TABLE OF dfies,
   ls_dfies LIKE LINE OF lt_dfies,
   lv_group_id TYPE string,
   lv_text TYPE string,
   lv_elment_id TYPE string,
   lt_action TYPE fpmgb_t_action,
   ls_action LIKE LINE OF lt_action,
   ls_fieldname TYPE name_komp,
   iv_row Type integer.
  CALL FUNCTION 'DDIF_FIELDINFO_GET'
    EXPORTING
      tabname              = 'SPFLI'
       TABLES
    DFIES_TAB            = lt_dfies
   EXCEPTIONS
     NOT_FOUND            = 1
     INTERNAL_ERROR       = 2
     OTHERS               = 3.
*Hinzufügen der ersten Gruppe
   lv_group_id = io_layout_config->add_group(
   iv_title = lv_text
   iv_index = 2
   iv_group_type = if_fpm_guibb_constants=>gc_group_type-full_width_one_column ).
*Hinzufügen des ersten Elements
LOOP AT lt_dfies into ls_dfies.
   ls_fieldname = ls_dfies-fieldname.
   Read TABLE lt_dfies Into ls_dfies With key fieldname = ls_fieldname.
  lv_text = ls_dfies-scrtext_m.
  lv_elment_id = io_layout_config->add_element(
  iv_group_id = lv_group_id
  iv_name = ls_fieldname
  iv_display_type = if_fpm_guibb_constants=>gc_display_type-text_edit
  iv_row = iv_row
  iv_visibility_label = cl_wd_uielement=>e_visible-visible
  iv_column = 1
  iv_text = lv_text
  iv_row_start = iv_row
  iv_row_end = iv_row ).
  iv_row = iv_row + 1.
ENDLOOP.

Hi Julia,
Try to use IS_SPECIAL_PROPERTIES parameter (ALT_DDIC_SHLP_NAME field) of ADD_ELEMENT method.
Kind regards, Aliaksandr.

Similar Messages

  • Select option in FPM form UIBB

    Hi Experts,
    how can we implement  select option in FPM form UIBB ?
    I need to pass multiple values in FPM FORM UIBB and that will not be Low High kind of it will be just multiple,
    So if there is any work around please help me.
    Thanks in Advance.
    Best Regards, Ashutosh

    Hi Ashutosh,
    you can use from or search uibb according to your requirement.
    For example you need to display multiple line item based on search condition as below then go for search UIBB.
    you can refer this link http://webdynproabap.wordpress.com/2014/02/10/data-transfer-between-two-uibbs/
    Regards,
    Ragavendra

  • How to add Freely programmed input help in FPM Search UIBB?

    Hi Experts!
    We have a requirement to create search UIBB in which the input field should have a freely programmed input help.
    I see that WD_VALUE_HELP parameter can be set to the component name and it displays the freely programmed help as well in the application.
    However, I am still digging to implement the search help open and close events of the component.
    I have used the Freely programed value help standard demo object  " FREE_VALUE_HELP "  which shows the value in the help popup however, the selected value is not returned in the input field.
    I am also unable to find any Interface as provided for implementing OVS in search UIBB as well...
    Please help.

    Hi Aliaksandr,
    Thanks for your response.
    I have checked this WDA application demo_value_help .... but it is a normal WDA application.
    However, I want use freely programmed search help in Search UIBB using FPM.
    I found that we can provide the component name used as freely programmed search help in the attribute WD_VALUE_HELP of Interface IF_FPM_GUIBB_SEARCH.
    https://help.sap.com/saphelp_nw74/helpdata/en/03/f2474b6d9a49f4b5a3ed6f04decf22/content.htm?frameset=/en/56/d151c3ba7b4b2e82068a084cb991f3/frameset.htm
    And it displays the search help as well when I do F4 on the field of Search UIBB. But, we need to provide event handler for events - VH_WINDOW_CLOSED and VH_WINDOW_OPENED of the search help component (Component which is provided in WD_VALUE_HELP) some where in the Feeder class, in order to get the selecteed data from the search help, which I am unable to do.
    Do you have any idea of such implementation?
    Appreciate your response!

  • Creating Search Help for Web Dynpro ABAP (FPM) Forms

    Dear All ,
    I am very new with SAP HCM P&F with FPM form. I am stuck with field search help functionality in FPM form. I have created on search help using 
    Web dynpro component to get all travel requests for all employees and linked it to FPM form field and its working fine....
    But.... my requirement is how to filter travel request based on the PERNR (employee number) field in FPM form.
    I think it can be achieved by using importing parameter LISTENER of interface IF_WD_VALUE_HELP_LISTENER but I am clueless how to pass PERNR to this interface to get travel requests for only employee number in field PERNR.
    Kindly help me out in this issue.
    Chohan

    Use this code in set_value_help_listener
    for e.g to read effective date.
    wd_this->help_listener->f4_context_element->get_attribute( EXPORTING name = 'EFFECTIVE_DATE' IMPORTING value =  wd_this->gv_eff_date ).

  • Default value in dropdown field for FPM form in HCM Processes and forms

    Hi Experts,
    I am developing HCM Processes and forms using FPM forms and I had a dropdown list contains ten values. So, every time while opening the form first time, my dropdown field should be defaulted with fifth value from the list. How can we achieve this in dropdown field related to FPM Form.
    Please guide me.
    Regards,
    Nayani.

    You would have to assign the default value to one your custom generic services.
    Regards.
    PS: There are posts which talk about generic services , make yourself comfortable with the concept of generic services.

  • SAP HCM P&F : FPM Form List UIBB Table Width...

    Dear All,
    I am stuck with strange issue. In SAP HCM Process & Forms with FPM Form, when we use UIBB List layout configuration, how can we set the width of the table?
    During run time,table is displayed from left to right (column A-H) and all other form fields are from column A - G only, so the table looks very annoying.
    Any suggestion how can I set the width of the list layout table in FPM Form ?
    Chohan

    Dear Sahir,
    Thanks for reply as always.
    My setting for List UIBB is :
    and during run-time the list UIBB is shown like this, and I want its width equal to the above comment box' width.

  • How to get default lay out set in my ALV out put.

    I need to have default layout in my ALV output.
    My functional consultant idea was to make sure they have an ALV variant selected. 
    When he first run the program, how will need to  get a "/DEFAULT" variant created.
    How can I do that ?
    Initialization - For ALV variant
    INITIALIZATION.
      ws_repid = sy-repid.
      g_save  = 'A'.
      CLEAR g_variant.
      g_variant-report = ws_repid.
    Get default variant.
      gx_variant  = g_variant.
      gx_variant = g_variant.
      CALL FUNCTION 'REUSE_ALV_VARIANT_DEFAULT_GET'
        EXPORTING
          i_save     = g_save
        CHANGING
          cs_variant = gx_variant
        EXCEPTIONS
          not_found  = 2.
      IF sy-subrc = 0.
        p_vari = gx_variant-variant.
      ENDIF.
    &--F4 HELP - FOR ALV VARIANT GET--
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_vari.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
          EXPORTING
            is_variant = g_variant
            i_save     = g_save
          IMPORTING
            e_exit     = g_exit
            es_variant = gx_variant
          EXCEPTIONS
            not_found  = 2.
        IF sy-subrc = 2.
          MESSAGE ID sy-msgid TYPE 'S'      NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ELSE.
          IF g_exit = space.
            p_vari = gx_variant-variant.
          ENDIF.
       ENDIF.
    &--AT SELECTION-SCREEN.- For ALV Variant--
    AT SELECTION-SCREEN.
    *Getting variant Existence
      PERFORM get_exist_variant.
    *&      Form  GET_EXIST_VARIANT                                        *
          text                                                           *
    FORM get_exist_variant .
      IF NOT p_vari IS INITIAL.
        MOVE g_variant TO gx_variant.
        MOVE p_vari TO gx_variant-variant.
        CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
          EXPORTING
            i_save     = g_save
          CHANGING
            cs_variant = gx_variant.
        g_variant = gx_variant.
      ELSE.
        CLEAR g_variant.
        g_variant-report = ws_repid.
      ENDIF.
    ENDFORM.                    " GET_EXIST_VARIANT
    *&      Form  alv_display                                              *
    This subroutine is to display the out put in ALV.                    *
    FORM alv_display .
    Local data
      DATA: y_x          LIKE boole  VALUE 'X'.
      DATA: lh_index     LIKE lf_fieldcat-col_pos.
    For variant
    DATA: ws_repid LIKE sy-repid,
          g_save TYPE c VALUE 'A',
          g_exit TYPE c,
          g_variant LIKE disvariant,
          gx_variant LIKE disvariant.
      For 1st field.( RPT_LOC )
        CLEAR lf_fieldcat.
        lf_fieldcat-fieldname = 'RPT_LOC'.
        lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
        lf_fieldcat-ref_tabname = 'ZGXMIT'.
        lf_fieldcat-ref_fieldname = 'RPT_LOC'.
        lh_index = lh_index + 1.
        lf_fieldcat-col_pos = lh_index.
        lf_fieldcat-key = y_x.
        lf_fieldcat-no_sum = y_x.
        APPEND lf_fieldcat TO lt_fieldcat.
    For 2nd field.( BAL_XMIT )
        CLEAR lf_fieldcat.
        lf_fieldcat-fieldname = 'BAL_XMIT'.
        lf_fieldcat-tabname = 'GT_ZGXMIT_L'.
        lf_fieldcat-ref_tabname = 'ZGXMIT'.
        lf_fieldcat-ref_fieldname = 'BAL_XMIT'.
        lh_index = lh_index + 1.
        lf_fieldcat-col_pos = lh_index.
        lf_fieldcat-key = y_x.
        lf_fieldcat-no_sum = y_x.
        APPEND lf_fieldcat TO lt_fieldcat.
    4,5,....fields appening
        CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
          EXPORTING
            i_callback_program                = ws_repid
          I_CALLBACK_PF_STATUS_SET          = ' '
           i_callback_user_command           = 'USER_COMMAND'
          I_CALLBACK_TOP_OF_PAGE            = ' '
          I_STRUCTURE_NAME                  =
          I_BACKGROUND_ID                   = ' '
          I_GRID_TITLE                      =
          I_GRID_SETTINGS                   =
          IS_LAYOUT                         = v_alv_layout
           it_fieldcat                       = lt_fieldcat
          IT_SORT                           =
          IT_FILTER                         =
          IS_SEL_HIDE                       =
          I_DEFAULT                         = 'X'
           i_save                            = 'A'
          IS_VARIANT                        =
           it_events                         = events[]
          IT_EVENT_EXIT                     =
          IS_PRINT                          =
          IS_REPREP_ID                      =
           TABLES
                t_outtab                 = gt_zgxmit_l
           EXCEPTIONS
                program_error            = 1
                OTHERS                   = 2.
        IF sy-subrc <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    ENDFORM.                    " alv_display

    Hello SAm,
    U have to set like   DATA: IT_VARIANT LIKE DISVARIANT,
            G_S_SORT  LIKE LINE OF IT_SORT.
      DATA : G_R_DISP_VARIANT TYPE DISVARIANT.
      SORT G_T_OUTTAB BY PSPID POSID.
      CLEAR: G_R_DISP_VARIANT.
    For storing the variant layout
      IT_VARIANT-REPORT  = SY-REPID.
      IF NOT P_VARIAN IS INITIAL.
        G_R_DISP_VARIANT-VARIANT = P_VARIAN.
      ELSE.
        IT_VARIANT-VARIANT = '/Z48M'.
      ENDIF.
      CLEAR G_T_OUTTAB.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                I_CALLBACK_PROGRAM = IT_VARIANT-REPORT
                I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
                IT_FIELDCAT        = IT_FIELDCAT
                I_SAVE             = 'A'
                IS_VARIANT         = IT_VARIANT
               IS_LAYOUT          = IT_LAYOUT
                IT_SORT            = IT_SORT[]
           TABLES
                T_OUTTAB           = G_T_OUTTAB
           EXCEPTIONS
                PROGRAM_ERROR      = 1
                OTHERS             = 2.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    If u want F4 help in the selection screen then do like this.
    SELECTION-SCREEN BEGIN OF BLOCK VARIANT WITH FRAME TITLE TEXT-013.
    PARAMETERS:  P_VARIAN LIKE DISVARIANT-VARIANT DEFAULT '/STANDARD'.
    SELECTION-SCREEN END OF BLOCK VARIANT.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARIAN.
      PERFORM SHOW_EXISTING_DISPLAY_VARIANTS.
    FORM SHOW_EXISTING_DISPLAY_VARIANTS.
      DATA: G_R_DISP_VARIANT TYPE DISVARIANT.
      G_R_DISP_VARIANT-REPORT = SY-REPID.
      CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
           EXPORTING
                IS_VARIANT    = G_R_DISP_VARIANT
                I_SAVE        = 'A'
           IMPORTING
                ES_VARIANT    = G_R_DISP_VARIANT
           EXCEPTIONS
                NOT_FOUND     = 1
                PROGRAM_ERROR = 2
                OTHERS        = 3.
      IF SY-SUBRC = 0.
        P_VARIAN = G_R_DISP_VARIANT-VARIANT.
      ENDIF.
    ENDFORM.                               " SHOW_EXISTING_DISPLAY_VARIANTS
    If useful reward.
    Vasanth

  • Urgent..getting default & changed values in ALV editable....have ur point.s

    Hi all,
    I m using interactive ALV grid with 1 column editable with some default values, When i m clicking on SAVE button, only the values which are changed by the user in that column are coming in the internal table, & the default values are automatically deleted by the following code....
    But my requirement is to save all the default & changed values of the ALV column....
    <b>Help me out & have ur points.</b>
    DATA ref1 TYPE REF TO cl_gui_alv_grid.
    CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
    importing
                   e_grid                           = ref1
    CALL METHOD ref1->check_changed_data
    IMPORTING
       e_valid   =
    CHANGING
       c_refresh = 'X'

    Pradeep,
    When ur doing the CHECK_CHANGED_DATA, u ll get the edited values inside this callback sub -routine only. so here u trap the values those are changed ( thats after editing).
    Once the control goes back to the original program ( calling prog ) , u ll end up with ur old data ( before editing).
    you ll have to handle that explictly in your code, or shift to OO alv grid like this -
    REPORT ZSKC_GRID.
    TABLES : EQUI.
    DATA   : BEGIN OF T_EQUI OCCURS 0,
              EQUNR TYPE EQUI-EQUNR,
              AENAM TYPE EQUI-AENAM,
             END   OF T_EQUI.
    DATA : T_FCAT  TYPE LVC_T_FCAT,
           G_FCODE TYPE SY-UCOMM.
    DATA : G_GRID TYPE REF TO CL_GUI_ALV_GRID.
    SELECT-OPTIONS: S_EQUNR FOR EQUI-EQUNR.
    START-OF-SELECTION.
    * get data.
      PERFORM SUB_GET_DATA.
    * Populate catalog.
      PERFORM SUB_BUILD_CATALOG CHANGING T_FCAT.
    * Display the grid.
      PERFORM SUB_SHOW_GRID.
      CALL SCREEN 9001.
    *&      Form  SUB_GET_DATA
    *       Get data
    FORM SUB_GET_DATA .
      SELECT EQUNR AENAM
      FROM   EQUI
      INTO   TABLE T_EQUI
      WHERE  EQUNR IN S_EQUNR.
      IF SY-SUBRC NE 0.
    *  Give some message if needed
      ENDIF.
    ENDFORM.                    " SUB_GET_DATA
    *&      Form  SUB_BUILD_CATALOG
    *       text
    *      <--P_T_FCAT  text
    FORM SUB_BUILD_CATALOG  CHANGING PT_FCAT TYPE LVC_T_FCAT.
      DATA : WA_CAT TYPE LVC_S_FCAT.
      CLEAR WA_CAT.
      WA_CAT-FIELDNAME = 'EQUNR'.
      WA_CAT-TABNAME   = 'T_EQUI'.
      WA_CAT-REF_FIELD = 'EQUNR'.
      WA_CAT-REF_TABLE = 'EQUI'.
      APPEND WA_CAT TO PT_FCAT.
      CLEAR WA_CAT.
      WA_CAT-FIELDNAME = 'AENAM'.
      WA_CAT-TABNAME   = 'T_EQUI'.
      WA_CAT-REF_FIELD = 'AENAM'.
      WA_CAT-REF_TABLE = 'EQUI'.
      WA_CAT-EDIT      = 'X'.
      APPEND WA_CAT TO PT_FCAT.
    ENDFORM.                    " SUB_BUILD_CATALOG
    *&      Form  SUB_SHOW_GRID
    *       Show grid
    FORM SUB_SHOW_GRID .
    * create the Grid Object.
      CREATE OBJECT G_GRID
        EXPORTING
           I_PARENT          = CL_GUI_CONTAINER=>SCREEN0
        EXCEPTIONS
          ERROR_CNTL_CREATE = 1
          ERROR_CNTL_INIT   = 2
          ERROR_CNTL_LINK   = 3
          ERROR_DP_CREATE   = 4
          OTHERS            = 5.
      CHECK SY-SUBRC EQ 0.
    * Display contents,
      CALL METHOD G_GRID->SET_TABLE_FOR_FIRST_DISPLAY
        CHANGING
          IT_OUTTAB                     = t_equi[]
          IT_FIELDCATALOG               = t_fcat
        EXCEPTIONS
          INVALID_PARAMETER_COMBINATION = 1
          PROGRAM_ERROR                 = 2
          TOO_MANY_LINES                = 3
          others                        = 4.
    ENDFORM.                    " SUB_SHOW_GRID
    *&      Module  STATUS_9001  OUTPUT
    *       text
    MODULE STATUS_9001 OUTPUT.
       SET PF-STATUS 'PF_9001'.
       SET TITLEBAR 'TITLE_9001'.
    ENDMODULE.                 " STATUS_9001  OUTPUT
    *&      Module  USER_COMMAND_9001  INPUT
    *       text
    MODULE USER_COMMAND_9001 INPUT.
      CASE G_FCODE.
        WHEN 'BACK' OR 'CANC' OR 'EXIT'.
          LEAVE TO SCREEN 0.
        WHEN 'HAVE'.
    *    After editing everything user presses this button.
         PERFORM SUB_GET_EDITED_DATA.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_9001  INPUT
    *&      Form  SUB_GET_EDITED_DATA
    *       Read the ALV grid and get current internal table.
    FORM SUB_GET_EDITED_DATA .
    DATA : T_OLD_DATA LIKE T_EQUI OCCURS 0.
    * hold the old values if u need them.
      t_old_data[] = t_equi[].
    * This will update the global internal table.
      CALL METHOD G_GRID->CHECK_CHANGED_DATA.
    * Now t_equi have changed here. u have the old data in the T_OLD_DATA.
      BREAK-POINT.
    ENDFORM.                    " SUB_GET_EDITED_DATA
    Create a blank screen called 9001. and Pf-staus has a buton with fcode "HAVE". ( alongwith BACK canc exit).

  • Value Help on Adobe Forms

    Hi,
    I'm trying to implement one search help (F4 on sap) on adobe forms. I just do this process
    For standard value help in Adobe forms:
    1) In layout chose UI element 'Value Help Drop-down List' from WebDynpro Native Controls of Library Palette.
    2) In Object pallete ->Binding tab, update Default binding with corresponding field .
    For ex: You have context like below
    -NODE
    -FIELD(type LAND1)
    In Default binding, $record.NODE.FIELD
    since LAND1 is a standard type, you will get all the values in value table T005 in the F4 help
    3) Make sure the 'Type' of the field in Object pallete ->Field tab is drop-down list.
    But i can't see any action on adobe. May the properties of the the attribute field on context are wrong.
    Anyone can help please.
    Thank you.

    This is the code that the program create:
                    var processingValueHelp = ContainerFoundation_JS.getGlobalValue(event.target, "processingValueHelp");
                       if(processingValueHelp == false) {
                           ContainerFoundation_JS.setGlobalValue(event.target, "processingValueHelp", true);
                           this.rawValue = "";
                           this.clearItems();
                           ContainerFoundation_JS.SendMessageToContainer(event.target,
                                                                         "valueHelp",
                                                                         this.dataNode.somExpression.replace(/(xfa.?\.)(datasets.?\.)(data.*?\.)/, ""),
                                                                         this.rawValue,
                                                                         event.target.mouseX,
                                                                      event.target.mouseY);
    What is suppose to change ?
    Thank you

  • Form UIBB using the File Upload display type

    Hello,
    I have a Form UIBB within the GAF. The Form UIBB contains
    1. Two input fields - Date(Input Field) and File Name(which is marked as Display Type - File Upload)
    2. Action button - (Upload).
    The File Name field is created as Predefined Type STRING in the underlying structure which gets read in eo_Field_catalog. If I enter some date and select an excel file after clicking Browse and then click Upload, the file name which gets read in method IF_FPM_GUIBB_FORM~FLUSH attribute IS_DATA shows junk characters and not the uploaded file name. The date field correctly shows the modified date.
    On debugging UPDATE_CHANGELOG (CL_FPM_FORM_UIBB_ASSIST) which gets called on clicking Upload,
    object LO_ELEMENT_VALUE -> STATIC_ATTRIBUTES has the changed structure which has the file name as junk characters(numeric).
    Does anything special need to be done to handle the File Upload in FORM UIBB??
    Regards,
    Prajyot

    You really should try SUSE support for help with that problem, as it sounds like a problem with the file browser, rather than Firefox. Plus, the version of Firefox you have installed is a modified version, and not an official Mozilla Linux build.
    Personally, I am a real noob with Ubuntu, and I don't know of a helper at this forum who uses SUSE, so I'd be surprised if anyone else here would be able to provide an answer.

  • Unable to test a FPM form based process in HCM Process & Forms ?

    Hi Experts,
    Am new to HCM Process & Forms, I created my first form on FPM and am trying to test it but am not able to do so.. can you all please help me figure out where I am going wrong.
    Here is what I am doing ...
    I have a build a FPM Form Scenario and Process. Now when I clicking on the Execute button in HRASR_DT and go the test screen I dont get the option for selecting the Web Dynpro Screen as Application Start Option.
    I also tried testing it through
    http://OURSERVER/sap/bc/webdynpro/sap/asr_process_execute_fpm?sap-language=EN&sap-wd-configId=ASR_EXECUTE_5_STEP_PA
    and
    http://OURSERVER/sap/bc/webdynpro/sap/asr_process_execute
    when I do this then I am getting an error message "No Internal Service Request scenario was specified".
    Please Advice.
    Thanks

    Hi Sahir,
    Yes, I had to Activate the business function HCM_ASR_CI_5 to get the "Option for Application Start" section in HRASR_DT.
    Thanks for the launchpad configuration link.
    The one think that I am still having issues is that if I goto se80 and selected the WD Application ASR_PROCESS_EXECUTE_OVP and using the Application configuration ASR_PROCESS_EXECUTE_OVP_CFG I execute it by clicking on Test....I get an error message saying
    "Process does not exist"
    Does this mean I can't test my process through se80 I will always have to go through portal and configure the launchpad to test my process ?
    Or am I missing some config or doing something wrong ?
    Regards
    Chayan

  • FPM form- How to handle FPM Event ID: by FPM scripting

    Hi All,
    I am new in the same,i want to perform some action after click in a button in FPM form.
    I have gone through the already post FPM Forms Scripting about the scripting but i am not able to understand how i can check
    which event or action (Button click) is happened in . DO_OPERATIONS method.
    Thanks In advance.

    The HCM P&F framework does not pass the current operation to the generic service.
    For the operation to be know in your custom generic service.
    Add a dummy field and population it in process_event method of the feeder class *asr*fmp*feeder*.
    Before getting into this there are several blogs on user events - go through them..
    Refer to a post by Raja Sekhar Kuncham
    HCM Processes and Forms : My Journey around "User Events"
    As well as:
    User Events in HCM Processes and Forms by Ganesh Sunkara
    The user event that you define in HRASR_DT appears as action that can be bound to some UI element like button etc on the FPM form layout designer.
    Hope this helps.
    With regards,
    Sahir.

  • FPM Form Scripting - How to call a web dynpro application as pop up

    Hi All,
    I want to call a web dynpro application as a pop up from FPM form scripting.
    Like click on button -Maintain Approval Routing in a FPM form i want to open a web dynpro pop up..
    Thanks In Advance.

    Refer to the post How to show pop up’s in WDA HCMPF by Yugandhar Reddy - on some hints
    Hope this helps.
    Regards,
    Sahir.

  • Get default printer in ABAP program ....

    Hi gurus, pls help me ...
         I had a program to print voucher. It show document list, and user can choose some document to print (smartform). Now, if I choose 5 document, I have to choose printer 5 times. Who can tell me the way to get default printer of the desktop which user's using to assign OUTPUT_OPTIONS or something like that!? Thanks for all.

    hi,
    Please refer the code elow..u should be able to crack this roblem..
      data: l_usr01 like usr01.
      CALL FUNCTION 'GET_PRINT_PARAM'
        EXPORTING
          I_BNAME = sy-uname
        IMPORTING
          E_USR01 = l_usr01.
      output_options-TDARMOD = '1'.
      output_options-TDDEST = l_usr01-spld.
      output_options-TDRECEIVER = sy-uname.
      output_options-TDCOPIES = '1'.
      output_options-TDIMMED ='X'.
      output_options-TDDELETE = 'X'.
      output_options-TDLIFETIME = 0.
      output_options-tdnoprev = 'X'.
      output_options-tdnoprint = space.
      output_options-tddelete = 'X'.
    Please, assign points, if u have found it useful..
    Thanks,
    Nivin

  • When runnning any form i get the error Internet Explorer has encountered ..

    Hello allllllllll...
    When runnning any form i get the error Internet Explorer has encountered a problem and needs to close.We are sorry for the inconvenience.
    Any help pls.
    Abdetu..

    Thanks Sim for reply
    I went to the pass :
    C:\Developer10\j2ee\DevSuite\application-deployments\forms
    then found a log file with each log in occured i got 4 today the following logged transaction:
    08/01/01 10:48:36 Started
    08/01/01 10:55:16 forms90web: jsp: init
    08/01/01 10:55:16 forms90web: f90servlet: init
    08/01/01 10:55:17 forms90web: FormsServlet init():
    configFileName: c:\Developer10/forms90/server/formsweb.cfg
    testMode: false
    08/01/01 10:55:17 forms90web: 9.0.4.0.0 Started
    08/01/01 12:51:43 forms90web: 9.0.4.0.0 Stopped
    08/01/01 12:51:43 Stopped (Shutdown executed by jazn.com/admin from 127.0.0.1 (localhost))
    08/01/01 12:51:53 Started
    08/01/01 12:52:04 forms90web: jsp: init
    08/01/01 12:52:04 forms90web: f90servlet: init
    08/01/01 12:52:04 forms90web: FormsServlet init():
    configFileName: c:\Developer10/forms90/server/formsweb.cfg
    testMode: false
    08/01/01 12:52:04 forms90web: 9.0.4.0.0 Started
    08/01/01 12:52:41 forms90web: 9.0.4.0.0 Stopped
    08/01/01 12:52:41 Stopped (JVM termination)
    08/01/01 12:56:42 Started
    08/01/01 12:58:32 forms90web: jsp: init
    08/01/01 12:58:32 forms90web: f90servlet: init
    08/01/01 12:58:32 forms90web: FormsServlet init():
    configFileName: c:\Developer10/forms90/server/formsweb.cfg
    testMode: false
    08/01/01 12:58:32 forms90web: 9.0.4.0.0 Started
    ========================================================
    But unfortunitly i can't invistigate anything..?!!!
    This error raised not only on my pc but to each co-worker with me ..
    i have no reason 4 what's going on..
    ================================================
    any suggestions will be appreciated..
    Abdetu..
    ===========================

Maybe you are looking for

  • Purchase Order Information in Self Service Pages in HRMS

    Hi, Our system is on 12.1.3. We have a requirement such that a OAF page needs to be built and put after Location Changes (Self Service) which would give the Accounting segments and some other details as in Personal Info --> Assignemnts --> Purchase O

  • How to make a dialog box for a user to choose a file from disk

    Hi there Is it possible to make a dialog box, for a photoshop user, to choose a txt file, to be process by my javascript ? I have a txt file with all the names and locations of psd files i want to process by photoshop. I have ex. 100 out of a folder

  • Monitor connection problems with g4 powermac

    Hi, I have acquired a G4 powermac from work, the one with the mirror doors, and also have a formac gallery 2010 monitor with a DVI connection i think. My problem is that the DVI cable from the monitor will not fit into the DVI socket on the back of t

  • Change the look of the dynamic table

    I had the dynamic table. I want to change the look of the table. I am facing two challenges 1. To change the background color of header I tried by overriding the css of the header "table.Tbl th.TblColHdr" but this did not help me. 2. To change the co

  • Problem with AE CS5 and laptop screen resolution during install..

    Hello everyone, I bought AE and I am very disappointed.  When I went to install the  application, I got the following errors and it stopped installing. Exit Code: 7 -------------------------------------- Summary  -------------------------------------