ABAP Report Details

Dear ABAP gurus,
I tried to search before posting but couldn't find my answer.
My Client showed me a FI report ( income statement ) created in ECC system , and I work as BI resource.
How can I reverse engineer that report and extract the technical details like TABLES , FIELDS and from where the P&L details are populating in that report so that it'll help me to create these reports in SAP BI.
I appreciate your response.
Regards,
-Neha

Hi Matt,
Thanks for the update , I'm taking the help of an ABAPER and FI guy , so hopefully I'll be able to resolve this issue.
Btw I also tried to do the following scenarios to get the ABAP report details.
Check out the transaction code for that FI report in ECC system. Then go to SE93 and key-in the t-code and find out the program name. If you know the program name .. then goto se38 and display the program and it will give you all the details you want.
I'm closing this thread as my problem is solved.
Regards,
-Neha
Edited by: Nehabibo on Nov 23, 2010 8:29 AM

Similar Messages

  • HR ABAP Report: Display employee details changes within a time period!!

    Dear Friends,
    I need urgent help with the below HR-ABAP report.
    Thanks in Advance!
    Joy
    I have to create a report which would display in ALV
    A table containing details of all changes to fields specified iby the user within the selected period
    Details :: ~
    When executing the report, the user will be given the opportunity to select which fields will be displayed in the output of the employee changes table. They will also be given the choice to display the previous value for each field and the date the change becomes effective.
    Please Help !!!

    First of all ensure that the fields that you need to audit have been configured.
    refer to the  documentation of report RPUAUD00.
    You will need to create a report that extracts data fromPCL4.
    If your audit data has been configure as Lond documents then look at using FM HR_INFOTYPE_LOG_GET_LIST  &
    HR_INFOTYPE_LOG_GET_DETAIL
    If not you will to extract the header info & then the BELEGE info - beware of the differnt operas inuse.
    J

  • Macro Details in ABAP report

    Dear Friends,
    I would like to get a demand planning macro's detail in a ABAP report that I plan to develop manipulate the Macro attributes. My questions are:
    1. Is it possible to come up with a report like this
    2. If so, what is general approach to do the same  - any function module calls or any other ways of getting the macro details in the ABAP report?
    Thank you and Best Regards,
    Guru

    Hi Guru,
    For this requirement i think ABAP program is not required.you can do in macro itself in DP.
    As per my understanding i think you are trying to execute the macro step for the period current week + 1.
    If this is the case then With the ITERATION_COUNTER macro function, you can determine the value of the step counter, that is, the number of periods that have already been processed. For example, if you only want to process the third and fourth future periods, you can define a step that processes the entire future and use an IF statement to check within the step whether the step counter assumes the value three or four and only then execute the calculation.
    Note that changing macro attributes,activate using ABAP report is too complex .
    Hope this will helps you.
    Regards,
    Sunitha

  • ABAP report to read request details in data-target and delete

    Hi,
    Is there any abap report which I can run in background to read all request details (Request ID, Date) in a data target?
    And any ABAP report which can delete a particular request?
    Regards
    Vikrant

    Hi Vikrant,
    You can check Table RSREQDONE and RSREQICODS for all details about requests.
    About deletion you can try with standard function in InfoPackage when uploading.
    Ciao.
    Riccardo.

  • Abap report for PO details including the person releasing the PO last.

    Hi gurus,
    I need to create a abap report for the purchase order details. I am finding difficulty in getting the last person who released the PO. Can anyone tell me how can I get the person who released the PO last ??
    From which table I can get this detail ??

    Hey hi ,
    thanks for your reply,
    Actually , I already went through the tables before, but here, there is one scenario listed below which is creating the problem :
    1. There are two person related with the release of PO and either of the two can release the PO ( in other's absense ). Now, how to check who released the PO among the two. Here link with the PO is necessary as the person released this PO might not release the next PO.
    Thats why i feel the link of the PO must be existing based on release code too. As suppose the organization assign another manager to release the PO, it should not affect previous PO's released by the Old manager.
    thanks
    Edited by: kanak bhandari on Feb 6, 2008 1:19 PM

  • SAP ERP 2005 SR 2 IDES installation error in step "Run ABAP Reports"

    Hello,
    I'm installing SAP ERP 2005 SR 2 IDES on Win2003 R2 SP2 and Oracle 10.2 to create a test-system for my diploma thesis.
    During the step "Import ABAP" I got the following message:
    object_checker.log
    ERROR: 2008-05-21 20:50:38
    1 objects have error/ignore/execute or unknown status in the task lines.
    Invalid objects are saved in 'invalid_objects.txt' file.
    invalid_objects.txt
    package   object  type  action  status
    SAPDFACT  ?N      pkey  create
    but the installation went on until "Run ABAP Reports".
    Warnings and Errors in sapinst.log are:
    WARNING 2008-05-27 15:09:36
    Execution of the command "C:\usr\sap\IMP\SYS\exe\uc\NTI386\stopsap.exe name=IMP nr=00 SAPDIAHOST=imperia-sap" finished with return code -1. Output:
    STOPSAP: execution of C:\usr\sap\IMP\SYS\exe\uc\NTI386\sapntwaitforhalt.exe name=IMP nr=00 SAPDIAHOST=imperia-sap 3600 failed
    Details are written to C:\Programme\sapinst_instdir\ERP\SYSTEM\ORA\CENTRAL\AS\stopsap.log
    WARNING 2008-05-27 15:09:36
    Could not stop instance 'DVEBMGS00' of SAP system IMP.
    WARNING 2008-05-27 15:09:38
    Connect to message server (imperia-sap/3900) failed: NIECONN_REFUSED.
    WARNING[E] 2008-05-27 15:12:05
    FSL-06002  Error 1060 (Der angegebene Dienst ist kein installierter Dienst.) in execution of a 'OpenService' function, line (266), with parameter (sapccmsr.00).
    WARNING[E] 2008-05-27 15:21:42
    FRF-00007  Unable to open RFC connection.
    ERROR 2008-05-27 16:30:15
    FRF-00025  Unable to call function. Error message: connection closed without message (CM_NO_DATA_RECEIVED) .
    INFO 2008-05-27 16:30:19
    RFC connection closed.
    ERROR 2008-05-27 16:30:45
    MUT-03025  Caught ERfcExcept in Modulecall: connection closed without message (CM_NO_DATA_RECEIVED).
    ERROR 2008-05-27 16:30:47
    FCO-00011  The step runRADDBDIF with step key |NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_CI_Instance|ind|ind|ind|ind|11|0|NW_CI_Instance_ABAP_Reports|ind|ind|ind|ind|2|0|runRADDBDIF was executed with status ERROR .
    Full log of today is available at [http://pastebin.com/f43531f97]
    Has anyone an idea how I can finish this installation?
    Thx
    Daniele

    It seems that the system did not come up and thus the RFC call fails.
    What´s the output of
    dev_w0
    dev_disp
    (in the ...work directory)?
    Markus

  • How to show Headers in ABAP report

    hii folks,
    plz try to solve my quesions:
    hw to show  two Headers in ABAP report output, like
    eg:
    for first two fields(vendor  A/C no. vendor name ) i have to shw header name like VENDOR  PR. DETAILS & for the nxt following fields(vendor city, state, country)i have to shw VENDOR ADDRESS.(plz gv a exaple)
    2Q) A  INISILIZATION event in report hw many times it triggers.
    3Q) In a ALV report once i double click on a selected record it has to shw its corresponing details.for(DOUBLE CLICK what we use & where i have to defind it)
    thanking u
    sweta.

    1. Please let me know whether it is for Classic list report or ALV.
    2. Initilization is triggered only once when the report is loaded to memmory.
    3.
    3.1.) Declare user_command in events:
    DATA: ls_event type slis_alv_event.
    move 'USER_COMMAND' to ls_event-form.
    append ls_event to gt_events.
    3.2.) Getting cell value ." within the form USER_COMMAND:
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
    RS_SELFIELD TYPE SLIS_SELFIELD.
    Check function code
    CASE R_UCOMM.
    WHEN '&IC1'. "--> check your own sy-ucomm once you double click the line item
    Check field clicked on within ALVgrid report
    IF RS_SELFIELD-FIELDNAME = 'EBELN'.
    Read data table, using index of row user clicked on
    READ TABLE IT_EKKO INTO WA_EKKO INDEX RS_SELFIELD-TABINDEX.
    ENDIF.
    ENDCASE.
    ENDFORM.
    For More details, please refer to following threads.
    Re: Drill down report
    double click on cell in alv report
    Regards,
    Lijo Joseph
    *reward if useful

  • Conversion of the ABAP Report (ALV based) into BSP Application

    Hello Friends,
    I tried to convert the abap report into a bsp application. I have followed all the steps mentoined in the previous threads regarding this topic.
    I have created a simple Z report in CRM, that displays the business partner details from the table BUT000 based on the partner entered. Partner is the input given to this report. I have defined the partner field in PARAMETERS.
    Now I have written all the code in the onInitialization of the BSP Page looking at the previous threads and also in the layout of the page.
    submit ZTEST_PARTNER
    exporting list to memory and return
    with p_part = 'HR10079430'.
    and also the rest of the code.
    It is working fine. The BSP page is displayed with all the Business Partner details.
    Now the problem is I have another Z report that displays the result in the ALV grid. The report uses the Function Module REUSE_ALV_GRID_DISPLAY to display the output.
    If I use the same method above this is giving a dump, I mean it says the page cannot be displayed.
    So, how should I use the above method to convert the ALV Grid based Z report into a BSP Application.
    Please give your suggestions.
    Thanks & Regards,
    Raju.

    you cannot .
    even if you use a normal report to
    submit the alv grid report
    exporting list to memory and return
    it will show the alv on screen and will nt just export the list to memory.

  • ABAP report to display material wise forecasted value in sap APO

    Hi All,
    I want to create a ABAP report in which i want to display the forecasted values of the material from the planning book.
    Could anyone please help me with the information with any database table or the function module or any other source to get the forecasted value against the key figure ZCONSTR form the planning book data.
    It's very urgent.....Awaiting your reply.
    Edited by: Komal Bhutada on Jul 22, 2011 5:50 PM

    Hi,
    You can more details from transaction BAPI->Supply Chain Management ->Advanced Planning and Optimization ->PlanningBookAPS ->GetDetail2 .Here you can find input parameter and in detail documentation.
    Regards,
    Sunitha

  • ABAP Reports

    Hi All ,
                  I am new to ABAP ,can someone please tell me how to do the following.
    1-Created an interactive report for displaying vendor information based on the selection made by the client.The transactions made by the vendor with the client till date will be displayed in details.On selection, further details of the selected line is made available in
    the secondary list like credits availed by the client on purchase, delivery details of tyhe vendor, payment details by the clients etc.
    2-Created an interactive report to display details of vendor and all bank transactions done with the client.
    3-Created a report on material master.The report gives stock grouped by  material type and plant.The output also shows material no., storage location and unit of measure and description in addition to group totals.
    Thanks in Advance,
    Sujata

    Hi
       i want to know how to get the screen and solution in brief about the following:
    1-Created an interactive report for displaying vendor information based on the selection made by the client.The transactions made by the vendor with the client till date will be displayed in details.On selection, further details of the selected line is made available in
    the secondary list like credits availed by the client on purchase, delivery details of tyhe vendor, payment details by the clients etc.
    2-Created an interactive report to display details of vendor and all bank transactions done with the client.
    3-Created a report on material master.The report gives stock grouped by material type and plant.The output also shows material no., storage location and unit of measure and description in addition to group totals.
    Thanks in Advance,
    Sujata
    Bharat Kalagara  
    Posts: 156
    Questions: 6
    Registered: 2/27/07
    Forum points: 116 
    Solved problem (10)
    Very helpful answer (6)
    Helpful answer (2)
       Re: ABAP Reports  
    Posted: Mar 21, 2007 5:21 AM    in response to: jita dash       Reply      E-mail this post 
    HI,
    u just check this code.
    this is very simple toundersatnd interactive report concept.
    REPORT ZBHREP3 LINE-COUNT 15(1) LINE-SIZE 75.
    TABLES: SFLIGHT,ZEMP.
    DATA VAR LIKE SFLIGHT-CONNID.
    DATA ITAB LIKE SFLIGHT OCCURS 0 WITH HEADER LINE.
    PARAMETERS NAME TYPE ZEMP-NAME DEFAULT 'BHARAT'.
    WRITE: 25 NAME COLOR 6.
    SELECT-OPTIONS CARRID1 FOR SFLIGHT-CARRID.
    SET PF-STATUS 'MENU'.
    SET TITLEBAR 'TIT'.
    FORMAT HOTSPOT ON.
    WRITE:/10 'AIRLINE CODE',25 'CONNECTION ID',40 'FLIGHT DATE'.
    SELECT * FROM SFLIGHT WHERE CARRID IN CARRID1.
    WRITE:/10 SFLIGHT-CARRID,25 SFLIGHT-CONNID,40 SFLIGHT-FLDATE.
    HIDE SFLIGHT-CONNID.
    ENDSELECT.
    *END-OF-PAGE.
    END-OF-PAGE.
    WRITE:/64 'P.NO:',SY-PAGNO.
    *TOP-OF-PAGE.
    TOP-OF-PAGE.
    WRITE:/ 'THIS IS MY FIRST REPORTS PROGRAM.'.
    *START-OF-SELECTION.
    START-OF-SELECTION.
    DO 5 TIMES.
    WRITE:/ SY-INDEX.
    ENDDO.
    *THESE 3 STATEMENTS ARE FOR THE END-OF-PAGE CONTENTS IN LAST PAGE.
    DATA M TYPE I.
    M = SY-LINCT - SY-LINNO - 1.
    SKIP M.
    *AT LINE-SELECTION.
    AT LINE-SELECTION.
    CASE SY-LSIND.
    WHEN '1'.
    READ LINE SY-LILLI FIELD VALUE SFLIGHT-CONNID INTO VAR.
    SELECT * FROM SFLIGHT INTO CORRESPONDING FIELDS OF ITAB WHERE
    CONNID = VAR.
    WRITE:/ ITAB-CARRID,ITAB-PLANETYPE,ITAB-PAYMENTSUM.
    ENDSELECT.
    WRITE:/ VAR.
    SELECT * FROM SFLIGHT INTO CORRESPONDING FIELDS OF ITAB WHERE
    CONNID = SY-LISEL+24(4).
    WRITE:/ ITAB-CARRID,ITAB-PLANETYPE,ITAB-PAYMENTSUM.
    ENDSELECT.
    SKIP 1.
    WRITE:/ SY-LISEL+24(4).
    SELECT * FROM SFLIGHT INTO CORRESPONDING FIELDS OF ITAB WHERE
    CONNID = SFLIGHT-CONNID.
    WRITE:/ ITAB-CARRID,ITAB-PLANETYPE,ITAB-PAYMENTSUM.
    ENDSELECT.
    WRITE:/ SFLIGHT-CONNID.
    WHEN '2'.
    WRITE:/ SY-LILLI.
    WHEN '3'.
    WRITE :/ 'BHARAT'.
    ENDCASE.
    regards,
    bharat.
    keerthi kiran v...  
    Posts: 915
    Questions: 11
    Registered: 12/15/05
    Forum points: 1,078 
    Solved problem (10)
    Very helpful answer (6)
    Helpful answer (2)
       Re: ABAP Reports  
    Posted: Mar 21, 2007 5:29 AM    in response to: jita dash       Reply      E-mail this post 
    Hi ,
    chk this code for interactive report,this also covers totals concept
    *& Report ZTRAINING5_KEERTHI *
    REPORT ZTRAINING5_KEERTHI NO STANDARD PAGE HEADING
    LINE-SIZE 258
    LINE-COUNT 28(4).
    tables declaration *
    TABLES: VBAK,VBAP,VBUK,VBKD,TVKO,KNA1,MARA,KONV,T685T,TVKOV.
    data declaration *
    DATA: V_TAB LIKE SY-TABIX,
    V_KNUMV LIKE VBAK-KNUMV,
    L_TABIX LIKE SY-TABIX,
    DATE1 LIKE SY-DATUM.
    DATA: BEGIN OF IT_VBAK OCCURS 0,
    VBELN LIKE VBAK-VBELN,
    VKORG LIKE VBAK-VKORG,
    VTWEG LIKE VBAK-VTWEG,
    SPART LIKE VBAK-SPART,
    AUART LIKE VBAK-AUART,
    AUDAT LIKE VBAK-AUDAT,
    KUNNR LIKE VBAK-KUNNR,
    NETWR LIKE VBAK-NETWR,
    END OF IT_VBAK.
    DATA: BEGIN OF IT_VBAP OCCURS 0,
    VBELN LIKE VBAP-VBELN,
    POSNR LIKE VBAP-POSNR,
    MATNR LIKE VBAP-MATNR,
    ARKTX LIKE VBAP-ARKTX,
    KWMENG LIKE VBAP-KWMENG,
    WERKS LIKE VBAP-WERKS,
    LGORT LIKE VBAP-LGORT,
    NETPR LIKE VBAP-NETPR,
    END OF IT_VBAP.
    DATA: BEGIN OF IT_VBPA OCCURS 0,
    KUNNR LIKE VBPA-KUNNR,
    PARVW LIKE VBPA-PARVW,
    VBELN LIKE VBPA-VBELN,
    END OF IT_VBPA.
    DATA: BEGIN OF IT_VBKD OCCURS 0,
    BSTKD LIKE VBKD-BSTKD,
    BSARK LIKE VBKD-BSARK,
    POSNR LIKE VBKD-POSNR,
    END OF IT_VBKD.
    DATA: BEGIN OF IT_FINAL OCCURS 0,
    KUNNR LIKE VBAK-KUNNR,
    VBELN LIKE VBAK-VBELN,
    VKORG LIKE VBAK-VKORG,
    VTWEG LIKE VBAK-VTWEG,
    SPART LIKE VBAK-SPART,
    AUART LIKE VBAK-AUART,
    AUDAT LIKE VBAK-AUDAT,
    NETWR LIKE VBAK-NETWR,
    POSNR LIKE VBAP-POSNR,
    MATNR LIKE VBAP-MATNR,
    ARKTX LIKE VBAP-ARKTX,
    KWMENG LIKE VBAP-KWMENG,
    WERKS LIKE VBAP-WERKS,
    LGORT LIKE VBAP-LGORT,
    NETPR LIKE VBAP-NETPR,
    KUNNR1 LIKE VBPA-KUNNR,
    BSTKD LIKE VBKD-BSTKD,
    BSARK LIKE VBKD-BSARK,
    END OF IT_FINAL.
    DATA: BEGIN OF IT_KONV OCCURS 0,
    KNUMV LIKE KONV-KNUMV,
    KPOSN LIKE KONV-KPOSN,
    KSCHL LIKE KONV-KSCHL,
    KBETR LIKE KONV-KBETR,
    KWERT LIKE KONV-KWERT,
    END OF IT_KONV.
    DATA: BEGIN OF IT_TEXT OCCURS 0,
    KSCHL LIKE T685T-KSCHL,
    VTEXT LIKE T685T-VTEXT,
    END OF IT_TEXT.
    selection screen *
    PARAMETERS:P_VKORG LIKE VBAK-VKORG OBLIGATORY,
    P_VTWEG LIKE VBAK-VTWEG OBLIGATORY,
    P_SPART LIKE VBAK-SPART OBLIGATORY.
    SELECT-OPTIONS: S_AUDAT FOR VBAK-AUDAT ,
    S_VBELN FOR VBAK-VBELN ,
    S_KUNNR FOR VBAK-KUNNR ,
    S_MATNR FOR VBAP-MATNR.
    PARAMETERS: OPENORD RADIOBUTTON GROUP RAD1 DEFAULT 'X',
    ALLORD RADIOBUTTON GROUP RAD1.
    initialization *
    INITIALIZATION.
    DATE1 = SY-DATUM - 30.
    S_AUDAT-LOW = DATE1.
    S_AUDAT-HIGH = SY-DATUM.
    APPEND S_AUDAT.
    validations *
    AT SELECTION-SCREEN.
    validating sales org
    SELECT SINGLE VKORG FROM TVKO
    INTO TVKO
    WHERE VKORG = P_VKORG.
    IF SY-SUBRC <> 0.
    WRITE:/ 'Invalid sales organisation'.
    ENDIF.
    validating distribution channel.
    SELECT SINGLE VTWEG
    FROM TVKOV
    INTO TVKOV
    WHERE VTWEG = P_VTWEG.
    IF SY-SUBRC NE 0.
    WRITE:/ 'Invalid distribution channel'.
    ENDIF.
    validating division.
    SELECT SINGLE SPART
    FROM TVTA
    INTO P_SPART
    WHERE SPART = P_SPART.
    IF SY-SUBRC NE 0.
    WRITE:/ 'Invalid division'.
    ENDIF.
    validating customer.
    SELECT SINGLE KUNNR FROM KNA1
    INTO KNA1
    WHERE KUNNR IN S_KUNNR.
    IF SY-SUBRC NE 0.
    WRITE:/ 'Invalid customer'.
    ENDIF.
    validating material.
    SELECT SINGLE MATNR FROM MARA
    INTO MARA
    WHERE MATNR IN S_MATNR.
    IF SY-SUBRC NE 0.
    WRITE:/ 'Invalid MATERIAL NUMBER'.
    ENDIF.
    start of selection *
    START-OF-SELECTION.
    SELECT VBELN
    VKORG
    VTWEG
    SPART
    AUART
    AUDAT
    KUNNR
    NETWR
    FROM VBAK
    INTO TABLE IT_VBAK
    WHERE VBELN IN S_VBELN AND
    VKORG = P_VKORG AND
    VTWEG = P_VTWEG AND
    SPART = P_SPART AND
    AUDAT IN S_AUDAT AND
    KUNNR IN S_KUNNR .
    IF OPENORD = 'X'.
    LOOP AT IT_VBAK.
    READ TABLE IT_VBAK INDEX SY-TABIX.
    SELECT SINGLE VBELN FROM VBUK
    INTO VBUK
    WHERE VBELN = IT_VBAK-VBELN AND
    GBSTK <> 'C'.
    IF SY-SUBRC <> 0.
    DELETE IT_VBAK INDEX SY-TABIX.
    ENDIF.
    ENDLOOP.
    ENDIF.
    SELECT VBELN
    POSNR
    MATNR
    ARKTX
    KWMENG
    WERKS
    LGORT
    NETPR
    FROM VBAP
    INTO TABLE IT_VBAP
    FOR ALL ENTRIES IN IT_VBAK
    WHERE VBELN = IT_VBAK-VBELN AND
    MATNR IN S_MATNR.
    SELECT KUNNR
    PARVW
    VBELN
    FROM VBPA
    INTO TABLE IT_VBPA
    FOR ALL ENTRIES IN IT_VBAP
    WHERE VBELN = IT_VBAP-VBELN AND
    POSNR = IT_VBAP-POSNR AND
    PARVW = 'WE'.
    IF SY-SUBRC <> 0.
    SELECT KUNNR
    PARVW
    VBELN
    FROM VBPA
    INTO TABLE IT_VBPA
    FOR ALL ENTRIES IN IT_VBAP
    WHERE VBELN = IT_VBAP-VBELN AND
    POSNR = '000000' AND
    PARVW = 'we'.
    ENDIF.
    SELECT BSTKD
    BSARK
    POSNR
    FROM VBKD
    INTO TABLE IT_VBKD
    FOR ALL ENTRIES IN IT_VBAP
    WHERE VBELN = IT_VBAP-VBELN AND
    POSNR = IT_VBAP-POSNR .
    IF SY-SUBRC <> 0.
    SELECT BSTKD
    BSARK
    POSNR
    FROM VBKD
    INTO TABLE IT_VBKD
    FOR ALL ENTRIES IN IT_VBAP
    WHERE VBELN = IT_VBAP-VBELN AND
    POSNR = '000000' .
    ENDIF.
    LOOP AT IT_VBAK.
    L_TABIX = SY-TABIX.
    MOVE: IT_VBAK-KUNNR TO IT_FINAL-KUNNR,
    IT_VBAK-VBELN TO IT_FINAL-VBELN,
    IT_VBAK-VKORG TO IT_FINAL-VKORG,
    IT_VBAK-VTWEG TO IT_FINAL-VTWEG,
    IT_VBAK-SPART TO IT_FINAL-SPART,
    IT_VBAK-AUART TO IT_FINAL-AUART,
    IT_VBAK-AUDAT TO IT_FINAL-AUDAT,
    IT_VBAK-NETWR TO IT_FINAL-NETWR.
    READ TABLE IT_VBAP WITH KEY VBELN = IT_VBAK-VBELN.
    READ TABLE IT_VBAK INDEX L_TABIX.
    MOVE: IT_VBAP-POSNR TO IT_FINAL-POSNR,
    IT_VBAP-MATNR TO IT_FINAL-MATNR ,
    IT_VBAP-ARKTX TO IT_FINAL-ARKTX,
    IT_VBAP-KWMENG TO IT_FINAL-KWMENG,
    IT_VBAP-WERKS TO IT_FINAL-WERKS,
    IT_VBAP-LGORT TO IT_FINAL-LGORT,
    IT_VBAP-NETPR TO IT_VBAP-NETPR.
    READ TABLE IT_VBPA WITH KEY VBELN = IT_VBAK-VBELN.
    MOVE IT_VBPA-KUNNR TO IT_FINAL-KUNNR1.
    READ TABLE IT_VBKD WITH KEY POSNR = IT_VBAP-POSNR.
    MOVE: IT_VBKD-BSTKD TO IT_FINAL-BSTKD,
    IT_VBKD-BSARK TO IT_FINAL-BSARK.
    APPEND IT_FINAL.
    ENDLOOP.
    end of selection *
    END-OF-SELECTION.
    SORT IT_FINAL BY KUNNR VBELN.
    LOOP AT IT_FINAL.
    AT NEW KUNNR.
    NEW-PAGE.
    WRITE:/ SY-ULINE(255),/ SY-VLINE.
    FORMAT COLOR COL_POSITIVE.
    WRITE: 2 'customer no.',10 SY-VLINE,'sales doc.',25 SY-VLINE,'dis.ch.',
    30 SY-VLINE,'division',35 SY-VLINE,'salesordtype',50 SY-VLINE,'doc.date'
    ,62 SY-VLINE,'netvalue',85 SY-VLINE,'item no.',92 SY-VLINE,'materialno.'
    ,105 SY-VLINE,'item text',150 SY-VLINE,'ord.qty.',170 SY-VLINE,'plant',
    175 SY-VLINE,'sto.loc.',180 SY-VLINE,'net price',196 SY-VLINE,
    'ship2party',206 SY-VLINE,'pur.ord.',245 SY-VLINE,'purordtype' ,255
    SY-VLINE.
    WRITE:/ SY-ULINE(255).
    ENDAT.
    V_TAB = SY-TABIX MOD 2.
    IF V_TAB <> 0.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    ELSE.
    FORMAT COLOR COL_HEADING INTENSIFIED OFF.
    ENDIF.
    WRITE:/ SY-VLINE,2 IT_FINAL-KUNNR,10 SY-VLINE, IT_FINAL-VBELN,25
    SY-VLINE,
    IT_FINAL-VTWEG,30 SY-VLINE,IT_FINAL-SPART,35 SY-VLINE,
    IT_FINAL-AUART,50 SY-VLINE,IT_FINAL-AUDAT,62 SY-VLINE,IT_FINAL-NETWR,85
    SY-VLINE,IT_FINAL-POSNR,92 SY-VLINE,
    IT_FINAL-MATNR,105 SY-VLINE,IT_FINAL-ARKTX,150 SY-VLINE
    ,IT_FINAL-KWMENG,170 SY-VLINE,IT_FINAL-WERKS,175 SY-VLINE,
    IT_FINAL-LGORT,180 SY-VLINE,IT_FINAL-NETPR,196 SY-VLINE
    ,IT_FINAL-KUNNR1,206 SY-VLINE,IT_FINAL-BSTKD,245 SY-VLINE,
    IT_FINAL-BSARK,255 SY-VLINE.
    HIDE IT_FINAL-VBELN.
    WRITE:/ SY-ULINE(255).
    AT END OF KUNNR.
    SUM.
    WRITE:/ SY-VLINE,'TOTAL',63 IT_FINAL-NETWR,181 IT_FINAL-NETPR,255
    SY-VLINE.
    WRITE:/ SY-ULINE.
    ENDAT.
    ENDLOOP.
    AT LINE-SELECTION.
    AT LINE-SELECTION.
    CASE SY-LSIND.
    WHEN '1'.
    TO GET SECONDARY LIST
    PERFORM INTERACT.
    ENDCASE.
    *& Form interact
    text
    --> p1 text
    <-- p2 text
    FORM INTERACT .
    SELECT SINGLE KNUMV FROM VBAK
    INTO V_KNUMV
    WHERE VBELN = IT_FINAL-VBELN.
    SELECT KNUMV
    KPOSN
    KSCHL
    KBETR
    KWERT
    FROM KONV
    INTO TABLE IT_KONV
    WHERE KNUMV = V_KNUMV.
    SELECT KSCHL
    VTEXT FROM T685T
    INTO TABLE IT_TEXT
    FOR ALL ENTRIES IN IT_KONV
    WHERE KSCHL = IT_KONV-KSCHL AND
    SPRAS = SY-LANGU AND
    KVEWE = 'A' AND
    KAPPL = 'V'.
    CLEAR IT_KONV.
    CLEAR IT_TEXT.
    WRITE:/ SY-ULINE(72).
    FORMAT COLOR COL_NEGATIVE.
    WRITE:/ SY-VLINE,'COITEM',10 SY-VLINE,'RATE',28 SY-VLINE,
    'COND.VALUE',48 SY-VLINE,'NAME',72 SY-VLINE.
    WRITE:/ SY-ULINE(72).
    LOOP AT IT_KONV.
    L_TABIX = SY-TABIX.
    READ TABLE IT_KONV INDEX L_TABIX.
    READ TABLE IT_TEXT WITH KEY KSCHL = IT_KONV-KSCHL.
    L_TABIX = SY-TABIX MOD 2.
    IF L_TABIX <> 0.
    FORMAT COLOR COL_HEADING INTENSIFIED ON.
    ELSE.
    FORMAT COLOR COL_HEADING INTENSIFIED OFF.
    ENDIF.
    WRITE:/ SY-VLINE,IT_KONV-KPOSN,10 SY-VLINE, IT_KONV-KBETR,28
    SY-VLINE,IT_KONV-KWERT,48 SY-VLINE,IT_TEXT-VTEXT,72 SY-VLINE.
    ENDLOOP.
    WRITE:/ SY-ULINE(72).
    ENDFORM. " interact
    regards,
    keerthi
    Sankar M  
    Posts: 543
    Questions: 18
    Registered: 11/20/06
    Forum points: 622 
    Solved problem (10)
    Very helpful answer (6)
    Helpful answer (2)
       Re: ABAP Reports  
    Posted: Mar 21, 2007 5:39 AM    in response to: jita dash       Reply      E-mail this post 
    Hi,
    This is the very simple INTERACTIVE REPORT. It will help really helps to u to understand the concept.
    REPORT YMS_INTERACTIVETEST LINE-SIZE 50 NO STANDARD PAGE HEADING.
    TABLES: VBAP,KNA1,VBAK.
    SELECT-OPTIONS: CUST FOR KNA1-KUNNR.
    DATA: BEGIN OF ITAB OCCURS 0,
    KUNNR LIKE KNA1-KUNNR,
    NAME1 LIKE KNA1-NAME1,
    VBELN LIKE VBAK-VBELN,
    AUDAT LIKE VBAK-AUDAT,
    AUART LIKE VBAK-AUART,
    POSNR LIKE VBAP-POSNR,
    POSAR LIKE VBAP-POSAR,
    END OF ITAB.
    DATA: ITAB1 LIKE ITAB OCCURS 0 WITH HEADER LINE.
    INITIALIZATION.
    START-OF-SELECTION.
    SELECT KNA1KUNNR KNA1NAME1 INTO CORRESPONDING FIELDS OF TABLE ITAB1
    FROM KNA1 WHERE KNA1~KUNNR IN CUST.
    LOOP AT ITAB1.
    WRITE:/10 ITAB1-KUNNR HOTSPOT, 30 ITAB1-NAME1.
    HIDE: ITAB1-KUNNR.
    ENDLOOP.
    AT LINE-SELECTION.
    CASE SY-LSIND.
    WHEN '1'.
    SELECT KNA1KUNNR VBAKVBELN VBAKAUDAT VBAKERDAT INTO CORRESPONDING FIELDS OF TABLE ITAB1
    FROM KNA1 INNER JOIN VBAK ON KNA1KUNNR = VBAKKUNNR.
    LOOP AT ITAB1.
    WRITE:/ ITAB1-VBELN HOTSPOT, ITAB1-AUDAT, ITAB1-AUART.
    HIDE: ITAB1-VBELN, ITAB1-AUDAT, ITAB1-AUART.
    ENDLOOP.
    WHEN '2'.
    SELECT VBAKVBELN VBAPPOSNR VBAP~POSAR
    INTO CORRESPONDING FIELDS OF TABLE ITAB1 FROM VBAK INNER JOIN VBAP ON VBAKVBELN = VBAPVBELN.
    LOOP AT ITAB1.
    WRITE:/ ITAB1-POSNR, ITAB1-POSAR.
    ENDLOOP.
    ENDCASE.
    TOP-OF-PAGE.
    WRITE:/ SY-VLINE,TEXT-001 COLOR COL_NEGATIVE.
    ULINE.
    Thanks,
    Shankar
    jita dash  
    Posts: 8
    Questions: 3
    Registered: 3/20/07
    Forum points: 0 
       Re: ABAP Reports  
    Posted: Mar 21, 2007 1:05 PM    in response to: jita dash         Reply      E-mail this post 
    2-Created an interactive report to display details of vendor and all bank transactions done with the client.
    jita dash  
    Posts: 8
    Questions: 3
    Registered: 3/20/07
    Hi
    i want to know how to get the screen and solution in brief about the following:
    Message was edited by:
            jita dash

  • Transaction Launcher to launch a ABAP report

    I have to assign a SAP CRM ABAP report to Web UI. I am trying to create a Link using Transaction Launcher and in "Enter Further Technical Details" trying to use BOR Type as "ZTSTC"  and assign it Method "Execute" which i cannot find.
    SAP IMG help directs to use "TRDIR" for BOR type's which i cannot assign.
    Any help is greatly appreciated
    Thanks
    ARK

    Hi all,
    Iam trying to create a link for a CRM report program on web ui using transaction launcher wizard. In the 'Define Further Technical Details' i have entered the
    Transaction Type as 'BOR Transaction'
    Logical system : my  current system crm client which is QCCCLNT703
    BOR OBJECT TYPE : tstc_uif
    Method Name : EXECUTE
    When i try to click on  the report on WEB UI, it gives me a status message saying the ''RFC Destination is not set up for QCCCLNT703'.
    Can you please advice me on how to do this . I guess the issue is with the Logical system set up .
    My Task is to assign a custom CRM report on the web ui.

  • How to call ABAP report in portal

    Hi,
    I have a ABAP report which is created and i want to display this in Portal . Any idea how i can do the same. Please, give me all the details in step-by-step.
    Thanks & Regards,
    Ashish Mehta

    Hi,
       Try this:
    1. Create a transaction iView in the portal.
    2. Set the transaction to SE38.
    3. Declare Application Parameters as:
        RS38M-FUNC_EDIT=X;RS38M-PROGRAMM=<name of the report>
    4. Put this in the OK Code Field property: STRT.
    5. Set the System property to the portal system that points to the back-end R/3 system.
    6. Launch the iview.
    Regards,
    Satyajit.

  • ABAP Report as HTML

    Hello,
    we have a couple of ABAP reports that generate a traditional list (with WRITE) and now I have to convert the output as HTML and display it (perhaps) in a new window of the browser. I´m not sure if function WWW_LIST_TO_HTML can be very helpful for that purpose.
    Has any one experience in this field that can tell me a couple of tricks on how to do it the best way ?? The reports will be called from BSP pages, of course.
    Thanks a lot

    if your report dosent have parameters or you dont need to supply any parameter simply call the following url
    http://<wasserver>.xxx.com:<port>/sabp/bc/report?report=<your report>
    else follow the following link for details
    Re: Conversion ABAP Report to BSP Application
    Regards
    Raja

  • Pushbutton on the application bar on an abap report

    Hello All,
    I need to have a pushbutton (labelled Download) on the application bar on the abap report screen .
    This button should enable me to download the report contents in a file format (like excel).
    Please can you guys help me acheive this.How should the button with this functionality be placed in application bar?
    Thanks in advance for the kind help
    Swati

    Hi Swathi,
    In such case, as said above, create a new GUi status and then assign to the report using the below statement:
    AT PFnn.
    Effect
    This obsolete statement defines an event block whose event is triggered by the ABAP runtime environment during list display - provided the screen cursor is on a list line and a function is selected using the function code PFnn. Here nn stands for a number between 01 and 24. In the standard list status, these function codes are assigned to the function keys of the input device.
    Then what processing needs to be done when the user presses the button, will be written in the below control statement..
    AT USER-COMMAND
    Effect
    This statement defines an event block whose event is triggered by the ABAP runtime environment if, during the display of a screen list, a function with a self-defined function code was chosen.
    Note
    Self-defined function codes are all those that include character combinations, except for the following:
    The function codes "PICK" and "PFnn" ("nn"stands for 01 to 24) do not cause the event AT USER-COMMAND, but the events AT LINE-SELECTION and AT PFnn.
    All function codes that start with the character "%" are interpreted as system functions and do not cause the event AT USER-COMMAND. The system functions for lists are listed in the following table 1.
    The function codes in the following table 2, likewise, do not cause the event AT USER-COMMAND, but are handled by the list processor.
    Table 1
    Function code Function
    %CTX Call a context menu
    %EX Exit
    %PC Save to file
    %PRI Print
    %SC Search for ...
    %SC+ Find next
    %SL Search in office
    %ST Save to report tree
    Table 2
    Function code Function
    BACK Back
    P- Scroll to previous page
    P-- Scroll to first page
    P+ Scroll to next page
    P++ Scroll to last page
    PFILE name Store list lines in a text file named "abap.lst" in standard character representation in the standard directory of the application server. If a name is entered using name, this is converted to lowercase letters and used as the file name.
    PL- Scroll to first line of the page
    PL-n Scroll n lines back
    PL+ Scroll to last line of the page
    PL+n Scroll n lines up
    PNOP No effect
    PP- Scroll back one page
    PP-n Scroll n pages back
    PP+ Scroll one page forward
    PP+n Scroll n pages forwad
    PPn Scroll to beginning of page n
    PRI, PRINT Print
    PS-- Scroll to first column
    PS++ Scroll to last column
    PS- Scroll one column to the left
    PS-n Scroll n columns to the left
    PS+ Scroll one column to the right
    PS+n Scroll n columns to the right
    PSn Scroll to column n
    PZn Scroll to line n
    RW Cancel
    Example
    This program works with a self-defined GUI status MYLIST. The function that is linked there with the function code MY_SELECTION causes the event AT USER-COMMAND during list display and also creates details lists.
    REPORT demo_at_user_command.
    START-OF-SELECTION.
      SET PF-STATUS 'MYLIST'.
      WRITE 'List line'.
    AT USER-COMMAND.
      IF sy-lsind = 20.
        SET PF-STATUS 'MYLIST' EXCLUDING 'MY_SELECTION'.
      ENDIF.
      CASE sy-ucomm.
        WHEN 'MY_SELECTION'.
          WRITE: / 'You worked on list', sy-listi,
                 / 'You are on list', sy-lsind.
      ENDCASE.
    Regards
    Shiva

  • ABAP report using /BIC/ tables

    Hi Friends,
    Have anybody created ABAP reports in BI system using /BIC/ reports & What is the requirement?
    Please let me know.
    Thanks in advance,
    Beena

    Hi  kvbeena,
    it is not clear to me what do you mean by "creation of ABAP reports in BI system using /BIC/ reports"?
    In BW routines it is pretty common to read DSO objects by SELECT statements as described in forum referred above.
    Also you can use DDIC elements in your custom ABAP reports while creating data objects.
    Kindly specify your question in more detail.
    BR
    m./

Maybe you are looking for