Skip to Content
author's profile photo Former Member
Former Member

Doubts with generic service in "HCM processes and forms"

Hello friends:

Im having troubles trying to figure out how to use generic services. I implemented a badi with generic services and this have the following methods:







I could initialize values of my form using only INITIALIZE method, and I could perform some validation using and then DO_OPERATIONS.

I cant understand what is the usage of methods like GET_FIELD_INFO and GET_OPERATIONS?? according to the badis help, get_field_info must be implemented, but i didnt do so and it worked anyway?

I will be grateful with all your help,

Best regards,

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 19, 2011 at 04:21 AM

    GET_FIELD_INFO is for adding fields. Suppose you are using the generic service for IT0008 data. The IT0008 fields

    which need to be used on the adobe form has to be added in this method. You need to add field name and data element

    to the field_infos table. GET_OPERATIONS is used to define operations associated with the fields. Suppose you have a

    scenario when user selects personnel area all personnel subareas associated with the selected value should come.

    Then you need to group together personnel area and sub area together into an operation. Also even if a field is not aasociated

    with any operation, to add a field to form scenario you need group them into operations in GET_OPERATIONS.

    Check the class CL_IM_HRRCF_REQUI_REQUEST to determine how this can be used.



    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 20, 2011 at 08:50 PM

    All the "GET" methods are used WITHIN config and/or the Design Time work bench. The work bench actually will CALL these methods to provide the info in the drop downs and such once you tell it which service you are using.

    The other methods are used during the actual run time. INITIALIZE is straightforward enough. DO_OPERATIONS is called during a "check" event (gets called during the "check and send" as well as " send" portions of the Start Application or utilizing the standard backend workflow tasks). and/or during any user event you configure that might also trigger it.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.