Re : Reports in ABAP-HR

Hi All,
What is  the best way of creating reports in ABAP-HR while retreiving data from  infotypes.
I mean to ask u among the four ways that i know
1. Using Macros
2. Using Provide.. Endprovide statement
3. Using Select statements
4. Using Function Modules like HR_read_infotype, etc....
which is the better option...
Pls... explain me with an example scenario...
Thanks
Phani

Hi,
Try to follow these steps..
First U should create the base structure PSXXXX. You just include the additional fields you want in this structure. The common header data will be created for the tables.
e.g. PS9919 should just contain the field 'NUMBR' of some data element (e.g. CHAR15 or a new one you create) or just use the built-in definition.
Use transaction PM01, enter infotype number XXXX, maintain infotype settings (time constraint, subtype strategy,etc...). I think you have some documentation for these settings.
To have the infotype listed on PA30 screen you should deal with some customization.
Thanks,
Rajesh Kumar

Similar Messages

  • Interactive reports in abap objects

    Hi,
           plz send me the code of  interactive report using ABAP Objects .
    Thanks,
    T.Sreekanth.

    Hi,
    It will be similar to what you do in normal report.
    Here you may create an object instance and then call some method on the object.
    AT LINE-SELECTION.
    create object obj.
    CALL METHOD obj->method1
    IMPORTING
      text = im_text.
    write: im_text.
    Regards,
    Sesh

  • Crystal report using ABAP from SAP ECC6.0 EHP 3.0

    Hi Gurus,
    Can i create crystal report using ABAP in SAP ECC 6.0 EHP 3 . as i am not able to see this link in SPRO.
    IMG > SAP NetWeaver > Application Server > SAP List Viewer > Maintain SAP GUI Specific Settings.
    Kindly guide me urgently.

    http://help.sap.com/saphelp_slc/helpdata/en/27/c9ee1951fc4fb9ac322ac7e6fa7372/content.htm
    If I understood your question correctly.
    Have a look in the link above.
    It is possible to use Crystal Reports from ALV.
    Tammy Powlas also has some good guides on how to do this.
    The ABAP however is not covered that much.
    Best Regards
    Ingrid

  • How to write ABAP HR reports in ABAP web dynapro

    Hi All,
    How  to write ABAP HR reports in ABAP web dynapro? We can add HR REPORT CATEGORY in ABAP HR using logical database like PNP.How to add HR REPORT CATEGORY in ABAP Webdynapro ?
    Thanks.

    You can't use legacy concepts like logical databases directly in Web Dynpro ABAP.  Even if you could do so, you shouldn't.  Web Dynpro ABAP should always follow MVC - meaning that your business logic (the model) should be separated from WD as much as possible. This means calling function modules or class methods to consume the business logic and data.  So in general there should be no difference between building HR reports or any other type of report in WDA - since from the WDA side you are calling other objects to consume the data. 
    This probably does mean that you will need to create classes to expose the HR data that you want in your WDA.

  • Regarding Reports in ABAP

    Hi All,
    Can anybody give me examples for generating/Printing <b>TREE Reports in ABAP.</b>
    If anybody worked on it please send the example programs to my personal mail ID - <b>[email protected]</b>
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    Hi Shaik,
    check in http://www.sapdevelopment.co.uk/reporting/alv/alvtree.htm
    and in SE38 you can find some more
    <b>BCALV_TREE_01  
    BCALV_TREE_02  
    BCALV_TREE_03  
    BCALV_TREE_04  
    BCALV_TREE_05  
    BCALV_TREE_06  
    BCALV_TREE_DEMO</b>
    regards
    Vijay

  • Hoe top create summary and detail report using ABAP QUERY

    Hi ,
    Can any one suggest me how to create summary and detailed report using ABAP Quey.
    Regards,
    Raghu.

    Hi,
    Table Declaration
    tables:mara,mast.
    *Declaring the internal table
    data: begin of itab_new occurs 0,
          matnr like mara-matnr,     "Material No
          ernam like mara-ernam,     "Material Created by
          mtart like mara-mtart,     "Material Type
          matkl like mara-matkl,     "Material Desc
          werks like mast-werks,     "Plant
          aenam like mast-aenam,     "BOM created
          stlal like mast-stlal,     "Alternative BOM
          end of itab_new.
    select-options: p_matnr for mara-matnr.
    CODE A : Retrieving the data from the database
         select  f~matnr f~ernam f~mtart f~matkl m~werks m~aenam m~stlal
         into table itab_new
         from mara as f inner join mast as m
         on f~matnr = m~matnr
         where f~matnr in p_matnr.
    CODE B : Retrieving the data from the database.
        SELECT FMATNR FERNAM FMTART FMATKL MWERKS MAENAM M~STLAL
        INTO TABLE ITAB_NEW
        FROM MARA AS F INNER JOIN MAST AS M
        ON FMATNR = MMATNR
        WHERE F~MATNR = P_MATNR.
        SORT ITAB_NEW BY ERNAM.
    loop at itab_new.
    write:/5  itab_new-matnr,itab_new-ernam,itab_new-mtart,itab_new-matkl,itab_new-werks,itab_new-aenam,itab_new-stlal.
    endloop.
    *TABLES: MARA , MAST.
    *DATA:BEGIN OF ITAB_NEW OCCURS 0,
                 MATNR LIKE MARA-MATNR,
                 ERNAM LIKE MARA-ERNAM,
                 MTART LIKE MARA-MTART,
                 MATKL LIKE MARA-MATKL,
                 END OF ITAB_NEW.
       SELECT MATNR ERNAM MTART MATKL
       INTO TABLE ITAB_NEW
       FROM MARA
       WHERE MTART = 'T'
       ORDER BY MATNR ERNAM MTART MATKL.
    *DATA: BEGIN OF ITAB OCCURS 0,
         MATNR LIKE MARA-MATNR,
         END OF ITAB.
    Thank U,
    Jay....

  • Open CR report using ABAP

    Hi experts,
    I publish a CR report to BOE. Can I open that CR report using ABAP? If it can, How to do it ?
    Thanks

    Hi Henry,
    There is an environment for report layout designing. For a list of possible data sources, take a look at http://support.businessobjects.com/library/kbase/articles/c2001031.asp.
    Also you can refer to the following ling for all CR related implementation in SAP:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/004aacbb-4983-2b10-8da7-cdff5dcbb948.
    Hope it helps...

  • Generating a report using ABAP query

    Hi All,
    I want to generate a anlytical report using ABAP query, There are 3 different transactions/steps have to be executed to get this data in an actionable form.
    1. MB52 - Unrestricted Stock
    2. ZCustomquery - Custom query in SAP R3
    3. Combine above two in a single report.
    Please suggest me how can i proceed,
    1. Example i have created query name called Finalrepot
    2. How can i call above zcustomquery and Transaction (MB52) in the Query.
    Thanks for your help
    Pradeep

    Hi,
    Check below link to create ABAP query (SAP Query)
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    Best regards,
    Brijesh

  • Simple report on ABAP OBJECTS

    Hi Experts,
         Can any body send one simple report using abap object....
    Thanks
    kris

    Hi,
    Check this example..
    CLASS MY_CLASS DEFINITION.
    PUBLIC SECTION.
    METHODS: ADDITION IMPORTING IP_1 TYPE INT4
    IP_2 TYPE INT4
    EXPORTING OP_1 TYPE INT4,
    SUBTRACTION IMPORTING IP_1 TYPE INT4
    IP_2 TYPE INT4
    EXPORTING OP_1 TYPE INT4.
    ENDCLASS.
    CLASS MY_CLASS IMPLEMENTATION.
    METHOD ADDITION.
    OP_1 = IP_1 + IP_2.
    ENDMETHOD.
    METHOD SUBTRACTION.
    OP_1 = IP_1 - IP_2.
    ENDMETHOD.
    ENDCLASS.
    START-OF-SELECTION.
    DATA: OBJ TYPE REF TO MY_CLASS.
    CREATE OBJECT OBJ.
    DATA: V_OUTPUT TYPE INT4.
    CALL METHOD OBJ->ADDITION EXPORTING IP_1 = 1
    IP_2 = 3
    IMPORTING OP_1 = V_OUTPUT.
    WRITE: / V_OUTPUT.
    Thanks,
    Naren

  • How to activate SAP Visual Composer Reporting on ABAP Side

    Hello,
    How can we activate SAP Visual Composer Reporting on ABAP Side in ECC 6?
    It is not in BI or in Portal.
    And I have some problem to find documentation about it.
    Thank you a lot!
    Manu

    Hi Manish, Is not posible to migrate iviews, you need to do a new deploy in the new server.
    Regards.
    Ignacio.

  • How to setup variants for webdynpro report in ABAP? Help!

    Hi Experts,
       I have a webdynpro for ABAP report with selection screen. 
       How to setup variants for webdynpro report in ABAP?
    Thanks
    Gopal

    Hi Gopal,
      There is no concept of Variant in Webdynpro ABAP. But in our project we have some tool to do that. Its not release to the client I think. In my scenarieo, We create the Screen variant and program name will be supplied to the tool that will generate the ouput in PDF and Selection screen in One view. But the same is not avilable .
    If you want the same concept in Webdynpro ABAP, you need to go for Dynamic programming only. This is the only option is avilable.
    Warm Regards,
    Vijay

  • How to activate a report in abap

    hi experts,
            how to activate a report in abap?
    gerald

    First you need a Developer Key to create or activate ABAP Reports. If you dont have any, Please ask your BASIS team. They can generate one for you.
    When you done with the report hit 'Activate button' ( A Candle icon on top).
    Cheers
    Praveen

  • Development of Reports using ABAP Query

    Hi
    can anyone please tell me about 'Development of Reports using ABAP Query' and how to use it in real time
    Thanks
    jay

    look here:
    http://help.sap.com/saphelp_47x200/helpdata/en/b7/26ddebb1f311d295f40000e82de14a/frameset.htm
    A.

  • New report in ABAP

    We got requirement to convert Bex report into ABAP report..Conside like Income statement standard report it needs to be convert(develope) in ABAP.
    This has lot of restriction on it and in which tables will get the data.
    I checked the master data object and find the tables like (BIW_T001) from that datasource(RSO2) which are being used in the report.
    This would be correct or not or can I pull the data directly from the transparent table (R3) .Since from above i saw lot of table are start with (BIW_T001) .
    Thanks in advance
    Taj

    The Income statement report is built on 0FIGL10(General legher cube) I found the table of this source (FLAGTEXT) but master data object is also used in the report .
    EG Profitcenter hierarchy,Profit attributes,Profit Center Text, Currency Type text, Costelement etc
    Can we get all these tables in R/3
    Thanks in advance
    Taj

  • Create a new report in ABAP

    We got requirement to convert Bex report into ABAP report..Conside like Income statement standard report it needs to be convert(develope) in ABAP.
    This has lot of restriction on it and in which tables will get the data.
    I checked the master data object and find the tables like (BIW_T001) from that datasource(RSO2) which are being used in the report.
    This would be correct or not or can I pull the data directly from the transparent table (R3) .Since from above i saw lot of table are start with (BIW_T001) .
    Thanks in advance
    Taj

    I want to create report in R/3 system which is similar in BW query (Standard Income statement) report which has lot of restriction on it .I am going to use data from the R/3 ystem side .could you please give me detail .
    Thanks in advance
    Taj

