Data not seen in Table Control --Print Preview

Hi
I am creating one Standard Transaction Iview for CATS .
While doing print preview(Portal Side) in IE 6  , I am not able to see data in Table control(Data Entry Area ).
Can you please provide me the solution for how I can see the data in Table Control
Regards
Ruturaj

Go to SE11 and search for setup and look for the specific data source and see the content, if the content is actually zero, then there is nothing in the setup table.
thanks.
Wond

Similar Messages

  • Data visible in 2D Array but not in connected Table Control

    In the attached drawing, you see that I take the Table Control as an array, change elements using Replace Array Subset and then send the resultant array back to the Table Control.
    I can see my data in "Output Array" and in a probe on that wire but my Table Control is blank.  The Table Control is 10 columns by 50 rows.
    Can anyone tell me why there is no data getting to the Table Control?
    Please don't ask me to post the VI because it is large, ungainly and not mine to post.
    Solved!
    Go to Solution.

    I can't believe it.
    I could not see the data because it was out-of-frame.  My Control Table was scrolled down to the bottom of a 30 row window and my data was in the first row only.

  • Vertical Scroll bar does not appear in table control

    Hi ,
    I have a table control with both vertical and horizontal scroll bars.
    The data which comes is always more than 50 and the visible line size is 8.The vertical scroll bar
    does not appear at times..but if i run the program again, it appears..
    Sometimes it appears and sometimes no vertical scroll bar comes thought the data is more than the visible lines.
    Any suggestions ? why is this happening?
    Regards,
    Sharadha

    You have inserted data in the internal table and not "informed" the table control
    In the PBO, use a statement like
    DESCRIBE TABLE <itab> LINES <control>-lines.
    Regards

  • Freight, octroi not to be shown in Print preview

    Dear friends,
    I want freight and octroi not to be shown in print preview although i am maintaining those condition types in condition tab. Their value should not add up to the net value of material in print preview.
    Pl suggest how it's possible?
    Regds
    Amitava

    Dear Raju sir,
    I will maintain freight & octroi condition types in conditions tab but I don't want them to come in print preview and need not to add into total price in print preview, i.e. the total price to be shown in print preview should be exclusive of freight and octroi
    how it's possible?

  • Table type not defined for table control "T_CONTROL" (Custom table)

    Hi All,
    I m facing a problem in ITS mobile service.
    The Table control designed by me in R/3 (Module pool program) is
    not getting displayed in ITS mobile page.
    It is giving me an error "Table type not defined for table control "T_CONTROL" (Custom table) ".
    Can you please let me how this issue can be resolved.
    With Regards,
    Mahesh

    CONTROLS: table_ctr TYPE TABLEVIEW USING SCREEN '0010'.
    try using this....
    Regards
    Vasu

  • Module Pool - Table Control - Data not getting displayed in Control

    Hi,
    I have a table contol in my module pool program. In my processing I am filling an internal table & then in my PBO I am linking the internal table to table control. The issue is that even though the internal table is getting filled correctly (found through debugging), the data is not getting populated in table control. Nothing is populated on screen. I am writing part of code below
    Declaration:
    Types: begin of ty_control,
            SELECTED TYPE C,
            TEXT TYPE DPR_CAUSE_T-TEXT,
          end of ty_control.
    CONTROLS :  TBL_CONT TYPE TABLEVIEW USING SCREEN '9001'.
    DATA:       lt_table_cont type TABLE OF ty_control with header line.
    Fields in TBL_CONT:
       TBL_CONT-SELECTED
      TBL_CONT-TEXT
    PBO Flow Logic:
      MODULE STATUS_9001.
    MODULE fill_data.
      LOOP AT lt_table_cont WITH CONTROL TBL_CONT cursor TBL_CONT-top_line.
      ENDLOOP.
    PAI Flow Logic:
    Loop at lt_table_cont.
       MODULE UPDATE_DATA.
    endloop.
    MODULE USER_COMMAND_9001.
    PLZ let me know what might be the problem. I have been trying to figure out but cant.
    Thanks.

    Hi Sonali,
               When ever you need to do anything with the table control, i mean if u want to display data in table control or you want to validate the data entered in table control Should be done within Loop and Endloop.(PBO or PAI's which ever is appropriate)
    Here the data is not bieng displayed in ur table control because you have not used the MODULE fill_data  between
    LOOP AT lt_table_cont WITH CONTROL TBL_CONT cursor TBL_CONT-top_line.
    ENDLOOP.
    so do it like this
    LOOP AT lt_table_cont WITH CONTROL TBL_CONT cursor TBL_CONT-top_line.
    MODULE fill_data 
    ENDLOOP.
    this will solve your problem.
    Regards,
    Syed

  • Last_page button is not working in table control-urgent

    hi  all,
    iam displaying the data in table control.in my pf-status i have first_page,next_page,prev_page and last_page.out of 4 buttons 3 buttons are working finr except last_page. any body can send me the code for this program.iam sending my program below.
    REPORT ZMAHI_TABLE_CONTROL .
    TABLES : VBAK,VBAP.
    DATA : BEGIN OF ITAB OCCURS 0,
             VBELN TYPE VBAK-VBELN,
             ERDAT TYPE VBAK-ERDAT,
             ERNAM TYPE VBAK-ERNAM,
             ERZET TYPE VBAK-ERZET,
             REASON(40) TYPE C,
           END OF ITAB.
    DATA :   FILL TYPE I VALUE 1.
    DATA : N TYPE I .
    DATA      : BEGIN OF XVALUES OCCURS 50,
                  BUTXT LIKE  T001-BUTXT,
                END OF XVALUES.
    DATA      : BEGIN OF XFIELDS OCCURS 50.
            INCLUDE STRUCTURE HELP_VALUE.
    DATA      : END OF XFIELDS.
    DATA      : BEGIN OF SEL_VAL OCCURS 50.
            INCLUDE STRUCTURE HELP_VTAB.
    DATA      : END OF SEL_VAL.
    TABLE CONTROL DECLARATIONS------
    CONTROLS : CONTROL_DATA TYPE TABLEVIEW USING  SCREEN '100'.
    DATA : OK_CODE TYPE SY-UCOMM,
    LIN TYPE I,
    LIN1 TYPE I,
    LIN2 TYPE I,
    LIN3 TYPE I.
    DATA: LINES TYPE I,
          LIMIT TYPE I VALUE 1.
    DATA :   LINE_COUNT       TYPE  I,
             LINEI            TYPE  I,
             LINEJ            TYPE  I,
             LINE1            TYPE  I,
             LINE2            TYPE  I,
             LN1              TYPE  I.
    SELECTION-SCREEN : BEGIN OF BLOCK B1.
    SELECT-OPTIONS   : P_VBELN FOR VBAK-VBELN.
    SELECTION-SCREEN : END OF BLOCK B1.
    START-OF-SELECTION.
      SELECT VBELN
             ERDAT
             ERNAM
             ERZET
        FROM VBAK
        INTO TABLE ITAB
      WHERE VBELN IN P_VBELN.
      CALL SCREEN 100.
    *&      Module  F4_HELP  INPUT
    MODULE F4_HELP INPUT.
      FREE  :  XFIELDS,SEL_VAL,XVALUES.
      MOVE : 'ZMAHI'     TO XFIELDS-TABNAME,
             'REASON'    TO XFIELDS-FIELDNAME,
             'X'        TO XFIELDS-SELECTFLAG.
      APPEND XFIELDS.
      XVALUES = 'Non Trade F&F'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Retention'.
      APPEND XVALUES .
      XVALUES = 'Oldbills Accnt cntmnt'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Not claimed'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Dispute'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Payment Block'.
      APPEND XVALUES .
      XVALUES = 'N/T Subsntly Cleared'.
      APPEND XVALUES .
      XVALUES = 'N/T Unstld Advances'.
      APPEND XVALUES .
      XVALUES = 'N/T OThers'.
      APPEND XVALUES .
      XVALUES = 'Trade Non Receipt OF BOE'.
      APPEND XVALUES .
      XVALUES = 'Trade OEM Adjustments'.
      APPEND XVALUES .
      XVALUES = 'Trade Reject Of Material'.
      APPEND XVALUES .
      XVALUES = 'Trade NOt Claimed'.
      APPEND XVALUES .
      XVALUES = 'Trade Dispute'.
      APPEND XVALUES .
      XVALUES = 'Trade Payment BLock'.
      APPEND XVALUES .
      XVALUES = 'Trade Subsntly Cleared'.
      APPEND XVALUES .
      XVALUES = 'Trade Non Submission of bills'.
      APPEND XVALUES .
      XVALUES = 'Trade others'.
      APPEND XVALUES .
      CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT'
           EXPORTING
                CUCOL         = 0
                CUROW         = 0
                DISPLAY       = ' '
                FIELDNAME     = 'REASON'
                TABNAME       = 'ZIFIOD011'
           IMPORTING
                SELECT_VALUE  = ITAB-REASON
           TABLES
                FIELDS        = XFIELDS
                SELECT_VALUES = SEL_VAL
                VALUETAB      = XVALUES.
    ENDMODULE.                 " F4_HELP  INPUT
    *&      Module  STATUS_0100  OUTPUT
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS '0100'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'CANCEL' OR 'EXIT' OR 'BACK'.
          LEAVE TO SCREEN 0.
       WHEN 'NEXT_LINE'.
         CONTROL_DATA-top_line = CONTROL_DATA-top_line + 1.
         limit = fill - lines + 1.
         IF CONTROL_DATA-top_line > limit.
           CONTROL_DATA-top_line = limit.
         ENDIF.
       WHEN 'PREV_LINE'.
         CONTROL_DATA-top_line = CONTROL_DATA-top_line - 1.
         IF CONTROL_DATA-top_line < 0.
           CONTROL_DATA-top_line = 0.
         ENDIF.
        WHEN 'NEXT_PAGE'.
          CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE + LINES.
          LIMIT = LIMIT + 1.
          CONTROL_DATA-TOP_LINE = LIMIT.
        WHEN 'PREV_PAGE'.
          CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE - LINES.
          LIMIT = LIMIT - 1.
          CONTROL_DATA-TOP_LINE = LIMIT.
       WHEN 'LAST_PAGE'.
         CONTROL_DATA-TOP_LINE =  FILL - LINES + 1.
        WHEN 'FIRST_PAGE'.
          CONTROL_DATA-TOP_LINE = 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  SCROLL_BAR  INPUT
    MODULE SCROLL_BAR INPUT.
      DESCRIBE  TABLE  ITAB  LINES  CONTROL_DATA-LINES.
    ENDMODULE.                 " SCROLL_BAR  INPUT
    thanks,
    maheedhar.T

    Hi Ravi,
    The code which u sent to me is not working for next page and previous page.
    can u plz resend me the code.
    iam sending my code below.
    REPORT ZMAHI_TABLE_CONTROL .
    TABLES : VBAK,VBAP.
    DATA : BEGIN OF ITAB OCCURS 0,
             VBELN TYPE VBAK-VBELN,
             ERDAT TYPE VBAK-ERDAT,
             ERNAM TYPE VBAK-ERNAM,
             ERZET TYPE VBAK-ERZET,
             REASON(40) TYPE C,
           END OF ITAB.
    DATA :   FILL TYPE I VALUE 1.
    DATA : N TYPE I .
    DATA      : BEGIN OF XVALUES OCCURS 50,
                  BUTXT LIKE  T001-BUTXT,
                END OF XVALUES.
    DATA      : BEGIN OF XFIELDS OCCURS 50.
            INCLUDE STRUCTURE HELP_VALUE.
    DATA      : END OF XFIELDS.
    DATA      : BEGIN OF SEL_VAL OCCURS 50.
            INCLUDE STRUCTURE HELP_VTAB.
    DATA      : END OF SEL_VAL.
    TABLE CONTROL DECLARATIONS------
    CONTROLS : CONTROL_DATA TYPE TABLEVIEW USING  SCREEN '100'.
    DATA : OK_CODE TYPE SY-UCOMM,
    LIN TYPE I,
    LIN1 TYPE I,
    LIN2 TYPE I,
    LIN3 TYPE I.
    DATA: LINES TYPE I,
          LIMIT TYPE I VALUE 1.
    DATA :   LINE_COUNT       TYPE  I,
             LINEI            TYPE  I,
             LINEJ            TYPE  I,
             LINE1            TYPE  I,
             LINE2            TYPE  I,
             LN1              TYPE  I.
    SELECTION-SCREEN : BEGIN OF BLOCK B1.
    SELECT-OPTIONS   : P_VBELN FOR VBAK-VBELN.
    SELECTION-SCREEN : END OF BLOCK B1.
    START-OF-SELECTION.
      SELECT VBELN
             ERDAT
             ERNAM
             ERZET
        FROM VBAK
        INTO TABLE ITAB
      WHERE VBELN IN P_VBELN.
      CALL SCREEN 100.
    *&      Module  F4_HELP  INPUT
    MODULE F4_HELP INPUT.
      FREE  :  XFIELDS,SEL_VAL,XVALUES.
      MOVE : 'ZMAHI'     TO XFIELDS-TABNAME,
             'REASON'    TO XFIELDS-FIELDNAME,
             'X'        TO XFIELDS-SELECTFLAG.
      APPEND XFIELDS.
      XVALUES = 'Non Trade F&F'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Retention'.
      APPEND XVALUES .
      XVALUES = 'Oldbills Accnt cntmnt'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Not claimed'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Dispute'.
      APPEND XVALUES .
      XVALUES = 'Non Trade Payment Block'.
      APPEND XVALUES .
      XVALUES = 'N/T Subsntly Cleared'.
      APPEND XVALUES .
      XVALUES = 'N/T Unstld Advances'.
      APPEND XVALUES .
      XVALUES = 'N/T OThers'.
      APPEND XVALUES .
      XVALUES = 'Trade Non Receipt OF BOE'.
      APPEND XVALUES .
      XVALUES = 'Trade OEM Adjustments'.
      APPEND XVALUES .
      XVALUES = 'Trade Reject Of Material'.
      APPEND XVALUES .
      XVALUES = 'Trade NOt Claimed'.
      APPEND XVALUES .
      XVALUES = 'Trade Dispute'.
      APPEND XVALUES .
      XVALUES = 'Trade Payment BLock'.
      APPEND XVALUES .
      XVALUES = 'Trade Subsntly Cleared'.
      APPEND XVALUES .
      XVALUES = 'Trade Non Submission of bills'.
      APPEND XVALUES .
      XVALUES = 'Trade others'.
      APPEND XVALUES .
      CALL FUNCTION 'HELP_VALUES_GET_WITH_TABLE_EXT'
           EXPORTING
                CUCOL         = 0
                CUROW         = 0
                DISPLAY       = ' '
                FIELDNAME     = 'REASON'
                TABNAME       = 'ZIFIOD011'
           IMPORTING
                SELECT_VALUE  = ITAB-REASON
           TABLES
                FIELDS        = XFIELDS
                SELECT_VALUES = SEL_VAL
                VALUETAB      = XVALUES.
    ENDMODULE.                 " F4_HELP  INPUT
    *&      Module  STATUS_0100  OUTPUT
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS '0100'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'CANCEL' OR 'EXIT' OR 'BACK'.
          LEAVE TO SCREEN 0.
       WHEN 'NEXT_LINE'.
         CONTROL_DATA-top_line = CONTROL_DATA-top_line + 1.
         limit = fill - lines + 1.
         IF CONTROL_DATA-top_line > limit.
           CONTROL_DATA-top_line = limit.
         ENDIF.
       WHEN 'PREV_LINE'.
         CONTROL_DATA-top_line = CONTROL_DATA-top_line - 1.
         IF CONTROL_DATA-top_line < 0.
           CONTROL_DATA-top_line = 0.
         ENDIF.
       WHEN 'NEXT_PAGE'.
         CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE + LINES.
         LIMIT = LIMIT + 1.
         CONTROL_DATA-TOP_LINE = LIMIT.
       WHEN 'PREV_PAGE'.
         CONTROL_DATA-TOP_LINE = CONTROL_DATA-TOP_LINE - LINES.
         LIMIT = LIMIT - 1.
         CONTROL_DATA-TOP_LINE = LIMIT.
       WHEN 'LAST_PAGE'.
         DESCRIBE TABLE ITAB LINES LIMIT.
         CONTROL_DATA-TOP_LINE =  LIMIT.
       WHEN 'FIRST_PAGE'.
         CONTROL_DATA-TOP_LINE = 0.
    WHEN 'P--'.
    CLEAR ok_code.
    PERFORM paging USING 'P--'.
    WHEN 'P-'.
    CLEAR ok_code.
    PERFORM paging USING 'P-'.
    WHEN 'P+'.
    CLEAR ok_code.
    PERFORM paging USING 'P+'.
    WHEN 'P++'.
    CLEAR ok_code.
    PERFORM paging USING 'P++'.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  SCROLL_BAR  INPUT
    MODULE SCROLL_BAR INPUT.
      DESCRIBE  TABLE  ITAB  LINES  CONTROL_DATA-LINES.
    ENDMODULE.                 " SCROLL_BAR  INPUT
    *&      Form  paging
          text
         -->P_0356   text
    *FORM paging USING    VALUE(P_0356).
    FORM paging USING code.
    DATA: i TYPE i,
    j TYPE i.
    CASE code.
    WHEN 'P--'.
    CONTROL_DATA-top_line = 1.
    WHEN 'P-'.
    CONTROL_DATA-top_line = CONTROL_DATA-top_line - line_count.
    IF CONTROL_DATA-top_line LE 0.
    CONTROL_DATA-top_line = 1.
    ENDIF.
    WHEN 'P+'.
    i = CONTROL_DATA-top_line + line_count.
    j = CONTROL_DATA-lines - line_count + 1.
    IF j LE 0. j = 1. ENDIF.
    IF i LE j.
    CONTROL_DATA-top_line = i.
    ELSE.
    CONTROL_DATA-top_line = j.
    ENDIF.
    WHEN 'P++'.
    CONTROL_DATA-top_line = CONTROL_DATA-lines - line_count + 1.
    IF CONTROL_DATA-top_line LE 0.
    CONTROL_DATA-top_line = 1.
    ENDIF.
    ENDCASE.
    ENDFORM. " PAGING
    *ENDFORM.                    " paging
    thanks,
    maheedhar.t

  • Data retrieve from one table control to another table control

    Hi all,
    I had an requirement like to create Two table controls.
    for first Table control i had an sel field defined as 'MARK'.
    when i check the row in the first table control think it  is header data for sales order .
    all the item details have to retrieve in the second table control.
    This is my requirement, i am not able to trigger when selecting the row in table control.
    will anybody had an experience like this.
    Regards,
    Madhavi

    Hi Madhavi,
    If  we need the case to display header and item as mentioned in 2 table controls....
    we can display in table control 2/item only (the line items of the one selected in the table control 1 or the header )...so ,at a time we need to display line items for only 1 header ....
    so ...first disable the selections/multiple selections to disable the row selector
    We have already declared a field type C to capture the value for the field selector...so we can convert this field to a radio button and then assign a function code to the radio button at screen level
    Whenever you click on the radio button ..immediately the function code is triggered..then in PAI ..we can check and find the header record with 'X' and populate the data for the table control 2
    Hope it helps
    Regards
    Byju

  • Record not shown in table control

    Hi experts,
    I am working on the module pool program with a screen 0100. There is a table control called TABL_MATR in screen 0100.
    There is no error while compiling the program. But no record shown when a record added into the table control.
    I do not want to use the headerline in the program, because I intented to do it in OO way.
    Record shown if I do like this:
    DATA: ITAB_TRAY  TYPE STANDARD TABLE OF LS_TRAY WITH HEADER LINE.
    In PBO
    loop at itab_tray  " record show in the table control
    whereas record not shown if do like this:
    DATA: ITAB_TRAY  TYPE STANDARD TABLE OF LS_TRAY.
    In PBO
    loop at itab_tray into wa_tray  " no record show in the table control
    Can someone guide me how to do it in the right way?
    Please help.
    Thanks in advance.

    Hi all,
    I have added the below images.
    1) http://i566.photobucket.com/albums/ss106/wkw510/pic6.jpg
    2) http://i566.photobucket.com/albums/ss106/wkw510/pic7.jpg
    3) http://i566.photobucket.com/albums/ss106/wkw510/pic8.jpg
    I have also followed what Devendra's suggested, however the same error message I get:
    "ITAB_TRAY" is not a structure or internal table with header line.
    As such I have changed the statement
    module fill_table_control output.
      MOVE-CORRESPONDING wa_tray TO itab_tray.
    endmodule.
    to
    module fill_table_control output.
      APPEND wa_tray TO itab_tray.
    endmodule.
    After changed, compiled no error.
    But, when I started to use the program I got another error which closed the whole SAP screen.
    Therefore I tried to change the TABLE CONTROL setting to
    4) http://i566.photobucket.com/albums/ss106/wkw510/pic10.jpg
    Now, everything is okay but I only get the latest record shows in the TABLE CONTROL. The record I inserted display more than one time, and filled all the table control.
    5) http://i566.photobucket.com/albums/ss106/wkw510/pic11.jpg
    I am wondering should we include
    MOVE-CORRESPONDING wa_tray TO itab_tray.
    or
    APPEND wa_tray TO itab_tray.
    According from Devendra, the PBO should only has this code
      loop at itab_tray into wa_tray
        with control tabl_matr
        cursor tabl_matr-current_line.
    *    module fill_table_control.   "shoule we exclude this?
      endloop.
    If I exclude the above code, the table control only show one record, regardless how many records are inserted.
    Something is not right here, but just cant find it out.
    Please help.

  • Header not visible in alv output print preview using html_top_of_page

    hi to all experts,
    im using html_top_of_page for alv header and using fm reuse_alv_grid_display. when i see the print preview im getting the report output but not the alv header . what could be the problem

    Hi tarun,
    im unable to see the header print preview . I can see it in the report output .
    here is my code
    FORM html_top_of_page USING document
            TYPE REF TO cl_dd_document .
      CREATE OBJECT:  document.
      DATA:text TYPE sdydo_text_element.
      DATA: l_repid TYPE sy-repid,
            l_mandt TYPE sy-mandt,
            l_date(10),
            l_yr(4),
            l_mm(2),
            l_dd(2),
            l_hr(2),
            l_sec(2),
            l_min(2),
            l_time(10).
      CALL METHOD document->add_gap
        EXPORTING
          width = 70.
      text = text-005.
      CALL METHOD document->add_text
        EXPORTING
          text      = text-005
          sap_style = 'HEADING'.
      CALL METHOD document->new_line.
      CONCATENATE 'Report:' sy-repid INTO text.
      CALL METHOD document->add_text
        EXPORTING
          text         = text
          sap_emphasis = 'Strong'.
      CALL METHOD document->add_gap
        EXPORTING
          width = 206.
      l_date = sy-datum.
      MOVE: l_date+0(4) TO l_yr,
            l_date+4(2) TO l_mm,
            l_date+6(2) TO l_dd.
      CONCATENATE 'Run Date:' l_dd '.' l_mm '.' l_yr
                  INTO text.
      CALL METHOD document->add_text
        EXPORTING
          text          =  text
          sap_style     =  space
          sap_color     =  space
          sap_fontsize  =  cl_dd_document=>medium
          sap_emphasis  =  cl_dd_document=>strong
          style_class   =  space
    *  CHANGING
    *    document      =
      CALL METHOD document->new_line.
      CONCATENATE 'Client:' sy-mandt INTO text.
      CALL METHOD document->add_text
        EXPORTING
          text          = text
          sap_fontstyle = cl_dd_document=>medium
          sap_emphasis  = cl_dd_document=>strong.
      CALL METHOD document->add_gap
        EXPORTING
          width = 220.
      l_time = sy-uzeit.
      l_hr = l_time+0(2).
      l_mm = l_time+2(4) .
      l_sec = l_time+4(6).
      CONCATENATE l_hr ':' l_mm ':' l_sec
           INTO l_time.
      CONCATENATE 'Time:' l_time INTO text.
      CALL METHOD document->add_text
        EXPORTING
          text           = text
          sap_fontstyle =  cl_dd_document=>medium
          sap_emphasis  =  cl_dd_document=>strong
          style_class   =  space
    *  CHANGING
    *    document      =
      CALL METHOD document->new_line.
      CONCATENATE 'User Id:' sy-uname INTO text.
      CALL METHOD document->add_text
        EXPORTING
           text          =  text
          sap_style     = space
          sap_color     = space
          sap_fontstyle = cl_dd_document=>medium
          sap_emphasis  = cl_dd_document=>strong
          style_class   = space
    *  CHANGING
    *    document      =
      CALL METHOD document->new_line.
      CALL METHOD document->new_line.
      text = 'Note: The maximum value for the column Qty to Print is 10,000.'.
      CALL METHOD document->add_text
        EXPORTING
           text          = text
    *    text_table    =
    *    fix_lines     =
    *     sap_style     =  cl_dd_document=>strong
           sap_color     = cl_dd_document=>list_negative
    *    sap_fontsize  =
          sap_fontstyle = cl_dd_document=>strong
    *    sap_emphasis  =
    *    style_class   =
    *  CHANGING
    *    document      =
      CALL METHOD document->new_line.
      CALL METHOD document->new_line.
      text = 'Selection Criteria:'.
      CALL METHOD document->add_text
        EXPORTING
           text          = text
    *      text_table    =
    *      fix_lines     =
           sap_style      = 'KEY'
    *      sap_color     =
           sap_fontsize  = cl_dd_document=>medium
           sap_fontstyle = cl_dd_document=>strong.
    *  CALL METHOD document->new_line.
    *  CALL METHOD document->new_line.
      IF so_mblnr[] IS NOT INITIAL.
        CALL METHOD document->new_line.
        IF so_mblnr-high IS NOT INITIAL.
          CONCATENATE 'Material Doc:' so_mblnr-low '  TO   '  so_mblnr-high INTO text SEPARATED BY space.
        ELSE.
          CONCATENATE 'Material Doc:' so_mblnr-low INTO text SEPARATED BY space.
        ENDIF.
        CALL METHOD document->add_text
          EXPORTING
            text          = text
            sap_fontsize  = cl_dd_document=>medium
            sap_fontstyle = cl_dd_document=>strong.
      ENDIF.
      IF so_bwart[] IS NOT INITIAL.
        CALL METHOD document->new_line.
        IF so_bwart-high IS NOT INITIAL.
          CONCATENATE 'Movement Type:' so_bwart-low ' TO  ' so_bwart-high INTO text SEPARATED BY space.
        ELSE.
          CONCATENATE 'Movement Type:' so_bwart-low INTO text SEPARATED BY space.
        ENDIF.
        CALL METHOD document->add_text
          EXPORTING
            text          = text
            sap_fontsize  = cl_dd_document=>medium
            sap_fontstyle = cl_dd_document=>strong.
      ENDIF.
      IF so_bldat[] IS NOT INITIAL.
        CALL METHOD document->new_line.
        IF so_bldat-high IS NOT INITIAL.
          CONCATENATE 'Document Date:' so_bldat-low ' TO  ' so_bldat-high INTO text SEPARATED BY space.
        ELSE.
          CONCATENATE 'Document Date:' so_bldat-low  INTO text SEPARATED BY space.
        ENDIF.
        CALL METHOD document->add_text
          EXPORTING
            text          = text
            sap_fontsize  = cl_dd_document=>medium
            sap_fontstyle = cl_dd_document=>strong.
      ENDIF.
      IF so_budat[] IS NOT INITIAL.
        CALL METHOD document->new_line.
        IF  so_budat-high IS NOT INITIAL.
          CONCATENATE 'Posting Date:' so_budat-low ' TO  ' so_budat-high INTO text SEPARATED BY space.
        ELSE.
          CONCATENATE 'Posting Date:' so_budat-low INTO text SEPARATED BY space.
        ENDIF.
        CALL METHOD document->add_text
          EXPORTING
            text          = text
            sap_fontsize  = cl_dd_document=>medium
            sap_fontstyle = cl_dd_document=>strong.
      ENDIF.
      IF so_matnr[] IS NOT INITIAL.
        CALL METHOD document->new_line.
        IF so_matnr-high IS NOT INITIAL.
          CONCATENATE 'Material ID:' so_matnr-low ' TO  ' so_matnr-high INTO text SEPARATED BY space.
        ELSE.
          CONCATENATE 'Material ID:' so_matnr-low INTO text SEPARATED BY space.
        ENDIF.
        CALL METHOD document->add_text
          EXPORTING
            text          = text
            sap_fontsize  = cl_dd_document=>medium
            sap_fontstyle = cl_dd_document=>strong.
      ENDIF.
      IF so_werks[] IS NOT INITIAL.
        CALL METHOD document->new_line.
        IF so_werks-high IS NOT INITIAL.
          CONCATENATE 'Plant:' so_werks-low ' TO  ' so_werks-high INTO text SEPARATED BY space.
        ELSE.
          CONCATENATE 'Plant:' so_werks-low INTO text SEPARATED BY space.
        ENDIF.
        CALL METHOD document->add_text
          EXPORTING
            text          = text
            sap_fontsize  = cl_dd_document=>medium
            sap_fontstyle = cl_dd_document=>strong.
      ENDIF.
      IF so_lgort[] IS NOT INITIAL.
        CALL METHOD document->new_line.
        IF so_lgort-high IS NOT INITIAL.
          CONCATENATE 'Storage Location:' so_lgort-low ' TO  ' so_lgort-high INTO text SEPARATED BY space.
        ELSE.
          CONCATENATE 'Storage Location:' so_lgort-low INTO text SEPARATED BY space.
        ENDIF.
        CALL METHOD document->add_text
          EXPORTING
            text          = text
            sap_fontsize  = cl_dd_document=>medium
            sap_fontstyle = cl_dd_document=>strong.
      ENDIF.
      IF so_lifnr[] IS NOT INITIAL.
        CALL METHOD document->new_line.
        IF so_lifnr-high IS NOT INITIAL.
          CONCATENATE 'Vendor:' so_lifnr-low ' TO  ' so_lifnr-high INTO text SEPARATED BY space.
        ELSE.
          CONCATENATE 'Vendor:' so_lifnr-low INTO text SEPARATED BY space.
        ENDIF.
        CALL METHOD document->add_text
          EXPORTING
            text          = text
            sap_fontsize  = cl_dd_document=>medium
            sap_fontstyle = cl_dd_document=>strong.
      ENDIF.
      IF so_xblnr[] IS NOT INITIAL.
        CALL METHOD document->new_line.
        IF so_xblnr-high IS NOT INITIAL.
          CONCATENATE 'Delivery Note:' so_xblnr-low 'TO' so_xblnr-high INTO text SEPARATED BY space.
        ELSE.
          CONCATENATE 'Delivery Note:' so_xblnr-low INTO text SEPARATED BY space.
        ENDIF.
        CALL METHOD document->add_text
          EXPORTING
            text          = text
            sap_fontsize  = cl_dd_document=>medium
            sap_fontstyle = cl_dd_document=>strong.
      ENDIF.
      IF so_ebeln[] IS NOT INITIAL.
        CALL METHOD document->new_line.
        IF so_ebeln-high IS NOT INITIAL.
          CONCATENATE 'PO NO:' so_ebeln-low ' TO  ' so_ebeln-high INTO text SEPARATED BY space.
        ELSE.
          CONCATENATE 'PO NO:' so_ebeln-low INTO text SEPARATED BY space.
        ENDIF.
        CALL METHOD document->add_text
          EXPORTING
            text          = text
            sap_fontsize  = cl_dd_document=>medium
            sap_fontstyle = cl_dd_document=>strong.
      ENDIF.
      IF so_usnam[] IS NOT INITIAL.
        CALL METHOD document->new_line.
        IF so_usnam-high IS NOT INITIAL.
          CONCATENATE 'User Name:' so_usnam-low ' TO  ' so_usnam-high INTO text SEPARATED BY space.
        ELSE.
          CONCATENATE 'User Name:' so_usnam-low INTO text SEPARATED BY space.
        ENDIF.
        CALL METHOD document->add_text
          EXPORTING
            text          = text
            sap_fontsize  = cl_dd_document=>medium
            sap_fontstyle = cl_dd_document=>strong.
      ENDIF.
      CALL METHOD document->new_line.
      IF 1x3 = 'X'.
        text = 'Barcode label 1x3 maintained'.
        CALL METHOD document->add_text
          EXPORTING
            text          = text
            sap_fontsize  = cl_dd_document=>medium
            sap_fontstyle = cl_dd_document=>strong.
      ELSE.
        text = 'Bar Code label 2x4 maintained'.
        CALL METHOD document->add_text
          EXPORTING
            text          = text
            sap_fontsize  = cl_dd_document=>medium
            sap_fontstyle = cl_dd_document=>strong.
      ENDIF.
      CALL METHOD document->new_line.

  • New field does not reflect in Table control

    Dear Experts,
    There is a requirement to add a new field in a table and gets it displayed in already created table control (with wizard). I have added a new field, I can see that in the final internal table (debugger). But the field is not getting reflected in the table control. Why? Should I delete the whole table control and create again (which I do not want to do) or is there any other way?
    As you can see in the below screenshot that there is already enough space but the last zzfield is not yet added.
    Regards
    Mani

    Hi,
    Either you use table control wizard and delete and create new table or try to understand how table control works and add the field on your own.
    Open the screen layout. Press F6 or click on Dictionary/Program fields window. Type field name here. It should be work area field in which table data is loaded by looping on the table. Click on Get from program button. Your field will be listed there. Select the line and click on OK button. Place the field at appropriate location in the table. You can change the attributes of the field by clicking on the attribute window F2.
    Thanks.
    Devendra

  • Settlement Receiver Value not Saved in Table Control Program

    Hi,
    I have Table control program regarding to Equipment Log, where in output it show the Equipment details with Account assignment category, General settlement receiver, Shift Hours, Work Hours, Idle Hrs, Maint. Hrs., Production Hours etc...
    In report, we have a formula i.e.
    Shift Hrs. = Work Hours + Idle Hrs + Maint. Hrs. + Production Hours.
    and all those fields are linked to each other.
    If we want that Work Hours should be 0, then msg showing - Working Hrs. should be entered. , means without enter Working Hrs. value we cann't save it.
    Now we removed the link of Working Hrs to others, means if we insert value 0 of Working Hrs., no msg showing. BUT Problem is this after remove this link, General settlement receiver value should not be saved.
    We want Work Hrs. as 0 value and General settlement receiver value must not be BLANK. It should be Saved.
    Plz guide..

    hi
    write a if statement after the Shift Hrs. = Work Hours + Idle Hrs + Maint. Hrs. + Production Hours.
    if work hours = 0, message i000 with 'Working Hrs. should be entered'.
    else ,write:/ shift hrs.end if. try to create a button for save when you click data will be saved or create a subrountine perform shift hrs than use if loop and select form end form inside keep Shift Hrs. = Work Hours + Idle Hrs + Maint. Hrs. + Production Hours.
    thanking you

  • Creation of a table with static data(not a DB table)

    Hi
    I need to display a table with some static data in an OAF page. This table is not a DB table. It is like an HTML table
    I have placed the following query
    SELECT 'A1','B1' FROM DUAL UNION SELECT 'A2',B2' FROM DUAL in the VO. But it is returning a single row which is acting as the header of the table.
    Can anyone help me to create the table with 2 rows inserted in it.
    Thanks
    Edited by: gsaxena on Aug 4, 2009 3:04 AM
    Edited by: gsaxena on Aug 4, 2009 5:24 AM

    Hi
    Please execute your VO inside the CO of table region ,right now it is not getting executed,thats y it is giving just column names
    use the following code PR method of CO
    OAApplicationModule am = pageContext.getApplicationModule(webBean);
    OAViewObject oav = (OAViewObject)am.findViewObject("XXVO");
    oav.first();
    let me know in case of any issue
    thanx
    Pratap

  • Data Display in the Table Control

    Hi All,
             Please help me know how to fetch the data from the internal table in to the Table Control.  I have defined the internal table with some fields and wrote the select query to fetch the records from database. But Iam unable to get the idea of how to pass the internal table records into the table control.
    Your suggestion will be appreciated.
    Thanks and Regards,
    Murali Krishna Tatoju

    HI
    if your select query is first operation before the screen is displayed.
    then write the select query in PBO.
    in PBO
    module select
    loop at itab with control tc.
    module transfer_itab_to_tc
    endloop
    in program.
    module select
    select query here and get the data.
    endmodule
    module transfer_itab_to_screen.
    move-corresponding itab to t_tab " here t_tab is strucutre from where the fields on Table control has been taken
    endmodule
    Cheerz
    Ram

  • How to Insert Data in Ztable Using table Control

    Hi All,
      Please give some ideas of how to store the data from table control into the ztable database.
    There is a table control in which the end user enters the data manually and clicks the save button. Then, the data from the table control will go and store in the ztable.
    regards
    Vicky Kumar

    Hi Vicky,
    are you talking about ABAP transaction SE11 or about creating tables in the SAP HANA directly, i.e. in the HANA Modeler perspective?
    Cheers,
      Jasmin

Maybe you are looking for

  • Lion iMac won't boot and can't re-install OS as disk locked.

    Hi, my iMac was purchased in 2011 and is running Lion, Mac OS X 10.7.5. On Monday it stopped booting and gets stuck at the apple logo and spinning thingy. I have tried to Verify and Repair the Macintosh HD disk but both fail. Next step I wanted to tr

  • I get no video on element 10 tutorial, but do get sound. I get video on browser YouTube

    I get no video on element 10 tutorials, but I do get sound. I do get video on YouTube Adobe through my browser. How do i get the picture - I can hear a dialog.

  • Procedure for Clearing Open Transfer Requirements & Posting Changes

    Dear All, With my present SAP System, both IM & WM Stocks are zero for a given Sales Order / Line item. But there are pending Transfer requirements & Posting changes due to the fact that the users have not completed up until the TO Confirmation Stage

  • Mat doc

    HI, From Material document no.  how to find sales order & delivery no for which it is created Pl suggest

  • LSMW Vendor CIN Update

    Dear Experts, In our setup we are only using FI-AP (No MM) we have enhanced field CIN in general section of vendor. Currently we wanted to update CIN information on all the vendors for which I created LSMW. I noticed that when batch map is created th