Organisational structure button in Z Reports

Hello everybody!
We have a problem with the 'Organisational structure' button in Z Reports.
There are some checkboxes that are used to make the selection but although we check only the organisational units we want in the report, the system shows all the subordinates of that unit.
Is there any way to capture only the selected org. units in some internal tables?
Thanks a lot.
Regards,
Rupesh

Unfortunately, as we don't know your programs, we can't answer!

Similar Messages

  • Org Structure chosen within HR report

    I hope I have this question in the right forum.  Within a HR report built using the Logical database PNP,  you can choose a Report Category that will will allow you to choose 1) Further Selections 2) Search Helps, 3) Sort Order 4) Org Structure. These are buttons at the top of the selection screen.
    My question relates to choosing the Org Structure and if the user selects multiple Org Units when clicking on the Org Structure button.  The PNP logical will take care of selecting the correct employees based on the Org Units selected.
    Is there a way, when the program is executing to determine what the user chose from this Org Structure tree?  It's not the PNPORGEH parameter on the selection screen.
    Thanks
    John

    Nevermind.  I wasn't looking hard enough.

  • Regarding Evaluation path used in Organisation structure.

    Dear All,
    How would i be able to get to know the evaluation path used by organisational structure to display the structure. What i found in tcode : ppome is that it is showing evaluation but not path name. I want to know the reference path name which it is using.
    Thanks,
    Raj

    Hi
    Check the Report:
    RHINFAW0 - Infotype reporting.
    Regards,
    Sreeram

  • How to create a radio button in ALV Reports

    Hi all,
    Best wishes to all..
    Kindly reply me to this question... that is "How to create a radio button in ALV Report"
    Thanks and Regards
    Anjali

    HI
    here is an example :
    PROGRAM ZUS_SDN_BCALV_GRID_DEMO_2.
    Based on: BCALV_GRID_DEMO.
    TYPE-POOLS: icon.
    TYPES: BEGIN OF ty_s_sflight.
    INCLUDE TYPE sflight.
    TYPES: button1    TYPE lvc_emphsz.
    TYPES: button2    TYPE lvc_emphsz.
    TYPES: button3    TYPE lvc_emphsz.
    TYPES: button4    TYPE lvc_emphsz.
    TYPES: END OF ty_s_sflight.
    DATA:
      gt_sflight    TYPE STANDARD TABLE OF ty_s_sflight,
      gt_fcat       TYPE lvc_t_fcat.
    DATA: ok_code LIKE sy-ucomm,
         gt_sflight TYPE TABLE OF sflight,
          g_container TYPE scrfname VALUE 'BCALV_GRID_DEMO_0100_CONT1',
          grid1  TYPE REF TO cl_gui_alv_grid,
          g_custom_container TYPE REF TO cl_gui_custom_container.
          CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
      PUBLIC SECTION.
        CLASS-DATA:
          md_cnt    TYPE i.
        CLASS-METHODS:
          handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
            IMPORTING
              e_row_id
              e_column_id
              es_row_no
              sender.
    ENDCLASS.                    "lcl_eventhandler DEFINITION
          CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
      METHOD handle_hotspot_click.
    define local data
        FIELD-SYMBOLS:
          <ls_entry>    TYPE ty_s_sflight,
          <ld_fld>      TYPE ANY.
        READ TABLE gt_sflight ASSIGNING <ls_entry> INDEX es_row_no-row_id.
        CHECK ( <ls_entry> IS ASSIGNED ).
      Set all radio buttons "unselected"
        <ls_entry>-button1 =  icon_wd_radio_button_empty.
        <ls_entry>-button2 =  icon_wd_radio_button_empty.
        <ls_entry>-button3 =  icon_wd_radio_button_empty.
        <ls_entry>-button4 =  icon_wd_radio_button_empty.
        ASSIGN COMPONENT e_column_id-fieldname OF STRUCTURE <ls_entry>
                                                  TO <ld_fld>.
        IF ( <ld_fld> IS ASSIGNED ).
        Set selected radio button "selected".
          <ld_fld> = icon_wd_radio_button.
        ENDIF.
      Force PAI followed by refresh of table display in PBO
        CALL METHOD cl_gui_cfw=>set_new_ok_code
          EXPORTING
            new_code = 'DUMMY'
         IMPORTING
           RC       =
      ENDMETHOD.                    "handle_hotspot_click
    ENDCLASS.                    "lcl_eventhandler IMPLEMENTATION
    START-OF-SELECTION.
          MAIN                                                          *
      PERFORM select_data.
      CALL SCREEN 100.
          MODULE PBO OUTPUT                                             *
    MODULE pbo OUTPUT.
      SET PF-STATUS 'MAIN100'.
      IF g_custom_container IS INITIAL.
        CREATE OBJECT g_custom_container
               EXPORTING container_name = g_container.
        CREATE OBJECT grid1
               EXPORTING i_parent = g_custom_container.
        PERFORM build_fieldcatalog.
        CALL METHOD grid1->set_table_for_first_display
         EXPORTING
           i_structure_name = 'SFLIGHT'
          CHANGING
            it_fieldcatalog  = gt_fcat
            it_outtab        = gt_sflight.
      Set event handler for event TOOLBAR
        SET HANDLER:
          lcl_eventhandler=>handle_hotspot_click FOR grid1.
      else.
        CALL METHOD grid1->refresh_table_display
         EXPORTING
           IS_STABLE      =
           I_SOFT_REFRESH =
          EXCEPTIONS
            FINISHED       = 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.
      ENDIF.
    ENDMODULE.                    "PBO OUTPUT
          MODULE PAI INPUT                                              *
    MODULE pai INPUT.
      to react on oi_custom_events:
      CALL METHOD cl_gui_cfw=>dispatch.
      CASE ok_code.
        WHEN 'EXIT'.
          PERFORM exit_program.
        WHEN OTHERS.
        do nothing
      ENDCASE.
      CLEAR ok_code.
    ENDMODULE.                    "PAI INPUT
          FORM EXIT_PROGRAM                                             *
    FORM exit_program.
    CALL METHOD G_CUSTOM_CONTAINER->FREE.
    CALL METHOD CL_GUI_CFW=>FLUSH.
      LEAVE PROGRAM.
    ENDFORM.                    "EXIT_PROGRAM
    *&      Form  BUILD_FIELDCATALOG
          text
    -->  p1        text
    <--  p2        text
    FORM build_fieldcatalog .
    define local data
      DATA:
        ls_fcat        TYPE lvc_s_fcat,
        ls_hype        TYPE lvc_s_hype.
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
        I_BUFFER_ACTIVE              =
          i_structure_name             = 'LVC_S_FCAT'
        I_CLIENT_NEVER_DISPLAY       = 'X'
        I_BYPASSING_BUFFER           =
        I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = gt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      DELETE gt_fcat WHERE ( fieldname <> 'EMPHASIZE' ).
      CALL FUNCTION 'LVC_FIELDCATALOG_MERGE'
        EXPORTING
        I_BUFFER_ACTIVE              =
          i_structure_name             = 'SFLIGHT'
        I_CLIENT_NEVER_DISPLAY       = 'X'
        I_BYPASSING_BUFFER           =
        I_INTERNAL_TABNAME           =
        CHANGING
          ct_fieldcat                  = gt_fcat
        EXCEPTIONS
          inconsistent_interface       = 1
          program_error                = 2
          OTHERS                       = 3.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      READ TABLE gt_fcat INTO ls_fcat
           WITH KEY fieldname = 'EMPHASIZE'.
      IF ( syst-subrc = 0 ).
        DELETE gt_fcat INDEX syst-tabix.
      ENDIF.
      ls_fcat-fieldname = 'BUTTON4'.
      ls_fcat-icon    = 'X'.
      ls_fcat-hotspot = 'X'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      ls_fcat-fieldname = 'BUTTON3'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      ls_fcat-fieldname = 'BUTTON2'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      ls_fcat-fieldname = 'BUTTON1'.
      INSERT ls_fcat INTO gt_fcat INDEX 4.
      LOOP AT gt_fcat INTO ls_fcat.
        ls_fcat-col_pos = syst-tabix.
        MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
      ENDLOOP.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  SELECT_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM select_data .
    define local data
      DATA:
        ls_sflight    TYPE ty_s_sflight.
      SELECT * FROM sflight INTO CORRESPONDING FIELDS OF TABLE gt_sflight.
      ls_sflight-button1 = icon_wd_radio_button.
      ls_sflight-button2 = icon_wd_radio_button_empty.
      ls_sflight-button3 = icon_wd_radio_button_empty.
      ls_sflight-button4 = icon_wd_radio_button_empty.
      MODIFY gt_sflight FROM ls_sflight
          TRANSPORTING button1 button2 button3 button4
        WHERE ( carrid IS NOT INITIAL ).
    ENDFORM.                    " SELECT_DATA
    Regards,
    Prasanth
    Reward all helpful answers

  • Org Structure Button

    Hi,
    I am currently thinking of including an Org Structure Button for my Customed HR ABAP Report.
    Could anyone provide some negative and positive impact on the report. Also, will it affect the performance of the program?
    Thanks in advance...

    An Org Structure button on the Sel Scr gives a lot of flexibility to the Report. In addition to the other fileds on the sel screen, the employee selection can be restricted to the Org units selected. In as much it is part of most Std Reports, I do not see any negative impact.
    ~Suresh

  • Creating Organisational Structure Drop Down/Pick List

    In SAP there is an Organizational Hierarchy facility that enables the user to select single or multiple objects from the core Organizational Structure by clicking on the 'Org Structure' button.  This is seem primarily in HR ABAP reporting under Report Categories.
    Does anyone know if there is any facility or code in BSP's to replicate this feature or is it something that has to be built from scratch.
    Any help appreciated.
    Thanks.

    I think what he is loooking for is htmlb:tree with check boxes next to the nodes so that single or multiple nodes can be selected.
    If this is true you can use htmlb:tree with the node-text concatenated with plain html for check box and set the page content encoding to true.
    Code sample for htmlb:tree can be found at
    /people/durairaj.athavanraja/blog/2004/11/21/bsphow-to-build-performance-efficient-dynamic-htmlbtree
    coding to get check box.
    '<input type="checkbox" name="C1" value="ON">' to  into wf_string .
    concatenate wf_string 'Node0 with children'  into wa_tree-text .
    Hope this helps.
    Regards
    Raja

  • How to extract organisational structure ( PPOMA_BBP) in a document /excel.

    Hi . in transaction PPOMA_BBP when i go to system -> List -> Save -> Reporting Tree , the reporting tree is greyed out.
    1) Is there another way to extract the organisational structure? I need to save the hierarchy + attributes .
    2) If possible, can we use the extract to maintain/ create an organisational structure ?
    thx

    Hello,
    We got a requirement like.... Suppose X company is having 5 consultants including proj mngr and is doing projects for Y and Z. In Y project 3consultants r involved, n in Z also 3consultants r involved. Proj mngr is common 2 both. We configured reporting structure evrything. But it will display only when we click on the position. The client is asking that... after giving org unit numb in ppom_old, the whole structure has 2 display....ie., who involved in the projects, who is reporting to whom, blablabla.....even in graphical struc also it is not showing...can anybody guide me, whether there is such option in sap.
    Thanks

  • SRM 5.0 organisational structure

    Hi Gurus,
    is there a restriction for the number of persons integrated in the SRM (SRM 5.0) org. structure (PPOMA_BBP)? Is there a sizing guideline? We plan to expand the number of buyers and approvers up to 90.000.
    Many thanks in advance,
    Dirk

    Hi
    <u>Welcome to world of SRM !!!</u>
    <b>Please go through the following links, which will definitely help -></b>
    Re: Org Model Report
    Re: I want to replicate organisation structure tree of pposa screen?
    Re: USERS_GEN and the 200 Limitation
    <u><b>If an organizational structure with a large number of dependent nodes is displayed in the overview area, access to the transaction can take a very long time.
    This type of large organizational structure can occur when the vendors are transferred from the back-end system.</b></u>
    <i><b>Please refer to the following SAP OSS Notes -></b></i>
    Note 503915 - PPOMA_BBP: performance improvement overview area
    Note 389869 - Organizational unit with many employees
    Note 405806 - Transaction PPOMA_BBP for new material group attributes
    Note 864221 - EBP 4.0+: Performance location
    Note 920158 - EBP 4.0+: Shopping cart performance
    Note 1044096 - RSWUWFMLEC: Wrong Emails and/or Bad Performance
    <b><u>Also please see this SAP Consulting Note -></u></b>
    Note 1095895 - Slow response times for several SRM transactions
    Re: SRM Org Structure - Vendor Root
    <b><u>Hope this will definitely help. Do let me know, Hope this will answer all your queries.</b></u>
    Regards
    - Atul

  • MRS own organisational structure?

    We have the following problem:
    We want to implement the MRS 700 with linkage to HR(HCM) for ressources. The MRS uses the organisational structure with planversion active, currently in standard. We are using it already for HR and don't want to have two structures in one planversion.
    I heard that it should be possible to create a MRS specific structure with MRS elements. (Saw it in a presentation sheet from SAP). It was included in the PPOME or a transaction very similar to it.
    The question is:
    How can I activate it to create an independant organisational strucutre? Someone told me about a new objecttype. If I need it, how must it be set up?
    Is there another way to divide the structures i.e. a different planversion? How can it be realised?
    Thanks for any help with this issue!

    Hi Sunitha,
    Implementation starts from designing the Org structure.  This is a part of the busienss process study.  It resembles the org hirearchy and how you map it in SAP in a real scenario.
    As far as FI is concerned, generally accepted org structure would be to first determine the company code.  This co code is a legal entity wherein the accounting data is captured and consolidated for external reporting.  As part of this there are various parameters that need to be customized.
    Secondly, Controlling is purely for internal MIS.  When you study the business process of a particular org, you need to identify the business areas for which the management would want reports to be generated for internal purposes.  As a process you then determine the cost centers / profit centers / segments to map those areas in SAP.
    Hope this clarifies.
    Thanks,
    p.k

  • Question on organisational structure!

    Hi all SAP experts.
    I had a problem : I've created my organisational structure on 1st June 2010,
    I want to check is there any way i can change the start date for my organisational structure?
    Thanks for all advices.
    Regards,
    HongLing

    1. By structure you mean the Org unit relationship with each other right? you can change the start date of relationship A/B 002 between different Org units which form your structure.
    2. If you want to change the start date of the Object Org unit then use report RHBEGDA0
    cheers
    AJ

  • Organisational structure --- Mapping

    Hello dear Experts ...... This is venkat charan a new commer to SAP SD .
    My question is..... how to MAP organisation structure in REAL TIME? What r the steps involved in this ? please help me ?

    Hi Venkat Chanran,
    Please find the details below.
    Client:
    Client is an environment where we are working. A client is an organisation term it is an independent unit in the system, each unit consist of own environment and there fore its has own master data or transaction data assigned ,user master records and chart of accounts.
    Master data:
    The data, which is the basis for all the SD processing.
    Type of Master Data:
    1.Organizational data: this is the structure of the company where by each business is represented by a hierarchical element.
    2. Customer master data: the data where all data regarding customer and material are stored.
    3. Documents: the business transaction is stored in the documents.
    4. Global Settings: it is one in which we define country keys and currencies.
    Company code:
    Legal entity and an independent accounting unit at company code level, where we create balance sheet and profit and loss accounts.
    Sales organization:
    An organizational unit that sells and distributes products, negotiates terms of sale, and is responsible for these transactions.
    Distribution channel:
    Channel through which materials or services reach customers. Typical distribution channels include wholesale, retail and direct sales. You can assign a distribution channel to one or more sales organizations.
    Division:
    Product groups can be defined for a wide-ranging spectrum of products. For every division you can make customer-specific agreements on, for example, partial deliveries, pricing and terms of payment. Within a division you can carry out statistical analyses or set up separate marketing.
    Sales area:
    Combination of Sales organisation, Distribution Channel, and division.
    Sales Office.
    Geographical aspects of the organization in business development and sales are defined using the term sales office. A sales office can be considered as a subsidiary.
    Sales offices are assigned to sales areas. If you enter a sales order for a sales office within a certain sales area, the sales office must be assigned to that area.
    Sales Group.
    The staff of a sales office may be subdivided into sales groups. For example, sales groups can be defined for individual divisions.
    Salespersons.
    Individual personnel master records are used to manage data about salespersons. You can assign a sales person to a sales group in the personnel master record.
    Plant:
    A plant is a place where either material are produced or goods and services provided.
    Storage location:
    Where we store the material.
    Shipping point:
    It is a physical location where we load the goods in order to deliver.
    Loading point:
    It is a point where we load and unload the material by means of equipments.
    Business Area.
    A unit in an enterprise, grouping product and market combinations as homogeneously as possible for the purpose of developing unified business policy.
    Financial Accounting (FI).
    A business area is an organizational unit within financial accounting which represents a separate area of operations or responsibilities within an organization.
    The system posts costs and revenue according to the business area.
    The business area can be Assigned to the:
    sales area (if the accounts are to be posted according to sales)
    plant/division (if the accounts are to be posted according to products)
    Financial accounting transactions can be allocated to a specific business area.
    Credit control area.
    Organizational unit in an organization that specifies and checks credit limits for customers. A credit control area can include one or more company codes. It is not possible to assign a company code to more than one credit control areas.
    ENTERPRISE STRUCTURE
    STEP 1: DEFINE COMPANY
    MENU PATH: IMG u2013 ENTERPRICE STRUCTURE
    FINANCIAL ACCOUNTING u2013 DEFINATION u2013 DEFINE COMPANY T.C: SPRO
    Select the line 1000 and go for details and then click copy, enter the company details and save it. (ctrl s)
    step 2: edit copy check delete company code
    select the line 1000 go for details and then say copy , fill the details of company code. Then a address screen appears and fill the details .
    then save it.
    Now go for the next option
    We will fine the below screen and click copy button
    Press enter
    Say yes
    Say yes
    for the remaining screen say yes to all , now the system will copy the table to your company code.
    After copying below screen u will see and the say transport
    In below screen u enter u r company code.
    the above screen u will see is the transport request screen
    Step 2: logistic general
    We will get the below screen enter the details of the plant and also fill the address details of the plants and save it
    then save it
    DEFINE DIVISION:
    HERE GO FOR NEW ENTRIES DIRECTLY BECAUSE NO DETAILS ICON IS THEIR.
    SALES AND DISTRIBUTION
    ENTER ALL THE DETAILS AND SAVE
    2. DISTRIBUTION CHANNEL
    GO FOR MENU PATH . DEFINE DISTRIBUTION CHANNEL
    THEN SAVE IT
    DEFINE SALES OFFICE:
    MATERIAL MANAGEMENT
    THIS IS NOT OUR CONFIGURATION; THIS IS THE PART OF MM CONSULTANT.
    DEFINE STORAGE LOCATION
    LOGISTIC EXECUTION:
    DEFINE SHIPPING POINT
    HERE ALSO THE SAME PROCEDURE ,
    Select the line 1000 go for details and say copy. Enter the details of shipping point and save it.
    The above are the definition part, now we have to link the organizational elements. The linking can be configured with the help of menu path: Img - enterprise structure - assignment
    Note: what we have defined in respective module, the same we have to assign with respect to the module.
    ASSIGNMENTS:
    1. FINANICIAL ACCOUNTING:
    ASSIGN COMPANY CODE TO COMPANY:
    THEN SAVE IT.
    LOGISTIC GENERAL
    1. ASSIGN PLANT TO COMPANY CODE:
    GO FOR THE COMPANY CODE AND HIGHLIGHT IT, NOW CLICK ASSIGN THEN SELECT THE PLANT IN THE POP UP SCEEN AND PRESS OK, WE HAVE TO GET THE BELOW SCREEN
    NOTE : BUSINESS AREA CONCEPT IS VERY IMPORTANT.
    SALES AND DISTRIBUTION ASSIGNMENTS
    1. ASSIGN SALES ORGANISATION TO COMPANY CODE T.Code : OVX2
    2. ASSIGN DISTRIBUTION CHANNEL TO SALES ORGANISATION
    T.CODE: OVXK
    3. ASSIGN DIVISION TO SALES ORGANISATION
    T.CODE: OVXA
    4. SET UP SALES AREA:
    T.CODE : OVXG
    5. ASSIGN SALES OFFICE TO SALES AREA
    6.ASSIGN SALES ORGANISATION u2013 DISTRIBUTION CHANNEL u2013 PLANT
    T.CODE : OVX6
    NO MATERIAL MANAGEMENT ASSIGNMENT OF STORAGE LOCATION
    WHY BECAUSE WE HAVE ALREADY MAINTAINED IN THE PLANT, SO IT IS AN ASSIGNMENT.
    LOGISTIC EXECUTION
    ASSIGN SHIPPING POINT TO PLANT:
    NOW OUR ENTERPRISE STRUCTURE IS READY
    Result :
    Go for Img u2013 enterprise structure u2013 definition u2013 define company u2013 edit copy check delete company code u2013 structure u2013 navigation u2013 double click your created company code. T. code: EC01
    Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • Organisational structure in FI/CO.

    Hi
    What is the generally accepted Organisational Structure in FI/CO.(applicable for both)
    I have separate structures mentioned for FI and CO. But I require only one combination
    Regards
    Sunitha

    Hi Sunitha,
    Implementation starts from designing the Org structure.  This is a part of the busienss process study.  It resembles the org hirearchy and how you map it in SAP in a real scenario.
    As far as FI is concerned, generally accepted org structure would be to first determine the company code.  This co code is a legal entity wherein the accounting data is captured and consolidated for external reporting.  As part of this there are various parameters that need to be customized.
    Secondly, Controlling is purely for internal MIS.  When you study the business process of a particular org, you need to identify the business areas for which the management would want reports to be generated for internal purposes.  As a process you then determine the cost centers / profit centers / segments to map those areas in SAP.
    Hope this clarifies.
    Thanks,
    p.k

  • Adding a push button on the report toolbar

    adding a save button on the report toolbar, so that after clicking the button, the data fetched on the report will be stored in the application server.

    Hi
    to automate this process ,best way is to create a Z rport and there u can submit this sap standard report and get its output into an Internal table and then u can write this internal table to application server via following demo code -
    this is code for both (download /upload),u can not use CG3y and CG3z as u want to do it as a background job ..
    *& Report ZGILL_AS *
    REPORT ZGILL_AS message-id rp .
    tables: pa0001,pa0002.
    select-options s_pernr for pa0001-pernr no intervals MODIF ID XYZ.
    parameters: p_dwnld AS CHECKBOX ,
    p_upld AS CHECKBOX DEFAULT 'X'.
    parameters: P_DSNI(75) TYPE C MODIF ID ABG DEFAULT
    '/usr/local/sapdata/amit.dat' LOWER CASE.
    data: begin of itab occurs 0,
    pernr(8),
    sp1(1) value ',',
    werks(4),
    sp2(1) value ',',
    persg(1),
    sp3(1) value ',',
    persk(2),
    end of itab.
    data: s_eof(3).
    start-of-selection.
    if p_upld = 'X'.
    OPEN DATASET P_DSNI FOR OUTPUT IN LEGACY TEXT MODE.
    PERFORM FETCH_DATA.
    STOP.
    elseif p_dwnld = 'X'.
    OPEN DATASET P_DSNI FOR INPUT IN LEGACY TEXT MODE.
    IF SY-SUBRC NE 0.
    MESSAGE E016 WITH
    'Error opening seq. file, RC:' SY-SUBRC.
    EXIT.
    ENDIF.
    CLEAR S_EOF.
    DO.
    PERFORM FETCH_file.
    IF S_EOF EQ 'YES'. stop. ENDIF.
    ENDDO.
    endif.
    END-OF-SELECTION.
    if itab[] is not initial.
    perform print_file1 tables itab.
    else.
    write:/ 'No records exists'.
    endif.
    *& Form FETCH_DATA
    text
    --> p1 text
    <-- p2 text
    FORM FETCH_DATA .
    SELECT * FROM PA0001 WHERE PERNR IN S_PERNR.
    MOVE-CORRESPONDING PA0001 TO ITAB.
    TRANSFER ITAB TO P_DSNI.
    APPEND ITAB.
    ENDSELECT.
    CLOSE DATASET P_DSNI.
    ENDFORM. " FETCH_DATA
    *& Form FETCH_file
    text
    --> p1 text
    <-- p2 text
    FORM FETCH_file .
    READ DATASET P_DSNI INTO itab.
    append itab.
    clear itab.
    IF SY-SUBRC NE 0.
    S_EOF = 'YES'. EXIT.
    ENDIF.
    ENDFORM. " FETCH_file
    *& Form print_file1
    text
    -->P_ITAB text
    FORM print_file1 tables P_ITAB structure itab .
    write:/2 'EmpNo',
    14 'Personnel Area',
    34 'Emp Group',
    47 'Emp SubGroup'.
    skip 1.
    loop at p_itab.
    write:2 p_itab-pernr,
    14 p_itab-werks,
    34 p_itab-persg,
    47 p_itab-persk.
    skip 1.
    endloop.
    ENDFORM. " print_file1
    <b>Reward if usefull</b>

  • Creating organisation structure (SPRO) for an integrated steel plant

    HI,
    For an integrated steel plant of 2.2 mt capacity (green field) need organisation structure to define. It would be a single legal entity under which the plant would produce wire rods, reinforement bar, billets, coke, sinter, ductile iron pipe, power, pig iron. The ISP will have Blast furnacec, SMS, rolling mill, coke oven, sinter plant, pallete plant, oxygen plant, lime plant, dolo plant, raw materila handling plant, power plant.
    Can any body guide to decide the suitable org structure for such spread of manufacturing facilities. We need to identify the hirarchical structure w.r.t Company, Company code, Controlling area, business area, functional area, plant, profit center, cost center with a visioning that in future, the company would come up with other units also of similary capacity.
    The plant is at green field stage coming up absolutely from scratch. New set of people has formed the work force top to botton.Desigred reporting (MIS) structure not yet crystalised. Have bent of mind to accept best practice. The plant is in Indian environment.
    Request an early reponse please.
    Thanks
    Saradindu Paul

    Hello All,
    CAn some body please help, As Project manager for SAP role out I am facing same dillema regarding the org structuring in SAP ECC6.0

  • Function Module to get Organisation Structure - HR

    Hi All,
    I have to get the numbers of all the sub-organisations unit of a particular Organisation unit, as per the organisational structure defined in HR.
    Please let me know if there is any Function Module in SAP.Or any another way to do it.
    Mayank

    Hi Mayank,
      I'm not sure what you basically need. If you want to know JOB,POSITION and PERSON within the organization unit then you can get this info by using transaction code PPOM_OLD. Give the Org unit you are looking for. From next screen you can see the reporting structure. For POSITION the object type is 'S' similarly for JOB it's 'C' for ORG UNIT its 'O' and for PERSON it's 'P'.
    Pls let me know if my reply gives you the answere what
    you are looking . If yes pls reward me points.
    Cheers
    Alok

