Fixed Table Height for PO Report

Hi,
We have a problem in adjusting the height of the table for Purchase order Report.We are displaying lines and shipment information in the table.
But the shipments data is varying for each line due to which the table height is also varying on each page.
We tried fixing this by counting lines but this didn't help.
Cant we fix the table height so that it runs throughout the page irrespective of the number of lines it contains and gets attached to the footer information at the Bottom of the page.
Urgent help required.
Thanks in advance.

My suggestion would be to figure out the maximum number of lines the layout can handle and fix that number. Then modify the program that generates the XML output to create that many lines i.e. if the max number is 50 and your PO contains 2 lines, create 48 additional dummy blank lines so that the layout is always satisfied. For overflows, i.e PO contains 52 lines, make sure the program handles it.
Just my suggestion. I've used it for AP checks, where the layout is stub over check and it works great.

Similar Messages

  • What are all the tables used for this report:

    hi
    what are all the tables used for this report:
    report:
    •     <b>Stock Report, which will give opening balance, receipt, issue, and closing balance for any given Duration for any material.</b>
    thanks in advance

    Tables: MSEG, MKPF, MARD.
    FOR REFERENCE SEE TRANSACTION : MB5B.
    Message was edited by: Sharath kumar R

  • What are the tables used for this Report

    hi all..
    i am a fresher for ABAP. i need the help.
    what r the tables used for this report.
    Reports provide pending order details according to Material wise and customer wise for particular month.
    thanks in advance
    RK.Ashokkumar.
    9994262112.

    hi
    good
    try with these tables,
    MARA
    KNA1
    thanks
    mrutyun^

  • What r all the tables used for this report. please reply

    hai,
    what r all the tables used for this report.
    report :
    <b>
    •     Report to display all finished goods that go out-of-stock. Developed a drill down report for materials details (totals and subtotals for material stock values by material group and material type).</b>
    thanks in advance

    hi Ashok,
    Check this out
    http://www.allsaplinks.com/tables.html
    http://www.sapgenie.com/abap/tables.htm
    Regards,
    Santosh

  • What r the tables used for this report.

    hi all..
    i am a fresher for ABAP. i need the help.
    what r the tables used for this report.
    Reports provide pending order details according to Material wise and customer wise for particular month.
    thanks in advance
    RK.Ashokkumar.

    Hi Ashok,
    this is easy to do.
    Open Two SAP Screen with same user ID.
    Run SQL trace using ST05 transaction.Open ST05 transaction in One and make
    Trace on ,Run the report in another screen.
    Once report run is over.End the trace process and click on display trace in same ST05 transaction.There is a click button on ST05 Transaction screen to start trace
    process,End trace process and Display track process.
    The SQL trace will  give you all the table details which is used in that particular report.
    You have not mentioned about the report name so I have suggested this way.
    regards,nishant
    Please reward if this helps

  • Dynamic table height for Printed PO Report

    I have created a RTF template for Printed Purchase Order report using Microsoft Word. The template has Header and Line information. I have two questions.
    1) Lines are printed in Table format. I also print header level notes in Line Section.
    If the header notes are blank, I want the line information (line #, Item Number, Description, quantity etc) to be moved to line1. How do I acheive this?
    I want to dynamically adjust the Table height based on the information printing in the line section. The table has two rows. One for Header notes and one for Line information.
    2) Header notes field is placed in Description column of Line Table (MS word). Currently Header notes are printing within the Description column as wrapped text. I want to print Header notes in one line. How do I expand this field to print in one line?
    Thanks,

    Hi,
    Even I faced the same problem, however I have found a workaround to come out of this problem.
    My PO design template has 16 lines, I am counting the number of lines with data and subtracting the same from 16 and inserting that many empty rows to increase the table height.
    I am pasting the code so that it will be useful for others.
    Paste this code before LINES_ROW for-each loop. This will give the number of lines present.
    <xsl:variable name="_XDOFOTOTAL" select="count(.//LINES_ROW)"/>
    Paste this code at the end of the for-each loop.
    <!-- 16 is the maximum number of rows which fits in my page.-->
    <xsl:variable name="_cnt" select="16-$_XDOFOTOTAL"/>
    <xsl:call-template name="countdown">
    <xsl:with-param name="countdown" select="16-$_XDOFOTOTAL"/>
    </xsl:call-template>
    This function you can put it at the end.
    <xsl:template name="countdown">
    <!-- Instead of for loop. -->
    <xsl:param name="countdown"/>
         <xsl:if test="$countdown">
              <fo:table-row keep-together="always">
              <fo:table-cell/>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell xdofo:use-attribute-sets="c_33 c_35">
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell xdofo:use-attribute-sets="c_33 c_35">
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell>
              <fo:block height="13.2pt"/>
              </fo:table-cell>
              <fo:table-cell/>
              </fo:table-row>
              <!-- Call the template again -->
              <!-- The below code is like x=x-1 -->
              <xsl:call-template name="countdown">
                   <xsl:with-param name="countdown" select="$countdown - 1"/>
              </xsl:call-template>
         </xsl:if>
    </xsl:template>
    If some one is having a better solution, please share.
    Regards,
    SURESH KUMAR M R

  • Error seen in table used for creating report being sent to BW

    we use customised table in creting a delivery report which is then being sent to BW. In <u>order</u> there is only one line item as well as in the <u>delivery</u>.. the item is warehouse managed material that is why in delivery, it reflects there that it picks from several bins/pallets to fulfill the ordered quantity... but when we run the order in a custimised table to create a report for BW.. it has more than 10 line items (only one material) compared to only one line item in <u>order</u>... all the line item in table does not fulfill the ordered quantity but they are in descending order... Is this normal/wrong? Why did it happen?
    please help..
    kind regards,
    Pablito

    please advise if this query is not posted in the correct thread... thanks

  • What are all the tables used for this report ? please reply

    hai
    i have practcing reports,
    so any one give me the name of the tables used for the below report
    <b>Created report for invoice details, shipping details and partner function.</b>
    thanks in advance.
    by
    ashok

    Hi Ashok,
      I am sending you the code which will display tables present in SAP with the description and jump to datadic or SE16 by selecting plus F2 or F8.
    REPORT ZZBGS044 MESSAGE-ID Z1 LINE-COUNT 65 LINE-SIZE 132
                    NO STANDARD PAGE HEADING.
    Description: This program list all tables in        regards to the   *
                 selection criteria.                                     *
    Customizing: You need not to make any customizing to use this program*
    Change of    You only have to check that tables, functions and       *
    release:     includes till exists. Bedst just to check and run the   *
                 program.                                                *
    Programmer:  Benny G. Sørensen                                       *
    Date:        July 1995                                               *
    SAP R/3      2.2F                                                    *
    Corrections----
    Date        Userid     Correction                                    *
    xx-xx-xxxx  xxxxxxxxx  xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx *
    TABLES: DD02V                "SAP tables view
    DATA: BEGIN OF DYNTAB OCCURS 2000.
            INCLUDE STRUCTURE BDCDATA.
    DATA: END OF DYNTAB.
    DATA: BEGIN OF TABLES OCCURS 100.
            INCLUDE STRUCTURE DD02V.
    DATA: END OF TABLES.
    DATA: L        TYPE I,
          REPL(30) TYPE C VALUE '????????????????????????????'.
    FIELD-SYMBOLS:
    PARAMETERS:
    TABLE(30) TYPE C,
    TITLE(74) TYPE C LOWER CASE DEFAULT ' ',
    DOWNLOAD(1) TYPE C DEFAULT ' ',
    FILENAME(65) TYPE C DEFAULT 'c:SAPDOC?',
    EXCEPT(30) TYPE C DEFAULT ' '.
    START-OF-SELECTION.
    IF TABLE = ''.
    TABLE = '*' .
    ENDIF.
    IF TITLE = ''.
    TITLE = '*' .
    ENDIF.
    TRANSLATE TABLE USING '*%'.
    TRANSLATE TITLE USING '*%'.
    CONDENSE EXCEPT NO-GAPS.
    L = STRLEN( EXCEPT ).
    IF L > 0.
    ASSIGN REPL(L) TO
    ENDIF.
    SELECT * FROM DD02V INTO TABLES
    WHERE DDLANGUAGE = SY-LANGU
    AND TABNAME LIKE TABLE
    AND DDTEXT LIKE TITLE.
    HIDE DD02V-TABNAME.
    IF EXCEPT NE ''.
    REPLACE EXCEPT LENGTH L WITH
    INTO TABLES-TABNAME.
    ENDIF.
    TRANSLATE TABLE USING '% '.
    CONDENSE TABLE NO-GAPS.
    IF TABLES-TABNAME CS TABLE.
    WRITE:/ TABLES-TABNAME, ' ', TABLES-DDTEXT.
    APPEND TABLES.
    ENDIF.
    ENDSELECT.
    IF DOWNLOAD NE ''.
    CALL FUNCTION 'WS_DOWNLOAD'
    EXPORTING
    FILENAME = FILENAME
    FILETYPE = 'WK1' "ASC, WK1, DBF, DAT, bin
    TABLES
    DATA_TAB = TABLES.
    ENDIF.
    AT LINE-SELECTION.
    SET PARAMETER ID 'DOB' FIELD SY-LISEL(30) .
    CALL TRANSACTION 'SE12' AND SKIP FIRST SCREEN.
    AT PF8.
    CHECK SY-LISEL <>
      SET PARAMETER ID 'DTB' FIELD SY-LISEL(10) .
      REFRESH  DYNTAB.
      PERFORM DYNPRO USING:
         'X'  'SAPMSTAZ'     '0100'        "Selection screen
        ,' '  'DD02V-TABNAME'  SY-LISEL(10).
      CALL TRANSACTION 'SE16' USING DYNTAB MODE 'A' .
    FORM DYNPRO USING DYNBEGIN NAME VALUE.
      IF DYNBEGIN = 'X'.
        CLEAR DYNTAB.
        MOVE :  NAME TO DYNTAB-PROGRAM,
                VALUE TO DYNTAB-DYNPRO,
                DYNBEGIN TO DYNTAB-DYNBEGIN.
        APPEND DYNTAB.
      ELSE.
        CLEAR DYNTAB.
        MOVE:  NAME TO DYNTAB-FNAM,
               VALUE TO DYNTAB-FVAL.
        APPEND DYNTAB.
      ENDIF.
    ENDFORM.
    Regards,
    Azaz Ali.

  • :: NWA does not show table view for monitoring reports ::

    Hi,
    We are facing an issue in one of our portal system.
    I click on Portal index page, then I go to Net weaver Administrator --> Monitoring --> Java system reports.
    Here I get the resource utilization graphs.
    The graphs show proper values however when I click on table view it does not show any value or table at all.
    Then I click on Settings button, and click on Persistent radio button.
    It asks to enter the number of days for which the the data should be stored.
    I gave it as 2 days and click on Apply button.
    It shows a message saying "changes would be effective after restarting monitoring service".
    However when I go there i.e. NWA --> Administration --> Applications
    I get below services
    cafruntimemonitoring~ear                 
    com.sap.ip.bi.sdk.monitoring                 
    tclmwebadminmonitoravail~wd            
    tclmwebadminmonitorcomplib~wd            
    tclmwebadminmonitorprovider_ear            
    tclmwebadminmonitorstate~wd            
    tclmwebadminoverviewmonitoring~wd           
    tcmonitoringsysteminfo
    Would you kindly suggest which service from above list should be restarted ?
    Thank you, Regards,
    Girish Garje.

    I think what is being asked is "How do I expose a database view as a schema table in Configuration Manager?"
    This is accomplished by creating a database view within the WCC database schema (and with the WCC schema user as the view owner). The view then will appear as a table in the "table" tab in Configuration Manager.
    One caveat in 11g is that the user created by RCU does not have any privileges to read/create views in its own schema. You may need to grant privileges to views for the WCC schema user before this will work.

  • R/3 table data for BI reporting ?

    In R/3 i have a table and I want to take the complete table data into SAP BI system for reporting .
    In how many ways can I take the data to sap BI system.
    In how many ways I can make use of that table for reporting in BI
    please suggest me some .

    Hi,
    You have to create a generic datasource based on this table (if no Bi content is supported)
    You can direct assign this (1)table for generic datasource is it a transparent table.
    or u can create a (2) view based on this table then use that view for the datasource
    or u can create an (3) Infoset query on this table
    or u can create a (4)function module to extract its data..
    Its more simple to create a generic datasource based on 1 option
    Then u have to create a data target(info cube/DSO)  for this generic datasource and create report on this data target.
    you can search the forum for generic datasource creation.
    Hope this helps and ask if further question are there
    Sonal.....
    Edited by: Sonal Patel on Aug 14, 2008 12:52 PM

  • Send the tables used for this reports

    hi
    pls send all the tables are used in the following reports
    report:
    •     <b>Create a report that lists purchase order entered with the limitation to select PO created during a specific period defaulting to last 30 days</b>.
    pls i am waiting for reply
    thanks in advance

    Hi,
    Check these tables
    EKKO--  PURCHASING DOC HEADER
    EKPO--  PURCHASING DOC ITEM
    EKKN--  ACCOUNT ASSIGNMENT IN PURCHASING DOC.
    EINA--  PURCHASING INFO RECORD
    Also refer to the appication named " SAP tables ref" at
    http://www.sap-img.com
    regards,
    Sharat
    Note : pls mark helpfull answers

  • Create or not a new table just for one report

    hi guys,
    I'm working on a java client server application with an oracle db.
    I need to create a new report in my application with requires lots of
    calculation out of a table. I mean I cannot obtain the report just using
    sql query.
    My solution is:
    use an oracle procedure, create a new table, fill it and then use sql to
    get the report data. (that is fastest solution in my opinion)
    My question is:
    is a good choice to create a new table that will be exploit just to create
    a report in the application?Or it's not worth and I should process the data with java without creating a new table?
    thanks in advance!

    Hi,
    >>is a good choice to create a new table that will be exploit just to create
    a report in the application?
    No problem, but in your case create a global temporary table is more appropriate, because many users can generate a report on the same time and you don't need worry about what table data is for what user, or to do something like create some tables with randomizes names like TEMP010304 or TEMP386679 and drop them when the user finish to view the report ...
    http://www.oracle-base.com/articles/8i/TemporaryTables.php
    Cheers

  • Table Interface for Excel report?

    I have been working with the nice feature of MODIFY_TABLE in web tables. It is very usefull to alter the table to more specific needs.
    Now my question: is there a possibility to modify classes so that you can adapt the table before it is shown in an excel sheet?
    Thank you in advance!
    Bart

    Hi Deepak,
    I was already thinking in 'my solution': starting from an Excel workbook that opens a web report, searches the result table and transforms this table into the Excel sheet.
    1° Opening an url in Excel.Tis is possible in Excel. So in worst case we have to use string operations to filter the result tabel in the web page and transform a html table into an Excel tabel.
    2° Layout of the html table When we want the current status of the report (with drill down and things like that), we should first make a bookmark. Then we can use this bookmark as url to open the web page in Excel. -> layout and current drill status can be imported from HTML into Excel.
    3° authorization. As the url will open a web page on the WAS server, the user will have to provide a username and password. So this problem is also 'solved' because the authentication is done by the server.
    Concerning the "Print with Excel" method...
    1° If I am right, changes made by JavaScript do not effect the exported Excel report as JavaScript is client side, so the server (the instance that generates the excel) is not aware of the changes made by JS. Right or do I forget something?
    2° My biggest concern is the use of xslt in the html code. This is not very handy for people who are not familiar with html. Besides, not all the changes I make in the xslt have effect on the result (for example: when the printed table takes more than one table, the column headers are not repeated on every page, at least not in a dynamic way). But maybe it is a mistake from my side
    When I would work with an Excel workbook that takes an url and creates the report itself by extracting the data, extra macro's could be added (I think this is not possible by using xslt or Office HTML)
    Thank you for you comments Deepak!

  • Please send tables used for this report.

    hi
    pls any one send all the tables names are used in this given report
    report:
    <b>Created report that display month-wise sales details by comparing with previous month and yearly sales details with selection criteria based on date.</b>
    thanks in advance

    Hi,
    Have a look at the foll. tables.
    VBAP
    VBAK
    VAPMA
    VAKPA
    Regards,
    Tanveer.
    <b>Please mark helpful answers</b>

  • Fixed Top Margin  for Web Report

    Report generated with Htmlcss, we had setup the Top Margin of Page to 0.5
    First Page Top Margin is 0.5 but the second page takes the Top Margin more than 0.5 (could be 1").
    Any help would be much appreciated.
    TIA

    Are you sure that you set the bottom margin to be 0. Assuming you aren't using page streaming, the gap between the pages is the sum of the top and bottom margins.
    Hope this helps,
    Danny

Maybe you are looking for

  • Speaker adapter for old imac (bubble) speakers?

    I was hoping to use the old 'glass ball' looking speakers from my previous imac on my mac book pro laptop but the jack is not the same Does Apple make an adapter that will allow me to use them? Many thanks! Bob

  • Client_ole2 + OpenOffice

    anyone here on the forum has ever used libraries client_ole2 with OpenOffice Writer? But at least you can do or should I look for other solutions?

  • I am not able to delete music that was synced on my phone by the cloud off of my phone

    For some reason some of my families music has ended up on my phone because of the cloud and i cannot figure out how to delete it. I have tried to delete all my music off of my phone but the 200 songs that i do not want stay on there. I turned off the

  • Update to Iphoto 9.4.2

    I've just downloaded the upgrading to iPhoto version 9.4.2. When i'm trying to open iPhoto, I get these messages "Photo Library must be updated to work with this version of iPhoto" and "Photo library will not be readable by previous versions of iPhot

  • Windows media file on itunes

    Can i play my windows media player file on itunes directly. if yes how? Can i not use a pendrive to transfer or copy the file?