Sapscript Print field in a row .

Hi Friends ,
I have to print a field next to each other in a single row . Please let me know how to go about this .
In my print program I have this:
LOOP AT t_int FROM 2.
        CALL FUNCTION 'WRITE_FORM'
          EXPORTING
            element   = 'TEST'
            window    = 'MAIN'
          EXCEPTIONS
            element   = 1
            function  = 2
            type      = 3
            unopened  = 4
            unstarted = 5
            window    = 6
            OTHERS    = 7.
      ENDLOOP.
In the form the values of internal table should print :
XXX , XXX , XXX , XXX , XXX , XXX , XXX , XXX
XXX , XXX , XXX , XXX , XXX , XXX , XXX,  XXX
XXX are different values  in the internal table t_int.
Please advice .
Thanks ,
Hari

Hi Praveen ,
Please give me an example .
Thanks ,

Similar Messages

  • Print information from a row - Report Builder 3.0 - printer button option?

    Does Report Builder have any way of printing information from a row selection onto a page, rather than the whole report?  I don't think it has a print button option when you create the report? 

    Hi KittyCat101,
    According to your description, you want to select some particular rows when printing the report. Just as you said, there is no such feature in Reporting Services.
    To work around this issue, we can create a parameter with the key field value in the report. Then we can print the particular rows based on the selection in the parameter. For more details, please see:
    Create a multiple parameter named filter in the report.
    Specify Available Values and Default Values from the dataset key field which is acted as filter when printing the report.
    Add a filter as below in the tablix:
    Expression: [Key field]
    Operator: In
    Value: [@filter]
    When we render the report in report builder, it displays all data. While we can select the particular rows in the drop-down list when we want to print the report.
    If there are any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • SMARTFORM:  How to print on document per row in an internal table

    Hi.
    I have created a SmatForm that is a one-page document to be printed once for every row in an itab I'm sending it via the Table Interface.
    I hope I didn't waste my time designing this form but I created several Windows for each section (header, recipient address, summary of coverage, detail coverage information, disclaimer, etc.).  I arbitrarily chose the header window as the "main" window (mainly because I couldn't find out what the difference between  the different choices was).  I've got the form laid out exactly how I want it.
    If I test the SmartForm and pass in 2+ records via the test screen only the first one prints. 
    I thought about trying a LOOP but since you have to place the text within the loop that means all the Windows I have defined won't "get" any of the data.
    I thought about looping in the driver ABAP program and just calling the SmartForm once per row but that seems horribly inefficient.
    PLEASE HELP!  Can I salvage what I've done already?

    Valter:
    OK.  I'm trying this and running into a snag.
    In the Form Interface section I have a table interface parameter defined as this: 
    P_CERTIFICATES_IN TYPE ZBNTT_LIFECERTIFICATE
    next I declared a variable named "IT_CERTIFICATES LIKE LINE OF P_CERTIFICATES_IN" in the "Global Definitions" section and on my LOOP element (under my new MAIN window) I have "[X] Internal Table" checked and
    "P_CERTIFICATES_IN" "INTO" "IT_CERTIFICATES"
    but the compiler says "Global Definitions     Field "P_CERTIFICATES_IN" is unknown. It is neither in one of the specified tables nor defined by a "DATA" statement . . . . . .".
    Why can't the Smartform "see" P_CERTIFICATES_IN?

  • New User--Tbl 1 row print on change Tbl2 row print always

    I am trying to generate a report from the test director database. The report structure is:
    Table 1 has 2 columns (description for table 2) and table 2 has 3 columns. I want table 2 data to print always but only want table 1 data to print when it changes. I am able to get a lot of different results but not the one I am looking for. I am just not sure how to structure the tags around the elements to get the print I need.

    ROWSET>
    - <ROW>
    <CF_ITEM_PATH>AAAABAAAD</CF_ITEM_PATH>
    <CF_ITEM_NAME>Database Batch Export from Files - 8625224</CF_ITEM_NAME>
    <TC_TEST_ORDER>1</TC_TEST_ORDER>
    <TC_TEST_ID>2191</TC_TEST_ID>
    <TS_NAME>JDE Standards for new features</TS_NAME>
    <DS_STEP_NAME>Step 1</DS_STEP_NAME>
    <DS_STEP_ORDER>1</DS_STEP_ORDER>
    <CY_CYCLE>Database Batch Export From Files - 8625224</CY_CYCLE>
    <CF_NO_OF_SONS>0</CF_NO_OF_SONS>
    <CYCLE_NAME />
    <CY_FOLDER_ID>327</CY_FOLDER_ID>
    <HDR1>AAAABAAAD--Database Batch Export from Files - 8625224</HDR1>
    <HDR2>AAAABAAAD Database Batch Export from Files - 8625224</HDR2>
    <DS_DESCRIPTION><html><body>Review Program Helps for P00DBDLP.</body></html></DS_DESCRIPTION>
    <DS_EXPECTED><html><body>Ensure program helps are useful and accurate.</body></html></DS_EXPECTED>
    <TS_DESCRIPTION><html><body>Objective:
    Ensure JDE standards are followed.
    Pre-requisite:
    None
    Internal:
    None
    .</body></html></TS_DESCRIPTION>
    </ROW>
    - <ROW>
    <CF_ITEM_PATH>AAAABAAAD</CF_ITEM_PATH>
    <CF_ITEM_NAME>Database Batch Export from Files - 8625224</CF_ITEM_NAME>
    <TC_TEST_ORDER>1</TC_TEST_ORDER>
    <TC_TEST_ID>2191</TC_TEST_ID>
    <TS_NAME>JDE Standards for new features</TS_NAME>
    <DS_STEP_NAME>Step 2</DS_STEP_NAME>
    <DS_STEP_ORDER>2</DS_STEP_ORDER>
    <CY_CYCLE>Database Batch Export From Files - 8625224</CY_CYCLE>
    <CF_NO_OF_SONS>0</CF_NO_OF_SONS>
    <CYCLE_NAME />
    <CY_FOLDER_ID>327</CY_FOLDER_ID>
    <HDR1>AAAABAAAD--Database Batch Export from Files - 8625224</HDR1>
    <HDR2>AAAABAAAD Database Batch Export from Files - 8625224</HDR2>
    <DS_DESCRIPTION><html><body>Review Program Helps for P82100.</body></html></DS_DESCRIPTION>
    <DS_EXPECTED><html><body>Ensure information about the new option is included in the helps.</body></html></DS_EXPECTED>
    <TS_DESCRIPTION><html><body>Objective:
    Ensure JDE standards are followed.
    Pre-requisite:
    None
    Internal:
    None
    .</body></html></TS_DESCRIPTION>
    </ROW>
    - <ROW>
    <CF_ITEM_PATH>AAAABAAAD</CF_ITEM_PATH>
    <CF_ITEM_NAME>Database Batch Export from Files - 8625224</CF_ITEM_NAME>
    <TC_TEST_ORDER>2</TC_TEST_ORDER>
    <TC_TEST_ID>2202</TC_TEST_ID>
    <TS_NAME>Verify Security Functionality</TS_NAME>
    <DS_STEP_NAME>Step 1</DS_STEP_NAME>
    <DS_STEP_ORDER>0</DS_STEP_ORDER>
    <CY_CYCLE>Database Batch Export From Files - 8625224</CY_CYCLE>
    <CF_NO_OF_SONS>0</CF_NO_OF_SONS>
    <CYCLE_NAME />
    <CY_FOLDER_ID>327</CY_FOLDER_ID>
    <HDR1>AAAABAAAD--Database Batch Export from Files - 8625224</HDR1>
    <HDR2>AAAABAAAD Database Batch Export from Files - 8625224</HDR2>
    <DS_DESCRIPTION><html><body><u>WW User Exclusive</u>
    Testing the User Exclusive field values requires 2 separate user profiles. For ease of test, sign on to different sessions. With User Profile A (session 1) access the World Writer menu (G82). Select any menu option. Create a WW version. Set the User Exclusive field on the Addtional Parameters to 0. Using User Profile B (session 2) select the version created with User Profile A and type 8 in the option column.</body></html></DS_DESCRIPTION>
    <DS_EXPECTED><html><body>The V00DBDLP window will display. When User Exclusive = 0 then users other than the creator have all access to the version. Anyone can design, change detail values, check in, check out, install, transfer, copy, delete, or run the version.</body></html></DS_EXPECTED>
    <TS_DESCRIPTION><html><body>Objective:
    Test the available security features to ensure they respond as expected.
    Pre-requisite:
    Knowledge of the World Writer tool is required.
    Internal:
    None
    .</body></html></TS_DESCRIPTION>
    </ROW>
    - <ROW>
    <CF_ITEM_PATH>AAAABAAAD</CF_ITEM_PATH>
    <CF_ITEM_NAME>Database Batch Export from Files - 8625224</CF_ITEM_NAME>
    <TC_TEST_ORDER>2</TC_TEST_ORDER>
    <TC_TEST_ID>2202</TC_TEST_ID>
    <TS_NAME>Verify Security Functionality</TS_NAME>
    <DS_STEP_NAME>Step 2</DS_STEP_NAME>
    <DS_STEP_ORDER>1</DS_STEP_ORDER>
    <CY_CYCLE>Database Batch Export From Files - 8625224</CY_CYCLE>
    <CF_NO_OF_SONS>0</CF_NO_OF_SONS>
    <CYCLE_NAME />
    <CY_FOLDER_ID>327</CY_FOLDER_ID>
    <HDR1>AAAABAAAD--Database Batch Export from Files - 8625224</HDR1>
    <HDR2>AAAABAAAD Database Batch Export from Files - 8625224</HDR2>
    <DS_DESCRIPTION><html><body>Return to session 1 User Profile A and create another version or change the version from step 1. Set the User Exclusive field on the Addtional Parameters to 1. Using User Profile B (session 2) select the version created with User Profile A and type 8 in the option column.</body></html></DS_DESCRIPTION>
    <DS_EXPECTED><html><body>The V00DBDLP window will display. When User Exclusive = 1 then users other than the creator have Medium security. Only the &quot;Last Modified By&quot; user can design, change detail values, check in, check out, or delete the version. Anyone can install, copy, transfer, or run the version.</body></html></DS_EXPECTED>
    <TS_DESCRIPTION><html><body>Objective:
    Test the available security features to ensure they respond as expected.
    Pre-requisite:
    Knowledge of the World Writer tool is required.
    Internal:
    None
    .</body></html></TS_DESCRIPTION>
    </ROW>
    </ROWSET>
    the above is just a subset of the xml.
    As for the .rtf. Not sure how to attach here. But table 1 contains TS_NAME and TS_DESCRIPTION which should only print when it changes and table to contains
    DS_STEP_NAME, DS_DESCRIPTION and DS_EXPECTED.
    I have put one tag at the beginning of table 1 TS_NAME Which looks like
    <?choose:?> <?when:DS_STEP_ORDER=1?> <?otherwise?> <?for-each:ROW?>
    the end tag is at the end of table 2 DS_EXPECTED which looks like
    <?end for-each?> <?end for-each?>
    ....

  • How To Print Field Value in TOP-OF-PAGE During Line Selection.

    How To Print Field Value in TOP-OF-PAGE During Line Selection when double click on field.

    (If my memory serves me well (not used for long time ago)
    Assign values to system fields sy-tvar0 - sy-tvar9, they will replace the placeholders "&0" through "&9" in the list headers and column headers.
    TOP-OF-PAGE DURING LINE-SELECTION.
         WRITE: / 'Interactive Report &3'.
      WRITE record-vbeln TO sy-tvar3.
    Regards,
    Raymond

  • Unable to format print field on Smart Form

    Hello,
    I have a problem trying to format a print field so that it displays correctly.
    The field in question is a display of a percentage (KOMVD-KBETR).
    I currently have the following in a Program node:
    IF NOT <KO>-KBETR IS INITIAL.
    WRITE <KO>-KBETR CURRENCY <KO>-KOEI1 TO GV_KBETR .
    ELSE.
    CLEAR GV_KBETR.
    ENDIF.
    GV_KBETR has to be a character field for the WRITE to work. However if I use GV_KBETR in my TEXT node it appears some of the formatting options don't work on character fields. The one in question is (<)
    I created a variable GV_KBETR_DISP type KBETR and added GV_KBETR_DISP = GV_KBETR to the program node above. Thisformats fine on the smartform. However using this setup I occasionally get an error when executing the smartform which I diagnosed that the GV_KBETR_DISP = GV_KBETR statement doesn't handle the data correctly if the data has a space in it.
    Has anybody got any suggestions I could use to get round this problem?
    Regards
    Mike.

    Hi,
    Why can't you use the field - KOMVD-KBETR to display ?
    IF you want to map the currency to this currency format, then you can simply add it in the Gloabal defnition -> Currency / Qty fields tab.
    If you do not want to display the initial value, then you can use the text formatting option
    &symbol(I)&  Suppress output of the initial value 
    Regards,
    Selva K.

  • How can I use more lines to show a field of a row in a report?

    How can I use more lines to show a field of a row in a report? Table A have two columns: (c1 number(5),c2 varchar2(1000)).When I show the table on a report,the column c2 show itself in one row.So the width of html page is very wide.How can I split the field c2 to many lines?
    Thanks for any help.

    I was wondering if an answer was found for this one.
    I have the same problem using the default "Look 4" template for the region. I have found in the CSS file where it is defined and it specifies "nowrap" in the style, which is why the long value is not being split over multiple lines.
    So, my question is, without modifying or creating templates, is there a way to override the "nowrap" attribute from within the item definition? e.g. in the Column Attributes.Column Formatting.CSS Style field. I had some success changing the display properties, such as background colour and font size but I can't seen to override the nowrap attribute!

  • How to slipt  fields in a row of an external file and store in Table

    Hi Experts,
    I need to proces an External file and store into a table. Here need to Split the fields in a row and write as multiple rows of a table.
    here i am giving the data sample ..
    outlet1     type1     type2     type3          
    outlet2     type1     type3     type4     typ6     type7
    The table  should be as below.
    outlet1     type1
    outlet1     type2
    outlet1     type2
    outlet2     type1
    outlet2     type3
    outlet2     type4
    outlet2     type6
    outlet2     type7
    Please give your suggesions and code sample that you have
    Thanks

    hi,
    try with the below code. This code is as per data given by u in your first thread.
    DATA : it_string TYPE TABLE OF string,
           wa_string TYPE string,
           BEGIN OF it_itab OCCURS 0,
           f1(7),
           f2(5),
           END OF it_itab,
           fld TYPE TABLE OF string,
           wa TYPE string,
           wa1 TYPE string,
           cnt TYPE i VALUE 1.
           data lin TYPE i.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename                = 'C:\Documents and Settings\User\Desktop\abc.txt'
        filetype                = 'ASC'
        has_field_separator     = 'X'
      TABLES
        data_tab                = it_string
      EXCEPTIONS
        file_open_error         = 1
        file_read_error         = 2
        no_batch                = 3
        gui_refuse_filetransfer = 4
        invalid_type            = 5
        no_authority            = 6
        unknown_error           = 7
        bad_data_format         = 8
        header_not_allowed      = 9
        separator_not_allowed   = 10
        header_too_long         = 11
        unknown_dp_error        = 12
        access_denied           = 13
        dp_out_of_memory        = 14
        disk_full               = 15
        dp_timeout              = 16
        OTHERS                  = 17.
    IF sy-subrc <> 0.
    *  MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    *          WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    BREAK-POINT.
    LOOP AT it_string INTO wa_string.
      cnt = 1.
      SPLIT wa_string AT space INTO TABLE fld.
      DESCRIBE TABLE fld LINES lin.
      LOOP AT fld INTO wa.
        cnt = cnt + 1.
        IF cnt <= lin.
          READ TABLE fld INTO wa INDEX 1.
          IF sy-subrc = 0.
            it_itab-f1 = wa.
          ENDIF.
          READ TABLE fld INTO wa1 INDEX cnt.
          IF sy-subrc = 0.
            it_itab-f2 = wa1.
          ENDIF.
          APPEND it_itab TO it_itab[].
        ENDIF.
      ENDLOOP.
    ENDLOOP.
    Thanks & Regards

  • To find the date type fields in the row and validate those date fields

    TYPES : BEGIN OF TY_MARA,
              MATNR TYPE MARA-MATNR,
              ERSDA TYPE MARA-ERSDA,
              ERNAM TYPE MARA-ERNAM,
              LAEDA TYPE MARA-LAEDA,
              MTART TYPE MARA-MTART,
            END OF TY_MARA.
    DATA : it_mara TYPE STANDARD TABLE OF ty_mara,
          it_mara1 TYPE STANDARD TABLE OF ty_mara,
           wa_mara TYPE ty_mara.
    loop at it_mara into wa_mara.
      describe field wa_mara-ersda type c_data.
    if c_data eq 'D'.
      CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
        EXPORTING
          date                            = wa_mara-ersda
       EXCEPTIONS
         PLAUSIBILITY_CHECK_FAILED       = 1
         OTHERS                          = 2
      IF sy-subrc eq 0.
    wa_mara-ersda = '00000000'.
        append wa_mara to it_mara1.
        write :wa_mara-matnr,wa_mara-ersda.
        else.
            wa_mara-ersda = '00000000'.
        append wa_mara to it_mara1.
        write :wa_mara-matnr,wa_mara-ersda.
      ENDIF.
      endif.
      endloop.
    This issue regarding how to find the date type fields in the row and validate those date fields.If its not a valid date ,i have to assign initial value to that.
    I've tried that for single field using describe field.Please help me do that for all fields.

    Hi Sam,
     I believe we had discussed the same issue in the below thread. Can you please refer the below one?
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d93e16ff-c123-4b36-b60b-60ccd34f6ca7/calculate-time-differences-in-infopath?forum=sharepointcustomizationprevious
    If it's not helping you please let us know
    Sekar - Our life is short, so help others to grow
    Whenever you see a reply and if you think is helpful, click "Vote As Helpful"! And whenever
    you see a reply being an answer to the question of the thread, click "Mark As Answer

  • Missing class indicator field from database row

    Hi,
    I have following problem :
    There is a class inheritance with root interface and 4 subclasses, they are initialized with class indicator field. If I use ReadAllQuery with an interface or some of concrete class as search class - it is working perfect, but if I try to build query with custom selected fields (addPartialAttribute) I always get an error - Missing class indicator field from database row.
    AFAIK This field have not to be mapped in Workbench to real table column, how can I tell TopLink that I will read this indicator field too by reading some custom fields ? I thought TopLink reads such fields automatically, like it does it with primary keys.
    Thank you
    Maksim

    This sounds like an issue with our partial attribute queries and inheritance as the type indicator column must always be read. Can you map the type indicator to a read-only attribute (mark mapping as read-only) and include this in your list of attributes as a work-around?
    Doug

  • PDFMaker ignores pdfmarks in Word 2013 PRINT fields

    I've updated from Word 2003 to Word 2013.
    I'm using PDFMaker of Acrobat  XI.
    My Word documents contain PRINT fields with pdfmark instructions.
    These instructions were processed correctly when I used PDFmaker
    in Word 2003 to create PDF documents.
    They are NOT processed now when I use PDFmaker in Word 2013.
    Note: My pdfmarks are processed correctly when I print to Adobe PDF
    from Word 2013, which I take to mean that Word options are set correctly.
    Is this a known bug?
    Reinhard

    Thank you very much for both of your answers.
    I've had a closer look at the PDF documents that
    are created by my two software combinations.
    What works:
    Acrobat XI with Word 2003
    Application: Acrobat PDFMaker 11 for Word
    PDF Producer: Acrobat Distiller 11.0 (Windows)
    What doesn't work:
    Acrobat XI with Word 2013
    Application: Acrobat PDFMaker 11 for Word
    PDF Producer: Adobe PDF Library 11.0
    The PDF Producer explains it. Without your help,
    I would have wasted (even) more time with futile tests.

  • SAPscript printing (Works Fine in Preview, Disappear in Print Out)

    Dear Guru,
      i have a problem in SAPscript printing, especially i use ULINE(90) inside forms,  it's works fine in Preview, but when i print it out after 89 of ULINE showed, it's show blank area and the 90th uline appear in next line.
    any expert in this area can tell me what happen?
    thanks.
    Howard

    Hi Howard,
    this is printer problem.
    Appart from regular settings we have left margin and right margin settings for printer.
    If you rememmber we can do this setting if we print MS WORD document.
    There is no setting available in SAP.
    So solution is to increase right margin on your laout and try to fit your contents in same.
    The preview is dependening on device type in SAP so u get previeew right.
    Hope this will help.
    Thanks,
    Dhiraj.

  • Some fields in form not printing but do print when printing fields only

    Hope that someone can help with this. I have filled in some forms (supplied by a third party) and when I print these forms the content of some fields are printed, and some are not. I have found out that if I cut a field's content, then paste into the same field, then tab out of the field, then the field content will be printed. I have about 20 of these forms with a lot of fields, so I would prefer another solution ;-)
    The strange thing is, when I choose to print fields only (I have Dutch version of Acrobat, not sure if it has that exact name in English) ALL fields are printed correctly!
    I have scanned the forums and tried several printing options, including printing as image.
    I have tried using Acrobat 8.1.6 Standard on Windows (at the office) and the latest Acrobat Reader on both Ubuntu Linux and Mac OSX (at home) with the same results.
    Any suggestions?
    thanks
    Paul

    The first time I chatted with iTunes support they ended it by giving me 2 free song downloads. No offense, but I don't want to download anything but what I've already paid for. The second person to help me through email support gave me 6 free song downloads. This is frustrating because neither can offer a solution to why iTunes says 6 of this album's tracks are downloaded to my computer and won't allow me to redownload them... BUT on another device I can redownload the album in its entirety. That sounds like a very technical question that I just don't think they train their support staff to handle.
    So, does anyone know how I can get this computer to UNRECOGNIZE these songs as downloaded, thus allowing me to download the full album to this computer?!

  • SAPScript - Print Preview 2 Pages - Physical Print overlap as 1 Page

    HI Experts,
    I have a problem with Invoice SAPScript Printing - where the print preview is good with 2 Pages,
    But when it physical prints out - Only 1 page and overlapping the Second page content to the first.
    Any idea where did I miss out?
    Thank you in Advance.
    Regards,
    CWLIM

    HI ,
    Sheelesh  is right.
    I had both SAPScript and Smartform issue with the overlapping printing.
    What you need to do is to check your page format to see if it is the correct size for the specific printer.
    If it is too big for the printer paper size - it will overlap the printing as 1 page.
    For example : A4 Lanscape printing on normal HP Laser Printer - DINA4 Landscape should be used.
    Or at least when you define your own page format - refer to the correct size and orientation.
    HOpe this helps.
    Thank you all

  • SAPscript print program for multiple pages

    Hello friends,
    How to write SAPscript print program for multiple pages? please help me.
    Thanks and regards,
    Shivanand.

    I believe you have posted this question in the wrong forum.  There is an ABAP Forms Printing Forum.

Maybe you are looking for

  • USB port power management issue on apple aluminium wired keyboard after upgrade to 10.8.5

    Hi there, Since I upgraded my imac (late 2012) from 10.8.4 to 10.8.5 today, i can't plug any usb flash drive, or my iPhone, to the USB port of the wired keyboard anymore; I have a power management message asking to plug the usb device to the imac dir

  • Monitoring FCP through a LG HD Monitor

    Hi All. My company recently replaced our old SD broadcast monitor with a LG HD TV monitor. To save money we ordered it from Best Buy. We also started shooting and editing with P2 footage. After the footage is logged and transferred and in the project

  • Update long text in notification

    Hi experts, I try to update (add next entry) to the long text in notification header. I tried with BAPI 'BAPI_ALM_NOTIF_DATA_ADD' to fill table NOTFULLTXT, but it seems that it can only add an entry and not append another one (one entry already exist

  • Third party apps won't run

    I've had my iPhone for a couple months. Last weekend I upgraded to os 3.0. Today I had to restart my phone. Since then, no 3rd party apps will run. They start, then immediately quit. Native apps work fine. Any suggestions?

  • Sharing color settings between Photoshop or Lightroom

    Okay, I'll admit it! I'm partially red-green color-blind. It's quite common in males actually, so it's not that unusual. However, it does make it tricky while color-correcting skin-tones. I work for a wedding photography and cinematography company in