How to display 16 weeks data in the output of the query

Hi experts,
I have to display 16 weeks data from current week(Thursday to wednesday).
           (19/07/07 - 12/07/07) (11/07/07 - 6/07/07) like these 16 weeks
                         sales                       sales
product1              200                         300
product2              400                         500
I have to use text variable on createddate char but I do not know how to implement
the above scenerio.
Guru's please help me.
Thanks & Regards,
James.

sure james ..
chk these links..
text var..
http://help.sap.com/saphelp_nw04s/helpdata/en/85/e0c73cccbdd45be10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw70/helpdata/en/c1/759b3c4d4d8d15e10000000a114084/frameset.htm
chk thisthread too..
Re: Problem with the text variable
and for replacement paths..
http://www.sd-solutions.com/documents/SDS_BW_Replacement%20Path%20Variables.html
hope it helps...

Similar Messages

  • ALV: how to display only subtotals and total rows in the output

    ALV: how to display only subtotals and total rows in the output
    i am getting output
    i am getting subtotals for respective fields
    but i want to display only subtotals and totals rows in the output
    i have tried the
    totals_only   parameter in slis_layout_alv
    but it is not working.

    hi,
    For TOTAL
    For the amount field / quantity field in the field catalog give DO_SUM = 'X'    for WHOLE total
    For SUBTOTAL
    For subtotal you will have to create an internal table sort..Let's say you want to do subtotal for each customer..
    DATA: lt_sort type SLIS_T_SORTINFO_ALV,
    ls_sort type slis_sortinfo_alv.
    CLEAR ls_sort.
    ls_sort-spos = 1.
    ls_sort-fieldname = 'Give the field name that you do the sum'.
    ls_sort-up = 'X'.
    ls_sort-subtot = 'X'.
    APPEND ls_sort TO lt_sort.
    fieldcatalog-do_dum = 'X'.
    for subtotals
    WA_SORT-FIELDNAME = 'ERSDA'.
    WA_SORT-SPOS = '2'.
    WA_SORT-UP = 'X'.
    WA_SORT-SUBTOTAL = 'X'.
    APPEND WA_SORT TO IT_SORT.
    Refer
    http://help.sap.com/saphelp_erp2004/helpdata/en/ee/c8e056d52611d2b468006094192fe3/content.htm
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/doesnt-function-event-subtotal_text-in-alv-713787
    regards,
    Prabhu
    reward if it is helpful

  • How to display no data found in RTF template ? XML Publisher

    Hi
       I have xml file, how to display no data found in RTF template ? XML Publisher ?
    This is the XML File
    <?xml version="1.0" encoding="UTF-8"?>
    <INVALIDSERIALPRODUCT>
    <P_ORG_CODE></P_ORG_CODE><P_DATE_RANGE_FROM></P_DATE_RANGE_FROM><P_DATE_RANGE_TO></P_DATE_RANGE_TO><P_ITEM_NUMBER>VIR</P_ITEM_NUMBER><P_LOT_NUMBER></P_LOT_NUMBER><P_RMA_NUMBER_FROM></P_RMA_NUMBER_FROM><P_RMA_NUMBER_TO></P_RMA_NUMBER_TO><P_CUSTOMER_NAME></P_CUSTOMER_NAME><P_EMAIL></P_EMAIL>
    <G_SNQ>
    <USER_NAME>NSAWHNEY</USER_NAME>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000004</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T05:13:05.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000004</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T05:52:23.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000016</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T05:53:06.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>011000000011</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T06:09:16.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number does not exist in Axway Track-n-Trace</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000021</SERIAL_NUMBER>
    <RMA_NUMBER>8200000106</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T06:11:09.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000001</SERIAL_NUMBER>
    <RMA_NUMBER>8200000066</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T06:46:04.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000001</SERIAL_NUMBER>
    <RMA_NUMBER>8200000066</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T07:08:21.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>00000000004 </SERIAL_NUMBER>
    <RMA_NUMBER>8200000066</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T07:13:05.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Unknow Error </REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000011</SERIAL_NUMBER>
    <RMA_NUMBER>8200000101</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-11T19:32:00.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000004</SERIAL_NUMBER>
    <RMA_NUMBER>8200000107</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-14T02:49:40.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000092</SERIAL_NUMBER>
    <RMA_NUMBER>8200000109</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-14T07:52:22.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000031</SERIAL_NUMBER>
    <RMA_NUMBER>8200000109</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-15T02:24:27.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000034</SERIAL_NUMBER>
    <RMA_NUMBER>8200000109</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-15T02:30:28.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Catchall fault scope has been executed</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000010</SERIAL_NUMBER>
    <RMA_NUMBER>8200000114</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-15T03:36:18.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    <G_SN>
    <ITEM_NUMBER>VIR823010</ITEM_NUMBER>
    <DESCRIPTION/>
    <LOT_NUMBER>Viread 245mg,Korea</LOT_NUMBER>
    <SERIAL_NUMBER>000000000158</SERIAL_NUMBER>
    <RMA_NUMBER>8200000114</RMA_NUMBER>
    <CUSTOMER_NAME>Yuhan Corporation Korea</CUSTOMER_NAME>
    <COUNTERFEIT_CHECK_DATE>2014-07-15T04:19:48.000-07:00</COUNTERFEIT_CHECK_DATE>
    <REASON>Serial number and lot combination not valid in Axway Track-n-Trace.</REASON>
    </G_SN>
    </G_SNQ>
    </INVALIDSERIALPRODUCT>
    thanks
    nks

    This is the General XML forum.
    The homepage description says :
    Discussion of the general XML language, standards (XSLT, XQuery, XMLSchema, etc.) and application management issues, suggestions and tips.
    The BI Publisher forum is here :BI Publisher
    So please mark this post as answered and ask again over there.

  • How to display all data on one page in web app

    Hello.
    So I have web app JSF (IceFaces framework) + JBoss all Crystal Report working perfectly. So I have page with Crystal Report tags (e.g.
    <bocrv:reportPageViewer reportSource="#{crystalReport.reportPath}" ...
    in this report I have table with some data (data from DB) and I want to display this data on one page. Unfortunately now this data are moving to the next page and unfortunately I even donu2019t know how switch to the next page (I see only info e.g. 1with 2).
    So how to display this data on one page if its impossible how to torn on pagination.

    So I canu2019t do this, I canu2019t display all data on one page (until Iu2019m using JSF tags)?
    In JSF tags Iu2019m setting only path to file. In my bean Iu2019m using u201CReportClientDocumentu201D object itu2019s easy way to load report file (u201Copenu201D method) and set parameters (u201CgetDataDefController().getParameterFieldController()u201D method) and also connect to data base (u201Clogonu201D method) but I havenu2019t this property u201CsetSeparatePages(boolean)u201D.
    Maybe Iu2019m doing this wrong and there is a simpler way maybe I can use somehow u201CCrystalReportVieweru201D please give my any advice.

  • SVG Pie chart : how to display no dat found message

    Hello,
    I have a SVG pie chart and written a message 'no data found' under charts attributes.
    If there is no data for the chart,
    In IE :the chart region will be blank . chart heading will be displayed and . no 'no data found ' message is displayed.
    In mozilla : in the chart region, i can see ,the part of whole page where i display the chart ,is filled . Chart region heading is also displayed.
    Could you please reply , how to display 'no data found ' in svg pie chart?
    Thanks in advance.
    Regards,
    Archana

    Hello,
    I have a SVG pie chart and written a message 'no data found' under charts attributes.
    If there is no data for the chart,
    In IE :the chart region will be blank . chart heading will be displayed and . no 'no data found ' message is displayed.
    In mozilla : in the chart region, i can see ,the part of whole page where i display the chart ,is filled . Chart region heading is also displayed.
    Could you please reply , how to display 'no data found ' in svg pie chart?
    Thanks in advance.
    Regards,
    Archana

  • How to display current date in query header?

    Hi,
    How to display current date in query header?
    I use Query Designer for development.
    Thanks,
    Arun KK

    Hi Arun,
    You can define fixed header lines and footer lines so that when you generate the query list, they can receive current values of certain fields. When you define a header line or a footer line, you must specify a character string of the type &field, where field is the short name of a field.
    This function allows you (for example) to place a sort criterion in the header line.
    You can include the following fields as variables in the headers directly:
    %NAME
    Name of the user processing the query
    %DATE
    Current date
    %TIME
    Current time
    %PAGE
    Current page number (6 characters)
    %P
    Current page number (3 characters)
    These fields can be used in the short forms N,D,T and P. If you want to use these letters as short names for query fields, the field values from the query are used.
    You can also see the link
    [http://help.sap.com/saphelp_nw70/helpdata/EN/6e/dd68721faf11d6b1d500508b6b8b11/frameset.htm]
    Regards,
    NR

  • How to display table data without  using ALV  and table element.

    Hi,
            Its possible to display table data without using ALV  and table element.
           Every time i am fetching data based on (customer,status) fields and displaying these data in my output using alv
           (every time i am fetching single row data ),
           But problem is alv occupying more space in the output , i want to display data part only i dont want field names,
           settings and header data etc..things.
          Give solution to  display data part..
    Regards,
    Rakhi.

    Hi,
    Does you mean that you need ALV without default Function Toolbar...? If this is the case, the easy solution would have been to use Table Element rather. But, if you need to use ALV only without Function Toolbar, you can do away with that as well.
    In that case, after calling GET_MODEL, you need to add few more lines of codes to achieve your goal. Those lines are --
      DATA LV_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
        LV_VALUE = LO_INTERFACECONTROLLER->GET_MODEL(
    * Standard Filter Function setting to FALSE
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_COMPLEX_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_FILTER_FILTERLINE_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_DISPLAY_SETTINGS_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_VIEW_LIST_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_SORT_HEADERCLICK_ALLOWED( ABAP_FALSE ).
        LV_VALUE->IF_SALV_WD_STD_FUNCTIONS~SET_HIERARCHY_ALLOWED( ABAP_FALSE ).
    * Standard Filter Function setting to FALSE Ends
    Here as you can easily notice that LV_VALUE is instantiated on CL_SALV_WD_CONFIG_TABLE. Now, using this LV_VALUE, you set standard functions as False to dis-allow their display.
    Hope this answers your query.
    Thanks.
    Kumar Saurav.

  • How to display retrieved data from DB on web page

    Dear all,
    how to display retrieved data from oracle database on web page,Does anyone can give me an simple example?
    thanks
    WJ

    Hi,
    I use JRun tags but you can use Oracle tags or just JDBC... First u need to install jdbs connection and set e connection by using JMC (For JRun) named nomad.
    U can also try the link below for JRun tags..
    http://wds.its.uiowa.edu/cache/docs/jrun/html/JRun_Custom_Tag_Library/contents.htm
    <%@ page import="java.sql.*,javax.sql.*,java.text.*,allaire.taglib.*" %>
    <%@ taglib uri="jruntags" prefix="jrun" %>
    <%@ page contentType="text/html; charset=ISO-8859-9" %>
    <html>
    <head>
    <title> Test Page </title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
    </head>
    <body>
    <BODY BGCOLOR="#FFFFFF" LEFTMARGIN=15 TOPMARGIN=20 >
    <jrun:sql datasrc="nomad" id="q1">
    select empno,
         ename
    from emp
    order by ename
    </jrun:sql>
    <center>
    <table border = 0 cellpadding = 3 cellspacing = 1>
         <th>EmployeeNo</th><th>Name</th>
    <jrun:param id="q1" type="QueryTable"/>
    <jrun:foreach group="<%= q1 %>">
                   <tr>
                   <td> <%= q1.get(1) %> </td>
                   <td> <%= q1.get(2) %> </td>
                   </tr>
    </jrun:foreach>
    </table>
    </center>
    </body>
    </html>
    ----------------------

  • Does anyone know how to convert the output from the standard report to xml?

    Does anyone know how to convert the output from the standard SAP report to xml?

    since it a standard report which you cannot modify you can only do the following.
    submit report exporting list to memory
    then
    list from memory and then
    use the returned itab along with CALL TRNSFORMATION key word to convert to xml.
    but this only going to place the whole list content (including data and formating lines,etc) into a xml element and not the actual data alone in the list .

  • Is it Possible to display the output of the ALV list as POP-UP

    Hi Experts,
                     Is it Possible to display the output of the ALV list as POP-UP, if yes then provide some ideas on it.
    thanking in advance,
    Samad.

    Hi samad, it is possible to display alv list as pop-up by using the FM " REUSE_ALV_POPUP_TO_SELECT"
    try this sample code
    CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'
          EXPORTING
       I_TITLE                       =  P1_TITLE
           I_SELECTION                   = 'X'
           I_ZEBRA                       = 'X'
      I_CHECKBOX_FIELDNAME          =
      I_LINEMARK_FIELDNAME          =
      I_SCROLL_TO_SEL_LINE          = 'X'
            I_TABNAME                     = 'T_VBAP'
           I_STRUCTURE_NAME              =  'T_VBAP'
           IT_FIELDCAT                   =  T_FCAT2
           I_CALLBACK_PROGRAM            = 'ZTEST_ALV_POPUP'
       IMPORTING
           ES_SELFIELD                   = I_SELFIELD
           E_EXIT                        = W_EXIT
          TABLES
            T_OUTTAB                      = T_VBAP.
    i think it will solve your problem
    Regards,
    Vijay

  • How to hide the specified rows in the output of the report?

    Hello all,
        I have a requirement where i have to hide some of the lines (<b>initial 6 lines</b> that is <b>6 rows</b>) in the output of the report.
    How would I go about doing this?
    Thanks for you time.

    Hello Sai,
    I believe this is query output ( e.g., )
    Country   Sales
    India        $100
    USA        $200
    Germany  $300
    You want to hide the line Germany  $300
    Case 1:
        If you can change the query, Filter on Country and exclude Germany
    Case 2:
        If you can not change the query, use url appending and filter out Germany
    Check webapi reference for the exact commands
    Case 3:
        Only if you are using the NW2004s front-end, Report designer will be available for you. In this, you can delete the rows that you do not want and publish in web.
    Case 1 and 2 solutions are available in older versions of front-end as well.
    Regards,
    Sheik Bilal

  • I have s mac book pro--I would like very much to have the output to the DVI cable --my audio(sound) wilkl nit default to DVI output  --How can this be changed

    I have a mac book pro--I would like very much to have the output to the DVI cable --my audio(sound) wilkl nit default to DVI output  --How can this be changed, so it does not default to interabnl speaker
    Is there a way to force the system to change to DVI output?????
    thanks a lot

    Hi there,
    You may find the troubleshooting steps in the article below helpful.
    Troubleshooting issues with no audio from built-in speakers on Macs
    http://support.apple.com/kb/ts1574
    -Griff W.

  • How to get the output of the report in pdf format

    how to get the output of the report in pdf format?
    Thanks in advance,
    madan.

    Refer these links
    http://www.sap-img.com/bc037.htm
    http://www.members.tripod.com/abap4/Save_Report_Output_to_a_PDF_File.html
    CONVERT_ABAPSPOOLJOB_2_PDF FM convert abap spool output to PDF

  • Problem displaying the output in the same view

    hi Gurus,
    I have developed an web dynrpo application and have three views, in the first view I am having an input field from which I am calling a BAPI by giving that input field value as input to the BAPI.
    Now is it possible to display the output also retrived from the BAPI on the same view.
    Thanks and regards
    kris

    hi LM,
    Thanks for your fast response.
    I think I was not clear in explaining my problem.
    I have a view in which I have an input field which is the input to the BAPI, now on entering the value in the input field I have a submit button, on clicking the BAPI should be executed and also the the output should be displayed on the same view.
    Now regarding the mapping both the input and output are in the same context, would that a problem.
    And also after getting the output from the BAPI I have to do some validations based on the output from the BAPI and get some message printed on the view.
    Please help me in this issue.
    Thanks and regards
    kris

  • [OLAP DML] display on screen the output while the program is running

    Hi,
    I'm running a script in AWM that is quite long, and I've placed some few 'show' so that I know what the program is doing, but it won't show on the screen the outputs until the program ends. I guess it writes all the outputs in a kind of buffer and release the content of the buffer at the end of the program.
    How could I have it to release this buffer continuously?
    Thanks

    i think the relational analogy would be an anonymous pl/sql block executing a list of commands while outputting a list of useful dbms_output.put_line log statements:
    Just as with SHOW and olap worksheet cmd line, you cant see the running dbms_output log while the pl/sql program is running... you need to wait for it to complete before you can see the log.
    You can write to a file and close/exit the file each time or you can write to log table and commit each time but i guess, some such heavy lifting is needed if you want to track the long running process mid-way.
    NOTE: For regular operations like dbms_cube.build load/forecast/allocate process/steps, you can always run queries against CUBE_BUILD_LOG etc mid-way. But if it's pure olap dml actions being performed then no neat pre-built handle to check things mid-way exists.

  • Spooling the output of a Query with out displaying the rows

    Hello All,
    Is it possible to spool the output of
    a query/dbms_output.put_line with out displaying
    the Query output on the console.
    In my case,list of rows in the output is huge, I want
    to eliminate displaying the output of query
    so that spooling will complete faster.
    Thanks in advance.
    -Srini

    You can do:
    SET TERMOUT OFFIn your script before doing the spool command.
    You will have to write your query as a .SQL script and run it from SQL*Plus in order for it to work the way you expect.
    sqlplus -s username/password @query_script.SQL

Maybe you are looking for