Maybe you are looking for

  • [SOLVED]problem with GNOME and wireless connection

    Hi! I'm new to Arch Linux, and have run into a few problems after installation. My computer is a HP Pavilion dv6000. I installed using "xf86-video-nouveau" driver, as i understand this is the best choice for "Nvidia Geforce Go 7400". Is it? I also in

  • LocalLAT.txt file not working in Windows 7

    hi, i want to exclude few ip addresses from tmg client installed on a host and want it to be routed through another gateway placed on a router. I used to do this via locallat.txt file placed in all users directory with windows xp. but it is not worki

  • Can't Figure Out Why iPhone 5 Battery Will Not Last

    New to the community and looking for some extra insight into my problems. Cliffs Notes: iPhone 5 won't last more than 4-5 hours on a single charge. When I got my iPhone 5 on launch day I set it up as a new phone and did not restore from a backup. Onl

  • How to setup netflow V9 on ASA

    Hi Forumers' want to check out how to configure the ASA to support netflow V9, either in ASDM or CLI mode as welcome. i follow the PRTG guide it doens't seem success to make the detection on netflow activity, please advice Noel

  • Apple TV 2 & iTunes Match.

    I'm beyond frustrated. One of the big reasons I got iTunes Match is so I could stream my music collection to my TV without keeping my Mac open. But anytime I go to play it will play the song fine for about 30ish seconds and then I'll get a error sayi