Tab spaces in SAPScript RDI output

Hi,
Is there a way to test the spacing while using TABs in SAPScripts which has an RDI output?
I've been trying to display some text on my output and I've tried different spacing/tabs. Nothing seems to work. We produce a PDF at the end and since my development system is not connected to the server which produces physical PDF's, I have to release my changes to the Test system each time I want to try different combinations which is very annoying.
Thanks,
Tabraiz
Edited by: tabraiz khan on Aug 31, 2011 1:13 PM

Hi,
I'm afraid, RDI output has no print preview type of option for you to print. I would rather suggest you to get the PDF printer installed on your development system to preview RDIs.
Thanks.
Ravi

Similar Messages

  • SAPScript RDI output

    Hi,
    Can anyone help me on this. I've to output the SD documents using a 3rd party tool called AUTOFORM. Does anyone have any white paper or any such kind of information related to RDI in connection with SAPScript.
    Thanks in advance.
    regards,
    Satya
    [email protected]

    Hi Satya,
    I remember copying and saving this tip (source unknown) describing passing data from the spool or anywhere else to third party tools. After cross-referencing the link you were given on SDN, this makes good sense.  Here's the tip:
    You need to define a printer in the R/3 spool administrator. The definition will contain all the information about where the data stream should be directed. For example where the app. server runs on NT.
    a) Define a local printer, RAWPRINT on your presentation PC.
    Make it a local printer,
    Set the port to be 'FILE'
    The manufacturer should be 'Generic and Text Only'
    Give the printer the name 'RAWPRINT'
    b) Define printer on SAP using SPAD
    Set device name to ZRAW,
    Category is PLAIN
    Destination host is the IP address of your PC.
    Host printer is 'RAWPRINT'
    Linkage type is 'U'.
    c) You must have SAPLPD started (should be on your SAPGUI
    installation CD if not already installed).
    d) During the print operation, select output device = ZRAW and RDI = 'X'. The output file is then saved to a file, the name of which is determined by a dialog on your PC.

  • Sapscript - Paragraph Format - Tab space Issue

    Hello Experts,
    I'm facing issue with the Tab Space Alignment in the Paragraph Format.
    I'm giving these values for a Paragraph Format Tabs:
    Tab  Position:
    1: 0,10 CH
    2 :3,50CH
    3: 6,50CH
    12: 76,00CH
    Inspite of reducing the TAB position for 5th Tab; it is still aligning a bit far.
    And whenever the Description (Field 3) is longer; all the Values are pushing towards right.
    Alignment is not getting adjusted. How can I make this as Fixed?
    Here's the screenshot:
    Please advise.
    Thanks & Regards,
    Sowmya

    Hi,
    For Standard Text, Paragraph format will be applicable from Standard Styles which will be creating in Transaction code SE72 and apply that Paragraph Format to Text in Standard Text transaction code SO10 then the Paragraph format will be applicable. And transport the Created Style in SE72 to Quality and Production Systems.
    Apply the Created Paragraph format created in SE72 to text by below steps:
    So10>Provide text>Click on CHANGE>Click on MENU FORMAT>Change Style->Double click on STYLE created in SE72-->Apply the newly created Paragraph Format to text in So10
    Edited by: Venkatmani29 on May 2, 2011 12:43 PM

  • Eliminate Tab spaces in Customer Text

    Hi SAP Gurus,
    I have a requirement.
    In Smartforms/Script I pull Text from SD Invoice at header level. This text is getting copied from Customer master into Invoice. In Customer master if user enter text along with the spaces or Tabs, It disturbs the Billing output layout. Text doesn't print properly on output. Is there any code available to avoid spaces or tabs in Text so that Text can print accurately.
    Thanks in advance.

    Hi naveen,
    CONDENSE
    Basic form
    CONDENSE c.
    Addition
    ... NO-GAPS
    Effect
    Shifts the contents of the field c to the left, so that each word is separated by exactly one blank.
    Example
    DATA: BEGIN OF NAME,
    TITLE(8), VALUE 'Dr.',
    FIRST_NAME(10), VALUE 'Michael',
    SURNAME(10), VALUE 'Hofmann',
    END OF NAME.
    CONDENSE NAME.
    WRITE NAME.
    produces the output:
    Dr. Michael Hofmann
    Addition
    ... NO-GAPS
    Effect
    Suppresses all blanks from the field c
    Example
    DATA: BEGIN OF NAME,
    TITLE(8), VALUE 'Dr.',
    FIRST_NAME(10), VALUE 'Michael',
    SURNAME(10), VALUE 'Hofmann',
    END OF NAME.
    CONDENSE NAME NO-GAPS.
    The contents of NAME is now " Dr.MichaelHofmann ".
    Since the field string NAME is interpreted and handled like a type C field, the CONDENSE statement treats it as a whole and ignores any sub-fields. The contents of the component field would therefore now be as follows:
    NAME-TITLE = 'Dr.Micha'
    NAME-FIRST_NAME = 'elHofmann '
    NAME-SURNAME = ' '
    Note
    Performance
    The runtime required to condense three fields is about 20 msn (standardized micooseconds). The variant ... NO-GAPS needs about 12 msn.
    Regards,
    Anand

  • Suppress tab space

    Hi All,
    I'm writing following code and Im getting out as below.
    I'm capturing this output log in unix. The issue is Im getting tab spaces in the output
    declare
        lv_SQL        VARCHAR2(32000);
        lv_Col        VARCHAR2(256);
    begin
    lv_Sql := 'SELECT ''PL_CUS_DETAILS             :'' || COUNT(1) CNT FROM PL_CUS_DETAILS';
    EXECUTE IMMEDIATE lv_Sql into lv_Col;
    DBMS_OUTPUT.PUT_LINE(lv_Col);
    end
    [CODE]
    declare
        lv_SQL        VARCHAR2(32000);
        lv_Col        VARCHAR2(256);
    begin
    lv_Sql := 'SELECT ''PL_CUS_DETAILS             :'' || COUNT(1) CNT FROM PL_CUS_DETAILS';
    EXECUTE IMMEDIATE lv_Sql into lv_Col;
    DBMS_OUTPUT.PUT_LINE(lv_Col);
    end
    ====OUTPUT=========
    cat -vt output.out
    PL_CUS_DETAILS^I^I   :2note: ^I is the tab space character(unix).
    I have tried different options to suppress this tab space but of no use.
    Plz help in suppressing these tab spaces.
    Thanks & Regards,
    CDPrasad
    Edited by: cdprasad on Aug 16, 2010 8:18 AM
    Edited by: cdprasad on Aug 16, 2010 8:18 AM

    Hi Amit/David,
    Executed the same in different ways.
    ==>  MY_OUTPUT=`sqlplus -s username/password@server<< SQL_EOF
    WHENEVER SQLERROR EXIT 1;
    WHENEVER OSERROR EXIT 1;
    SET FEED OFF
    SET VERIFY OFF
    SET SERVEROUTPUT ON
    declare
    lv_SQL        VARCHAR2(32000);
    lv_Col         VARCHAR2(256);
    BEGIN
    lv_Sql := 'SELECT ''PL_CUS_DETAILS             :'' || COUNT(*) FROM DUAL';
    EXECUTE IMMEDIATE lv_sql into lv_col;
    dbms_output.put_line(lv_col);
    end;
    EXIT
    SQL_EOF`
    ==> echo $MY_OUTPUT | cat -vt
    PL_CUS_DETAILS :1
    ==> cat test.sql
    WHENEVER SQLERROR EXIT 1;
    WHENEVER OSERROR EXIT 1;
    SET FEED OFF
    SET VERIFY OFF
    SET SERVEROUTPUT ON
    SPOOL ABC.TXT
    declare
    lv_SQL        VARCHAR2(32000);
    lv_Col        VARCHAR2(256);
    BEGIN
    lv_Sql := 'SELECT ''PL_CUS_DETAILS             :'' || COUNT(*) FROM DUAL';
    EXECUTE IMMEDIATE lv_sql into lv_col;
    dbms_output.put_line(lv_col);
    end;
    SPOOL OFF
    ==> cat call_sql.sh
    sqlplus -s <<EOF
    @password.sql
    @test.sql
    EOF
    ==> call_sql.sh | cat -vt
    PL_CUS_DETAILS^I^I   :1
    ==> cat -vt ABC.TXT
    PL_CUS_DETAILS             :1 
    ==> nohup call_sql.sh &
    ==> Sending output to nohup.out
    ==> cat -vt nohup.out
    PL_CUS_DETAILS^I^I   :1The first gives output as
    PL_CUS_DETAILS :1 instead of PL_CUS_DETAILS :1
    The second gives output as
    PL_CUS_DETAILS^I^I :1 instead of PL_CUS_DETAILS :1
    but in the spool file it is same as PL_CUS_DETAILS :1
    but the same thing when executed using nohup it looks like below
    PL_CUS_DETAILS^I^I :1 instead of PL_CUS_DETAILS :1
    Note: cat -vt is used to display nonprinted characters(tab is ^I)
    There is something wrong in the way the unix stores the output.
    Thanks & Regards,
    CDPrasad
    Edited by: cdprasad on Aug 18, 2010 9:40 AM

  • Email of SAPSCRIPT Print Output

    Hi,
    Can anyone please tell me steps to send an External Email from SAPSCRIPT.
    let me elaborate more on this.I have a "Z" print program for printing RFQ's.Now we need to send this output thru Email as well to vendors.
    Thanks in advance,

    Hi,
    You do not need to bother with the OTF stuff - you can ditch it.
    Use the code below to achieve the e-mailing :
    *--- Set the recipient e-mail address
    LW_COMM_VALUES-ADSMTP-SMTP_ADDR = [email protected]
    *--- Set title
    LW_SNAST-TDCOVTITLE = SY-TITLE
    *--- Set sender and recipient details
    CALL FUNCTION 'CONVERT_COMM_TYPE_DATA'
    EXPORTING
    PI_COMM_TYPE = 'INT'
    PI_COMM_VALUES = LW_COMM_VALUES
    PI_REPID = SY-REPID
    PI_SNAST = LW_SNAST
    PI_MAIL_SENDER = SY-UNAME
    IMPORTING
    PE_ITCPO = GW_ITCPO
    PE_MAIL_RECIPIENT = LW_RECIPIENT
    PE_MAIL_SENDER = LW_SENDER
    EXCEPTIONS
    COMM_TYPE_NOT_SUPPORTED = 1
    RECIPIENT_CREATION_FAILED = 2
    SENDER_CREATION_FAILED = 3
    OTHERS = 4.
    The objects used here are defined as follows :
    LW_COMM_VALUES TYPE SZADR_COMM_VALUES
    LW_SENDER TYPE SWOTOBJID
    LW_RECIPIENT TYPE SWOTOBJID
    LW_SNAST TYPE SNAST
    This will give you the recipient and sender details. Now all you need to do is call the function OPEN_FORM as follows:
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    DEVICE = 'MAIL' <--- Note: Device is PRINTER for printing
    DIALOG = SPACE
    FORM = SAPscript form name
    LANGUAGE = SY-LANGU
    OPTIONS = GW_ITCPO
    MAIL_SENDER = LW_SENDER
    MAIL_RECIPIENT = LW_RECIPIENT
    EXCEPTIONS
    CANCELED = 1
    DEVICE = 2
    FORM = 3
    OPTIONS = 4
    UNCLOSED = 5
    MAIL_OPTIONS = 6
    ARCHIVE_ERROR = 7
    INVALID_FAX_NUMBER = 8
    MORE_PARAMS_NEEDED_IN_BATCH = 9
    SPOOL_ERROR = 10
    CODEPAGE = 11
    OTHERS = 12.
    This is far easier to use this method.
    Any questions, please let me know.
    Kind regards
    Colin

  • How to delete tab-space in one go?

    Hello,
    On every paragraph on my layout, I have this unwanted tab-space.
    How do you remove tab-space in paragraphs (Marked as Red) in one press without affecting the other tab-space (Marked as Green)?
    I have an idea of using the Find feature but I don't know what the code for tab-space is.

    rapirap wrote:
    I used ^t then changed it to nothing but the 5 consecutive tab-spaces get changed too.
    You were in the wrong part of the find/change window. See the following screenshot:
    If you are in the Text portion of the window, ^t is the code to find any tab. If you replace that with nothing and click the Change All button, it will find every tab in your search area and replace it with nothing. You can't do what you want in one step that way.
    If you click on the GREP portion (as Ellis had suggested):
    …the ^t code won't work, because GREP is different from Text. In GREP, \t is the code for tabs, and the ^ before the \t tells it to look for only the tabs at the beginning of paragraphs. You could hit the Change All button and it will remove all of the tabs at the beginning of paragraphs, but not the 5 tabs in a row.
    That said, why do you want 5 tabs in a row? If you describe what you are trying to do, I'm sure there are much better ways to work. And you may also want to think about not using two spaces after a period. That's an old typewriter rule that hasn't been recommended since desktop publishing began many years ago.

  • Office Web Apps Server 2013 - Word Web App - Problem with Tab space

    Hello We have Office Web Apps Server 2013 running with SharePoint 2013.  Users Editing a Word document with Office Web Apps, can't use "Tabs", any Word document with Tabs; the tabs are replaced with a single space.
    Has anyone noticed this?  Is this a bug?
    -thanks
    thomas
    -Tom

    Yes, currently the Word Web App does not support
    Tab Keyboard shortcut for editing document content .
    For more information, you can have a look at
    the article:
    http://office.microsoft.com/en-us/office-online-help/keyboard-shortcuts-in-word-online-HA010378332.aspx?CTT=5&origin=HA010380212
    http://social.technet.microsoft.com/Forums/en-US/3f5978d3-67a1-4c8c-981f-32493d72610b/office-web-apps-server-2013-word-web-app-problem-with-tab-space?forum=sharepointgeneral

  • How to delete extra tab space in the flat file??

    Hi all,
        I have a flat file on presentation server which has 20000 records. In this file there are 16 fields and distance between each field is different and what I want is each field should have one tab space between another.
    Thanks & Regards
    Jerry

    Hi,
    I dont want to join the fields but to seperate them with a tab space.
    Regards
    Jerry

  • Import from Word - tab space used with a Word style does not import consistently

    When I import from Word using RH 10 (but this has been the case with all versions of RH that I've used) the import messes up my tab spacing in my Note style. To clarify: The Note style in my Word document has the word Note followed by a tab space and then the content of the Note. When I import a Word doc to RH, the conversion of this tab space is inconsistent (from 4-6 spaces) - it seems to depend on the length of the note and whether it continued onto a second line in the word document. Is there any solution to this? TIA.

    Simply that plans change at this time of year.
    I got exactly the same result and at first I wondered if it was because the document had tracked changes in it. I have seen that cause problems in the past and always recommend accepting them, in a copy document if you don't want to lose the tracking.
    Accepting the changes made no difference and I would say this is a bug. Fortunately though there is a workaround that may be acceptable. Quite simply, add a full stop (period) or some other character after the number. A space will not work.
    The more people who report a bug or request a feature, the more likely it is to be actioned. Please follow this link.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • How to define the tab space in the PL/SQL editor with Oracle Forms 4.5?

    When I use the PL/SQL editor with Oracle Form Builder, I found the tab space is very long that affects my programs readability quite a lot. Then, I tried to use Textpad to type my program. It looks fine with Textpad. However, when i tried to 'cut and paste' my code back to the PL/SQL editor, all tab spaces (approx. 8-character) are detected and the program looks awful again ~~ Would any one help me to solve my mentioned problem?
    Thanks for any advices!

    In 4.5 you cannot change this. In Forms 5.0 and above there is a registry value DE_PREFS_TABSIZE which allows you to set a value for the tabsize.

  • About the tab space .......

    hi team,
                    i need small info. on the tab space ...
    i have declared the paragragh format for p1 with different spaces... like
    for field like kunnr, name1, land1, ort01
    for p1: tab spaces
    tab1 : 5 cm - left
    tab2  10 cm- left
    tab3 15 cm -left
    p1 :   &kunnr& ,,,,&name1&,,,,&land1&,,&ort01&
    who it will take the tab spaces can any one explain ..........
    from the name1 who it will calculate............

    for field like kunnr, name1, land1, ort01
    for p1: tab spaces
    tab1 : 5 cm - left
    tab2 10 cm- left
    tab3 15 cm -left
    p1 : &kunnr&,,,,&name1&,,,,&land1&,,&ort01&
    Hi
    Dear this is not gonna work....
    In scripts evry ',,' counts for tab spclly when they are in same line..here you are using two tabs i.e ,,,, for printing name1 and again printing land1 after 4th tab i.e 2+,,,, i.e. more tabs...
    I think you need to create the code as like this....
    p1 : &kunnr&,,&name1&,,&land1&,,&ort01&
    for p1: tab spaces
    tab1 : 5 cm - left
    tab2 10 cm- left
    tab3 15 cm -left
    Reward if useful..
    Cheers
    Anup

  • RDI Output from Sap Script

    Hello ,
    I would like to know whether it is possible to generate RDI with some additional variables and at the same time hide them in SAP Script.
    Regards
    Amruta

    See below link, it should help you Re: SAPScript RDI output

  • How to detect TAB SPACES?

    Hi Experts,
    I'm reading an external file that contains TAB Spaces via GUI_UPLOAD, I transferred it into an internal table and tried to replace the TAB spaces with my line of code below, but still it doesn't work. Below is my line of code and also the structure of the external file that I'm reading, how can I detect TABS? code CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB doesn't work.
    Many Thanks in advance
        LOOP at i_tab into wa_tab.
          REPLACE ALL OCCURRENCES OF CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB IN wa_tab WITH ','.
          WRITE /: wa_tab.
           MODIFY i_tab FROM wa_tab.
        ENDLOOP.
    Structure of my external file
    NAME1                                            Country                     Language                    NAME2                 
    Daiwabo Information System               JP         Japanese                販売推進本部 ソフトウェアセンター
    Hitachi Electronics Services               JP         Japanese             DS本部 DS第2営業部 日本ユニシス様担当営業
    NRI Network Communications, Ltd       JP         Japanese             インターネット事業部
    NEC Nexsolutions, Ltd.                       JP         Japanese             資材部
    Nippon RAD Inc.                               JP         Japanese             第一事業本部 インフラ事業部
    Softbank BB                                       JP         Japanese             MD2/SW2/1課
    Marubeni Infotec                               JP         Japanese             商品MD2部 ソフトウェア1課
    BR,
    LBJ23
    Edited by: LeBron23 on Jul 29, 2009 1:04 PM

    Hi,
        How you have passed values in GUI_UPLOAD FM
    Check below link
    CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                      = lv_file
    *     FILETYPE                      = 'ASC'
         has_field_separator           = 'X'            " -----> Just set this flag and see in debugger after upload, values must be in required fields of Itab
    *     HEADER_LENGTH                 = 1
    *     READ_BY_LINE                  = 'X'
    *     DAT_MODE                      = ' '
    *     CODEPAGE                      = ' '
    *     IGNORE_CERR                   = ABAP_TRUE
    *     REPLACEMENT                   = '#'
    *     CHECK_BOM                     = ' '
    *     VIRUS_SCAN_PROFILE            =
    *     NO_AUTH_CHECK                 = ' '
    *   IMPORTING
    *     FILELENGTH                    =
    *     HEADER                        =
        TABLES
          data_tab                      = lt_ebidclt
       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.
    Regards
    Bala Krishna

  • There is no facility of bullet points and tabs space I have seen in the any versions of Adobe Muse

    There is no facility of bullet points and tabs space I have seen in the both versions of Adobe Muse while working with paragraph text layouts. Can anyone tell me the about it if there?
    Saleem Pasha
    Graphic Designer
    Toronto, Canada

    It's unlikely Muse will ever have tab stops (since HTML/CSS has no concept of tab stops).
    Lists and tables are both highly requested features. It's likely lists will be supported in Muse before tables, not due to prioritization, but due to the fact tables is vastly more complicated and thus more work to design, implement and test.

Maybe you are looking for

  • Problem with business process modelling

    Hi guys, Im facing a new problem, while trying to build a new business process in Solution_Manager im getting the runtime raise_exception each time im activating the business process details button. What are the reasons? And how do i handle it? P.S.

  • My skype phone number shows incorrectly on the per...

    When I call someone from my Skype app on my computer and that includes my cell phone, the number that comes up on my cell phone caller ID and the people I call is NOT my Skype number so those people I call never answer their phone because they don't

  • Web service accepting array of object

    I am new to JDev and ADF, we have requirement to build a web service which can receive array of object. Basically there is a Dot Net service which will read email account from exchange server and send all the read emails by consuming our web service.

  • SXMB_MONI Error: Receiver: Header before undo of mapping

    Hi, I have created webservice using a service interface, when I try to test this interface using WS Navigator then I am getting below error in trace. The message is showing status "Application Error- Restart Not Possible"   <Trace level="2" type="T">

  • How do I use copylocale.exe correctly?

    Hi, I've been trying to use copylocale with to add another locale (say fr_FR or es_ES). I went to the bin/ directory and gave the command copylocale.exe en_US es_ES This created the .swc files in the framework/locale/es_ES directory. Also, it created