Display the HCM Form in Webdynpro

Hi all,
I have a HCM processing form, which I need to display in the Web dynpro application through Interactive form UI element. To do this I am binding the Template ID (I am getting the template id from tcode - PHAP_CATALOG ) with the data source of the UI element.
Now my query is, before displaying the form in Web dynpro application for first time, there are some pre-populated fields in the form (i.e. Employee name, Employee number). I need to populate the data in these pre-populated fields when form displays for first time.
Do anyone have any idea on this requirement. Please suggest.
Thanks
Sanket sethi

Hi Sanket sethi,
   if I'm getting it right, you have made one Dynamic Node from where you are opening Interactive Form. If this is the case, then check whether you have defined the layout as of Matrix Head Data. Like suggested in post --
  [Re: Dynamic context and tables]
Or, to have a full wiki on this, you can check --
   [http://wiki.sdn.sap.com/wiki/display/WDABAP/dynamiclayoutmanipulationinWD+ABAP]
Assuming that you have done all these steps correct, I'd suggest to check whether the navigation had been made properly or not. For that, you can have a look on this post --
   [Re: Webdynpro abap- navigation to context node]
Thanks.
Kumar Saurav.

Similar Messages

  • To integrate the Adobe form in webdynpro ABAP

    Hi Experts,
                    How to use the adobe form in Webdynpro ABAP?
    Thanks & regads
        Vino

    That is quite the general question and I think if you search SCN you will find many resources - such as videos, tutorials, how-to guides, documentation - on the subject.  Perhaps just starting with the online Help and the associated links form the help article will get you started:
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/0f/128841e8231709e10000000a155106/frameset.htm

  • Customize the standard form is WebDynpro ESS (ess~lea)

    Hi,
    I want to customize the standard form is WebDynpro ESS (ess~lea) Leave Request for Infotype2001 subtype 9990 in NW04. What are the steps and best practices?
    Regards
    Ali

    Hi
    Please see SPRO->Personnel Management->Employee Self-Service->Service-Specific Settings->Working Time->Layout of Web Application->Define Field Selection.
    Regards
    kk.

  • How to generate and display the pdf form as a web dynpro abap view

    Hi,
        I filled the value in the table and displayed in the view,In that view i have one button"TOPDF".
        My requirement is,if i click that button,i want to display the table in the PDF output.
        For the above requirement,i created another view with interactive form,In that view i created one "pdf" Node and  "soure" as a attribute of Type-xstring.Then i binded the soure attribute withe "pdfdatasoure" of my interactive form  view.
        Now my doubt is how and where can i pass the table values to pdf output.
        can any body cleare my doubt with some sample code.
    Thanks in Advance.
    Regards,
    Ravi.

    Hello Ravi,
    Best would be to bind the dataSource of the InteractiveForm ui element to the parent node containing the table's data. Then specify a name of a template to be created in the templateSource and hit <enter>. Some popups later, the system will have created a template from the structure of the context. All you need to do now is to drag&drop the data structure inside the template designer to the template itself. This will result in a table. Save, activate and return the Web Dynpro view. Don't forget to unbind the pdfSource and enjoy.
    Best regards,
    Thomas

  • HOw to display the show form in News browser insted of render listitem dire

    Hi,
    I have created a xmform .
    I have entred some data using the news authoring .
    when I see the content thru news browser, By default it displays the content which in defined in my xmlform render listitem .
    I want directly to display my xml show form rather then my render listitem.
    how to achieve this ?
    Should I have to do some coding on this ? if so can some one guide me to achive this ?
    thanks
    pkiran

    Hi PKG,
    I think the easiest way to achive this, is to design your RenderListItem form like your ShowForm and restrict the number of items in your collection renderer to "1".
    So a list is rendererd with exactly one item.
    Kind Regards
    --Matthias

  • Displaying the Oracle Forms 10g

    Hi Everyone,
    I need help on this one.
    I am currently running Oracle Forms 10g and I want to display the Calendar object on an item in my module.
    I have attached the relevant libraries i.e Calendar and added the program units as required so in my module there are two additional data blocks that is
    DATE_CONTROL_BLOCK and DATE_BUTTON_BLOCK and I have my canvas and the DATE_LOV_CANVAS.
    What code do I had to the KeyListVal trigger to enable me to display the Calendar at runtime?

    Hi,
    Actually what I want to find out is how to include a
    Calendar in my Form Module at runtime.That wasn't your initial post's question, and what do you mean by at runtime??
    You need to have the objects you stated in your first post in the form to be able to show the calendar at runtime.
    If you have the Forms Demo read the help files they have explained everything in it. If not you can download it from [url http://www.oracle.com/technology/sample_code/products/forms/index.html]here
    Tony

  • Field display in HCM form

    Hello Expert,
    Im having an issue in display of Static Text on form.
    I have a field of Work schedule in which i have to show values SCHKZ,RTEXT from IT0007.
    So i have writen below code for the field in Form calc.
    $.rawValue = Concat($record.I0007_SCHKZ.DATA[].FIELD, Space(1), $record.I0007_RTEXT.DATA[].FIELD);
    but im not able to see the value on the form.
    i have done all the Pre-requisites and infotype has the values also still im facing this issue.
    for other fields this code is working fine.but later requirement came to add this field in the form
    so i have added and done same things.atlast i tried with binding also but still its not working.
    Please provide some inputs how can i display the field on form.
    Thanks,
    Santosh

    thanks issue resolved

  • How to display the edit form(xml form builder ) in the iview

    Hi all ,
    i'm doing one appication in xml formbuilders . i cerated a form and i call that form into a folder in documents of content manager. i  able to dispaly the show  form . now i want to edit the content of the from through portal iview . i tried using KM navigation portal .but i am able to diaplay the edit form .
    can any one tell me how to do this
    thanks
    rajeev.

    You need the right UI command. Look into the delivered NewsExplorer and NewsBrowser Layout Sets. http://help.sap.com/saphelp_nw70/helpdata/EN/6a/e8df3dffadd95ee10000000a114084/frameset.htm

  • Authorization issue with the HCM forms

    Hi,
    Initiating Manager is able to initiate the form but it does not proceed to the next approval step because of some missing authorization. Currently we are able to carry out our tests because SAP_ALL has been assigned to the users involved in the process.
    Please suggest which authorization object i can use instead SAP_ALL.
    Thanks & Regards
    Praveen

    You can do an authorization trace via ST01 and check which authorization objects are used then put together a role or add to one.
    I'm moving this thread to the Security Forum, you might get a better answer there.
    Regards
    Juan

  • DISPLAY PDF INTERACTIVE FORM INTO WEBDYNPRO

    I'd like to display a pdf into a popup... it opens the popup it shows the pdf border but pdf is empty!!! Only template...
    Is anything wrong in the code bellow ?
    method DISPLAY_PDF .
      DATA : l_plvar type plvar.
      select single gsval
          from T77s0
          INTO l_plvar
          where grpid = 'PLOGI' AND
                SEMID = 'PLOGI'.
        DATA : L_SOBJID TYPE SOBJID.
      L_SOBJID = IM_STELL.
      DATA: FP_DOCPARAMS TYPE SFPDOCPARAMS.
      DATA: FP_FORMOUTPUT TYPE FPFORMOUTPUT.
      DATA : IE_OUTPUTPARAMS TYPE SFPOUTPUTPARAMS,
             I_NAME TYPE FPNAME,
             I_FUNCNAME TYPE FUNCNAME.
      DATA: GT_RESULT_ORG_TAB     TYPE TABLE OF SWHACTOR,
            GT_RESULT_ORG_OBJEC   TYPE  Z_T_RESULOBJ,
            GT_RESULT_REQUIREMENT TYPE  Z_T_RESULTREQ,
            GT_RESULT_DESCRIPTION TYPE  Z_T_RESULTDESC,
            GT_RESULT_DESCR_PDF   TYPE  ZTRESULTDESC,
            GT_RESULT_TXT_OBJEC   TYPE STANDARD TABLE OF T777O.
    IE_OUTPUTPARAMS-NODIALOG = 'X'.
    IE_OUTPUTPARAMS-GETPDF = 'X'.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          IE_OUTPUTPARAMS = IE_OUTPUTPARAMS
        EXCEPTIONS
          CANCEL
          USAGE_ERROR
          SYSTEM_ERROR
          INTERNAL_ERROR.
      IF SY-SUBRC NE 0.
        EXIT.
      ENDIF.
      TRY.
          I_NAME = 'ZHAP_PDF_JOB_DESCRIPTION_FORM'.
          CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
            EXPORTING
              I_NAME     = I_NAME
            IMPORTING
              E_FUNCNAME = I_FUNCNAME.
        CATCH CX_FP_API_REPOSITORY.
        CATCH CX_FP_API_USAGE.
        CATCH CX_FP_API_INTERNAL.
      ENDTRY.
      CALL FUNCTION 'ZHRTGMT_GET_JOB_DESCRIPTION'
        EXPORTING
          IP_PLVAR           = L_PLVAR
          IP_JOBID           = L_SOBJID
          IP_BEGDA           = SY-DATUM
          IP_ENDDA           = SY-DATUM
        IMPORTING
          RESULT_ORG_TAB     = GT_RESULT_ORG_TAB
          RESULT_ORG_OBJEC   = GT_RESULT_ORG_OBJEC
          RESULT_REQUIREMENT = GT_RESULT_REQUIREMENT
          RESULT_DESCRIPTION = GT_RESULT_DESCRIPTION
          RESULT_DESCR_PDF   = GT_RESULT_DESCR_PDF
        EXCEPTIONS
          NO_FOUND_REQ       = 1
          NO_ENTRY_DESC      = 2.
      CALL FUNCTION I_FUNCNAME
        EXPORTING
          /1BCDWB/DOCPARAMS     = FP_DOCPARAMS
          GT_RESULT_ORG_TAB     = GT_RESULT_ORG_TAB
          GT_RESULT_ORG_OBJEC   = GT_RESULT_ORG_OBJEC
          GT_RESULT_REQUIREMENT = GT_RESULT_REQUIREMENT
          GT_RESULT_DESCRIPTION = GT_RESULT_DESCRIPTION
          GT_RESULT_DESCR_PDF   = GT_RESULT_DESCR_PDF
        IMPORTING
          /1BCDWB/FORMOUTPUT    = FP_FORMOUTPUT
        EXCEPTIONS
          USAGE_ERROR           = 1
          SYSTEM_ERROR          = 2
          INTERNAL_ERROR        = 3.
      CALL FUNCTION 'FP_JOB_CLOSE'
        EXCEPTIONS
          USAGE_ERROR    = 1
          SYSTEM_ERROR   = 2
          INTERNAL_ERROR = 3
          OTHERS         = 4.
      DATA:
        NODE_PDF                            TYPE REF TO IF_WD_CONTEXT_NODE,
        ELEM_PDF                            TYPE REF TO IF_WD_CONTEXT_ELEMENT,
        STRU_PDF                            TYPE WD_THIS->ELEMENT_PDF .
    * navigate from <CONTEXT> to <PDF> via lead selection
      NODE_PDF = WD_CONTEXT->GET_CHILD_NODE( NAME = WD_THIS->WDCTX_PDF ).
    * get element via lead selection
      ELEM_PDF = NODE_PDF->GET_ELEMENT(  ).
      CALL METHOD ELEM_PDF->SET_ATTRIBUTE
        EXPORTING
          NAME  = 'SOURCE'
          VALUE = FP_FORMOUTPUT-PDF.
      DATA : LR_WINDOW_MANAGER TYPE REF TO IF_WD_WINDOW_MANAGER,
             LT_TEXTS TYPE STRING_TABLE,
             LR_COMPONENT_API TYPE REF TO IF_WD_COMPONENT,
             LR_POPUP TYPE REF TO IF_WD_POPUP_TO_CONFIRM,
             LR_VIEW_CONTROLLER TYPE REF TO IF_WD_VIEW_CONTROLLER,
             LR_COMPCONTROLLER TYPE REF TO Ig_COMPONENTCONTROLLER,
             l_title type string.
      LR_COMPCONTROLLER = wd_THIS . "  get_Componentcontroller_ctr( ).
      LR_COMPONENT_API = wd_this->wd_get_api( ). "wd_comp_controller
      LR_WINDOW_MANAGER = LR_COMPONENT_API->get_window_manager( ).
      LR_COMPCONTROLLER->mr_window = LR_WINDOW_MANAGER->create_window( window_name = 'POPUP_PDF').
      LR_COMPCONTROLLER->mr_window->set_close_button( CLOSE_BUTTON = 'X' ).
      LR_COMPCONTROLLER->mr_window->SET_WINDOW_TITLE( SPACE ).
      LR_COMPCONTROLLER->mr_window->open( ).
    endmethod.

    I forgot to add that the method has been creeated in componentcontroller..

  • HCM form cannot be displayed in Portal

    Dear Experts,
    We are facing this problem which has stopped us for days.
    Recently, in our Portal, the HCM forms cannot be displayed at all. We suspect it is ADS issue. However, both ABAP and Java are working fine in ADS as tested by BASIS team.
    Has any of you encountered this problem before? Is there any specific area we need to look into?
    Thanks in advance!!
    Regards.

    false alarm

  • On the web how can I check the user role to display the form suitable for this role i

    Hello
    How can I check on the web the use role to display the a form for each role
    Example
    If the admin login I display admin_form.fmb and if user login I display
    user_form.fmb
    Thankx
    Tamer

    In my forms I hide tab pages according the role using something like the following script in the WHEN_NEW_FORM_INSTANCE trigger.
    So the user can not navigate to tabs which are vorbiden by his role.
    CURSOR users_roles_cur IS SELECT granted_role FROM user_role_privs
    WHERE username=(SELECT user FROM dual);
    user_roles_rec users_roles_cur%ROWTYPE;
    IF users_roles_cur%ISOPEN
    THEN
    CLOSE users_roles_cur;
    END IF;
    OPEN users_roles_cur;
    LOOP
    FETCH users_roles_cur INTO user_roles_rec;
    EXIT WHEN users_roles_cur%NOTFOUND;
    MESSAGE (user_roles_rec.granted_role);
    PAUSE;
    IF RTRIM(user_roles_rec.granted_role,' ') = 'BLA-BLA'
    THEN
    tb_pg_id := FIND_TAB_PAGE('activity');
    IF GET_TAB_PAGE_PROPERTY(tb_pg_id, visible) = 'FALSE' THEN
    SET_TAB_PAGE_PROPERTY(tb_pg_id, visible, property_true);
    END IF;
    END IF;
    END LOOP;
    CLOSE users_roles_cur;
    Other solution may be is to use an initial form which only will detect the user role and run the appropriate form.
    Other solutions are also possible.
    Joseph

  • Trigger Adobe Window from HCM Form

    Hi All,
    We have a requirement where we have to open a ABAP Dynpro window when a button on an HCM Form is pressed.
    Certain data would be selected in the Abap Dynpro window and the same would be passed back to the Form.
    Any idea how this can be done.
    Is any enhancement needs to be done in the standard Dynpro pro component HRASR00_process_execute which contains the HCM Form ?
    Regards,
    Sameer Tapre.

    Hi Sameer,
    You dont need to enhance the SAP standard Web Dynpro component HRASR00_processs_execute.  This is currently supported with HCM forms and processes.  You only need to create your ABAP webdynpro that you want to pop up through form in a certain way.
    Refer to the blog /people/ian.stubbings/blog/2010/02/22/hcm-processes-forms-web-dynpro-abap-search-helps for step by step details.  There are some standard webdynpro delivered as example and are highlighted in the blog as well.
    Hope this helps.
    Jigar

  • Return function module result to HCM form using backend service

    Hi
    I'm trying todo something very simple.
    I would like to call a FM using a backend service and return the result of the FM to the HCM form.
    I'm using USER_EVENT_CHECK on button to initiate the call.
    Here is my dooperations, I have omitted the calling of the FM.  I just want to return the changed text to the form in this example.
    I have stepped through code using external breakpoint and the field gets changed succesfully in the service_dataset
    method IF_HRASR00GEN_SERVICE~DO_OPERATIONS.
      DATA service_operation_wa TYPE hrasr00genserv_operation.
      DATA service_dataset_wa TYPE hrasr00gensrv_dataset.
      DATA dummy TYPE string.
      DATA message TYPE symsg.
      FIELD-SYMBOLS <service_dataset_wa> TYPE hrasr00gensrv_dataset.
      DATA inputText TYPE string.
      LOOP AT service_operations INTO service_operation_wa.
        CASE service_operation_wa-operation.
          WHEN C_CVRT_OPERATION_NAME.
            LOOP AT service_datasets INTO service_dataset_wa WHERE fieldname = c_oldText_fieldname.
              inputText = service_dataset_wa-fieldvalue.
             MODIFY service_datasets INDEX sy-tabix  FROM service_dataset_wa TRANSPORTING fieldvalue.
              exit.
            ENDLOOP.
            LOOP AT service_datasets ASSIGNING <service_dataset_wa> WHERE fieldname = c_newText_fieldname.
              EXIT.
            ENDLOOP.
            IF sy-subrc = 0. "entry found; must not necessarily exist
              CONCATENATE inputText '-TEST-' inputText INTO <service_dataset_wa>-fieldvalue.
            ENDIF.
        ENDCASE.
      ENDLOOP.
    endmethod.
    Any help will be appreciated.

    You could use 'CU_READ_RGDIR_NEW' to get payroll directory RGDIR, 'PYXX_READ_PAYROLL_RESULT' to read results (RT, CRT, ...) from specific entry in payroll drectory.
    Rgds.

  • How do you display a parameter form built from a report?

    Does anyone know how to display the parameter form from building a customized report, as a portlet on a page? Everytime I try, I get the report, which will return no records because it does not first ask for the query parameters.
    thanks!
    null

    You don;t select Run to Run the report with
    parameters - you select the Customize option.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sarah Lo ([email protected]):
    Does anyone know how to display the parameter form from building a customized report, as a portlet on a page? Everytime I try, I get the report, which will return no records because it does not first ask for the query parameters.
    thanks!<HR></BLOCKQUOTE>
    null

Maybe you are looking for

  • How do I find my old GPG Keychain in a Mac Timemachine backup?

    My Mac froze up (software problem) and I am doing a "bare metal" reinstall of all software I have installed Thunderbird and Enigmail. I don't even know if the GPG key chain is stored on the Mac, but can not find it in the Time Machine backup. I did n

  • How can I control the order of iDVD menu items using the Arrow keys?

    I have a submenu screen containing 10 selectable buttons plus the Return Arrow button.  I have ordered all the slideshows in the correct order in the DVD map.  However, when I run the program, the arrow keys jump the selection focus in an apparently

  • Phase Lock problem with a PXI-1000 chassis

    As already discussed here, we had an application running smoothly on a 1042 chassis with a 8186 controller. We generate two sine waves in phase quadrature, using two 5411 boards. Unfortunately, we are now obliged to use a PXI-1000 with a 8170 control

  • Conditional action script not executing

    I have four buttons, Q1, Q2,Q3,Q4.  the script for each works fine:  the variable (ex. Q1) is set equal to 1 and the other functions perform as scripted.  When all four buttons are clicked on and equal to 1, another script (Slide_End) is supposed to

  • Labview 7.1 executable can't find mysql vi's

    Hi, I have a labview executable that was developed using Labview 7.1. It calls many vi's for mysql. The mysql vi's are in 2 or 3 LLB's. The program was compiled on a lap top and installed on a desktop computer with Windows XP. The program works great