Grids are missed in Hyperion reports

Hi Hyperion Report developers,
Could you please give me a solution to following issue,which is happened in hyperion financiial reporting studio.
I have created a one report with 6 grids and 2 charts.After i created the report iam able to see all grids except one grid which is missed.I understood that grid is existed in report and and it is not deleted from the report.How can i see the particular missing grid in report .Is there any soultion to find out?
Please let me know,if you need any further information regard this.
Regards,
Ram

This is my personal opinion. This is a software, written by software developers. It might be a bug. I don't think I would pursue it after 20 days. Rather create my new grid..
But, you could have a different opinion and might like to pursue it. Did you open a SR with Oracle?
Cheers
rS

Similar Messages

  • How to remove business area from the Hyperion report

    Hi All,
    Kindly tell me the steps required to remove the business area from the Hyperion report.
    Regards,
    Ajay

    s

  • When combining files, BOLD letters are missing throughout the report

    After OCR'ing and printing excel documents to my Adobe PDF printer, I try combining all the files and after completion I open the combined file and all the bold characters have missing letters, When I highlight the word and copy/paste, the word is there, just displays missing letters? Help.
    I have Windows 7 64-bit, Adobe Acrobat XI Standard, Office 2010 32-bit

    Karl's response in this question thread at Acrobat Answers may be helpful/informative.
    http://admin-answers.acrobatusers.com/QuestionDetail.aspx?questionId=109400 
    Be well...

  • Fields missing in MPD report after change to structure and program

    I have been working on a consistency report for transaction MPD.
    I had created a structure in SE11 for handling the data.  it was all working, but then i had to go and change the name of the fields in the structure.  Now those fields are missing from the report. 
    When i step through the debugger, all the fields are being populated correctly, but these fields are not displayed on screen.  if i change the field names back in the structure and change the code for populating these fields, they appear okay.
    i have created a custom implementation within BAdi MPD_WKB_REPORTING. 
    i have checked the config and it all points to my Z Structure and Z Table Type.  I have logged off and logged back on!  made sure my code is saved and activated...
    any ideas on how i can display these new fields names/values?
    Just for clarity, the field name has changed. not the linked data type.

    thanks for your response, however those notes and program have not done anything to assist my issue.
    i have found the anwser now!
    within the BAdi was a method i had to amend:  IF_EX_MPD_WKB_REPORTING~GET_ALV_PARAMETERS 
    all fixed now!

  • Some parameters are missing values

    I am trying to invoke a crystal report using JRC API. I am using Business Objects XI.
    When I try to invoke the report after setting all parameters I am getting an error message "Some parameters are missing values ". Here is how my JSP code looks like
    ReportClientDocument oReportClientDocument = new ReportClientDocument();
    oReportClientDocument.open(reportName, 0);
    CrystalReportViewer oCrystalReportViewer = new CrystalReportViewer();
    //set the reportsource property of the viewer
    oCrystalReportViewer.setReportSource(reportSource);
    //set viewer attributes
    oCrystalReportViewer.setOwnPage(true);
    oCrystalReportViewer.setOwnForm(true);
    //set the CrystalReportViewer print mode
    oCrystalReportViewer.setPrintMode(CrPrintMode.ACTIVEX);
    //refresh the CrystalReportViewer if necessary (only required once)
    if (session.getAttribute("refreshed") == null)
    oCrystalReportViewer.refresh();
    session.setAttribute("refreshed", "true");
    String userid="emagia";
    String password="emagia";
    String rptuserid="tjordan";
    String fromdate="07/01/2008";
    String todate="07/12/2008";
    ConnectionInfo ci = new ConnectionInfo();
    ci.setUserName(userid);
    ci.setPassword(password);
    ConnectionInfos connections = new ConnectionInfos();
    connections.add(ci);
    oCrystalReportViewer.setEnableLogonPrompt(false);
    oCrystalReportViewer.setDatabaseLogonInfos(connections);
    ParameterFieldDiscreteValue val1 = new ParameterFieldDiscreteValue();
    val1.setValue(rptuserid);
    Values vals1 = new Values();
    vals1.add(val1);
    ParameterField param1 = new ParameterField();
    param1.setName("User Id");
    param1.setReportName("");
    param1.setCurrentValues(vals1);
    Fields fields = new Fields();
    fields.add(param1);
    ParameterFieldDiscreteValue val2 = new ParameterFieldDiscreteValue();
    val2.setValue(fromdate);
    Values vals2 = new Values();
    vals2.add(val2);
    ParameterField param2 = new ParameterField();
    param2.setName("Date Range from");
    param2.setReportName("");
    param2.setCurrentValues(vals2);
    fields.add(param2);
    ParameterFieldDiscreteValue val3 = new ParameterFieldDiscreteValue();
    val3.setValue(todate);
    Values vals3 = new Values();
    vals3.add(val3);
    ParameterField param3 = new ParameterField();
    param3.setName("Date Range To");
    param3.setReportName("");
    param3.setCurrentValues(vals3);
    fields.add(param3);
    oCrystalReportViewer.setEnableParameterPrompt(false);
    oCrystalReportViewer.setParameterFields(fields);
    oCrystalReportViewer.processHttpRequest(request, response,getServletConfig().getServletContext(), null);
    oCrystalReportViewer.dispose();
    In the Tomcat log this is what I get
    - JRCAgent3 received request: refreshData
    - JRCAgent3 attempting to acquire license
    - JRCAgent3 successfully acquired license
    - JRCAgent3 releasing license
    - JRCAgent3 received request: getPromptConnInfos
    - JRCAgent3 received request: compoundRequest
    - JRCAgent3 received request: setSQLLogonInfoRequest
    - JRCAgent3 received request: setSQLLogonInfoRequest
    - JRCAgent3 received request: fetchReportPageRequest
    - JRCAgent3 attempting to acquire license
    - JRCAgent3 successfully acquired license
    - Logon: Connecting to database using local JNDI server ...
    - Connection Opened null
    - Connection opened (Connection:  databaseType=JDBC  serverName=reports_dsn.dsn  state=open  databaseDriverName=crdb_odbc.dll).
    - Report parameters is not valid
    - Report parameters is changed
    - Handling report parameters changes
    - Validating report parameters
    - com.crystaldecisions.reports.dataengine.l: Some parameters are missing values
    - The report requires parameter values that need to be supplied by the client before further processing
    com.crystaldecisions.reports.dataengine.l: Some parameters are missing values
         at com.crystaldecisions.reports.dataengine.j.a(Unknown Source)
         at com.crystaldecisions.reports.dataengine.a9.a(Unknown Source)
    Can anybody tell me why I am getting this error??
    Any help will be appreciated.

    The problem may be that you are setting your report date parameters as a string when you pass the value to the report.   If the JRC does not recognize the parameter value as the correct type, it will throw the error you see when trying to pass them to the report.
    If they are a date type or a date time type in the report, they must be set as such using the Java Calendar object.
    Below is an example of how one would pass a date parameter to a report:
    //DATE VALUE PARAMETER.
         Calendar calendar = Calendar.getInstance();
         calendar.clear();
         calendar.set(2004, 1, 17);
         Date dateParamVal = calendar.getTime();     
         pfieldDate.setName("dateParam");
         pfieldDVDate.setValue(dateParamVal);
         //Add the parameter field values to the Values collection object.
         vals5.add(pfieldDVDate);
         //Set the current Values collection for each parameter field.
         pfieldDate.setCurrentValues(vals5);
         //Add each parameter field to the Fields collection.
         //The Fields object is now ready to be used with the viewer.
         parameterFields.add(pfieldDate);
         //DATE-TIME VALUE PARAMETER.
         Calendar calendar2 = Calendar.getInstance();
         calendar2.clear();
         calendar2.set(2002, 5, 12, 8, 23, 15);
         Date dateTimeParamVal = calendar2.getTime();
         pfieldDateTime.setName("dateTimeParam");
         pfieldDVDateTime.setValue(dateTimeParamVal);
         //Add the parameter field values to the Values collection object.
         vals6.add(pfieldDVDateTime);
         //Set the current Values collection for each parameter field.
         pfieldDateTime.setCurrentValues(vals6);
         //Add each parameter field to the Fields collection.
         //The Fields object is now ready to be used with the viewer.
         parameterFields.add(pfieldDateTime);
         //TIME VALUE PARAMETER.
         Calendar calendar3 = Calendar.getInstance();
         calendar3.clear();
         calendar3.set(2002, 5, 12, 13, 44, 59);
         Date timeParamVal = calendar3.getTime();     
         pfieldTime.setName("timeParam");
         pfieldDVTime.setValue(timeParamVal);
         //Add the parameter field values to the Values collection object.
         vals7.add(pfieldDVTime);
         //Set the current Values collection for each parameter field.
         pfieldTime.setCurrentValues(vals7);
         //Add each parameter field to the Fields collection.
         //The Fields object is now ready to be used with the viewer.
         parameterFields.add(pfieldTime);
    Edited by: Merry Enns on Aug 5, 2008 8:11 PM

  • Crystal Report: ERROR - Some parameters are missing values

              mine report it possesses a single parameter ....
              this is the example of like tries of to change the value set up in the report...
              ERROR: Some parameters are missing values
              thanks help...
              EXAMPLE:
              <%@ page import="com.crystaldecisions.report.web.viewer.*"%>
              <%@ page import="com.crystaldecisions.report.htmlrender.*"%>
              <%@ page import="com.crystaldecisions.reports.reportengineinterface.*"%>
              <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.*"%>
              <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
              <%@ page import="com.crystaldecisions.common.keycode.*"%>
              <%@ page import="java.util.*"%>
              <%
              try {
              IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
              String report = "report/ReportParametro1.rpt";
              IReportSource reportSource = (IReportSource) rptSrcFactory.createReportSource(report,
              request.getLocale());
              Fields fields = new Fields();
              ParameterField pfield1 = new ParameterField();
              Values vals1 = new Values();
              ParameterFieldDiscreteValue pfieldDV1 = new ParameterFieldDiscreteValue();
              pfield1.setName("CICCIA");
              pfieldDV1.setValue("SELECT descrizione, validoDa, validoA FROM tariffari");
              pfieldDV1.setDescription("Query Dinamica....");
              vals1.add(pfieldDV1);
              pfield1.setCurrentValues(vals1);
              fields.add(pfield1);
              CrystalReportViewer viewer = new CrystalReportViewer();
              viewer.setReportSource(reportSource);
              // layout
              viewer.setOwnPage(true);
              viewer.setBestFitPage(true);
              viewer.setHasLogo(false);
              viewer.setHasRefreshButton(true);
              // group navigation
              viewer.setHasToggleGroupTreeButton(false);
              viewer.setDisplayGroupTree(false);
              // page navigation:
              viewer.setHasGotoPageButton(false);
              // print/export
              viewer.setHasExportButton(true);
              //viewer.setPrintMode(CrPrintMode.PDF);
              viewer.setPrintMode(CrPrintMode.ACTIVEX);
              viewer.setIgnoreViewStateOnLoad(true);
              viewer.setParameterFields(fields);
              viewer.setEnableParameterPrompt(false);
              viewer.refresh();
              viewer.processHttpRequest(request, response, getServletConfig().getServletContext(),
              out);
              viewer.dispose();
              }catch(Exception e){
              out.println("Errore " + e.getMessage());
              %>
              

    I am facing the same problem. After selecting an export option (PDF/RTF), the same error message is coming up.
              Also, what needs to be done for displaying export option of EXCEL?
              Thanks,
              Farzal

  • Some Line Items are missing in Standard SAP FI/CO Reports

    Dear All,
    while taking printout of SAP Standard FI/CO Reports some line items and total value are missing. E.g using TCODE FBL3N, it shows correct value after inserting selction inputs but when displaying it in spool request or taking print out it misses some line items and total value.
    Kindly help me in resolving the issue.
    Regards,
    Majid Khan

    Problem was caused by support pack SAPKB62063 and SAPKB62064.
    Apply OSS note 1100728 which was corrected in SAPKB62065.
    Giana

  • Few records are missing while downloading to a Spreadsheet  from a Report

    Dear Gurus,
    few records are missing while downloading to a Spread sheet from a Z report.  There are around 300 records, out of which 11 records are not appearing in Spreadsheet file after saving.  But, the funny thing is when i try to save in other format like, HTML or to a clip board all records are coming. 
    When asked, the ABAPer said -
        your report is coming correctly.  if the report is wrong then we can try checking some code in the Z report.  Saving it into Spread sheet is the standard program provided by SAP.
    He is also facing this problem for the first time.
    Can anybody help.
    Thanks in advance and u will get points if useful.
    Regards

    Hi,
    Few days back we got this kind of error, when i tried to down load the asset balances in excel format.
    It was observed that, for one of the asset description ends with cama",".  Due to this reason all other details has been stored in single cell.  Once we changed the master data of that asset, then we able to get the report properly.
    2) Some other time, when we tried to download material master details, for one of the material ... description not maintained.  this is another issue. After maintain the description problem got resolved.
    Hope this information will be helpful to u.

  • Crystal Report "some parameters are missing values" while exporting/printin

    I am able to pass parameters from a JSP to a crystal report through CrystalReportViewer and view the report. (I tried doing it using the code provided on this help forum. I was getting a message: "Some Parameters are missing values". I had to add 1 line: pfield1.setReportName(""); for every parameter field. And It worked..)
    Now I can see the "Print" and "Export" buttons. But when I try to print or export the report, I get the same message "Some Parameters are missing values".

    see posting "parameter driven export to excel" on April 26th

  • Where are Hyperion Reports 7.2 e-mails addresses stored?

    In Hyperion Reports 7.2, where are the e-mail addresses that you select to send output stored?<BR>Is there a way to export/import a list?<BR><BR>We just upgraded from Reports 2.6 and the users are complaining that the list has been wiped out.<BR><BR>Regards,<BR>Tom M.<BR>[email protected]<BR>Essbase 6.5.7<BR>

    Will,<BR><BR>Go to \\Hyperion\HyperionReports\lib\hr_global.properties on your report server. Open the file in a text editor and look for the SMTP settings section. There you should put the name or IP Address of the SMTP server. Restart your report services and you should be set to go. As far as the sending email account, from the Hyperion client, go into Preferences and input the email address you want to send with in the "Your email address" field. Now that will take care of sending emails from the client. If you plan to send reports via email from a batch file, it will default to a system account for the email, most email systems will not allow this so you will have to code the sending email address into your XML file used to send the batch. This is not overly obvious as the SENDER tag is not one of the defaults (don't ask me why) you need to go through the doc for an example or if you need one, send me an email and I can forward a sample to you.<BR><BR>HTH

  • My new tab page displays only an empty grid. Missing thumbnails -and- sites. I -think- my settings are correct. Please advise.

    My new tab page displays only an empty grid. Missing thumbnails -and- sites. I -think- my settings are correct. Please advise.

    What are the settings for clearing history when Firefox closes?
    Make sure that you do not clear the Browsing Cache as that will remove the thumbnails that are stored in it.

  • What are hyperion reports?

    Hi da,
    Iam just wondering what are Hyperion Reports? I mean to say what is called in Hyperion Reports in newer version ?
    In reporting and analysis I can see
    1. Financial Reporting
    2. SQR Production Reporting
    3.Interactive Reporting.
    So what is Hyperion Reports consists of? all these 3 reporting tools?
    And I would appreciate is there any usefull link or file to know what older versions are called in newer version (like Hyperion Aanlyzer is called in newer version Web Analysis).
    Thanks and Regards,
    Sri.

    Hi,
    They are all different reporting tools that you have mentioned which come under the banner of reporting and analysis, these can all be accessed from the workspace.
    I always consider hyperion reports to Financial Reporting, it did used to be called hyperion reports.
    Web Analysis used to be Analyzer
    The rest have kept the name the same.
    All high level information is available here
    http://www.oracle.com/appserver/business-intelligence/docs/hyperion-financial-reporting-datasheet.pdf
    http://www.oracle.com/appserver/business-intelligence/docs/hyperion-interactive-reporting-datasheet.pdf
    http://www.oracle.com/appserver/business-intelligence/docs/hyperion-production-reporting-datasheet.pdf
    http://www.oracle.com/appserver/business-intelligence/docs/hyperion-web-analysis-datasheet.pdf
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • How to report on machines that are missing an application?

    It seems to be a difficult task to report on PCs that are missing a specific exe or application. For example I ran a report and found 418 of 510 machines have the exe I am looking for. I manually merged the information on a page or 2 by printing both the device list and the list of machines with the exe. What I started to see is that some devices in the application report do not show up in the device report or in zcm for that matter and I am also finding some machines actually do have the update but do not show up on the application report. My comfort level in this reporting is not looking good seeing things not match up correctly.

    Originally Posted by mrhic
    I thought it hould be that simple but it kept returning a list of all applications in zen other than the one I was saying not = to. I will try again....
    Just to clarify what Andy said, the second report can reference the first report by using the criteria "Device" "not in report" "<first report name>". You don't need to export the first report and start merging stuff. There is a default report with ZCM 10.1.2 called "Reports --> Inventory Custom Reports --> Software Applications --> Workstations without antivirus software" which gives a good example of this.

  • Failed to export the report \n Crosstabs and OLAP grids are not supported in this export format

    Post Author: ajaymoudgil
    CA Forum: Other
    We are using Crystal Reports (Product Version: 11.0.0.1282). We encountered with a problem while we are going to export report in CSV (Separated Text). The report Contained Cross-Tab. Its Shows the Error Message u201CFailed to export the report \n Crosstabs and OLAP grids are not supported in this export formatu201D. Please find the attachment with this mail having screen shot for the same.
    We were able to export CSV (Separated Text) Format in Crystal Report Version 7 for the same report. Please let us know any way(s) so that we will successfully export the report in CSV (Separated Text) format in Crystal Reports version 11.
    Thanks,
    Ajay Sharma

    Hi Ludek ,
    Thanks for reply,
    I download CR2008 Redistribale & Installed it.
    But still I am getting following  error on client PC;
    at CrystalDecisions.ReportAppServer.ConvertDotNetToErom.ThrowDotNetException(Exception e)
       at CrystalDecisions.ReportSource.EromReportSourceBase.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.ExportToStream(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.ExportToDisk(ExportFormatType formatType, String fileName)
    Please  give  solution.
    Thanks

  • The columns are missed in Backgroup job in report program

    Hi experts,
        I have a report program and I  display it by WRITE statement. The total length of the report is about 550, and I set the line-size to 600. When I run it by backgroup job, it can not display the row completedly, the last  10 columns are missed. Do any one know what happpen and how I fixed it? Thanks in advance.
    Best Regards
    Joe

    Hi Kiran,
    I had completed the program and now I am showing you my solution in brief.
    I hvae two programs to meet the solution. First is ZSDR0087 and next is ZSDR0087_RAW_PROGRAM. The former program is just for the purpose of calliing latter program, and latter program is for handling the program logic. The transaction code link to ZSDR0087 They are using a same selection screen.
    Below is the cods of selection screen
    SELECTION-SCREEN BEGIN OF BLOCK sel1 WITH FRAME TITLE text-001.
    PARAMETERS: p_hbad TYPE /bluesky/cshbad-hbad OBLIGATORY MEMORY ID hba."#EC EXISTS
    SELECT-OPTIONS: s_airli FOR /bluesky/mdairlz-airline MODIF ID m4,
                    s_altp FOR /bluesky/mdairlz-altp MODIF ID m4,
                    s_kunnr FOR knvv-kunnr MODIF ID m4,
                    s_prsdt FOR /bluesky/fecpost-prsdt MODIF ID m4,
    *                s_atdat FOR /bluesky/fearde-atdat OBLIGATORY,
                    s_actyp FOR /bluesky/mdacrt-actyp MODIF ID m4,
                    s_mtmcat FOR /bluesky/mdacrt-mtomcat MODIF ID m4,
                    s_regid FOR /bluesky/mdreg-regid MODIF ID m4,
                    s_fenum FOR /bluesky/fehdr-fenum MODIF ID m4.
    PARAMETERS: p_en_ex TYPE c AS LISTBOX VISIBLE LENGTH 10 MODIF ID m4.
    SELECTION-SCREEN END OF BLOCK sel1.
    SELECTION-SCREEN BEGIN OF BLOCK run WITH FRAME TITLE text-003.
    PARAMETERS: p_imm RADIOBUTTON GROUP grp1 DEFAULT 'X' USER-COMMAND comm."Run the program immdiately and show report at frontend
    PARAMETERS: p_batch RADIOBUTTON GROUP grp1, "Run in backgroup job, the result will be saved at application server as .txt file
                p_file  TYPE g_type_file LOWER CASE MODIF ID m1. ".txt File name which will be saved in application server
    PARAMETERS: p_ser RADIOBUTTON GROUP grp1. "Read the data from .txt file in application server
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(14) text-004 FOR FIELD p_txt MODIF ID m2.
    PARAMETERS: p_txt  TYPE g_type_file LOWER CASE MODIF ID m2."Source .txt file in application server
    SELECTION-SCREEN COMMENT 50(14) text-005 FOR FIELD p_del MODIF ID m2.
    PARAMETERS: p_del AS CHECKBOX MODIF ID m2. "The .txt file will be deleted once the report is generated
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK run.
    SELECTION-SCREEN BEGIN OF BLOCK sel2 WITH FRAME TITLE text-002.
    PARAMETERS: p_xls AS CHECKBOX DEFAULT '' MODIF ID m3."Generate the excel file in frontend
    SELECTION-SCREEN END OF BLOCK sel2.
    Main Code in ZSDR0083
    REPORT  zsdr0087 MESSAGE-ID zbluesky_program LINE-SIZE 530 NO STANDARD PAGE HEADING."#EC *
    INCLUDE zsdr0087_top.
    INCLUDE zsdr0087_common_blk.
    INCLUDE zsdr0087_frm.
    START-OF-SELECTION.
      PERFORM handle_report.
    FORM handle_report .
      IF p_imm = 'X' OR p_ser = 'X'.
        PERFORM run_program_without_batch.
      ELSEIF p_batch = 'X'.
        PERFORM submit_to_batch.
      ENDIF.
    ENDFORM.                    " handle_report
    FORM run_program_without_batch .
      DATA: lv_answer TYPE c.
      IF p_ser = 'X' AND p_txt IS INITIAL.
        MESSAGE s029.
        EXIT.
      ENDIF.
      IF p_ser = 'X' AND p_del = 'X' AND p_xls = ''.
        PERFORM popup_to_confirm USING 'Delete file in server' "titlebar
                                       'The file in server will be deleted, are you going to save the data in Excel file&#65311;' "question
                                       'SAVE IN EXCEL'"the text in first button
                                       'ICON_XLS' "the icon for first button
                                       'Not Save'
                                       'ICON_WARNING'"the icon for second button
                                       '1'"default button
                                       'X'"display cancel button
                                CHANGING lv_answer.
        CASE lv_answer.
          WHEN '1'.
            p_xls = 'X'.
          WHEN '2'.
            p_xls = ''.
          WHEN 'A'.
            MESSAGE s032.
            EXIT.
        ENDCASE.
      ENDIF.
      SUBMIT zsdr0087_raw_program WITH p_hbad = p_hbad
                                  WITH s_airli IN s_airli
                                  WITH s_altp IN s_altp
                                  WITH s_kunnr IN s_kunnr
                                  WITH s_prsdt IN s_prsdt
                                  WITH s_actyp IN s_actyp
                                  WITH s_mtmcat IN s_mtmcat
                                  WITH s_regid IN s_regid
                                  WITH p_en_ex = p_en_ex
                                  WITH p_imm = p_imm
                                  WITH p_batch = p_batch
                                  WITH p_file = p_file
                                  WITH p_ser = p_ser
                                  WITH p_txt = p_txt
                                  WITH p_del = p_del
                                  WITH p_xls = p_xls
                                  AND RETURN.
    ENDFORM.                    " run_program_without_batch
    FORM submit_to_batch .
      DATA: lv_job_name TYPE tbtcjob-jobname,
            lv_job_number TYPE tbtcjob-jobcount.
      lv_job_name = p_file.
      TRANSLATE lv_job_name TO UPPER CASE.
      CALL FUNCTION 'JOB_OPEN'
        EXPORTING
          jobname          = lv_job_name
        IMPORTING
          jobcount         = lv_job_number
        EXCEPTIONS
          cant_create_job  = 1
          invalid_job_data = 2
          jobname_missing  = 3
          OTHERS           = 4.
      IF sy-subrc <> 0.
        MESSAGE e022.
      ENDIF.
      SUBMIT zsdr0087_raw_program WITH p_hbad = p_hbad
                                  WITH s_airli IN s_airli
                                  WITH s_altp IN s_altp
                                  WITH s_kunnr IN s_kunnr
                                  WITH s_prsdt IN s_prsdt
                                  WITH s_actyp IN s_actyp
                                  WITH s_mtmcat IN s_mtmcat
                                  WITH s_regid IN s_regid
                                  WITH p_en_ex = p_en_ex
                                  WITH p_imm = p_imm
                                  WITH p_batch = p_batch
                                  WITH p_file = p_file
                                  WITH p_ser = p_ser
                                  WITH p_txt = p_txt
                                  WITH p_xls = p_xls
                                  VIA JOB lv_job_name NUMBER lv_job_number
                                  AND RETURN.
      IF sy-subrc NE 0.
        MESSAGE e023 WITH 'zsdr0087_raw_program'..
      ENDIF.
      CALL FUNCTION 'JOB_CLOSE'
        EXPORTING
          jobcount             = lv_job_number
          jobname              = lv_job_name
          strtimmed            = 'X'
        EXCEPTIONS
          cant_start_immediate = 1
          invalid_startdate    = 2
          jobname_missing      = 3
          job_close_failed     = 4
          job_nosteps          = 5
          job_notex            = 6
          lock_failed          = 7
          OTHERS               = 8.
      IF sy-subrc NE 0.
        MESSAGE e025.
      ELSE.
        MESSAGE s026.
      ENDIF.
    ENDFORM.                    " submit_to_batch
    :OK, Below is main code in program ZSDR0087_RAW_PROGRAM
    REPORT  zsdr0087 MESSAGE-ID zbluesky_program LINE-SIZE 530 NO STANDARD PAGE HEADING."#EC *
    INCLUDE zsdr0087_top.
    INCLUDE zsdr0087_common_blk.
    INCLUDE zsdr0087_frm.
    START-OF-SELECTION.
      IF sy-tcode EQ 'SE38' OR sy-tcode EQ 'SA38'.
        MESSAGE s035.
        EXIT.
      ENDIF.
      CREATE OBJECT go_bluesky_program
        EXPORTING
          i_home_base = p_hbad.
      IF p_imm = 'X' OR p_batch = 'X'.
    ********  Get data from database
        PERFORM get_data_from_db.
        IF p_batch = 'X'.
    *******Save the data the server as .txt file, it will run at backgroup Job
          PERFORM save_data_to_server USING <gt_output>
                                            p_hbad
                                            gv_run_time
                                            gv_run_date
                                            sy-uname
                                            gv_top_folder
                                            p_file
                                            go_bluesky_program->gt_fieldcat_lvc.
          EXIT.
        ENDIF.
      ELSE.
    ******** Get data from server
        PERFORM get_data_from_server.
      ENDIF.
      IF <gt_output> IS ASSIGNED AND <gt_output> IS NOT INITIAL.
        IF p_xls = 'X' AND p_batch = ''.
          PERFORM output_excel.
        ENDIF.
        PERFORM display_report.
      ELSE.
        MESSAGE s004(zbluesky_program).
      ENDIF.
    If parameter p_batch is check, The subroutine save_data_to_server will save the internal table data as .txt file at server.This is run in backgroup.Please set your focus on the function module C13Z_TEXT_WRITE
    FORM save_data_to_server USING ut_internal_table TYPE STANDARD TABLE
                                   u_home_base
                                   u_run_time TYPE syuzeit
                                   u_run_date TYPE sydatum
                                   u_user TYPE syuname
                                   u_top_folder TYPE rsmrgstr-path
                                   u_filename   TYPE g_type_file
                                   ut_fieldcat_lvc   TYPE lvc_t_fcat.
      FIELD-SYMBOLS: <lt_table_dataset> TYPE STANDARD TABLE.
      DATA: lv_table_ref TYPE REF TO data.
      DATA: lv_filename TYPE rcgiedial-iefile.
      DATA: lv_file_pattern TYPE rsmrgstr-name.
      CALL METHOD go_bluesky_program->convert_data_to_dataset_format
        EXPORTING
          it_internal_table = ut_internal_table
          it_fieldcat_lvc   = ut_fieldcat_lvc
        IMPORTING
          et_table_ref      = lv_table_ref.
      ASSIGN lv_table_ref->* TO <lt_table_dataset>.
    *******Create file name
      PERFORM get_filename USING
                 u_home_base
                  u_user
                  u_run_date
                  u_run_time
                  u_filename
        CHANGING lv_filename
                 lv_file_pattern.
    ******Check filename again
      PERFORM check_filename_if_duplicate
                  USING
                     lv_filename
                     u_top_folder
                     lv_file_pattern.
    ******Create dataset path
      CONCATENATE u_top_folder lv_filename INTO lv_filename.
      CALL FUNCTION 'C13Z_TEXT_WRITE'
        EXPORTING
          i_file         = lv_filename
        TABLES
          i_textdata_tab = <lt_table_dataset>
        EXCEPTIONS
          no_permission  = 1
          open_failed    = 2
          ap_file_exists = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        MESSAGE e021.
      ENDIF.
    ENDFORM.                    " save_data_to_server
    If parameter p_ser is check, The subroutine get_data_from_server will read the data from .txt file in server and put it into internal table. Please focus on the DO looping in the subroutine.It is the codes for reading data from .txt file into internal table.
    FORM get_data_from_server .
      FIELD-SYMBOLS: <lt_table_dataset> TYPE STANDARD TABLE,
                     <ls_line_dataset> TYPE ANY,
                     <field_runtime> TYPE ANY,
                     <field_dataset> TYPE ANY.
      DATA: lv_table_ref TYPE REF TO data,
            lv_line_ref TYPE REF TO data.
      DATA: lv_file TYPE string.
      DATA: ls_file_record TYPE rsfillst.
      DATA: ls_fieldcat_lvc TYPE lvc_s_fcat.
      PERFORM build_output_table.
    ******Get the dataset format(all the fiels are CHAR type)
      CALL METHOD go_bluesky_program->convert_data_to_dataset_format
        EXPORTING
          it_internal_table = <gt_output>
          it_fieldcat_lvc   = go_bluesky_program->gt_fieldcat_lvc
        IMPORTING
          et_table_ref      = lv_table_ref.
      ASSIGN lv_table_ref->* TO <lt_table_dataset>.
      CREATE DATA lv_line_ref LIKE LINE OF <lt_table_dataset>.
      ASSIGN lv_line_ref->* TO <ls_line_dataset>.
      PERFORM get_file_record
                  USING
                     sy-mandt
                     sy-uname
                     p_hbad
                     gv_top_folder
                  CHANGING
                     ls_file_record.
      CONCATENATE ls_file_record-dirname ls_file_record-name INTO lv_file.
      OPEN DATASET lv_file FOR INPUT IN TEXT MODE ENCODING DEFAULT.
      IF sy-subrc NE 0.
        MESSAGE e030 WITH p_txt.
      ENDIF.
      DO.
        READ DATASET lv_file INTO <ls_line_dataset>.
        IF sy-subrc EQ 0.
          IF <ls_line_dataset> IS NOT INITIAL.
            APPEND <ls_line_dataset> TO <lt_table_dataset>.
            CLEAR <ls_line_dataset>.
          ENDIF.
        ELSE.
          EXIT.
        ENDIF.
      ENDDO.
      CLOSE DATASET lv_file.
      IF p_del = 'X'.
        DELETE DATASET lv_file.
      ENDIF.
    *  break chengr.
      LOOP AT <lt_table_dataset> ASSIGNING <ls_line_dataset>.
        LOOP AT go_bluesky_program->gt_fieldcat_lvc INTO ls_fieldcat_lvc.
          ASSIGN COMPONENT ls_fieldcat_lvc-fieldname
                             OF STRUCTURE <ls_line_dataset> TO <field_dataset>.
          ASSIGN COMPONENT ls_fieldcat_lvc-fieldname
                             OF STRUCTURE <gs_output> TO <field_runtime>.
          <field_runtime> = <field_dataset>.
        ENDLOOP.
        APPEND <gs_output> TO <gt_output>.
      ENDLOOP.
    At last, I think you understand how to display it in ALV .

Maybe you are looking for

  • Premiere CS6 crashing when I move clips in the timeline

    This error box appears when I try to move things around in the timeline. I'm not exactly sure where to start so I don't know what to troubleshoot. Anyone ever get this before?

  • Jtds classpath in executable jar

    how can i point to jtds-1.0.2.jar with classpath in an executable jar with just one class file it was this batch file:javac Dbase.java java -classpath .;jtds-1.0.2.jar Dbase pause

  • Version 6.84 produces many Event Logs

    I have just updated from 6.83 to 6.84 and, although the software appears to be working fine, I am getting several events logged in the Application Event Log when my 6131 synchronises. Event 1004 User NT AUTHORITY\NETWORK SERVICE Detection of product

  • How to avoid leaving a gap when closing tabs on Firefox 5?

    Hello, I want to disable a new feature on Firefox 5. Or, at least, I don't recall it being a feature on Firefox 4. When I have various tabs open, and close one of them, they go to the left, leaving a gap to the right that will be filled the time I mo

  • NationalInstruments.visans ver 8.0.20.177 location

    Good afternoon, I have inherited a tsw project that has sequences with code behind that is referencing NationaInstruments.visans version 8.0.20.177. I am using Labwindows 8.0.1, Measurement studio,  and test stand 3.5. Where can I locate the driver f