Steps To create workflow for HR module

hi experts,
     i have a requirment in HR module to create a workflow, requirment is when an employee is transferred to any other stores or departments automatically a mail has to be trigeered to xxxx mail id. as im new to workflow can any one kindly help me in solving this requ.

You can also do this with the help of exits.
Use exit PBAS0001
In EXIT_SAPFP50M_002 first you can capture employee details
during transfer and then create a ztable to maintain the mail ids and use
function module to send mail for the same.

Similar Messages

  • Step-By-Step  of creating workflow

    Hello Everybody ,
    Please give me step by step procedure of creating workflow of MM module with print screen of  any real time senario  .
    <removed by moderator>
    <THREAD LOCKED. Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] to discover why>
    Edited by: Mike Pokraka on Aug 21, 2008 9:42 AM

    Hi,
    Check the following for demo program:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0bbdb3c-d640-2a10-d3b2-e4d9b90536a6
    Regards,
    Bhaskar

  • Create workflow for parking document

    hiiii all
    can any one tell me in detail, what is the function of  creation of work flow for parking document? and how do i configure? and how do i assign with user? please help
    menu path :- financial accounting global settings - document - document parking - create workflow for parking document
    regards
    rajesh
    Moderator: Please, search before posting. These are standard WF functionalities of SAP. If you have particular question about WF, please ask it on a proper forum

    Hi,
    Are there any special settings for SUBWORKFLOWS
    There is no Special Setting for Sub Workflow.
    Only error which i get in my inbox is
    Please repair the suspended workflow
    1) Once you get the Error, open a new session goto T.code SU53 and see any authorization issue
        If Yes, send the screen shot to Basis Team to get the authorization.
    2) If Authorization is fine, Check the binding for that Workitem Regenerate and Test it . Also Check the Workflow log and see  which step error is showing, then see the Step history comments.   .
    Regards,
    Surjith

  • Creating Includes for Function Modules

    Hi Experts,
    Can you please let me know how to create includes for function modules.
    I came across this in a standard include program, which was generated by a function library. The includes inside this program where linked to the function modules (when I double clicked on them).
    Please let me know how to create it.
    Thanks in advance !
    Regards,
    Anand Patil.

    Hi,
    have a look at the code for better understanding
    Declaration of Workareas                                             *
      DATA: lwa_e1bp2017_gm_item_create TYPE e1bp2017_gm_item_create,
            lwa_data         TYPE edidd, " Work area for IDOC
            lwa_control      TYPE edidc. " Work Area for control rec
    Read the control data information of idoc.
      loop at idoc_contrl INTO lwa_control Where mestyp = lc_mbgmcr.
    Extract the data from the segments.
        LOOP AT idoc_data INTO lwa_data
        WHERE docnum = lwa_control-docnum and
              segnam = lc_item_create.
    *->> Set the tabix of the internal table
          lv_index = sy-tabix.
    Move the Material Document Item Segment data
          MOVE lwa_data-sdata TO lwa_e1bp2017_gm_item_create.
    Modify the material document item data  internal table
          PERFORM sub_modify_idocdata changing lwa_e1bp2017_gm_item_create.
    *->> set the changed values to the IDOC SDATA
          MOVE  lwa_e1bp2017_gm_item_create TO lwa_data-sdata.
    *->> Modify the table
          MODIFY idoc_data FROM lwa_data index lv_index.
    Clear the Work areas
          CLEAR : lwa_data,
                  lwa_e1bp2017_gm_item_create.
        ENDLOOP.                                     "LOOP AT t_idoc_data
    Call the BAPI function module to create the
    appropriate Material Document
        CALL FUNCTION 'BAPI_IDOC_INPUT1'
          EXPORTING
            input_method          = input_method
            mass_processing       = mass_processing
          IMPORTING
            workflow_result       = workflow_result
            application_variable  = application_variable
            in_update_task        = in_update_task
            call_transaction_done = call_transaction_done
          TABLES
            idoc_contrl           = idoc_contrl
            idoc_data             = idoc_data
            idoc_status           = idoc_status
            return_variables      = return_variables
            serialization_info    = serialization_info
          EXCEPTIONS
            wrong_function_called = 1
            OTHERS                = 2.
        IF sy-subrc = 1.
          RAISE wrong_function_called.
        ENDIF.
      endloop.
    ENDFUNCTION.
    here when we write the statment
    PERFORM sub_modify_idocdata changing lwa_e1bp2017_gm_item_create and double click on sub_modify_idocdata .
    it will create a include with the name "LZDTSINT052F_GPOMS_GMF01 ".
    now we can write the FORM ..END FORM In this inculde.like this.
    ***INCLUDE LZDTSINT052F_GPOMS_GMF01 .
    *&      Form  sub_modify_idocdata
    Modify the material document item data  internal table
    FORM sub_modify_idocdata
    CHANGING pwa_e1bp2017_gm_item_create TYPE e1bp2017_gm_item_create.
    contant declaration
      CONSTANTS: lc_261(3) TYPE c VALUE '261'.
      DATA : lv_aplzl LIKE resb-aplzl,
             lv_aufpl LIKE resb-aufpl,
             lv_subrc LIKE sy-subrc,
             lv_charg LIKE resb-charg,
             lv_uom LIKE pwa_e1bp2017_gm_item_create-entry_uom.
      CLEAR: pwa_e1bp2017_gm_item_create-reserv_no,
             pwa_e1bp2017_gm_item_create-res_item.
    *->> Get SAP storage bin & Storage type from the Z table
      SELECT lgtyp lgpla
        INTO (pwa_e1bp2017_gm_item_create-stge_type,
              pwa_e1bp2017_gm_item_create-stge_bin)
         UP TO 1 ROWS
        FROM zdtsint050_sttyp
         WHERE zstorage_typ = pwa_e1bp2017_gm_item_create-stge_type
          AND  zstorage_bin = pwa_e1bp2017_gm_item_create-stge_bin.
      ENDSELECT.
      IF sy-subrc NE 0.
        CLEAR: pwa_e1bp2017_gm_item_create-stge_type,
               pwa_e1bp2017_gm_item_create-stge_bin.
      ENDIF.
      PERFORM get_oper CHANGING pwa_e1bp2017_gm_item_create.
    Get the Reservation number and Reservation item number
    basing on the idoc data.
      SELECT rspos werks lgort
             INTO (pwa_e1bp2017_gm_item_create-res_item,
                  pwa_e1bp2017_gm_item_create-plant,
                     pwa_e1bp2017_gm_item_create-stge_loc)
             FROM resb
             UP TO 1 ROWS
             WHERE rsnum = pwa_e1bp2017_gm_item_create-reserv_no
             AND   matnr = pwa_e1bp2017_gm_item_create-material
             AND   charg = pwa_e1bp2017_gm_item_create-batch
             AND   aufnr = pwa_e1bp2017_gm_item_create-orderid
             AND   vornr = pwa_e1bp2017_gm_item_create-activity
             AND   bwart = lc_261.
      ENDSELECT.
      IF sy-subrc <> 0.
    Start of insertion for R31K993797
        CLEAR lv_charg.
        SELECT rspos werks lgort
             INTO (pwa_e1bp2017_gm_item_create-res_item,
                  pwa_e1bp2017_gm_item_create-plant,
                     pwa_e1bp2017_gm_item_create-stge_loc)
             FROM resb
             UP TO 1 ROWS
             WHERE rsnum = pwa_e1bp2017_gm_item_create-reserv_no
             AND   matnr = pwa_e1bp2017_gm_item_create-material
             AND   charg = lv_charg
             AND   aufnr = pwa_e1bp2017_gm_item_create-orderid
             AND   vornr = pwa_e1bp2017_gm_item_create-activity
             AND   ( splkz = 'X' or
                     splkz = space )
             AND   bwart = lc_261.
        ENDSELECT.
        IF sy-subrc <> 0.
    End of insertion for R31K993797
          SELECT SINGLE werks lgort
                INTO (pwa_e1bp2017_gm_item_create-plant,
                       pwa_e1bp2017_gm_item_create-stge_loc)
                FROM resb
                WHERE rsnum = pwa_e1bp2017_gm_item_create-reserv_no.
          CLEAR : pwa_e1bp2017_gm_item_create-reserv_no,
                  pwa_e1bp2017_gm_item_create-res_item.
        ENDIF.
      ENDIF.
    get SAP UOM
      SELECT SINGLE zsap_uom
                    INTO lv_uom
                    FROM zca_uom_conv
                    WHERE zext_uom = pwa_e1bp2017_gm_item_create-entry_uom.
      IF sy-subrc = 0.
        pwa_e1bp2017_gm_item_create-entry_uom = lv_uom.
      ENDIF.
    ENDFORM.                    " sub_modify_idocdata
    *&      Form  get_oper
         Get the operation
         <--P_PWA_E1BP2017_GM_ITEM_CREATE_RE  Segment
    FORM get_oper  CHANGING p_pwa_e1bp2017_gm_item_create TYPE
                   e1bp2017_gm_item_create.
      DATA : l_aufpl LIKE afko-aufpl,
             l_aplzl LIKE afvc-aplzl.
      REFRESH : i_op.
      UNPACK p_pwa_e1bp2017_gm_item_create-orderid TO
             p_pwa_e1bp2017_gm_item_create-orderid.
    Get the reservation and routing number for the order
      SELECT SINGLE
             rsnum
             aufpl
             FROM afko
             INTO (p_pwa_e1bp2017_gm_item_create-reserv_no,
                   l_aufpl)
             WHERE aufnr = p_pwa_e1bp2017_gm_item_create-orderid.
      IF sy-subrc = 0.
        CALL FUNCTION 'CONVERSION_EXIT_NUMCV_INPUT'
          EXPORTING
            input  = p_pwa_e1bp2017_gm_item_create-activity
          IMPORTING
            output = p_pwa_e1bp2017_gm_item_create-activity.
      ENDIF.
    ENDFORM.                    " get_oper
    Regards,
    nagaraj

  • How to create workflow for this scenerio

    HI Gurus,
    I am new to workflow.
    I have to create a workflow. But I have a problem what the object type I have to choose. It may be simple but i dont know do it.
    Scenerio of the workflow given is...
    This workflow gets pernr and benefit plan information from portal.
    this workflow is a one step approval mail
    In the workflow three steps are there.
    In the first step i have to derive basic hourly salary of the person by using infotype --- 008 and company code for the pernr from the 0001 and benefit plan he enrolled
    Second step ---
    there are two company codes, I have to use condition step,
    if one company code I have to send to one hr department mail for approval
    and the other for another hr department step.
    in the workitem i have to pass salary information, pernr information.
    third step, after approval I have to update the respective infotype.
    My question is for the above scenerio, what object type I have to use.
    For the first step is there any method I have to create which calls function module.
    if so for which object type i have to add method.
    third how do I create the workflow container for this.
    I am new to workflow. Please help me friends.
    Ravi

    I think you should create your own Business Object or you can refer to Business Object EMPSALPACK.
    Now Company Code should be an Attribute that you should do the Coding For.
    Use this attribute in the Condition Step of Workflow Template.
    Workflow Container will contain the Business Object that you will be creating. The Business object should have Key Field Pernr and may be anything relevant that you will do for Coding. I think you might have to trigger the Event of the Business Object through code.
    Check the Code below.
    <b>Reward Appropriate Point if useful</b>
      INCLUDE <cntn01> .
      DATA:i_emp_details TYPE STANDARD TABLE OF p0001,  "Employee Details
           wa_request    TYPE p0001,                    "Workarea for Employee details
           v_country_grp TYPE molga,                    "Country SubGrouping
           v_object_key  TYPE sweinstcou-objkey.        "Key for the buisness object ZWOBUSTRIP
      CONSTANTS: c_bo_trip     TYPE swo_objtyp VALUE 'ZWOBUSTRIP',
                 c_event_trip  TYPE swo_event  VALUE 'TripCreate',
                 c_infy_type_1 TYPE infty      VALUE '0001'.
    Event Container declaration
      swc_container i_event_cont.
      swc_create_container i_event_cont.
    Reading the INFO TYPE 0001 to obtain the
    Employee details
      CALL FUNCTION 'HR_READ_INFOTYPE'
        EXPORTING
          pernr           = i_emp_number
          infty           = c_infy_type_1
          begda           = sy-datum
          endda           = sy-datum
        TABLES
          infty_tab       = i_emp_details
        EXCEPTIONS
          infty_not_found = 1
          OTHERS          = 2.
    SY-SUBRC check is not required as the error
    handelling will be done by WorkFlow rule
    resolution.
      CLEAR wa_request.
      READ TABLE i_emp_details INTO wa_request INDEX 1.
      IF sy-subrc = 0.
      Retrieving the Country SubGrouping for the employee
        SELECT SINGLE molga
          FROM t001p
          INTO v_country_grp
         WHERE werks = wa_request-werks
           AND btrtl = wa_request-persk.
      ENDIF.
    Sending the relevant data to event container
      swc_set_element i_event_cont 'EmpId'     i_emp_number.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      swc_set_element i_event_cont 'PersonnelArea'    wa_request-werks.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      swc_set_element i_event_cont 'CountryGrouping' v_country_grp.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      swc_set_element i_event_cont 'EmpSubGrp'       wa_request-persk.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      swc_set_element i_event_cont 'EmpTripId'       i_emp_trip.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
    Raising the event to trigger the workflow
      v_object_key = i_emp_number.
      CALL FUNCTION 'SWE_EVENT_CREATE'
        EXPORTING
          objtype           = c_bo_trip
          objkey            = v_object_key
          event             = c_event_trip
        TABLES
          event_container   = i_event_cont
        EXCEPTIONS
          objtype_not_found = 1
          OTHERS            = 2.
      IF sy-subrc <> 0.
    No Processing needed.
      ENDIF.
      COMMIT WORK.
    ENDFUNCTION.
    Thanks
    Arghadip

  • How to create workflow for this simple scienerio

    HI Gurus,
    I have to create a simple workflow. But I have a problem what the object type I have to choose.
    Scenerio of the workflow is ..
    This workflow gets pernr and benefit plan information from portal.
    this workflow is a one step approval mail
       In the workflow three steps are there.
    In the first step i have to derive basic hourly salary of the person by using infotype --- 008 and company code for the pernr from the 0001 and benefit plan he enrolled
    Second step ---
            there are two company codes, I have to use condition step,
    if one company code I have to send to one hr department mail for approval
    and the  other for another hr department step.
    in the workitem i have to pass salary information, pernr information.
    third step, after approval I have to update the respective infotype.
    My question is for the above scenerio, what object type I have to use.
    For the first step is there any method I have to create which calls function module.
    if so for which object type i have to add method.
    third how do I create the workflow container for this.
    I am new to workflow. I know scenerio is simple but I dont know how to do it.
    Please help me friends.
    Ravi

    think you should create your own Business Object or you can refer to Business Object EMPSALPACK.
    Now Company Code should be an Attribute that you should do the Coding For.
    Use this attribute in the Condition Step of Workflow Template.
    Workflow Container will contain the Business Object that you will be creating. The Business object should have Key Field Pernr and may be anything relevant that you will do for Coding. I think you might have to trigger the Event of the Business Object through code.
    Check the Code below.
    <b>Reward Appropriate Point if useful</b>
    INCLUDE <cntn01> .
    DATA:i_emp_details TYPE STANDARD TABLE OF p0001, "Employee Details
    wa_request TYPE p0001, "Workarea for Employee details
    v_country_grp TYPE molga, "Country SubGrouping
    v_object_key TYPE sweinstcou-objkey. "Key for the buisness object ZWOBUSTRIP
    CONSTANTS: c_bo_trip TYPE swo_objtyp VALUE 'ZWOBUSTRIP',
    c_event_trip TYPE swo_event VALUE 'TripCreate',
    c_infy_type_1 TYPE infty VALUE '0001'.
    Event Container declaration
    swc_container i_event_cont.
    swc_create_container i_event_cont.
    Reading the INFO TYPE 0001 to obtain the
    Employee details
    CALL FUNCTION 'HR_READ_INFOTYPE'
    EXPORTING
    pernr = i_emp_number
    infty = c_infy_type_1
    begda = sy-datum
    endda = sy-datum
    TABLES
    infty_tab = i_emp_details
    EXCEPTIONS
    infty_not_found = 1
    OTHERS = 2.
    SY-SUBRC check is not required as the error
    handelling will be done by WorkFlow rule
    resolution.
    CLEAR wa_request.
    READ TABLE i_emp_details INTO wa_request INDEX 1.
    IF sy-subrc = 0.
    Retrieving the Country SubGrouping for the employee
    SELECT SINGLE molga
    FROM t001p
    INTO v_country_grp
    WHERE werks = wa_request-werks
    AND btrtl = wa_request-persk.
    ENDIF.
    Sending the relevant data to event container
    swc_set_element i_event_cont 'EmpId' i_emp_number.
    IF sy-subrc <> 0.
    No Processing needed.
    ENDIF.
    swc_set_element i_event_cont 'PersonnelArea' wa_request-werks.
    IF sy-subrc <> 0.
    No Processing needed.
    ENDIF.
    swc_set_element i_event_cont 'CountryGrouping' v_country_grp.
    IF sy-subrc <> 0.
    No Processing needed.
    ENDIF.
    swc_set_element i_event_cont 'EmpSubGrp' wa_request-persk.
    IF sy-subrc <> 0.
    No Processing needed.
    ENDIF.
    swc_set_element i_event_cont 'EmpTripId' i_emp_trip.
    IF sy-subrc <> 0.
    No Processing needed.
    ENDIF.
    Raising the event to trigger the workflow
    v_object_key = i_emp_number.
    CALL FUNCTION 'SWE_EVENT_CREATE'
    EXPORTING
    objtype = c_bo_trip
    objkey = v_object_key
    event = c_event_trip
    TABLES
    event_container = i_event_cont
    EXCEPTIONS
    objtype_not_found = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    No Processing needed.
    ENDIF.
    COMMIT WORK.
    ENDFUNCTION.
    Thanks
    Arghadip

  • Steps to create tabstrip for subscreen in selection screen

    hi,
    can let me know the steps taken to create subscreen in selection screen and put in tabstrip?
    i need to have 3 screens. 1000 being the tabstrip, 2000 being first subscreen and 3000 being the second subscreen.
    i have the abap code but i do not know the steps to create especially 1000 screen.
    for 2000 and 3000, once i activated the program, these 2 screens added but i do not know where can i create the 1000 screen.
    also, should i use wizard to create tabstrip?
    please advise. thanks
    SELECTION-SCREEN BEGIN OF SCREEN 2000 AS SUBSCREEN.        SELECTION-SCREEN BEGIN OF BLOCK x WITH FRAME TITLE text-001.
    SELECT-OPTIONS: para1 FOR  field1 ,     
                                  para2 FOR field2.            
    SELECTION-SCREEN END OF BLOCK x.
    SELECTION-SCREEN END OF SCREEN 2000.
    SELECTION-SCREEN BEGIN OF SCREEN 3000 AS SUBSCREEN.
    SELECTION-SCREEN BEGIN OF BLOCK y WITH FRAME TITLE text-002.
    SELECT-OPTIONS: para3 FOR  field3 ,     
                                  para4 FOR field4.      
    SELECTION-SCREEN END OF BLOCK y.
    SELECTION-SCREEN:SKIP.
    SELECTION-SCREEN END OF SCREEN 3000.

    e_l,
      See the total doc.. with example.
    Assigning a Subscreen Area to a Tab Title
    You must assign a subscreen area to each tab title. There are two ways of doing this:
    Paging in the SAPgui
    You need to assign a separate subscreen area to each tab title, and define the function codes of the tab titles with type P (local GUI function). In the screen flow logic, you call all the subscreens in the PBO event. This means that all of the tab pages reside locally on the SAPgui.
    When the user chooses a tab title, paging takes place within the SAPgui. In this respect, the tabstrip control behaves like a single screen. In particular, the PAI event is not triggered when the user chooses a tab title, and no data is transported. While this improves the performance of your tabstrip control, it also has the negative effect that when the user does trigger the PAI event, all of the input checks for all of the subscreens are performed. This means that when the user is working on one tab page, the input checks may jump to an unfilled mandatory field on another page.
    Local paging at the SAPgui is therefore most appropriate for screens that display data rather than for input screens.
    Paging on the Application Server
    One subscreen area is shared by all tab titles and called in the PBO event. You define the function codes of the individual tab titles without a special function type. When the user chooses a tab page, the PAI event is triggered, and you must include a module in your flow logic that activates the appropriate tab page and assigns the correct subscreen to the subscreen area.
    Since the PAI event is triggered each time the user chooses a tab title, this method is less economical for the application server, but the input checks that are performed only affect the current tab page.
    Procedure in Either Case
    You create the subscreen areas within the tabstrip area. You assign the subscreen areas to one or more tab titles in the Screen Painter by selecting one or more titles. You can also assign a subscreen area to a tab title in the tab title attributes by entering the name of the subscreen area in the Reference field attribute.
    The procedure for the alphanumeric Screen Painter is described under Creating Tabstrip Controls.
    If you are paging at the SAPgui, create a subscreen area for each tab title. If you are paging at the application server, select all tab titles and create a single subscreen area. The subscreen areas may not cover the top line of the tab area. However, within a tab area, more than one subscreen area can overlap.
    Programming the Flow Logic
    In the flow logic, all you have to do by hand is include the correct subscreens. The screen flow and data transport to the ABAP program is the same as for normal subscreens. There are two ways of programming the screen flow logic, depending on how you have decided to page through the tabstrip control.
    Paging in the SAPgui
    When you page in the SAPgui, you must include a subscreen for each subscreen area:
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN: <area1> INCLUDING [<prog 1>] <dynp 1>,
                      <area2> INCLUDING [<prog 2>] <dynp 2>,
                      <area3> INCLUDING [<prog 3>] <dynp 3>,
    PROCESS AFTER INPUT.
      CALL SUBSCREEN: <area1>,
                      <area2>,
                      <area3>,
    Paging on the Application Server
    When you page on the application server, you only have to include a subscreen for the one subscreen area:
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN <area> INCLUDING [<prog>] <dynp>.
    PROCESS AFTER INPUT.
      CALL SUBSCREEN <area>.
    Handling in the ABAP Program
    Before you can use a tabstrip control in your ABAP program, you must create a control for each control in the declaration part of your program using the following statement:
    CONTROLS <ctrl> TYPE TABSTRIP.
    where <ctrl> is the name of the tabstrip area on a screen in the ABAP program. The control allows the ABAP program to work with the tabstrip control. The statement declares a structure with the name <ctrl> . The only component of this structure that you need in your program is called ACTIVETAB.
    Use in the PBO event
    Before the screen is displayed, you use the control to set the tab page that is currently active. To do this, assign the function code of the corresponding tab title to the component ACTIVETAB:
    <ctrl>-ACTIVETAB = <fcode>.
    When you page at the SAPgui, you only need to do this once before the screen is displayed. This initializes the tabstrip control. The default active tab page is the first page. After this, the page activated when the user chooses a tab title is set within SAPgui.
    When you page on the application server, you must assign the active page both before the screen is displayed for the first time, and each time the user pages. At the same time, you must set the required subscreen screen.
    You can suppress a tab page dynamically by setting the ACTIVE field of table SCREEN to 0 for the corresponding tab title.
    Use in the PAI event
    In the PAI event, ACTIVETAB contains the function code of the last active tab title on the screen.
    When you page in the SAPgui, this allows you to find out the page that the user can currently see. When you page at the application server, the active tab page is controlled by the ABAP program anyway.
    The OK_CODE field behaves differently according to the paging method:
    Paging in the SAPgui
    When you page in the SAPgui, the PAI event is not triggered when the user chooses a tab title, and the OK_CODE field is not filled. The OK_CODE field is only filled by user actions in the GUI status or when the user chooses a pushbutton either outside the tabstrip control or on one of the subscreens.
    Paging on the application server
    If you are paging at the application server, the PAI event is triggered when the user chooses a tab title, and the OK_CODE field is filled with the corresponding function code.
    To page through the tabstrip control, you must assign the function code to the ACTIVETAB component of the control:
    <ctrl>-ACTIVETAB = <ok_code>.
    This statement overwrites the function code of the last active tab page with that of the new tab title. At the same time, you must ensure that the correct subscreen is inserted in the subscreen area.
    Otherwise, tabstrip controls are handled like normal subscrens in ABAP programs, that is, the ABAP program of a subscreen screen must contain the dialog modules called from the flow logic of the subscreen.
    Examples
    Tabstrip control, paging at SAPgui
    REPORT DEMO_DYNPRO_TABSTRIP_LOCAL.
    CONTROLS MYTABSTRIP TYPE TABSTRIP.
    DATA: OK_CODE TYPE SY-UCOMM,
          SAVE_OK TYPE SY-UCOMM.
    MYTABSTRIP-ACTIVETAB = 'PUSH2'.
    CALL SCREEN 100.
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE CANCEL INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE USER_COMMAND INPUT.
      SAVE_OK = OK_CODE.
      CLEAR OK_CODE.
      IF SAVE_OK = 'OK'.
        MESSAGE I888(SABAPDOCU) WITH 'MYTABSTRIP-ACTIVETAB ='
                                      MYTABSTRIP-ACTIVETAB.
      ENDIF.
    ENDMODULE.
    The next screen (statically defined) for screen 100 is itself. It has the following layout:
    The screen contains a tabstrip area called MYTABSTRIP with three tab titles PUSH1, PUSH2 and PUSH3. The function codes have the same name, and all have the function type P. One of the subscreen areas SUB1 to SUB3 is assigned to each tab title. The pushbutton has the name BUTTON and the function code ‘OK’.
    In the same ABAP program, there are three subscreen screens 110 to 130. Each of these fits the subscreen area exactly. The layout is:
    The screen flow logic for screen 100 is as follows:
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0100.
      CALL SUBSCREEN: SUB1 INCLUDING SY-REPID '0110',
                      SUB2 INCLUDING SY-REPID '0120',
                      SUB3 INCLUDING SY-REPID '0130'.
    PROCESS AFTER INPUT.
      MODULE CANCEL AT EXIT-COMMAND.
      CALL SUBSCREEN: SUB1,
                      SUB2,
                      SUB3.
      MODULE USER_COMMAND.
    The screen flow logic of subscreens 110 to 130 does not contain any module calls.
    When you run the program, a screen appears on which the second tab page is active, since the program sets the ACTIVETAB component of the structure MYTABSTRIP to PUSH2 before the screen is displayed. The user can page through the tabstrip control without the PAI event being triggered. One of the three subscreens is included on each tab page.
    When the user chooses Continue, the PAI event is triggered, and an information message displays the function code of the tab title of the page that is currently active.
    Tabstrip control with paging on the application server.
    REPORT DEMO_DYNPRO_TABSTRIP_LOCAL.
    CONTROLS MYTABSTRIP TYPE TABSTRIP.
    DATA: OK_CODE TYPE SY-UCOMM,
          SAVE_OK TYPE SY-UCOMM.
    DATA  NUMBER TYPE SY-DYNNR.
    MYTABSTRIP-ACTIVETAB = 'PUSH2'.
    NUMBER = '0120'.
    CALL SCREEN 100.
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE CANCEL INPUT.
      LEAVE PROGRAM.
    ENDMODULE.
    MODULE USER_COMMAND INPUT.
      SAVE_OK = OK_CODE.
      CLEAR OK_CODE.
      IF SAVE_OK = 'OK'.
        MESSAGE I888(SABAPDOCU) WITH 'MYTABSTRIP-ACTIVETAB ='
                                      MYTABSTRIP-ACTIVETAB.
      ELSE.
        MYTABSTRIP-ACTIVETAB = SAVE_OK.
        CASE SAVE_OK.
          WHEN 'PUSH1'.
            NUMBER = '0110'.
          WHEN 'PUSH2'.
            NUMBER = '0120'.
          WHEN 'PUSH3'.
            NUMBER = '0130'.
        ENDCASE.
      ENDIF.
    ENDMODULE.
    The statically-defined next screen for screen 100 is itself, and its layout is the same as in the above example. However, the function codes of the three tab titles have the function type <blank> and they all share a single subscreen area SUB.
    The same subscreen screens 110 to 130 are defined as in the last example.
    The screen flow logic for screen 100 is as follows:
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0100.
      CALL SUBSCREEN SUB INCLUDING SY-REPID NUMBER.
    PROCESS AFTER INPUT.
      MODULE CANCEL AT EXIT-COMMAND.
      CALL SUBSCREEN SUB.
      MODULE USER_COMMAND.
    In this example, the program includes a subscreen screen in the subscreen area SUB dynamically during the PBO event.
    The screen flow logic of subscreens 110 to 130 does not contain any module calls.
    This example has the same function as the previous example, but the paging within the tabstrip control is implemented on the application server. Each time the user chooses a tab title, the function code from the OK_CODE field is assigned to the ACTIVETAB component of structure MYTABSTRIP. At the same time, the variable NUMBER is filled with the screen number of the subscreen that has to be displayed in the subscreen area SUB of the tabstrip control
    Pls. reward if useful

  • Creating Workflows for a Corporation with Different Company Codes

    Hi,
    We have just done a roll-out for Company A which is part of a big corporation (group of companies).
    The system version implemented  is ECC 6.0 with  modules (HR,MM,FI,DBM)
    I have implemented and rolled out  several workflows (Leave,PR,PO, Payment approval)for Company A and am now expected to do the same workflows for Company B,the business processes as per flowcharts remain the same as for Company A.
    Company A uses company code 1000, while company B will use company code 2000.
    Users in Company B will log in to the same PRD servers.
    Some approvers of workflow in company A will be responsible for some workflow approvals for staff in company B though HR have completed implementing an org structure for company B.
    Is it possible to use the same workflow templates  by saving them in a different name and change the agents to reflect company B org,if so how do I go about it?
    In future we will also roll-out to Company C.
    What is the best way to do it and save time as well.
    Thank you.
    Missa

    Hi
    Consider a scenario like EMPB  who belongs to CMP B has applied a leave and EMPA manager of EMPB who belongs to CMP A,
    Now in order to send the leave request for approval to EMPA you can define or create a rule from PFAC transaction. in such a way that
    1. First try to get the initiator details like his personnel number.
    2. Once you have the Employee number , by using it you can read hi Org Assignment details from PA0001 to get employee sepecifc compnay code.
    3. BAsed on the employee group and sub group you might have to decide who is manager I hope this would be defined already in the org structure.
    4. Once you know who is the manager , get his position details and from it get holder and his communications info from PA0105.
    IN this way if you define a rule by calling a function module. You can make use of the same workflow. but based on the initiator  details you need to dort out the manager.
    The simple way is to define and impement the Rules dynamically to fetch the agents based on the Personel are/sub are and employee group and sub group.
    Regards
    Pavan

  • Creating  workflow for purchase order release.

    Hi friends
    I want step by step detail about creation of workflow for purchase order release..
    After release purchase order it will goes to the two level of approval..
    after that the workflow should be completed...
    how can i develope the workflow for that scenario..
    Thanks
    Gowrishankar

    Hi Gowrishankar,
    You can get step by step workflow for PO using standard workflow
    <b>Release of Purchase Order :WS20000075</b>
    And for two levels of approvals you have to configure in SPRO the path is
    Purchase Order:
    SPRO> Material Management->Purchasing->/Purchase order-->Release procedure ---> Procedure with classification ---> set up procedure with classification ---> double click on Release strategies and Workflow.
    If you don't know about this configuration, you have to confirm with your MM consultant.
    Thanks and Regards,
    Prabhakar Dharmala

  • Single Step approval BRF Workflow for RFx.

    Hi,
    I am facing one problem in process controlled workflow for RFx. I have the scenario where I have only one approver but 7-8 reviewer are there in between of approver and initiator for example:
    Initiator >reviewer1>reviewer2->reviewer3->....reviewer8-->approver.
    For acheiving this I have activated standard single step approval workflow.
    But while I am trying to add reviewers to the RFx at the time of creation of RFx the system is not shwing the reviewers. it gets refreshed only reviewers line is added to the reviewers Tab but system did not display any reviewer.
    And while I publish the RFx it directly goes to the approver and while i tried to add the reviewer from approver end the same problem is coming.
    Please help me. How I cam achieve this functionality.
    Thanks & Regards,
    Sachin

    Hello Ashutosh,
    Thanks For your reply. I want to add reviewers at the time of creation of RFx not ad-hoc approvers.
    As I explain in my question that I have only one approver in whole approval process rest all are the reviewers only who only do the review and add comments not the approving authority.
    Thanks,
    Sachin

  • Steps to create stage11i for linux

    Hi guru's
    Please Help me to create stage11i file on linux
    please send me the steps to create stage file

    hi the stage for 11i look like follow
    Stage11i/StartCD--->start here
    Stage11i/oraiAS--->tools cds
    Stage11i/oraDB-->RDBMS cds
    Stage11i/oraApps-->appl_top cds
    Stage11i/oraAppDB--->database cds
    fadi hasweh
    http://oracle-magic.blogspot.com/
    Oracle is not Magic, it just takes years of experience

  • Creating tcode for function module

    Hi all
               I have created a screen in the funcion group.Now my problem is I have a requirement that I have to keep this screen inside a function group and I also must create a transaction code for this screen so that the user can see only that screen using this tcode whenever he want.Will you please help me to solve this problem.
    Thanks in advance.
    Regards
    Giri.

    Hi Giri,
              U can create Tcode for Program only i.e for report or module pool program.
    So keep ur Function inside ur program and create Tcode for that
    se93>tcode name> create
    reward if it useful....

  • Aperture Workflow - need help creating workflow for photo management

    Hi -
    I currently shoot with a Canon SD890 (point & shoot) and a Nikon D300 (SLR). My photography is either personal photography or street photography. I may use some of my photography for a web project but that should not be considered right now. I shoot jpegs with the SD890 and RAW with the D300. I need to create a workflow that will allow me to manage all of my photos as well as the RAW vs JPEG aspect. Here are a few initial questions:
    1) Should I separate the RAW and JPEGs in Aperture (two libraries)? One library for finished photos and one for negatives?
    2) What folder structure should I use? Since I am not a professional photographer, I won't be shooting projects. I think something date or event driven would be best (preferably both).
    I am interested to hear how others do this...especially if you use both point & shoot and SLR cameras.
    Thanks for your help!

    jnap818 wrote:
    1) Should I separate the RAW and JPEGs in Aperture (two libraries)? One library for finished photos and one for negatives? I am interested to hear how others do this...especially if you use both point & shoot and SLR cameras.
    No, use a single Library. Aperture will have no problems with the various formats or with various different cameras.
    2) What folder structure should I use? Since I am not a professional photographer, I won't be shooting projects. I think something date or event driven would be best (preferably both).
    Actually those date or event driven batches of images are very logically "Projects" in Aperture. Simply name each group of images as you import into AP as a new Project.
    IMO it is not good to import camera-to-Aperture (or direct to any app other than the Finder). Best is to use a card reader and use the Finder to copy images from the camera card to a folder on the computer hard drive.
    Below is my Referenced-Masters workflow:
    • Remove the CF card from the camera and insert it into a CF card reader. Faster readers and cards are preferable.
    • Finder-copy images from CF to a labeled folder on the intended permanent Masters location hard drive. I label that folder with the Project name suffixed with _masters, that way I can always find the Masters if Aperture forgets where they are.
    • Eject CF.
    • Burn backup copies of the original images to DVDs or to hard drives (optional backup step).
    • Eject backup DVDs/hard drives (optional backup step).
    • From within Aperture, import images from the hard drive folder into Aperture selecting "Store files in their current location."
    • Review pix for completeness (e.g. a 500-pic shoot has 500 valid images showing).
    • Reformat CF in camera, and archive DVDs of originals off site.
    Note that the "eject" steps above are important in order to avoid mistakenly working on removable media.
    I strongly recommend that every Aperture user spend $35 and work through the tutorial CD Apple Pro Training Series: Aperture 2 (Apple Pro Training Series) by Ben Long, Richard Harrington, and Orlando Luna (Paperback - May 8, 2008), Amazon.com. Note that the value is in working the tutorial, not in using the book as a manual.
    Good luck!
    -Allen Wicks

  • Error While Creating Workflow for Purchase Requisition Rejection

    HI Experts,
    Purchase Requisition No is not Displaying in the Business Workplace Inbox after my Work  flow got triggered.
    In Work flow i am Using the Task  97600004  which i copied from the Standard Task  65400032. This Task i called in the Activity Step having Work Item Display Tab. In this Tab while i am checking at Work Item Text  for Identification  of Work item in work flow inbox level it is Giving Error "Container element '_WI_OBJECT_ID' does not exist and also Insert Expression is in Disable Mode.
    In Business Workplace Inbox i am getting message as "Purchase requisition  00000 rejected".
    Please Suggest where i am Committing Error.
    Thanks in Advance
    Srikanth Kumar

    HI.
    I Have Checked the work flow as suggested Dheepak
    In Start Event of Work flow i declared BUS2105 as BOR Object . The Task which i copied contains BUS2009 as default.
    As Raj Suggested In Task i have Created a New Element BUS2105 at Container Tab and set binding in task and set the Binding between Work flow and Task. Now it is working fine and i am getting the PR No in the Message of SBWP inbox.
    But i Having one more doubt regarding this issue only Why BUS2009 BOR object Type is not working which is the Task as default even though its binding is set between work flow and task?
    Thanks Dheepak and Raj for Your Valuable Suggestions. My gmail id is srikanth537. Can u add me In your Friends list.
    Thanks
    Srikanth Kumar
    09937876902
    Edited by: Srikanth Kumar Talasu on Dec 23, 2008 11:59 AM

  • Creating Help for multiple modules, multiple versions and multiple locales

    I need to put together a new help solution for a suite of applications. The problem I have is working out how to manage and publish the content. Would someone be able to offer any advice?
    The software has:
    Multiple modules
    Head office and site versions
    UK and US locales
    Multiple software versions to be supported
    Previously I used WinHelp, regenerating the project 6 times per software version to provide all possible permutations.
    I’d like to create a single hosted help solution with a simple home/landing page that allows users to enter a natural search term – the results provided would be drawn from the database or collection of available help topics and ranked for relevance to application/version/locale etc.
    Obviously the right help must be displayed, and I don’t want every topic to be prefixed with: [uk | head office | Module name | v3.5].
    I have RH9 (for html and word), but would upgrade if I needed to.
    I have looked into using Webhelp, Airhelp and even Wordpress but still haven’t worked out the best way to do this. I understand that this is not a normal posting, but if anyone can point me towards any information that may help me I’d very much appreciate it.

    I think build expressions are what I am looking for, but if I need to create a new conditional build tag for every variation (Locale/Installation/Version) it will be become rather unwieldy and since new software versions are released almost quarterly it will soon become challenging to manage.
    OK, I am happy you picked up on that point. It will be challenging.
    Sorry but your requirement is a complex output so too will be the solution.
    Also, can I apply a build tag to an entire topic to include or exclude it from a build for whole topics that are UK or US specific?
    Yes. Whole topics or content can be tagged. You can apply a topic tag to exclude it entirely from some categories and you can have content tags so that variants of the topic can be generated so that a topic could be excluded from US but for UK it could then vary according to version, for example.
    From an authoring perspective I want to create a single help file, but I can’t have users scrolling through hundreds of possible help permutations to find the one they are looking for. Creating one help file will simplify the hosting of the webhelp too.
    You cannot have sub categories so you would create a category for each permutation. I don't think that would amount to hundreds though.
    Another approach would be similar tagging but using multiple layouts. With categories, your output would have a folder for each category and when a user selects what they want, the system goes to the chosen folder. If you created multiple layouts, you would have much the same folders but each one would be a standalone help system. It would be for your developers to install the right help for each user. Not as difficult as it might sound. For a start, the versions would be simple to hook up.
    A lot of places stop updating help once either a new version is released or goes out of support.
    The best advice I can give is cut down the permutations as much as you can.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

