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

Similar Messages

  • How to Show Clob File in Report 6I ?

    Hi i want to know how to show clob file in report 6i
    Regards
    Shahzaib ismail

    In this situation I do not use headers at all. Insted of that I use union in a query :
    select 'Firstname','Salary'
    from dual
    union all
    select firstname, to_char(salary)
    from employee;
    The first record will work as header
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Suneel Vishwakarma ([email protected]):
    Hello,
    I want to generate excel format of my report. I did it using Delimited option but it was not same as it appears in my browser if I choose html format.all the labels repeat with each instance of the row .
    Can you please give me the proper Solution.How should I proceed?
    Thanks & Regds.
    Suneel<HR></BLOCKQUOTE>
    null

  • How to resolve "Internal error: ABAP Report  cannot be loaded" error

    Hi All,
    I am new to SAP.Please help me out from this problem.
    When I am trying to debug BSP page, in debugging mode it shows "Internal error: ABAP Report  cannot be loaded" error and then dumps.
    In transaction ST22 it shows this dump something like this
    Runtime Errors         MESSAGE_TYPE_X
    The current application program detected a situation which really
    should not occur. Therefore, a termination with a short dump was
    triggered on purpose by the key word MESSAGE (type X).
        1 FUNCTION AC_SYSTEM_FLUSH .
        2 *"----
        3 ""Lokale Schnittstelle:
        4 *"  IMPORTING
        5 *"     VALUE(CALLED_BY_SYSTEM) TYPE  C OPTIONAL
        6 *"  EXCEPTIONS
        7 *"      CNTL_SYSTEM_ERROR
        8 *"      CNTL_ERROR
        9 *"----
       10   data: sysubrc like sy-subrc.
       11
       12   CALL FUNCTION 'AC_FLUSH_CALL'
       13        EXPORTING
       14             SYSTEM_FLUSH = 'X'
       15             CALLED_BY_SYSTEM = CALLED_BY_SYSTEM
       16        IMPORTING
       17             MESSAGE_NR   = sysubrc
       18             MESSAGE_TEXT = SY-MSGLI.
       19
       20   sy-subrc = sysubrc.
       21
       22   CASE SY-SUBRC.
       23     WHEN 0.
       24     WHEN 1.
       25 *     system_error
       26       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 007 RAISING CNTL_SYSTEM_ERROR.
       27     WHEN 2.
       28 *     method_call_error
    >>>>>       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
       30     WHEN 3.
       31 *     property_set_error
       32       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
       33     WHEN 4.
       34 *     property_get_error
       35       MESSAGE ID 'CNDP' TYPE 'X' NUMBER 006 RAISING CNTL_ERROR.
       36     WHEN OTHERS.
       37       RAISE CNTL_ERROR.
       38   ENDCASE.
       39
       40 ENDFUNCTION.
    Thanks in advance
    Sunil Choudhury

    Hi Sunil,
    The reason for this could be anything, anyways look up for an OSS note with the error message first.
    As a workaround, you can try to use the classic debugger instead of the new ABAP debugger and see if it works.
    You should be logged into SAP via SAP GUI when you are debugging BSP.
    Regards
    Chen

  • How to Freeze Headers of tabular report and Forms - and Column Alignment

    I have executed the solution listed in the following thread in my tabular form.
    Re: How to freeze Headers of tabuar report and Forms in APEX 4.1
    This works pretty well in my tabular form, but I do have a question and was wondering if the forum users can shed some light.
    The tabular form has some display only fields and some editable fields. For example, columns A - G are display only fields (Display as Text - escape special characters, does not save state) and other fields that come after are editable. When there is data in the display only filed, every thing looks fine - column headers are aligned with the tabular form column data. But when there is no data in, one or more of, these display only fields, the tabular form columns/data shift to the left and now the column header does not align with the column data.
    Following are the specifics
    Full APEX version - 4.0.2.00.07
    Full DB/version/edition/host OS - 11g
    Web server architecture (EPG, OHS or APEX listener/host OS) - HTTP Server OAS
    Browser(s) and version(s) used - IE 8
    Theme - Sand-10
    Template(s) - was using the Standard Report (then created the one found in the thread listed above and substituted with the new one)
    Region/item type(s) - Chart Region
    Links to related posts and threads (using the methods in the FAQ) - Re: How to freeze Headers of tabuar report and Forms in APEX 4.1
    How do I set the column widths so the column header aligns with the column data?
    Thanks,
    DP
    Edited by: DP on Dec 13, 2012 3:09 PM

    Hello DP,
    >
    The tabular form has some display only fields and some editable fields. For example, columns A - G are display only fields (Display as Text - escape special characters, does not save state) and other fields that come after are editable. When there is data in the display only filed, every thing looks fine - column headers are aligned with the tabular form column data. But when there is no data in, one or more of, these display only fields, the tabular form columns/data shift to the left and now the column header does not align with the column data.
    Full APEX version - 4.0.2.00.07
    Browser(s) and version(s) used - IE 8
    How do I set the column widths so the column header aligns with the column data?
    >
    As right now I don't have the APEX and browser versions mentioned, I will set up the environment and look for the issue faced by you.
    Regards,
    Kiran

  • How to display barcode in ABAP report

    Hi Experts,
    I want to display the barcode of process order number in ABAP report without using SAP script or smart form. Please let me know how is it possible to display and print the barcode in the ABAP report.
    Thanks in advance.

    Hi,
    Please follow the links below
    Re: Bar Code  Generation in ABAP Report
    Create Barcode in ABAP : conversion to PDF
    also chk the link below, It also gives info about barcodes..
    http://www.mecsw.com/info/appnote/app_024.html
    hope it helps
    Regards,
    Manish

  • How to show more than one report in a same Viewer or Form

    Dear all,
    I have develop many reports with CrystaReport XI and I'm using the CrystalReportViewer to show each of them in VB6. My Question is: Can I show more than one report in a same Viewer? if i need to show the report1.rpt and report2.rpt in a same window how can I do it?
    Sérgio Salazar - Brazilian VB developer

    No and Please re-post if this is still an issue to the Legacy Application Development SDKs Forum or purchase a case and have a dedicated support engineer work with you directly

  • How to show more than one report in a same Form

    Dear all,
    I have develop many reports with CrystaReport XI and I'm using the CrystalReportViewer to show each of them in VB6. My Question is: Can I show more than one report in a Viewer? if i need to show the report1.rpt and report2.rpt in a same window how can I do it?
    Sérgio Salazar - Brazilian VB developer

    I once had a project which involved alot of reports and on my mind I had the same idea; to display all reports with only one crviewer but was not able to. Instead what Idid was to create say 10 forms with a viewer on each and if the user wanted to produce extra reports, they had to close some of them. This worked out for me.

  • How to show view tab Main Report and all of Sub Report in one action through Visual FoxPro

    How to show all view tab (Main Report and all of Sub Report) in one action.
    I already know how to show Main Report with this code sample:
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=this.Parent.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    Inside the 'MyReport.rpt' it has 2 subreports:
    1. MySubReport_1
    2. MySubReport_2
    I try to show MySubReport_1 and MySubReport_2 together with their own Main Report with this code sample:
    oRptRun=createobject("CrystalRuntime.Application")
    oRptView=this.Parent.oleRptViewer
    oRptOpen=oRptRun.OpenReport('MyReport.rpt')
    oRptSub1=oRptOpen.OpenSubreport('MySubReport_1')
    oRptSub2=oRptOpen.OpenSubreport('MySubReport_2')
    oRptView.ReportSource=oRptOpen
    oRptView.ViewReport
    Did I miss something because there was only view tab 'Preview' (Main Report) shown without view tab MySubReport_1 and MySubReport_2.
    Thank you.

    Your right, there is only one tab to view the report.
    To open the subreports you will need to click on them in the main report. I don't know of a way to open them programmatically like you are doing here
    http://diamond.businessobjects.com/robhorne</a>

  • How to translate std. ABAP report in german language to English in SAP

    Dear All,
    How to translate std. ABAP code in German language to English in SAP ?

    Hi,
    code does not need to be translated.
    Data elment descriptions, documentation, text elements, etc. can be translated in the transaction se63.
    Also you can translate almost each single object in the editor in the menue  goto-translation.
    Regards,
    Gianpietro

  • How to show paramerts value on Report

    Hello,
    I have created 4 parameters and added the parameters into the Report>Selection Formula>Record and tested the report which is working with no problem.
    How I can print the parameters the users selected on the report? I would like the parameters values selected to print on one of thage page headers selected.
    I have the following parameters:
    ShcheduleNo
    FromItem_ToItem
    FromLocation_ToLocation
    FromDate_ToDate
    FromItem_ToItem, FromLocation_ToLocation, and FromDate_ToDate parameters are setup as Dynamic, and change the value option for range to "true".
    I am using Crystal Reports 12.0.0.683.
    Thanks,
    J
    Edited by: J K on Dec 3, 2008 6:17 PM

    I did that but they don't appear.
    The user will get a prompt to make the following selection
    Schedule Number - A drop down list showing available schedules
    Item Number - This allows from item to item selection.
    Location - THis allows from location to location selection.
    Date - This allows from date to date selection.
    Thanks,
    J

  • How to show duplicate data in reports

    Hi experts,
    I need to show duplicate data also in my reports.
    1. I have removed Distinct in advance tab in report.
    2. In rpd unchecked the distinct supported.
    still i am not getting the duplicate records. report is showing distinct data only...how can we resolve this...
    Thanks,
    F

    Hi,
    Is BI show
    jan-08 customer 001 amount 200
    or
    jan-08 customer 001 amount 100 ?
    What is the aggreagation for amount?
    If it is sum then it shoud be 200 for amount.
    is there a column in your table that is different for those 2 lines with jan-08 customer 001 amount 100 like an ID or something?
    if yes then add that id in you dimmension table and then in your report.
    In this case you will get those 2 lines.
    There is another way but I know it shoudn't be used. To set none for aggregation rule.
    Regards
    Nicolae

  • How to Insert picture in Database & how to Show this picture in Report/form

    Hi
    I have create a table and want to insert picture in this table in Blob format and also want to show this picture in Form / Reports
    Regards
    Shahzaib ismail

    Hi Shahzaib,
    create table
    graphics_table
    bfile_id number,
    bfile_desc varchar2(30),
    bfile_loc bfile,
    bfile_type varchar2(4)
    SQL> INSERT INTO graphics_table
    2 VALUES(4,'April Book of Days Woodcut',bfilename('GIF_FILES','APRIL.JPG'),'JPEG');
    1 row created.
    In this way you can inserrt picture inside the database.
    Regards
    Rajat

  • How to print Headers for Delimited Report?

    Hello,
    I am able to generate a Delimited report. Report is running and saving to a specified folder as a ASCII file(.txt). I can open that file using Excel and every thing looks good. But the problem is with the headers, to the columns. I would like to print the Header to each column. Other wise we do not know which column is which. Any kind of feed back is greatly appreciated.
    Thanks,
    EV

    If you're using 6i Patchset 11, you might like to take a look at the "delimiteddata" command line option rather than using "delimited" output.
    "delimiteddata" is driven from the data model and you can specify which columns you want to include and also define the column header values in the same fashion as the XML tags.
    You should be able to get more details from Metalink.

  • How to show select option on report

    Using the excel based bex tool is there a way to show what the user picked in the select-option on the report so when the print it.
    Thanks

    Hi Richard,
    check the "Display text elements"- option in Bex. If I understanf correctly this is what you are looking for.
    Go to "Business Explorer" -> "Layout" - "Display Text elements"
    Regards,
    Michael
    Message was edited by: Michael S

  • How to show the chart(of report header) in drill down tab

    Hello all,
    i have a subreport with a chart in report header,which has drill down functionality, my requirement is the chart should be visible in drill down tab.
    thanx in advance.

    Hi,
    I believe you need to go into File -->  Report Options and select 'Show All Heades On Drill Down'.
    Michael.

Maybe you are looking for

  • I have bogus charges on my bank account. How can I get help from Itunes customer service? Been in an insane loop here.

    There are two charges on my bank account that I did not make. When I look at my ITunes account there are no purchases showing. So why is I tunes charging my account for a total of $17.00. You would think if someone was using my account, there would b

  • Remove method of array

    Implement the following method in the class Project 11 to return a new array that contains all the elements of the array a not in b. Public static int [] remove (int[] a, int[] b) For example, if the array a is {5,3,2,7,1} and the array b is {8,2,5}

  • Return String from Oracle stored proc using Excel 2003 VBA

    Hi to everyone, I've got a problem that remains unsolved for many days. I am trying to return a value of an oracle stored procedure using Excel VBA. It might seem trivial, however it's not for someone, who has never done it before... OS: Win XP SP3 E

  • Showing hidden files white screen upon restart

    I put in the command to show hidden files and restarted my iMac. It only shows a white screen. Completely blank. How do I fix it? It runs on Lion and has a Time Machine backup.

  • Trying to update iphone to Ios 5

    I first updated my itunes as requested, then restarted computer, and then set to download the new update. It has downloaded fine but when I am getting ready to update it starts the back up for my phone and stops not even 25% in and states an error ha