Sapscript Standard Text Printing - Format Problem

Heros,
              I wanted to print one standard text(Basic Text of Process order) in sapscript.I am using the INCLUDE command instead of Read_text FM , so that I can keep the Paragraphs of that text intact.But I am falling short of two requirements of my client.
1. He has highlighted Some words of the text and underlined some of the text. He wants that character format intact in spascript.How can I do that?
2. The script initaly was using Read_Text and was storing the value in a variable wa_line and was printing in script as
<b>[LI ]  DESCRIPTION:  &wa_line&</b>
so it was printing like
DESCRIPTION:   fasfoihfaishfiahfiafhfihfahfiashfiahfahfiafiasfihahfisahfafasi
But now I am using INCLUDE command as follows
<b>[LI] DESCRIPTION:
[: /] INCLUDE OBJECT BLAH BLAH</b>
So it is printing like
<b>DESCRIPTION:
fasfoihf
aishfiahfiafhfihfa
hfiashfiahfa
hfiafiasfihahfisahfafasi</b>
I want to get them in same line.
I mean
<b>DESCRIPTION: fasfoihf
aishfiahfiafhfihfa
hfiashfiahfa
hfiafiasfihahfisahfafasi</b>
Is that possible?
<b>Reward Point Guranteed.</b>

Hi Anid,
When you are creating your standard text the default value in the tag column is *. If you change this value to = (Extended line) the display of standard text will start in the same line as the previous value (in your case it will display the standard text in the same line as DESCRIPTION:).
Hope this solves your problem!
Regards,
Saurabh