Maybe you are looking for

  • How to use MathType in Visio 2013

    How to type equations in MS Visio? I am using equation editor 3.0, but it is very hard to keep size of different objects as same. And I just know that equation editor is replaced by MathType, but I couldn't find it in my viso 2013, and no information

  • File/FTP adpter playing dumb

    Hi We are using XI3.0 on SP9. we are connecting to an FTP server(an AIX box) on port 22. am able to connect to the ftp server from ftp client, however the adapter is not reading the file from the specified folder.status in the adapterframework is gre

  • Does the Intel have problems with flip4mac?

    Hi, I have a new intel Core 2 duo iMac and there are two websites that I cannot view flip4mac plugsin on but I can on all other websites. My powerpc eMac can view the websites (videos) that I can't view on my iMac and both of my computers have the ex

  • Norton Manage Logins does not automatically enter user ids and passwords

    I have Norton 360 v. 4.3 installed and one of the features is Manage Log ins. When you go to a web page it automatically puts in the user id and password to log into the website. When I upgraded to Firefox 4.0 this feature does not work any more. I h

  • Installing repository

    Designer 6i r4.11 on Windows 2000 Svr and Pro (Client) - Database 8.1.7 I have one repository working good. I created a second database and tray to install another repository but I receive the message: CDR-21244: This process has been aborted