Header pinting without data in table in smartform, why?

Header pinting without data in table in smartform, why?

Can u please tell how did you solve the problem?
Thanks.
Daz.

Similar Messages

  • Unable to see data in Table in smartform

    Hi all,
    I need to create a smartform where I have to print the header details at the start and then below that details for all line items for a particular document.
    so i have data ;ike :
    Header data :
    field 1 : field 2:
    Field3 : field4:
    field5: field6:
    Item data :
    field1 field2 field3 field4 --> Item 1
    field1 field2 field3 field4 -->Item 2
    field 1 field2 field3 field4 -->Item3
    For the Header data,Im planning to use a template in a secondary window.
    However for the item data,i need to use a table (As i know the no of records only at runtime).Also another reason for usng table would be that I dont need the header on each flloowing page but only the Line item details on the following pages.
    Now my ques is :
    1.I hav ecreated the form and put some constant /texts to just test the form.I am able to see the texts/data in the header data.However  Im unable to see the data for the Item i.e. in the TABLE.
    I have used template for Header details which I can see.
    I dont know what Im doing wrong.Is it because in the DATA tab under TABLES,I have given an interna table but there is no data in the table?
    I have defined only 1 line type in  my table an dthat has 4 cells (as I need to print 4 item fields under the Item data)
    PLease let me know what I am doig wrong because of which Im unable to see the item data in table form.
    Thanks!

    Hi,
    Have you used any exists?
    in exists is there any system date kind?
    Can you try to run your report thru RSRT and use debug option there.
    before reporting please check your all connected targets have data for reporting.
    mean at targets-->request tab, reporting symbol was there or not.
    Any master data objects included in multi provider?
    if yes then please check those, if any ACR was running then it may cause you.
    if possible try to develop simple query with as per needs(mean to see 2015 data only).
    As my guess selections/filters migth be hidden, please check those.
    Thanks

  • How to hide the table header if no data present

    Hi
    I need to hide the table header if no data present. Table has 5 column. if no any clolumn has data then this table section should not be display.
    i am using <?if:count(Installation_Event_S19)= 0?> but this is not work for me.
    Could you please help me out.
    Thanks
    Indrajeet Kumar

    Hi Priya,
    Thank you very much !!! its work fine.
    Thanks
    Indrajeet Kumar

  • How to restrict height of table  in smartform without using template

    Hi Gurus,
    I am facing a problem with table in smartform.I have 5 records in my table.If i print all 5 then table is fine.But if i get only one record in table then size of the table reduces to one row.Is there any way that i can keep my table height same as for 5 records,though i pass 1 record.I cannot use template here,because  page-breaks are used in the form .
    Your solutions are highly appreciated.
    Thanks and regards,
    Meenakshi

    Hi,
    As far my knowledge goes, If there is one record then table lines will take the height of only one row. You cannot Restrict it to take height of 5 rows.
    A temporary solution could be to add empty records in your internal table so that the table uses all the 5 rows in the table while printing in the smartform. Since they are empty records your smartform will not display any data but will only use the height.
    If you have 1 record add 4 empty records, Similarly if you have 2 records add 3 empty records...
    This way all time the table will take the height of 5 rows.
    As i said earlier this could be a temporary solution.
    Thanks,
    Hari Prasad.

  • Table in Smartforms cannot use data type CURR

    Hello everyone,
    I have trouble with Smartform
    in Main window , I want to show data in table.
    in main area of table .
    I want to show data of amount in document (BSEG-DMBTR)
    in text of main area. I add work area W_LINE_ITEM-DMBTR.(declare W_LINE_ITEM TYPE BSEG in Global definitions)
    but when i execute report program I got error message "W_LINE_ITEM-DMBTR Unknown in form"
    it's appear error for data type CURR only, for data type CHAR. it is OK.
    Is Smartform can show data type Curr ?
    what should i do to solve problem ?
    Please help.

    Hi,
    The best way wud be just to use the "Currency/Quan. Fields" tab...
    In Global definition,, go in "Currency/Quan. Fields" tab -> declare the the field as below for W_LINE_ITEM-DMBTR,,
    Field Name           Reference Field          Data type
    W_LINE_ITEM-DMBTR          BSEG-DMBTR             CURR
    Rgs,
    Lokesh.

  • Please recommend if we have options to read xml file and insert data into table without a temporary table.

    Please recommend if we have options to read xml file and insert data into table without a temporary table. 

    DECLARE @data XML;
    SET @data =N'<Root>
    <List RecordID="946236" />
    <List RecordID="946237" />
    <List RecordID="946238" />
    <List RecordID="946239" />
    <List RecordID="946240" />
    </Root>'
    INSERT INTO t (id) SELECT T.customer.value('@RecordID', 'INT') AS id
    FROM @data.nodes('Root/List')
     AS T(customer);
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • Using expdp to export a mix of tables with data and tables without data

    Hi,
    I would like to create a .dmp file using expdp, exporting a set of tables with data and another set without data. Is there a way to do this in a single .dmp file? For example, I want all the tables in a schema with data, but for the fact tables in that schema, I only want the fact table objects, not the data. I thought it might be easier to create two separate .dmp files, one for each scenario, but would be nice to have one .dmp file that satisfies my requirement. Any help is appreciated.
    Thanks,
    -Rodolfo
    Edited by: user6902559 on May 11, 2010 12:05 PM

    You could do this with where clauses. Let's say you have 10 tables to export, 5 with data and 5 without data. I would do it like this
    tab1_w_data
    tab2_w_data
    tab3_w_data
    tab4_w_data
    tab5_w_data
    tab1_wo_data
    tab2_wo_data
    tab3_wo_data
    tab4_wo_data
    tab5_wo_data
    I would make one generic query
    query="where rownum = 0"
    and I would make 5 specific queries
    query=tab1_w_data:"where rownum > 0"
    query=tab2_w_data:"where rownum > 0"
    query=tab3_w_data:"where rownum > 0"
    query=tab4_w_data:"where rownum > 0"
    query=tab5_w_data:"where rownum > 0"
    The first query will be applied to all tables that don't have their own specific query and it will export no rows, the next 5 will apply to each of the corresponding table.
    Dean

  • Quick way to assign table header IDs to data cells?

    Acrobat X (10.1.9)
    For accessibility of tables with complex headers, is there a quick way to assign header IDs to data cells associated with them?  I haven't found any faster way than going one cell at a time.
    All tags already have an ID, this question is how to quickly assign IDs of the header cells to all data cells in a row or column.
    Even better, is there a feature or plug-in that looks at a table's column and row spanning, and automatically assigns headers to all data cells?
    I've used Table Inspector in Acrobat, and a several-years-old version of the CommonLook plug-in. Both of these allow you to set various properties to all cells in a selection. And they act like they happily set header IDs for multiple cells, but after clicking OK and looking at cell properties, TI doesn't set it for any of them, and CL only sets it for the first cell that was selected.
    I prepare PDFs of scientific reports for Section 508 compliance. Often they are hundreds of pages long and have scores of large tables. Some clients insist on complex headers. Going cell by cell is astonishingly time-consuming.

    Hi Danny,
    The table editor in Acrobat XI is improved in some respects over X but still behaves exactly as you describe on table IDs – it pretends to allow IDs to be set for multiple cells but they do not stick.
    You may want to evaluate the current CommonLook. It reportedly excels at tagging complex tables. I evaluated it quite some time ago and was underwhelmed, but I understand it has improved.
    You might also be able to cheat a bit on some tables, using alt text (see raeben3’s post here http://forums.adobe.com/thread/1188165) or adding blank cells to the table tag structure to “regularize” the table. In other cases you may be able to deviate from the visual table representation and tag the content as a series of sub-headings and smaller, regular tables or lists. In some cases you will have to bite the bullet and use spanning properties and header IDs.
    Hope this helps.
    a 'C' student

  • How to repeat binding dates in header row when tadaset in table must be paginated?

    I need to make a form which is filled by XDP file (this file is made by other SW (payroll)).
    This form contains table. There are some binded (filled) text fields in a header row and some filled text fields in a body row. (For example - name is in header row, some personal dates are in body row). Body row is dynamic, count of body rows is different for each name.
    When the table overflows the page, I need to repeat the header row with name on the second page.
    And here is a problem. Header row is repeated, but text field (with name) is empty.
    Files for example are : http://www.ulozto.net/soubory/strelenkas/documents/
    Thank you very much

    loop at ot into wa.
    at first header one
    write second header.
    endloop.
    declear one internal table append both values in come internal table .
    pass the header in comen internal table.
    Message was edited by:
            Karthikeyan Pandurangan

  • Without data element can we create table

    without data element is it possible to create table
    if it is possible how ?
      could u plz expain steps.

    Hi,
    Yes u can create table without data element.
    In that case in place of Data element u need to specify the Predefined type.
    Enter the name of field and the press on Built-In type button. This will disable the data element entry fields and enable the Built-in type field where in u can put the predefined type like CHAR, INT1 etc.
    Regards,
    Himanshu

  • Export and import tables with and without data

    I have few table which i want to take export with data and some without data, and import that in new db? Send me the command plz for this.

    exp and imp all have a flag
    ROWS import data rows (Y/N)
    but that flag apply to the whole export/import process.
    You will need do export twice,
    ROWS=Y first with list of tables that need data
    and ROWS=N with list of tables without data.

  • EXP tables without data in few tables.

    I want to export the database with EXP option.
    With following restricting condition.
    1. Want to export full database and among those 2 tables TAB1, TAB2 without data.
    What condition i need to add in EXP command?
    Thanks,
    Edited by: user618704 on Jan 12, 2009 2:25 AM

    Hi,
    With respect only two tables I don't think. Instead of that try to Exclude only two tables what you reffered from schema (Check the dependencies with respect to other tables, before hand) and later on export only those two tables with any data or create manually (In worst case)
    Can you specify the version
    - Pavan Kumar N

  • Change Log Table entries without Dates and How to Delete these entries !!

    Hello Experts,
    I was analyzing Change Log tables of some DSOs and figured out in some tables we don't have Date Column and some tables with date columns but many entries with "00/00/0000" date.
    Any ideas on this ? Any idea how records can get into the table without dates and if SAP provides a safe way to remove them (without dates) ?
    Many Thanks in advance, Please help.
    Regards,
    S. Patel

    Hi Sunil
    Date fileds 00/00/0000 means date are blank..that means either you did not get  them from source system or the transformation is not mapped.
    Do not delete change log selectively, that might affect your delta  loads.
    Rather delete  old change log ...
    From DSO administration ---use the main menu to choose Environment ® Delete Change Log Data.
    For more information you can check the log below.
    Cheers
    Anindya

  • How to populate data in table control  .

    hi all,
    i put matnr no. in screen no. 103
    validation is done at that screen only.
    now when i want to modify dat record
    when i put matnr no. at screen 103
    so how i will get all  data of dat number to table control screen.

    Hi Darshan,
       Here is a detailed description of how to update data in table controll.
      Updating data in table control
    The ABAP language provides two mechanisms for loading the table control with data from the internal table and then storing the altered rows of the table control back to the internal table.
    Method 1: Read the internal table into the Table Control in the screenu2019s flow logic.  Used when the names of the Table Control fields are based on fields of the internal table.
    Method 2: Read the internal table into the Table Control in the module pool code. Used when the names of the Table Control fields are based on fields of the database table.
    Method 1 (table control fields = itab fields)
    In the flow logic we can read an internal table using the LOOP statement. Define the reference to the relevant able control by specifying WITH CONTROL <ctrl>
    Determine which table entry is to be read by specifying CURSOR <ctrl>-CURRENT_LINE.
    After the read operation the field contents are placed in the header line of the internal table. If the fields in the table control have the same name as the internal they will be filled automatically. Otherwise we need to write a module to transfer the internal table fields to the screen fields.
    We must reflect any changes the user makes to the fields of the table control in the internal table otherwise they will not appear when the screen is redisplayed after PBO processing, (eg, after the user presses Enter or scrolls) However, this processing should be performed only if changes have actually been made to the screen fields of the table control (hence the use of the ON REQUEST)
    PROCESS BEFORE OUTPUT.
    LOOP AT ITAB_REG WITH CONTROL TCREG
    CURSOR TCREG-CURRENT_LINE.
    ENDLOOP.
    PROCESS AFTER INPUT.
    LOOP AT ITAB_REG.
    MODULE MODIFY_ITAB_REG.
    ENDLOOP.
    MODULE MODIFY_ITAB_REG INPUT.
    MODIFY ITAB_REG INDEX TCREG-CURRENT_LINE.
    ENDMODULE.
    Method 2 (table control fields = dict. fields)
    If using a LOOP statement without an internal table in the flow logic, we must read the data in a PBO module which is called each time the loop is processed.
    Since, in this case, the system cannot determine the number of internal table entries itself, we must use the EXIT FROM STEP-LOOP statement to ensure that no blank lines are displayed in the table control if there are no more corresponding entries in the internal table.
    PROCESS BEFORE OUTPUT.
    LOOP WITH CONTROL TCREG.
    MODULE READ_ITAB_REG.
    ENDLOOP.
    PROCESS AFTER INPUT.
    LOOP WITH CONTROL TCREG.
    CHAIN.
    FIELD: ITAB_REG-REG,
    ITAB_REG-DESC.
    MODULE MODIFY_ITAB_REG
    ON CHAIN-REQUEST.
    ENDCHAIN.
    ENDLOOP.
    MODULE READ_ITAB_REG OUTPUT.
    READ TABLE ITAB_REG INDEX TCREG-CURRENT_LINE.
    IF SY-SUBRC EQ 0.
    MOVE-CORRESPONDING ITAB_REREG TO TCREG.
    ELSE.
    EXIT FROM STEP-LOOP.
    ENDIF.
    ENDMODULE.
    MODULE MODIFY_ITAB_REG INPUT.
    MOVE-CORRESPONDING TCREG TO ITAB_REG.
    MODIFY ITAB_REG INDEX
    TCREG-CURRENT_LINE.
    ENDMODULE.
    Updating the internal table
    Method 1
    PROCESS AFTER INPUT.
    LOOP AT ITAB_REG.
    CHAIN.
    FIELD: ITAB_REG-REG,
    ITAB_REG-DESC.
    MODULE MODIFY_ITAB_REG ON CHAIN-REQUEST.
    ENDCHAIN.
    ENDLOOP.
    MODULE MODIFY_ITAB_REG INPUT.
    ITAB_REG-MARK = u2018Xu2019.
    MODIFY ITAB_REG INDEX TCREG-CURRENT_LINE.
    ENDMODULE.
    Method 2
    PROCESS AFTER INPUT.
    LOOP WITH CONTROL TCREG.
    CHAIN.
    FIELD: TCREG-REG,
    TCREG-DESC.
    MODULE MODIFY_ITAB_REG ON CHAIN-REQUEST.
    ENDCHAIN.
    ENDLOOP.
    MODULE MODIFY_ITAB_REG INPUT.
    MOVE-CORRESPONDING TCREG TO ITAB_REG.
    ITAB_REG-MARK = u2018Xu2019.
    MODIFY ITAB_REG INDEX TCREG-CURRENT_LINE.
    ENDMODULE.
    Updating the database
    MODULE USER_COMMAND_100.
    CASE OK_CODE.
    WHEN u2018SAVEu2019.
    LOOP AT ITAB-REG.
    CHECK ITAB_REG-MARK = u2018Xu2019.
    MOVE-CORRESPONDING ITAB_REG TO TCREG.
    UPDATE TCREG.
    ENDLOOP.
    WHEN u2026
    u2026
    ENDCASE.
    ENDMODULE.
    Hope this will solve your problem.
    Regards,
    Pavan.
    Edited by: PAVAN CHANDRASEKHAR GANTI on Aug 3, 2009 12:48 PM

  • Calling internal table in smartform

    Hye,
    using structure l_xekpo.
    In global definition intilalization code:
    DATA : GT_XEKPO LIKE L_XEKPO OCCURS 0 WITH HEADER LINE.
    DATA ekpo_wa LIKE L_XEKPO.
    loop at L_XEKPO into ekpo_wa.
      move ekpo_wa to gt_xekpo.
      append gt_xekpo.
    endloop.
    now in output parameters need to give gt_xekpo???
    but facing problem with definition in global area??
    I provided
    In form Interface tables have defined:
    l_xekpo like ekpo.
    In global definition types defined.
    TYPES : TY_XEKPO TYPE TABLE OF L_XEKPO.
    Its showing error : Type l_xekpo is unkown.
    Can anyone provide solution how to go for this and get gt_ekpo defined to be used in ouput parameters .....

    Hi Manisha,
    Try this way:
    1. Please ignore my previous suggestion.
    You need to define GT_XEKPO & ekpo_wa as of type EKPO.
    Now you can use these variables directly in the Initialization tab of Global definitions for writing your logic.
    Pass this variable thorugh input/outpur parameters of initialization tab if required
    2. To make use of the variable gt_xekpo thorugh out the smartform, you need to pass this through output parametes of initialization tab.
    Hope this will helps you.
    Regards,
    Swarna Munukoti.
    Edited by: Swarna Munukoti on Nov 9, 2009 6:58 AM

Maybe you are looking for