Maybe you are looking for

  • A problem with copying text from english pdf to a word file

    i have a problem with copying text from english pdf to a word file. the english text of pdf turns to be unknown signs when i copy them to word file . i illustrated what i mean in the picture i attached . note that i have adobe acrobat reader 9 . so p

  • Java 3d applets and browsers

    i'm looking into putting 3d content on the web. i was thinking of using the 3d api to create an applet which showed a 3d product object which the user could then rotate and which i could load .wml objects (or some3d format) into the applet. i know th

  • Final Cut Pro 4.5 and Quicktime 7 compatibility issues. Error 39!

    I see some people saying Quicktime 7 is not compatible with Final Cut 4.5 and some saying it is. I upgraded to 10.3.9 and then Quicktime 7 and I started getting error 39 at this one spot in my timeline and then crashing if I tried to play just a few

  • [ SOLVED ] aborting makepkg help

    Hi All I'm trying to install broadcom-wl and i am getting this error when i run makepkg -s $ makepkg -s ==> Making package: broadcom-wl 5.100.82.112-2 (Sat Nov 12 21:39:39 GMT 2011) ==> Checking runtime dependencies... ==> Checking buildtime dependen

  • Probalem pasing a value with f:Param

    Hi, The below code does not call the action method if the value in the passing parameter has an apostopher in the value test'[email protected] <h:commandLink id="moidyUser" value="#{srch.userId}" styleClass="Link" action="#{pc_UserSearch.modifyUser}"