Similar Messages

  • Standard text printing in sapscripts in EN & DE Language....

    HI All,
    My requirement was very simple....
    I have some 6-7 Layouts......
    i want to replace some hard coded text with some  other text in those layout when the layout  language is DE .the text will be in german...
    for all remaining langauges of the layout i want the text to be displayed in EN.
    can i use Standard Text or mormal hard coding will do aa....How....can any one help me out with sample coding or navigation....
    Thanks
    Ganesh

    Hi Kalandar,
    The above solution was not working......I'll explain my problem clearly once again.
    1. I have 6 layout to be changed in language DE
        In the main window with tax text element i have some hard code in german language...that has to be replaced with some      other  sentence in german only(i have both the Sentences with me)
    2. For the same 6 layouts to be changed in other languages(except DE)
    same window ,same  text element ,same hard code,but in English i have that to be replace with some other english sentence.
    Simple to say in those 6 layouts if layout lang is DE then german sentence ,if lang other then DE...English sentence
    Please check the possibility to use standard texts for this texts. Do u have to make any changes to program as well...
    Plz help me out regarding this ...very important
    Thanks
    Ganesh

  • Standard Text printing in SAP Scripts

    Hi All,
    Iam printing data from Standard Text it is printing
    but i need like
                            Bank            ICICI
    but the below is giving
                           Bank
    ICICI
    AS    ,,,,,,,,,,,,,,Bank,,,,,,,,
    /:       INCLUDE &V_ACC& OBJECT TEXT ID ST LANGUAGE EN
    Can you please tel me how to do

    Hi,
        How your are creating the Standard text V_ACC in transaction SO10? create it with Contineous text, defailt will be as Command line(/:), thats why all the Standard texts will be printed on New line.
    Tcode : SO10
    Text Name :- V_ACC
    Text Id      :-  TEXT
    Language:-  EN
    The text should be
    ICICI                       "For Continues text paragraph format will be blank
    not as below
    /:  ICICI                       "For New line text paragraph format will be /:
    Now call the standard text in your Sapscript
    AS    ,,,,,,,,,,,,,,Bank,,,,,,,,
    /:       INCLUDE V_ACC OBJECT TEXT ID ST
    Just check the tab spaces after Bank statement, if it is more Included text will be in next line.
    Regards
    Bala Krishna

  • Standard text printed only on one line

    Hi experts,
    I have a standard text in several lines:
    Line 1
    Line 2
    Line 3
    but in the pdf form it's printing in the same line:
    Line 1 Line 2 Line 3...
    Any suggestions ?
    /Kiehn

    Hello!
    1) When you say you have Standard text is several line that does not mean, that system have is in several lines.
    I don't know if you are aware or not, but while SAP system always stores long texts in 70 (or about so) char segments the fact that they are printed on one or several lines is controlled solely by formatting column that precedes each line in TLINES table. So, does your text has line breaks or new paragraph marks before those lines?
    2) If everything in above is correct, than maybe you have to check the format you use to transfer text from SAP to Adobe (in interface/context). Please, recheck what is stated [here at SAP Library|http://help.sap.com/saphelp_nw70/helpdata/en/04/ecfab99fc345f8826490df387aaf82/frameset.htm]. All this together with correct format for field (Rich text or Plain text) plus (as stated by poster above) "Allow multiple lines" and "Expand to Fit" (vertically) formatting should do the trick.
    Regards,
    Petr Perstnev

  • Print Formatting Problem On Specific Printers

    When printing an ABAP list in LOCL mode, on certain printers the grayscale backgrounds of fields print as slashes ////// and others print as crosshatched.
    For example, on a Canon 2200 printer,
    this code prints as crosshatched background behind the text:
          WRITE: / 'INSTALLATION:',
          15 GSTR_REP-ANLAGE COLOR 6 INVERSE ON.
    This code prints as slashes in background, behind the text:
          FORMAT COLOR 5.
          WRITE 'Write some text'.
          FORMAT COLOR OFF.
    On an HP 8150 printer, the same report prints a grayscale background for the color 5 example, and a plain background for the color 6 example.  It does not matter which output device is chosen, the output is the same.
    Any ideas on how to resolve this, so the report prints the same way on all printers?
    Thanks

    It really all depends on the printer drivers being used for each model of printer.  I would say that if you want all the printers to print the same,  buy all they printer model.  I know that this is not realistic,  but I think that you are stuck with what ya got.  I don't know if changing the print device attributes at the OS level of SAP will help or not.
    Regards,
    Rich Heilman

  • Standard text printing missing on Smartform

    Hi All,
    I am using standard text in Smartform.
    Standard text contains 'terms and conditions' hence it's used for printing in second page.
    For printing standard text one window other than Main window has been created in second page.
    Now when I am taking print preview of smartform only two pages are visible and on second page complete standard text is not displayed. As standard text is of two pages then rest missing text should come on third page as a continuity.
    But missing standard text is not getting diplayed.
    Any suggestion what shall we do to print complete standard text.
    Regards,
    Amit
    Edited by: Amit  Singh on Nov 25, 2010 11:38 AM
    Edited by: Amit  Singh on Nov 25, 2010 11:39 AM
    Edited by: Amit  Singh on Nov 25, 2010 11:39 AM

    I tried to use the 2nd option provided by you but still this prolem is not resolved.
    Missing Standard text is not going in a new page.
    I tried to expand the window size and now entire text is coming in a single page. But by this way page window is not same as in a first page.
    Is there any otherway to print the rest missing text in next page of the smartform.
    Regards,
    Amit

  • How to protect SAPscript: Standard Texts

    Hi Friends,
       there is one SAP standard Text, "Z_SERV_QUOT_TERM_NEW", for contract terms & conditions which can be changed in production via transaction SO10. Is it possible to view history of changes made to standard text?  Or, is it possible to protect this standard text from being changed by users who have access to SO10? So we can keep track of this thing and know who is making the changes in Text or restrict the users to make changes. Any ideas would be much appreciated.  Thank you!
    Thanks,
    Priya

    Hi Anirban & Tomasz,
        thanks for giving valuable inputs. i think creating a program and there validating the authorizations for the users seems good idea but how can i force the program to validate the users before entering the SO10 in Change mode. i mean, people will directly got to Tcode SO10, but not in to the program and from there to SO10. for this Zprogram i can't give the same tcode as SO10, system won't allow that.
    i think in our company no roles been created for the object S_SCRP_TEXT. is it enough if they create the roles, so that i can restrict the users or do i need to write a program to validate the users authorization. if i need to write the program can you tell me how to stop users, going to Change screen of SO10 from this program?
    now i need to ask the basis guys to create the roles, and add the below logic in program, if i have to create the program
    AUTHORITY-CHECK OBJECT 'S_SCRP_TEXT'
    ID 'FIEL1' FIELD 'EN'
    ID 'FIEL2' FIELD 'Z_SERV_QUOT_TERM_NEW'
    ID 'FIEL3' FIELD 'ST'
    ID 'FIEL4' FIELD '02'.
    Thanks,
    Priya

  • Pre Printed Format Problem.

    Hi, Experts.
    My Client Have Pre Printed Formats so i designed PLDS In
    PLD When I am Increasing Height Of The Page Header at this
    time Page Footer Data Base Fields are changing there Size.
    Similarly Page Footer also.
    When we are Desiging For Pre Printed Formats What is the
    Important things we have to Do ? We are Using DOt Matrix
    Printer in this we have setting for Page Formats and Instially I
    measure Existing Pre printed format then i conver it to Points
    Bsed on this Points i created Layout here also iam not able to
    get exactly in that fileds.
    When we are using Pre Printed Formats intially what we have
    to do ? I set
    Printer :Epson LQ -1050+
    Page Format:FanFold 8.5*12in
    Margins
    Left:20
    Right 20
    Bottom:10
    Upper:10
    I choose Grid -> Format:Contious Line
    Size 10
    were i need to set alignments ?
    regds,
    sampth.

    Hi
    When using a Dot Matrix printer you should follow the steps from the SAP Note 724904 that helps you with the paper size.
    The Dot Matrix printer you are using is not supported so you may getting it working now, but may stop working in future patches or version as the application is not ready to work with this printer.
    Those are the support printers
    https://service.sap.com/smb/sbo/documentation -> SAP Business One 2005A 
    SP01 -> Solution Operations Guides: DB2, SQL, SQL2005, Sybase .         
    - Citizen PROdot 300                                                    
    - Epson FX-880                                                          
    - OKI MICROLINE 320 Elite                                               
    - Epson FX-890 (SAP Note 1064382)                                      
    Paulo Calado
    SAP Business One Forums  Team

  • Standard form print view problem

    hello,
    I have a problem with a standard form (SAPscript). I have a different print view for each printer defined in the system. This problem appeared after a system upgrade.
    Do you have any idea on what could be the problem source?
    Thank you in advance for your reply.
    Omar.

    Hi,
    check with SPAD  --- spool adminstration
    Regards,
    Madhu

  • Discoverer Plus Business Intelligence Print Format Problems

    I am having a problem with setting the print settings to landscape. Under page setup before printing i set the Orientation to Landscape. The worksheet is printed in a landscape format, but the margins only go halfway across the page (under print preview the report fits on one page). It seems as if the program is taking the potrait orientation and just printing an image of the potrait printout in landscape. Does anyone know what the problem is? Thanks!

    Hi
    Discoverer Viewer is licensed the same as Discoverer Plus. If you have 1 Plus user and 20 Viewer users you need to be licensed for 21 users.
    You can either buy named users or you can buy an unlimited license. The cutover point is 25 users becauses the last time I looked I believe the per user price was $800 and the perpetual was $20,000 per CPU.
    The minimum purchase for named users is 5 so are you absolutely certain that 1 license you have isn't a perpetual license or even perhaps a Discoverer Admin license?
    You should discuss this with your Oracle sales rep who may well be able to get you a better price.
    Best wishes
    Michael

  • Change text object format problem..

    hello!
    when i'm trying to change the format of textobject in skd(using java).
    its only change the format of the first object in the textobject.
    TextObject p2 = new TextObject();
    p2 = (TextObject) allobj.getReportObject(8);
    TextObject p2old = (TextObject) p2.clone(true);
    FontColor p2c = new FontColor();
    p2c = (FontColor) p2old.getFontColor();
    p2c.setColor(Color.RED);
    roc.modify(p2, p2old);
    anyone know why?
    thanks

    Did you ever solve this?
    I don't know if my problem is similar to yours, but here's what I'm trying to do:
    When you have multiple lines/paragraphs in a text object, each  can have it's own horizontal formating. Any ideas how these can be changed independently via RDC?
    When I change the property HorAlignment on a TextObject it changes it for all the paragraphs, but in the CR designer you can modify each independently.

  • Printing format problem from Linux GUI

    Hi!
    We have configured Printer for Linux Clients with "U" access method and users are able to take print out through Linux GUI.  However, the printout is not in desired format.  For example, PO printout has rows, columns, lines, borders, etc. which are printed correctly through Windows Printer. But when we take printout from Linux, lines, borders, logos, etc. are not printed, and only raw printout is fired.
    I believe some ABAP development has to be done. Can anybody help in this regard please.
    Regards,
    Pankaj

    hi pranav,
    ABAP-ers usually create those program (smartforms or ALV list) using SAPGUI for Windows so if you switch print them using SAPGUI for Java it's going to be different either print out nor print preview.
    I used different technique so that my Linux client can print program (that had been created using SAPGUI for Windows) without changing any code on the program.
    ardhian
    http://sapbasis.wordpress.com

  • Print format problem in report

    I have a tabular reports with several repeating frames.For each record of the outer repeating frame, I have multiple records in the inner repeating frame. My problem is if the inner repeating frame cannot fit within a page , it does not overflow to the next page but the record is truncated. I have a summary column in the outer frame based on the inner frame values. Sometimes I see this summarised results but no record is display from the inner repeating frame. I hope someone can visualise this and come up with a solution. I had wanted to paste the layout on the blog but to no avail. Thanks for your help.

    while defining filed catalog define the data type also
      clear l_fieldcat.
      l_fieldcat-fieldname  = 'MEINS'.
      l_fieldcat-datatype = 'UNIT'.
    l_fieldcat-no_out     = ' '.
      l_fieldcat-do_sum = 'X'.
      l_fieldcat-seltext_l  = 'UOM'.
      append l_fieldcat to p_fieldtab.
    may be it would help.
    anya

  • Requirment Urgent: How to format standard text in Script like two columns.

    Hi,
    I want to format the text in two columns like this.
    1. This is the note. 5. This is the note.
    2. This is the note. 6. This is the note.
    3. This is the note. 7. This is the note.
    4. This is the note. 8. This is the note.
    I have to include a standard text and format like this.
    Thanks in advance.

    Hi,
    You have to create a paragraph format and create two tabs according to your column positions.
    and write.
    ,,&column1& ,,&column2&
    Regards,
    Wasim Ahmed

  • Standard text having '&ULINE&' not printed in adobe form????

    I have a standard text in so10 which is to be used in my adobe form .
    The standard text uses '&ULINE&' to print a line . This when used by script was interpreted and a line is being printed.
    But when the same standard text is inluded in the adobe form , it throws a runtime
    error saying that " Field '&ULINE&' does not exist".
    Could some one help me out how to get this standard text printed in adobe form.
    Thanks and Regards
    Tejaswi Surapaneni

    Hi Tejaswi,
    Have you checked this wikilink:
    http://wiki.sdn.sap.com/wiki/display/ABAP/UsingofStandardText%28SO10%29+inAdobe+Form
    Regards,
    Vaibhav

Maybe you are looking for