abap web dynpro forms - ?· abap web dynpro forms ... process name, process description ... sap...

Download ABAP Web Dynpro Forms -  ?· ABAP Web Dynpro Forms ... Process name, Process Description ... SAP HELP on Roadmap Forms: o

Post on 31-Jan-2018

219 views

Category:

Documents

1 download

Embed Size (px)

TRANSCRIPT

  • www.nicx.co.uk

    Page 1 of 29

    ABAP Web Dynpro Forms

    Background You can migrate from Adobe into Web Dynpro ABAP forms. You create the Web Dynpro ABAP form and all the existing configuration can be inherited. You might need to make some changes to workflow but other than this, the other configuration remains the same. Two sample forms, Change of Working Time which can be launched from ESS and Special Payment which can be launched from MSS, are delivered. Once Web Dynpro ABAP forms have been created, they can be used from ESS and MSS. The service layer opens up the whole framework. The Generate a PDF utility enables you to create an Adobe-based template. The data is transferred from the Web Dynpro ABAP form to the Adobe-based form and the form can be generated as a PDF and printed. Additional Information:

    Release Information Note for HR Renewal: Refer to SAP Note 1701634.

    SAP Library: Roadmap Form (Application Help from SAP Library): http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/8e/d3dc53b5ef424de10000000a174cb4/content.htm?current_toc=/en/b9/d3dc53b5ef424de10000000a174cb4/plain.htm&show_children=true

    Developing an Infotype in Personnel Administration: http://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/d52552575e11d189270000e8322f96/content.htm

    Migrating an Infotype (Application Help from SAP Library): http://help.sap.com/saphelp_afs64/helpdata/en/43/a75f72bc4f1bbce10000000a1553f7/content.htm

    Blogg: http://scn.sap.com/community/erp/hcm/blog/2013/05/07/hr-renewal-10-hcm-pf-a-basic-fpm-

    form-in-fifteen-minutes

    Technical Requirements:

    FPM forms were delivered with HR renewal 1.0 FP1 in September 2012.

    Roadmap forms have been available since HR renewal 1.0 FP4 RTC was July, 2013.

    The Dynamic processing rules were delivered with HR renewal 2.0 FP1 in July 2014.

    HR renewal 2.0 is based on EhP7. HR renewal 1.0 is based on EhP6. A down port of the HR renewal 2.0 functionality to EhP6 is planned for November 2014 so all customers who have implemented HR renewal 1.0 based on EhP6 can also get the great new functionality of Dynamic Processing Rules in the near future.

    Business Functions (go to transaction code SFW5):

    http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/8e/d3dc53b5ef424de10000000a174cb4/content.htm?current_toc=/en/b9/d3dc53b5ef424de10000000a174cb4/plain.htm&show_children=truehttp://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/8e/d3dc53b5ef424de10000000a174cb4/content.htm?current_toc=/en/b9/d3dc53b5ef424de10000000a174cb4/plain.htm&show_children=truehttp://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/d52552575e11d189270000e8322f96/content.htmhttp://help.sap.com/saphelp_erp60_sp/helpdata/en/4f/d52552575e11d189270000e8322f96/content.htmhttp://help.sap.com/saphelp_afs64/helpdata/en/43/a75f72bc4f1bbce10000000a1553f7/content.htmhttp://scn.sap.com/community/erp/hcm/blog/2013/05/07/hr-renewal-10-hcm-pf-a-basic-fpm-form-in-fifteen-minuteshttp://scn.sap.com/community/erp/hcm/blog/2013/05/07/hr-renewal-10-hcm-pf-a-basic-fpm-form-in-fifteen-minutes

  • www.nicx.co.uk

    Page 2 of 29

    Activate Business Functions: HCM_ASR_CI_1 to 5. Read the documentation associated with each one.

    Roadmap Form Activation: Business Function: HCM_PAO_CI_3

    Assign Roles (Transaction code PFCG): SAP_ASR_HRADMIN_SR_HCM_CI_4. Parameter Configuration

    Customizing settings for HR Administrative Services are entered as parameter and parameter values on table T5ASRSETTINGS.To configure these parameters and parameter IDs, in Customizing choose: Personnel Management HR Administrative Services Node text not found Settings for HCM Processes and Forms Creating a Form

    Transaction Code: HRASR_DT

    When creating a form you have the following choices. You can use multiple types in one form as shown in the diagram above:

    Form You use this when you want to display data using a form.

    List You use this when you want to display fields of a single infotype record. E.g. Salary History (as

    above)

    List Complex You use this when you want to display or perform operations on multiple records of a

    single infotype.

    Composite You use this to group multiple UIBBs within a single UIBB.

    Roadmap - You use this when you want to create a sequence of infotypes

    Action - You use this when you want to run a Personnel Action e.g. Hiring

    Procedure To Create a 'Form':

    Tip: Reference the sample forms to provide you with examples.

    Go to transaction code HRASR_DT

    Process: HR_PA_XX_CHANGE_WORKINGTIME_1_WD

  • www.nicx.co.uk

    Page 3 of 29

    Copy the standard form: Menu Path: Process > Copy with Dependent Objects

    Change: Process name, Process Description, Form Scenario 'FPM', new form scenario and click on [enter]:

    Now select the form:

    Select Fields: E.G. Time Status

  • www.nicx.co.uk

    Page 4 of 29

    [Save]:

    Create the Form:

    FPM Configuration = Form

    Configuration: ZXX_XXXX & description of your choice

    Click on the [Create] button.

    The following screen will appear:

  • www.nicx.co.uk

    Page 5 of 29

    Click on the 'Add Group' button [+ Group]:

    Enter a title e.g. 'Adrian's Change of Working Time'

    Click on the attributes button at top of screen:

  • www.nicx.co.uk

    Page 6 of 29

    Click on [Element] > Add Element

    Select the field 'Time Management Status':

    The field appears on the form:

  • www.nicx.co.uk

    Page 7 of 29

    Click on the [Attributes] button to display more details of the field:

    Adding Buttons to a Form

    Click Repositories. The Repositories panel is displayed on the left.

    In the Buttons section of Repositories panel, choose a button, and drag it onto the Preview panel.

    Click Attributes. The Attributes panel is displayed below the Preview panel.

    In the Attributes panel, set the attributes for the button, such as the position of the field on the form,

    the label and display type.

    Making Changes Using the Form UIBB Schema Panel

    This panel outlines the structure of the form UIBB, and displays its UI elements. You can make the following

    changes in the Form UIBB Schema panel:

    Select a row containing an individual element of the UIBB and edit its attributes in the Attributes

    panel.

  • www.nicx.co.uk

    Page 8 of 29

    Add additional, UIBB-specific elements to the UIBB by choosing buttons on the toolbar or by dragging

    existing ones from the Repositories panel.

    In the Attributes panel, set the attributes for the field, such as the position of the field on the form,

    the label and display type.

    Move individual elements within the schema by using the Up and Down buttons, or by dragging them

    to a new location.

    Add elements or buttons.

    Select elements in the schema and edit their attributes in the Attributes panel.

    Drag elements between the Repositories panel and the Schema panel.

  • www.nicx.co.uk

    Page 9 of 29

    Test the Form

    Go to the 'Process' side of HRASR_DT

    To make it easy to test, put 'NO_WORKFLOW' in the field below:

    Menu Path: Process > Test

    Select an example employee, role of the initiator and the 'Web Dynpro Screen' option:

    The Form will appear as it would to the user:

  • www.nicx.co.uk

    Page 10 of 29

    Change the 'Time Management Status' and click on [Send] and check the change in PA30.

  • www.nicx.co.uk

    Page 11 of 29

    Other Types of Form

    Let's have a look at the other types of forms:

    List You use this when you want to display or perform operations on repeat fields of a single

    infotype record

    List Complex You use this when you want to display or perform operations on multiple records of a

    single infotype.

    Composite You use this to group multiple UIBBs within a single UIBB.

    Roadmap - You use this when you want to create a sequence of infotypes

    Action - You use this when you want to run a Personnel Action e.g. Hiring

    Below is an example form containing some of the

    above:

    List Forms

    SAP Help: http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/62/82914917a54e7ba45bddce3732c01c/content.htm

    Add the form type 'list' to your form and click on [create]:

    http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/62/82914917a54e7ba45bddce3732c01c/content.htmhttp://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/62/82914917a54e7ba45bddce3732c01c/content.htm

  • www.nicx.co.uk

    Page 12 of 29

    Complex List

    SAP HELP: http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/40/96f51796ca40479b7fee8dfcfafdb7/content.htm

    Buttons: Add & Delete Rows

    Test the form:

    http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/40/96f51796ca40479b7fee8dfcfafdb7/content.htmhttp://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/40/96f51796ca40479b7fee8dfcfafdb7/content.htm

  • www.nicx.co.uk

    Page 13 of 29

  • www.nicx.co.uk

    Page 14 of 29

    Composite Form

    SAP Help: http://help.sap.com/erp_hcm_ias_2013_02/helpdata/en/ed/95f88fc8dd44569c607caa16355111/content.htm?frameset=/en/40/96f51796ca40479b7fee8dfcfafdb7/frameset.htm&current_toc=/en/b9/d3dc53b5ef424de10000000a174cb4/plain.htm&node_id=40

    As above, add the form type 'composite' to your form and click on [create]

    This type of form is similar to a screen in MSS. It can consist of Lists, input areas, searches