Help in report categories

Hi,
I have a requirement to add an additional field to the selection screen in a standard HR report with PNP logical DB.
I tried creating a new report category to solve this. Can anyone please tell me how to maintain the new field in the report category.
Thanks in advance,
Suchitra

Hi friend
Could you please explain a little bit on the report you are planning to create.
Regards
Santhosh.S

Similar Messages

  • Report categories for selection screen in HR programming

    Hi all,
    i want to know what report category has to be used for displaying personnel number,personnel area and employee subgroup. you can also suggest me on a report category that coincides with above fields along with other fields. please give me a immediate reply.
    Thanks & Regards,
    Nanda

    Hi Nanda
    Why do not use the F4 help for that? You can bind an HR Report Category to a report from its "Attributes" screen. There you can use the F4 list and the description of report categories are more or less says something. There you can also define your own report category.
    Regards
    *--Serdar <a href="https://www.sdn.sap.com:443http://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.sdn.businesscard.sdnbusinesscard?u=qbk%2bsag%2bjiw%3d">[ BC ]</a>

  • Creation of report with the help of report painter

    Dear Experts,
                         I need report painter material, if any body have  pls  farward to me.
    my intension to create controlling report with the help of report painter.
    I am ready to award full points.
    Thanks in advance
    Regards
    avudaiappan
    Moderator - Please read this:
    /thread/931177 [original link is broken]
    Thread locked

    Hello Chinasammy,
    Report Painter allows you to create reports using data from SAP application components, which you can adapt to meet your individual requirements.
    Many of your reporting requirements can already be met by using the standard reports provided by various SAP application components. If these SAP standard reports do not meet your reporting needs, Report Painter enables you to define your specific reports quickly and easily.
    When executing a Report Painter report, it is displayed by the system in Report Writer format. You thus have access to the same functions as for Report Writer reports defined in the same way, and can combine Report Painter and Report Writer reports together in a report group.
    Report Painter uses a graphical report structure, which forms the basis for your report definition and displays the rows and columns as they appear in the final report output.
    To facilitate report definition, you can use many of the standard reporting objects provided by SAP (such as libraries, row/column models, and standard layouts) in your own specific reports. When you define a Report Painter report you can use groups (sets). You can also enter characteristic values directly.
    Advantages of Report Painter include:
    Flexible and simple report definition
    Report definition without using sets
    Direct layout control: The rows and columns are displayed in the report definition as they appear in the final report output, making test runs unnecessary.
    =============================================
    Below mentioned is the process for creating reports using Report Painter as a tool.
    Selecting and maintaining a library for your report: As the transfer structure to Report Painter you use a report table, which is defaulted by SAP and can not be maintained. This table contains characteristics, key figures and predefined columns. In a library, you collect the characteristics, key figures, and predefined columns from the report table, which you need for your Report Painter reports.
    When you define a Report Painter report, you assign it to a library. Reports assigned to one library can only use the characteristics, key figures, and predefined columns selected for that library.
    When you create or maintain a library, the Position field determines the sequence in which the characteristics, key figures or (predefined) key figures appear in the Report Painter selection lists when you define a report. This allows you to position the objects that you use regularly in your reports at the beginning of the selection lists. If you do not make an entry in the Position field, you will not be able to use this object in Report Painter reports.
    You can use either the standard SAP libraries for your reports or define your own.
    (ii) Selecting or maintaining a standard layout for your report: Standard layouts determine report layout features and the format of your report data.If the SAP standard layouts do not meet your reporting requirements, you can create a new  standard layout or change an existing one.
    (iii) Defining row and column models: A model is a one-dimensional, predefined reporting structure that you can insert in either the rows or columns of your report.If you often use the same or similar row or column definitions in your reports, it is recommended that you create row or column models.
    You must define the row and/or column models that you want to include in your report definition before you define the report.
    You can also use the standard column models supplied by SAP.
    (iv) Defining the report: Defining a Report Painter report involves the following steps.
    (a) Define the report columns: You define the report columns using the characteristics, key figures, and predefined columns selected for the library that the report uses. Alternatively, you can use a column model for column definition. Column models are predefined column structures which you insert into your entire column definition, instead of defining each individual column.
    (b) Define the report rows: You define the report rows using the characteristics selected for the library selected for the report.
    Alternatively, you can use a row model for your row definition. Row models serve the same purpose as column models, but are used to define a report row.
    Edit and format the report rows and columns in line with your requirements. (For example, you can hide rows or columns, define the column width or define colors for your report rows).
    (iii)Define general data selection criteria for the selection of your report data: Selection criteria are the characteristics used to select data for the entire report. You cannot enter characteristics as data selection criteria if they are already being used in the report rows or columns.
    (iv) Assigning the report to a report group: Once you have defined a report, you must assign it to a report group. A report group can contain one or more reports from the same library. However, reports that share the same data will select data more quickly and improve processing time.
    Hopw this helps you. Please let me know if you need anything more and assign points.
    Rgds
    Manish

  • Purpose of selection view in report categories

    Hi Friends,
    Can anyone tell me the Purpose of selection view in report categories.
    Why we need to specify the selection view in report categories and what its impact in reports.
    Why do we need to create a custom selection views?
    Thanks in Advance.
    Regards,
    Prabhu

    This is according to the Business requirement
    Bye
    Reward

  • Help: calling report from report in report 9i

    Background:
    1. Report Builder 9i and the outputs are PDF files;
    2. Report A and Report B both have two identical parameters: P1 and P2;
    3. Calling Report A through FORM using web.show_document() with paraform=YES,
    Help:
    If Report B can be called from Report A, the parameters P1, P2 passed through calling report A, the user then needs not to enter twice P1 and P2 using web.show_document().
    Wishful way of thinking:
    The Calling FORM refered here is the one that provides all buttons for more than 20 reports and that is the reason of using parameter form. Consequently, I am looking for ways of making:
    Calling FORM -> REPORT A -> REPORT B
    where both Report A and B have same parameters, calling FORM calls REPORT A using REPORT A parameter form and hoping that REPORT A can call REPORT B with these parameters.
    Any help are greatly appreciated.
    Jimmy

    I tried something in Before Report trigger like:
    function BeforeReport return boolean is
    begin
    srw.run_report('batch=yes sf1='||:pf1 || 'sf2='||:pf2 || ' report=REPORT_B destype=cache desformat=pdf');
    return (TRUE);
    end;
    An error raised as: REP-1428: 'beforereport': Error while running SRW.RUN_REPORT.
    Here sf1, pf1 and sf2, pf2 and two pairs of identical parameters.
    Any suggestions?

  • Assign Search help in report program

    Dear All,
    I facing problem to assign search help in report program.
    I crated one elementary search help in which three fields i include
    -carrid
    -carrier name
    -booking  
    all three fields having import and export parameter in search help.
    while executing this search help in se11 it gives proper output.
    but while assigning this search help in report program it only fetch one carried.
    my report is also having three parameter
    -carrid
    -carrier name
    -booking
    i assign search help like
    PARAMETER :  p_carrid TYPE scarr-carrid
                               MATCHCODE OBJECT z01_carrid,
    with all three field but it fetch only carrid ...

    Hi Chintan,
    For such types of requirements you can use this Function Module:
    F4IF_INT_TABLE_VALUE_REQUEST.
    Use this functiom modue under AT SELECTION-SCREEN ON HELP-REQUEST FOR P_CARRID.
    With this function module, you can fill your remainng parameters : P_carriername and booking also.
    Sample Code:
         DATA : TMP_RETURN_TAB  LIKE TABLE OF DDSHRETVAL,                                TMP_RETURN      LIKE DDSHRETVAL,                    
                    TMP_FIELD       TYPE  DFIES-FIELDNAME.               
    CASE AKIND.                                        
       WHEN '1'.                                        
         TMP_FIELD = 'AENNR'.                                        
       WHEN '2'.                                        
         TMP_FIELD = 'VBELN'.                                        
       WHEN '3'.                                        
         TMP_FIELD = 'ZZTEHAI'.                                        
      ENDCASE.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'                                                                 
       EXPORTING                                                                                     
         RETFIELD               = TMP_FIELD                                                                      
         WINDOW_TITLE           = ATITEL                                                                      
         VALUE_ORG              = 'S'                                                                                
       TABLES                                                                                          
         VALUE_TAB              = ATABLES                                                                           
         RETURN_TAB             = TMP_RETURN_TAB                                                                      
       EXCEPTIONS                                                                                
         PARAMETER_ERROR        = 1                                                                           
         NO_VALUES_FOUND        = 2                                                                           
         OTHERS                 = 3.                                                                                
      IF SY-SUBRC =  0.                                                                                
        READ TABLE TMP_RETURN_TAB INDEX 1 INTO TMP_RETUN.                                                            
        AVALUE = TMP_RETURN-FIELDVAL.                                                                      
      ENDIF.                                                  
    Jus analyze this code, you can get ur requirement done.
    Regards
    Sandeep Reddy

  • Creating search help through reports

    Hello experts,
    Is there a method so that I can create search help through reports?
    Thanks,
    Mohit.

    hi,
    we can create F4 help through report and also we can create Input Help from the ABAP Dictionary  .
    please check this link for Input Help from the ABAP Dictionary  .
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm
    and for F4 help in reports you can use some function modules:
    select-options :                 so_selgp FOR t458a-selgp  /
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_selgp-low .
      REFRESH gt_auskt[].
      here insert select query to fill your internal table .
      IF so_selgp[] IS NOT INITIAL.
        DELETE gt_t458a1  WHERE selgp NOT IN so_selgp[].
      ENDIF.
      SELECT aussl auslt FROM t458b INTO CORRESPONDING FIELDS OF  TABLE gt_t458b WHERE spras = 'E'.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
        DDIC_STRUCTURE         = ' '
          retfield               = 'SELGP'
        PVALKEY                = ' '
         dynpprog               = 'ZPPGL_MRP_LIST '
         dynpnr                 = '1000'
         dynprofield            = 'SO_SELGP'
         value_org              = 'S'
      IMPORTING
        USER_RESET             =
        TABLES
          value_tab              = gt_auskt   " internal table.
      EXCEPTIONS
        PARAMETER_ERROR        = 1
        NO_VALUES_FOUND        = 2
        OTHERS                 = 3

  • Cannot create report category - PN046 Report categories cannot be changed

    HI all,
    I'm running into an Information message pop up that says "Report categories cannot be changed" when i try to create a new report category for my program.
    Any idea how this can be fixed, or perhaps a setting to be changed somewhere?
    Thanks!
    Kevin

    Solved. Lacking authorization for cross client table maintenance.

  • Table SOFFCONT1 to an external repository with help of report RSIRPIRL

    Hi experts,
    I have to relocate data from table SOFFCONT1 to an external repository with help of report RSIRPIRL...I went through all related Sap notes and it seems pretty straightforward.
    When I run the report RSIRPIRL I see all the fields I have to fill up (I have already created an content repository as well as a catalogue) but my question is how to select some data manually for testing purpose? Is it any way how to see from table SOFFCONT1 just 1 file for example?? I couldn't see that field in the report RSIRPIRL.
    Regards,
    Blaiso

    Applied OSS note 1536325 which will add an extra field to select by date and narrow the number of documents to test

  • Need help in Report Painter

    Can anybody help me in Report Painter? I need a link.
    Regards,
    Subhasish

    Please go through the enclosed document. This will give you step-by-step approach for Report painter:
    http://www.virtuosollc.com/PDF/Get_Reporter.pdf
    Check url
    http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
    Check Report Painter Step-by-Step example under Tools->Report Painter / Report Writer->Report Painter->Creating a Report Painter Report.
    Just go through These Links to learn about report Painter.
    http://help.sap.com/saphelp_erp2005/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22cee43c611d182b30000e829fbfe/frameset.htm
    I have a standard report and it uses a structure to pull the data for the report. I need to create a custom report which uses the same structure, selection screen but a different layout. Could any of u plz advice, if its doable in report painter or just plain abap program?? Also I am interested to know how the report painter stores the actual report?? as ABAP program?? Please help..urgent..
    check the SAP help ..
    http://help.sap.com/saphelp_47x200/helpdata/en/66/bc7d2543c211d182b30000e829fbfe/content.htm
    I had made couple of SD reports in report painter 4 year ago .. as far as process is concern you have create library , but it deals with information structure which start with s0* , after defining information structure in library it take to select the fields and display them on your out put . information structure have the statistical data most of the time . As i worked on information structure , so31,32,33 .....
    I t creates ABAP program like ABAP query creates in background . if you execute Customer Over due analysis or in Co02 cost analysis report or MC* ( MM stock reports ) those are in report painter .
    Hope this'll give you some guide line ...
    As far as I know about report painter, It create a report in background..Like when you make ABAP query (SQ01, 02, 03 ) .. It will create a report. You cant modify the report . You have to get OSS id in order to do that. if you're ready do it then you can pass it to Memory and can achieve your goal ...
    I think it will give you some hint. I wish I could have authorization to use report painter on my this project so I can help you out practically.
    Please see these steps , it`ll help you ...
    http://www.thespot4sap.com/Articles/Code_CostCentreReport.asp
    The variation objects are coming from the sets.
    For example, when you read the report 'Cost Centers: Actual/Plan/Variance'(T-code : S_ALR_87013611), you can find the characteristic 'Cost Center' is set as a 'set variable'. So the cost center in the report left side are coming from the cost center group that you input.
    Does any know if we could use Report Painter across two controlling areas? Any documentation available will be great. Yes. When setting up a report in CCA you can have multiple controlling areas. In the General data selection you will have the option for the CA as a selection.
    You can also use standard references objects to construct your own reports: libraries, standard layouts, default columns, and row and column models, all in the standard R/3 System, are available for custom reports.
    Report Painter report definition requires several Preparatory Steps, depending on the complexity of the report to be generated.
    1) Create a library and pick your reporting tables.
    2) Create your report
    3) define your set up within the report
    a)General data selections
    b)Colimns
    c) rows
    d) formulas
    Standard layouts are maintained in the IMG "Financial Accounting" under "Special Ledger -> Information System -> Maintain standard layout.
    Create libraries, which means assigning the
    characteristics
    key figures
    Predefined columns
    For each of these categories you need to select the objects to be used in reports of the specific library. You define the sequence of the objects in the selection lists of the Report Painter in field "Position". Frequently used objects should be at the top of the list.
    go to
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/d22ba743c611d182b30000e829fbfe/frameset.htm
    I have created a report through report writer/Painter(GR51). My query here is to link this report to a transaction code. Could you please suggest me how can I acheive this?
    Go to SE93 and select the Transaction with Parameters ( Parameter Transaction)
    Then in the Transaction field give: START_REPORT
    Skip initial screen
    Screen 0
    In the default value for the parameters give
    D_SREPOVARI-REPORTTYPE RW
    D_SREPOVARI-REPORT ( Give your Report Group )
    If you have any doubt pick any report painter tcode and check in SE93
    Follow below steps
    1) Execute report through report painter
    2) From system status get the program name
    3 ) go to se93 and select report transaction and assign
    program name .
    Is it possible to make bigger the text a I have on a text field?, Im using the screen painter and I need to put the title bigger (as a requirment).
    You can define your text as any length.If you are talking about the font,i am afraid you cannot do that.
    No, you can not change the size(font) of the text on the dynpro, you can hightlight it, which changes the color to "blue" to make it stand out. You can change this on the attributes tab when double-clicking on the element in screen painter.
    what is the sentence that open a screen painter file
    Don´t really understand what you mean with "open a screen painter file".
    If you are speaking about showing a form generated with the screen painter,
    Dim oXMLDoc As New MSXML2.DOMDocument
    oXMLDoc.load("Form.xml")
    SBO_Application.LoadBatchActions(oXMLDoc.xml)
    Dim oForm As SAPbouiCOM.Form
    oForm = SBO_Application.Forms.Item("YourFormID")
    oForm.Visible = True
    regards
    vinod

  • Query Help for reporting on last receipt qty

    SBO Version: 8.82 PL11
    Hello Forum,
    I am looking for some help devising a command behind a crystal report. We are hoping to achieve the last receipt quantity. To arrive at this we would like it to get the last GRPO for an item and total the quantity on that particular GRPO. In addition to this, we want to consider all the lines on the document and SUM them.
    At present, the query I have is as follows:
    Select SUM(c0.Quantity) from PDN1 c0 WHERE c0.ItemCode = T1.ItemCode AND Shipdate = (select Max(ShipDate) from PDN1 C0  INNER JOIN OPDN c1 ON c0.DocEntry = c1.DocEntry where C0.Itemcode =T1.ItemCode AND c1.DocStatus <> 'C'))
    Any assistance would be greatly received.
    Thanks
    Sarah

    Hi Sarah,
    Please repost to the SAP Business One Application  space.
    -Abhilash

  • Query Help in Report

    Hi guys ,
    I need to make a matrix report like the following
    Description Year(2002 Full),Year(2002 Till Date),Year(2002 Till Month),Year(2003 Full),Year(2003 Till Date),Year(2003 Till Month)
    Year its easy to get in the query as the following
    select item,sum(qty)to_char(v_date,'YYYY') from table group by item v_date
    but how will i get the year to date and year till month
    item wuill be my row
    qty will be cell
    and year will be column

    If the current date is 25th oct 2004 so in above query i need as
    2002 Full Year i.e jan 2002 to dec 2002
    2002 YTD Jan 2002 - 25t oct 2002
    2002 Year To Month - jan2002 oct 2002
    2003 Full Year i.e jan 2003 to dec 2002
    2003 YTD Jan 2003 - 25t oct 2003
    2003 Year To Month - jan 2003 oct 2003
    Any help will be appreciated

  • [Urgent Help Required] Report not displaying

    Dear All,
    Please help me with a issue in running report from form. I am using the following code to run a report from a form. The issue is that when i click the button i get all the success messages which are in the code and a new browser window opens but my report is not displaying. Please can any one help me with this issue. I have to submit my project with a week so this is very urgent.
    This is the code I am using:
    DECLARE
         v_report_id Report_Object;
         vc_report_job_id VARCHAR2(100); /* unique id for each Report request */
         vc_rep_status VARCHAR2(100); /* status of the Report job */
    BEGIN
         /* Get a handle to the Report Object itself. */
         v_report_id:= FIND_REPORT_OBJECT('REPORT7');
         message ('report found');
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_COMM_MODE, SYNCHRONOUS);
         SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESTYPE,cache);
         SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'HTML');
         SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_SERVER, 'repserver90');
         vc_report_job_id:=RUN_REPORT_OBJECT(v_report_id);
         message (vc_report_job_id);
         vc_rep_status := REPORT_OBJECT_STATUS(vc_report_job_id);
         message (vc_rep_status);
    IF vc_rep_status='FINISHED' THEN
         web.show_document 'http://localhost:8888/reports/rwservlet/getjobid='||vc_report_job_id ||'?server='|| 'repserver90','_blank');
         ELSE
              message ('Report failed with error message '||vc_rep_status);
         END IF;
    END;

    Any Help in this Regards will be highly appreciated

  • Urgent help in report

    hi,
    i am begineer in oracle apps
    i am facing a problem like this
    i design a report in developer having a parameter p_date. i upload it into apps server and i want to
    assign FND_STANDARD_DATE value_set to it. This will be used to set the "As of Date" value that user had requested.
    please help me what is the next step i followed
    please detail describe it

    If you are planning on running this report as a concurrent program, then you will have to register this report (EXECUTABLE AND PROGRAM DEFINITION).
    Under the Program difinition, while defining the report parameters, you can assign the required valueset.
    This is a standard method and the documentation,if needed, should be easily avialable.

  • Urgent help ALV report

    HI,
    report zhr2.
    tables:pernr.
    type-POOLs:slis.
    INFOTYPES:0001,0004,0041.
    data: begin of itab,
          pernr type pernr-pernr,
          MASSN type p0000-MASSN,
          STAT2 type p0000-STAT2,
          STAT3 type p0000-STAT3,
          PLANS type p0001-plans,
          WERKS type p0001-werks,
          PERSG type p0001-PERSG,
          PERSK   type p0001-PERSK,
      end of itab.
    data:it_itab type STANDARD TABLE OF itab,
         wa_itab like  itab.
    DATA: alv_fieldcat TYPE slis_t_fieldcat_alv,
          alv_layout TYPE slis_layout_alv.
    DATA: filled_lines LIKE sy-index,
          stru_disvar TYPE disvariant.
    select-options:s_pernr for pernr-pernr.
    start-of-SELECTION.
    get pernr.
    describe table p0001 lines filled_lines.
    if filled_lines gt 0.
      rp_provide_from_last p0001 space pn-begda pn-endda.
    clear wa_itab.
    move-CORRESPONDING  p0001 to wa_itab.
    append wa_itab to it_itab.
    if pnp-sw-found eq 0.
       reject.
       endif.
    endif.
    end-of-SELECTION.
    PERFORM fieldcat_init USING alv_fieldcat.
      alv_layout-colwidth_optimize = 'X'.
      alv_layout-zebra             = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
            I_INTERFACE_CHECK        = ' '
            I_BUFFER_ACTIVE             = ' '
                i_callback_program       = 'ZHR2'
            I_CALLBACK_PF_STATUS_SET = ' '
            I_CALLBACK_USER_COMMAND  = ' '
            I_CALLBACK_TOP_OF_PAGE      = ' '
            I_CALLBACK_HTML_TOP_OF_PAGE = ' '
            I_CALLBACK_HTML_END_OF_LIST = ' '
             I_STRUCTURE_NAME         =  'ITAB'
            I_BACKGROUND_ID             = ' '
              I_GRID_TITLE                = 'Date Specifications'
            I_GRID_SETTINGS             =
                is_layout              = alv_layout
                it_fieldcat            = alv_fieldcat
            IT_EXCLUDING             =
            IT_SPECIAL_GROUPS        =
            IT_SORT                  =
            IT_FILTER                =
            IS_SEL_HIDE              =
             I_DEFAULT                = 'X'
             I_SAVE                  = 'A'
             IS_VARIANT              = stru_disvar
            IT_EVENTS                =
            IT_EVENT_EXIT            =
            IS_PRINT                 =
            IS_REPREP_ID             =
            I_SCREEN_START_COLUMN    = 0
            I_SCREEN_START_LINE      = 0
            I_SCREEN_END_COLUMN      = 0
            I_SCREEN_END_LINE        = 0
            IT_ALV_GRAPHICS             =
            IT_ADD_FIELDCAT             =
            IT_HYPERLINK                =
       IMPORTING
            E_EXIT_CAUSED_BY_CALLER  =
            ES_EXIT_CAUSED_BY_USER   =
      TABLES
                t_outtab               = it_itab
          EXCEPTIONS
              program_error            = 1
              OTHERS                   = 2.
      IF sy-subrc = 1.
        WRITE: 'Program error'(002).
      ENDIF.
    FORM fieldcat_init USING p_fieldcat
              TYPE slis_t_fieldcat_alv.
      DATA: ls_fieldcat TYPE slis_fieldcat_alv.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname = 'PERNR'.
      ls_fieldcat-ref_tabname = 'PERNR'.
      ls_fieldcat-key         = 'X'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname = 'MASSN'.
       ls_fieldcat-ref_fieldname = 'MASSN'.
    ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
    CLEAR ls_fieldcat.
      ls_fieldcat-fieldname = 'STAT2'.
       ls_fieldcat-ref_fieldname = 'STAT2'.
    ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname = 'STAT3'.
      ls_fieldcat-ref_tabname = 'STAT3'.
    ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname = 'PLANS'.
       ls_fieldcat-ref_fieldname = 'PLANS'.
      ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
    ls_fieldcat-fieldname = 'WERKS'.
    ls_fieldcat-ref_fieldname = 'WERKS'.
    ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
    ls_fieldcat-fieldname = 'PERSG'.
      ls_fieldcat-ref_fieldname = 'PERSG'.
    ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
    ls_fieldcat-fieldname = 'PERSK'.
      ls_fieldcat-ref_fieldname = 'PERSK'.
    ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
    ENDFORM.
    IT is going dump plz can any one help in this .
    Thanks and regards,
    Vamshi

    HI,
    report zhr2.
    tables:pernr.
    type-POOLs:slis.
    INFOTYPES:0001,0004,0041.
    data: begin of itab,
          pernr type pernr-pernr,
          MASSN type p0000-MASSN,
          STAT2 type p0000-STAT2,
          STAT3 type p0000-STAT3,
          PLANS type p0001-plans,
          WERKS type p0001-werks,
          PERSG type p0001-PERSG,
          PERSK   type p0001-PERSK,
      end of itab.
    data:it_itab type STANDARD TABLE OF itab,
         wa_itab like  itab.
    DATA: alv_fieldcat TYPE slis_t_fieldcat_alv,
          alv_layout TYPE slis_layout_alv.
    DATA: filled_lines LIKE sy-index,
          stru_disvar TYPE disvariant.
    select-options:s_pernr for pernr-pernr.
    start-of-SELECTION.
    get pernr.
    describe table p0001 lines filled_lines.
    if filled_lines gt 0.
      rp_provide_from_last p0001 space pn-begda pn-endda.
    clear wa_itab.
    move-CORRESPONDING  p0001 to wa_itab.
    append wa_itab to it_itab.
    if pnp-sw-found eq 0.
       reject.
       endif.
    endif.
    end-of-SELECTION.
    PERFORM fieldcat_init USING alv_fieldcat.
      alv_layout-colwidth_optimize = 'X'.
      alv_layout-zebra             = 'X'.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
            I_INTERFACE_CHECK        = ' '
            I_BUFFER_ACTIVE             = ' '
                i_callback_program       = 'ZHR2'
            I_CALLBACK_PF_STATUS_SET = ' '
            I_CALLBACK_USER_COMMAND  = ' '
            I_CALLBACK_TOP_OF_PAGE      = ' '
            I_CALLBACK_HTML_TOP_OF_PAGE = ' '
            I_CALLBACK_HTML_END_OF_LIST = ' '
             I_STRUCTURE_NAME         =  'ITAB'
            I_BACKGROUND_ID             = ' '
              I_GRID_TITLE                = 'Date Specifications'
            I_GRID_SETTINGS             =
                is_layout              = alv_layout
                it_fieldcat            = alv_fieldcat
            IT_EXCLUDING             =
            IT_SPECIAL_GROUPS        =
            IT_SORT                  =
            IT_FILTER                =
            IS_SEL_HIDE              =
             I_DEFAULT                = 'X'
             I_SAVE                  = 'A'
             IS_VARIANT              = stru_disvar
            IT_EVENTS                =
            IT_EVENT_EXIT            =
            IS_PRINT                 =
            IS_REPREP_ID             =
            I_SCREEN_START_COLUMN    = 0
            I_SCREEN_START_LINE      = 0
            I_SCREEN_END_COLUMN      = 0
            I_SCREEN_END_LINE        = 0
            IT_ALV_GRAPHICS             =
            IT_ADD_FIELDCAT             =
            IT_HYPERLINK                =
       IMPORTING
            E_EXIT_CAUSED_BY_CALLER  =
            ES_EXIT_CAUSED_BY_USER   =
      TABLES
                t_outtab               = it_itab
          EXCEPTIONS
              program_error            = 1
              OTHERS                   = 2.
      IF sy-subrc = 1.
        WRITE: 'Program error'(002).
      ENDIF.
    FORM fieldcat_init USING p_fieldcat
              TYPE slis_t_fieldcat_alv.
      DATA: ls_fieldcat TYPE slis_fieldcat_alv.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname = 'PERNR'.
      ls_fieldcat-ref_tabname = 'PERNR'.
      ls_fieldcat-key         = 'X'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname = 'MASSN'.
       ls_fieldcat-ref_fieldname = 'MASSN'.
    ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
    CLEAR ls_fieldcat.
      ls_fieldcat-fieldname = 'STAT2'.
       ls_fieldcat-ref_fieldname = 'STAT2'.
    ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname = 'STAT3'.
      ls_fieldcat-ref_tabname = 'STAT3'.
    ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
      ls_fieldcat-fieldname = 'PLANS'.
       ls_fieldcat-ref_fieldname = 'PLANS'.
      ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
    ls_fieldcat-fieldname = 'WERKS'.
    ls_fieldcat-ref_fieldname = 'WERKS'.
    ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
    ls_fieldcat-fieldname = 'PERSG'.
      ls_fieldcat-ref_fieldname = 'PERSG'.
    ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
      CLEAR ls_fieldcat.
    ls_fieldcat-fieldname = 'PERSK'.
      ls_fieldcat-ref_fieldname = 'PERSK'.
    ls_fieldcat-ref_tabname = 'P0001'.
      APPEND ls_fieldcat TO p_fieldcat.
    ENDFORM.
    IT is going dump plz can any one help in this .
    Thanks and regards,
    Vamshi

Maybe you are looking for

  • Firewire transfer without Target Disk Mode

    Is there anyway to connect two Macs to files transfer without using Target Disk Mode, or rather, without having to shut either of the two machines down first? Either natively or with another program?

  • Function module to calculate WBS Remaining Plan

    Hi all, Is anyone know if there is Function Module to calculate WBS remaining plan? thanks, libl69

  • Problem about using Oracle Form 6i to connect Oracle Database 10g express.

    Sorry to interrupt all of you. I have encountered a problem about using Oracle Form 6i to connect Oracle Database 10g express. As I would like to I use Oracle Net8 Easy Config to create a connection. According to "tnsnames.ora", the paramater of conn

  • How did I get all of these charges?

    I am so sorry I ever downloaded Skype and thought about trying it, navigating the website is like walking through a mine field, Skype tries to get you to fall for all types of hidden charges that unless you unclick and say NO you will be automacally

  • [solved (kinda)] What's wrong with HAL?

    I recently updated HAL to 0.5.13-3 and rebooted because of a kernel Upgrade during the same Syu. After reboot i couldn't access the input devices in X. It just dont worked. On TTY all was fine, but in X i had no input After trying several things for