STANDARD TEXT with BITMAP command in SMARTFORM

Hello,
I'd like to customize my smartform with picture defined by standard text.
I defined standard text in SO10:
/:   BITMAP 'xxx' OBJECT GRAPHICS ID BMAP TYPE BMON DPI xxx 
.. and this standard text included to my smartform.
But no picture appears.
Best regards,
Josef Motl

Hi Josef!
If you want to use the graphics from SO10 you have to change the syntax. Instead of "bitmap" you should use "include", the object should be text and you need the textid. If you use the bitmap-call you should upload the image with SE78. If you're transporting your syntax from one system to the other you have to include the image in your transport order or you have to upload it in each system.
If you want good quality you should use SE78 and the BITMAP-call instead of SO10.
Best regards,
Ingo

Similar Messages

  • Printing Standard TEXT  with multiple paragraphs in smartform

    Hello all,
    I have a requirement that, there is a very long standard text stored in a notification of an order in SAP ISU system. The text contains multiple paragraphs with indentations. I want to print this text directly into the smartform WITH SAME INDENTATION AND PARAGRAPH FORMATTING.
    First i am reading the entire text using FM READ_TEXT.
    My first  problem is even if i read the text into a variable of type STRING , it just prints 255 characters of it.
    And secondly if i try to printout it using LOOP AT node in smartforms, it prints the entire content but without any formatting .
    Please let me know whether it is possible to print standard text in smartforms or not
    Thanks
    Nilesh Puranik

    Hey ,
    Well thanks for that but my replies got posted 2-3 times unknowingly, could'nt help it.
    Coming to the problem, i  guess you did not get my point when i say dynamic texts for each service order.
    In my Report i am using LOOP AT ITAB ..where in itab i  am storing a service order no i.e. ITAB-ORDER_NO
    Now for every order there is standard text maintained in SO10 starting with order name
    so my code goes like this.
    LOOP AT ITAB.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        ID                            = 'LTXT'
        LANGUAGE            = 'E'
        NAME                      = ITAB-order_no
        OBJECT                   = 'QMSM'
      TABLES
        LINES                         = LINES .
    CALL <SMART FORM Fm>
    ENDLOOP.
    Hence whatever Standard text maintained for that service order i  want to display it as it is in the smartform with same paragraphs formatting and indentation.
    IF i use a variable in smartform and pass the entire text  after using READ_TEXT , it does not format the text  and it just prints only 255 characters even if i define it of type STRING .
    Hence i am stuck in this scenario.
    Appreciate ur help though.
    Thanks
    Nilesh

  • Standard Text with ' include' option doesn't work with order created by FM

    Hi ABAPers,
    Standard text with 'Include' Option does not work with all the Order created via the Function Module SD_ORDER_CREATE_WWW. Where as Order created via VA01 display the Standard text with 'Include'.
    On my analysis I found that, Order created via FM use  the '*' 'Comment' instead of ':/' 'Command' in the script editor. So the Standard text inserted was considered as a Text instead of command.
    Hence issuing print or print preview, the Script display the INCLUDE statement instead of the text.
    Can you please let me know the reason and the way to rectify it.
    Thanks & Regards
    N.Suresh Kumar

    Hi.
    Make that * command as /: and try in ur program..
    It works..
    Hope it helps...
    Cheers,
    Simha.

  • How to call Subroutines,Standard Text  & using Internal Table in SmartForm

    Hi all,
    need help in the following areas.Its very urgent!
    1.How to CAll Subroutines in Smart Forms
    2.How to CAll Standard Text in Smart Forms
    Situation:
    We have an Internal Table T_SALES with all the data which am going to display in the smartform,How to retrive data from an internal table in Smart forms
    Any Help in this direction would be highly appreciated.
    Regards
    Ramu

    Hi,
      When you are using quantity or currency fields, you have to mentiong the reference fileds in a tab called CURRENCY/QUANTITY FILEDS in the GLOBAL DATA node.
    Specifying a Currency or Quantity Reference
    Use
    In the ABAP Dictionary, you can assign a currency or quantity field to a table field. In the output of these fields, the system can then insert the relevant currency or unit:
    ·        If the value field is in the same table as the corresponding currency or quantity field, the system recognizes the reference automatically, and formats the value field according to the currency or unit in the assigned field.
    ·        If the value field is in a different table from the currency or quantity field, the system cannot recognize this reference automatically.
    In the second case, you must indicate this reference to the system in the form, to ensure that the value field is formatted correctly.
    Procedure
    You want to assign a currency or quantity field in one table (for example, CURTAB) to a value field in another table (for example, VALTAB).
           1.      Create the reference to the currency field by entering the following values:
    -         Field Name: VALTAB-VALUE, if this is the value field of VALTAB that you want to display.
    -         Reference Field: CURTAB-CURRENCY, which is the currency field of CURTAB.
           2.      Under Data Type, specify whether the data type is a currency or quantity.
    Result
    In the output of the PDF-based print form, the system formats the value field VALTAB-VALUE according to the assigned value in the currency or quantity field of the global variable CURTAB-CURRENCY.
    Thanks and Regards,
    Bharat Kumar Reddy.V
    Message was Added by: Bharat Reddy V
    Message was Added by: Bharat Reddy V

  • Printing standard text with TAB

    Hi Folks,
    I am very new to SAP Scripts and need some help here. I am printing some text using Standard Text object (using INCLUDE statement in sapscript). But now I want to print the text after a TAB. I tried with below syntax but no luck.
    /: ,,INCLUDE ZTEXT OBJECT TEXT ID ST
    Request you to please suggest some approach.
    Thank you.
    Regards,
    Sud

    Thanks Christian !
    Yes, m using SO10 for creating this text.
    But as u suggested, I cannot use tab in ZTEXT, because this will affect the alignment for all the other scripts where I am using this ZTEXT.
    For every other script, I do not need this extra tab before the ZTEXT. Only for this one script I want to intorduce a Tab before printing this ZTEXT.
    Any other approach?
    Thanks
    Regards,
    Sud

  • Importing a "texts table" from R3  to create standard texts with BAPI

    Hi,
    I'm mapping a custom structure to BAPI_SALESORDER_CHANGE.
    I need to read a table in R3 containing some text lines that I have to use to create a header text (structure ORDER_TEXT).
    Someone has already faced a similar problem? What is the best way to solve it ?
    Thanks for any help.
    Simona

    Hi,
    the best/standard way to do this is to implement it in an integration process(business process)
    inside it you can and call an RFC for instance which will read the table and return the data and then you can use the RFC response to map it (transformation step) elsewhere (to a new message). You do it all in one integration process.
    about calling (committing) the BAPI you can refer to my weblog:
    /people/michal.krawczyk2/blog/2005/05/09/how-to-call-a-bapi-asynchronously-from-xi--with-qrfc
    Regards,
    michal

  • Sizing text with key commands

    I recall seeing a co-worker use a sequence of key commands to resize text, but I can't recall what they were. Rather than highlighting text and going through a series of adjustments at regular increments until the text looked about right, the writer used this combination of keys to resize text in one step. I don't think she used free transform. Whatever she did, it was a great timesaver. Anyone have info on how to do this?

    On Windows:
    1. (You're typing away, then when you want to resize some text) do:
    2. Select the text you want to resize: Ctrl+A: all text in the current story; Esc: current text frame only; Shift+Ctrl+arrows: some characters. words, paragraphs. When you're through selecting,
    3. Once or twice Ctrl+T (you should see the Character panel with the typeface name selected), now two taps on the Tab key. You're now in the point-size field, to resize,
    4. Up/down arrows to set a different type size (Shift+up/down arrow to resize in bigger increments).
    5. Press Enter to return the cursor to the text.
    When you've done this once, you can go to the font-size field in one go by pressing Ctrl+` (Ctrl+` returns you to whichever entry field you were last).
    Peter

  • Call Standard Text by report replacing the variables with their values

    Hi,
    I have a requirement to call a standard text from a report.
    Following is the text present in standard text.
    &PTXT1-ENAME& will attend for interview
    on &MEMOACT-PLDAT& at &MEMOACT-PLTIM&.
    I am doing it by using READ_TEXT. But READ_TEXT reads the entire text as it is.
    Is there any way I could retrieve the standard texts with  &PTXT1-ENAME& replaced by the value of  PTXT1-ENAME in report. And similarly &MEMOACT-PLDAT& replcaed with its actual value.
    Any pointers in this regard would be helpful.
    Points will be awarded.
    Regards,
    Mayank Agarwal

    Hi,
    In the Text
    &PTXT1-ENAME& will attend for interview
    on &MEMOACT-PLDAT& at &MEMOACT-PLTIM&.
    do not use the * as a paragrapgh , use /: as the paragraph
    Regards
    Sudheer

  • Pls explain how to add standard text in sapscript & smartforms

    Dear friends,
    pls explain how to implement standard text into sap script and smartforms.
    in how many we can do.
    and what is diff between include text & text modules in smartforms.
    how we can translate into multiple languages.
    Regards
    Jagadeeshwar.B

    hi,
    for the include text goto tcode so10.
    for changing the smartform and scripts use there methods..
    1. goto se63>translation->abap objects->other long texts->FS Forms and Styles---> for scripts use Forms
                                           for smartforsm use SAPSmart form
                                           for styles use Styles
    2. goto se71->utilities->original language.---> source lang
    (for scripts)                                                     target lang
    to include the include text created in the tcode so10 in the smartforms go to general attributes of the text element--text type> include text...
    regards,
    venkat.
    Edited by: venkat  appikonda on Mar 22, 2008 11:56 AM

  • Dynamic Standard text - Appending text with variable

    Dear All,
    We have a dynamic standard text. The text is being created based on sales order (I don't know how this has been created). Now I want to add text inside the standard text. That text will also contain variable.
    Example: "This is a valid sales order 100010000". This is a standard text where the sales order value is fed dynamically, I don't know how?
    Now the objective is to add another field "abcd" in the standard text with some other fixed texts. Eg. "I want to add my name sy-uname". So the entire text should be as:-
    "This is a valid sales order 100010000. I want to add my name sy-uname."
    1.  I am not sure how to identify the original standard text. I would like to add second line there.
    2.  I would like to pass variable value dynamically in the standard text.
    Please can you help me out in solving the issues.
    Best wishes,
    Atanu

    Hi
    Could you please be clear with your question so that some one can provide you with best solution quickly.
    I am assuming that when your sales order is being created at the same time ,your dynamic standard text is generated .So now you want to amend this standard text just after the sales order is saved.If so then
    Just go to the sales order text tab in change mode and click on the text eidtor window ,it will take to you sapscript editor ,Then from menu Goto-Header .From here you get the details of
    Text Name      
    Language       
    Text ID        
    Text Object  
    Now Find the userexit after save and their use a read_text function module and read the standard text which is alreday created and take down in it_lines table and modify the text by appending your sy-uname line as second line or you can concetante on the same line. Now then use the save_text function module and save the standard text.
    You can use the exit MV45AFZZ In that routine FORM userexit_save_document..
    Hope this help you to resolve the issue.
    Cheers
    Joginder

  • Japanese characters in SMARTFORMS using S010 (Standard Texts)

    Hi gurus,
    Im trying to print a standard texts maintained in S010 using SMARTFORMS. When i preview these texts in S010 it looks fine but when i use it in SMARTFORMS (Using include text) it gets overlapped.
    Is there a length requirement/limitation for the standard texts that can be used in SMARTFORMS? Because i noticed that there is a certain length in which the Japanese characters overlapped.
    Thanks in advance
    Andre

    Hi Chenna,
    My window is wide enough to accomodate the texts. I tried adding non Japanese characters on the same row. The Japanese characters are still overlapping but the non Japan texts were displayed correctly and long.
    Regards,
    Andre

  • Give some functionlity of standard text

    hi guru
    please tell me  functionlity of standard text,where exactly it use.
    thanks
    subhasis

    we use standard text for scripts and smartforms.......
    You can insert standard texts, texts of the online documentation, and hypertext modules into your document. You can insert texts directly and include them by reference.
    When inserting text directly, the text is inserted in the editor in formatted form. You can then edit it further.
    Inserting Standard Text
    Choose Insert ® Text ® Standard.
    The dialog window for inserting text appears.
    Enter the text name, the text ID, and the language. To insert the text directly, select Expand immediately.
    Choose Continue.
    There are two ways to format texts with forms:
    In the standard SAPscript text processing (Tools ® Word processing ® Standard text), you can select a form for a document. You can then type text into the main window of the form and output the document in the format defined in the form.
    For example, you can select a form for a letter. You can then type the body text of the letter in the main window. When you print the letter, the default text elements in the other windows of the form (heading, footer, and so on) are printed with the body text.
    To include the contents of another text into the current text, use the INCLUDE control command. SAPscript still treats the text to be included as a separate text. The text is copied over only at the point at which the output is formatted.
    Thus the use of the INCLUDE command always ensures that the most current version of a text is included into the output, since the text is not read and inserted until the output is formatted.
    Syntax:
    /: INCLUDE name
    You must specify the name of the text to be inserted. It can be up to 70 characters long. If the name of the text contains spaces, then you must enclose it in quotes as a literal value. You can, alternatively, specify the name via a symbol. All remaining parameters in the INCLUDE command are optional. If an optional parameter is not specified, then SAPscript uses default values as applicable for the calling environment.
    /: INCLUDE MYTEXT
    The text MYTEXT is included in the language of the calling text.
    /: INCLUDE MYTEXT LANGUAGE 'E' PARAGRAPH 'A1'
    The text with the name MYTEXT and the language E is included, regardless of the language of the calling text. The paragraph format A1 will be used as the standard paragraph type for this call.
    Optional parameters:
    LANGUAGE
    If this parameter is not specified, then the language of the calling text or the form language are used for the text to be included. If the language is specified, then the text will be fetched in this language, regardless of the language of the calling text.
    PARAGRAPH
    The text to be included is formatted using the style allocated. The PARAGRAPH parameter can be used to redefine the standard paragraph for this style for the current call. All *-paragraphs in the included text will then be formatted using the paragraph specified here.
    NEW-PARAGRAPH
    The first line of the text to be included will be given this format indicator, as long as it is not a comment or command line. If the optional PARAGRAPH parameter (see above) is not specified, then all *-paragraphs of the included text will also be formatted using the paragraph specified in the NEW-PARAGRAPH command.
    OBJECT
    In order to completely specify a text, information about the text object is also required. There are a number of restrictions and other rules that depend on the object type of the calling text:
    Any kind of text can be included in a form. If no object is specified, then TEXT will be used (standard texts).
    In the case of a document text (DOKU object), you can include only document texts. This object type is also assumed if no object is specified in this environment.
    Only hypertexts and document texts can be included in a hypertext (DSYS object). If the OBJECT parameter is missing, then DSYS is used as the default value.
    In the other kinds of text you can include only standard texts (TEXT object), document texts or hypertexts. If there is no specification, then the default object is TEXT.
    ID
    The text ID is a part of the text key, which permits further text objects within a given object. If no ID is specified, then the default include ID is used from the TTXID table for the calling text. If there is no entry in this table, then the text ID of the calling text is used.
    The following consistency check is applied both to the ID and the object:
    All text IDs are allowed in a form.
    In document texts, only document texts may be included that have text IDs TX (general texts) or UO (authorization objects) and also other document texts with the same text ID as the calling document text.
    In DSYS texts, all DSYS texts can be included, whatever ID they have. Document texts to be included must have one of the IDs TX or UO.
    Into the other texts, standard texts with any allowable text ID, DSYS texts with all IDs, and document texts with the IDs TX and UO can be included.
    The INCLUDE command returns a status code in the SAPSCRIPT-SUBRC symbol:
    0: the text include was successful.
    1: the command could not be executed because it contained syntax errors.
    2: the rules governing the text to be included were not followed (see above).
    This value cannot occur if the command is used in a SAPscript form.
    4: the specified text could not be found.
    reward points if helpful

  • Urgent -- using Standard text in SMart forms

    Hi Techi's.
    I have created a standard text using SO10 , and included the same in smartform.
    But the requirement is , i need to change the format of the standard text with my own style, so i craeted a Smart style with relevant Paragraph  and Character formats.
    Plz help me out in linking the STandard text with the smart style.
    I know how to include smart style in smart form, but the issue is "how to include Smart style for the created  Standard Text ".
    Urgent and helpful answers will be rewraded.
    Regards,
    Naveen

    hi naveen
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    regards
    ravish
    <b>plz dont forget to reward points if helpful</b>

  • Standard Text in IORDER

    Hi,
    we created a
    standard text with SO10
    which we use in PM order position (text of step) - IW32
    example: INCLUDE IS0054_TEXT OBJECT TEXT ID ZPM
    when we print this order everything looks OK (whole text was printed)
    but when we send this order to extern system via transaction IORD the standard text is not transfered, but the INCLUDE command!
    IDOC type IORDER01
    segment E1OROPR_LTXT:
    TDFORMAT
    TDLINE
    INCLUDE IS0054_TEST2 OBJECT TEXT ID ZPM
    Does anybody know how to "force" SAP to perform the include command instead of copy it into the IDOC ???
    kind regards
    Jörg

    Hi Raghu,
    1. in SO10 you can create standard text to be used in several transactions.
    We create text name: IS0054_text / text ID: ZPM
    content: "This is an example for standard text to be transfered"
    2. in transaction IW32 (change existing PM order) we want to use this standard text:
    a) click on long text button of "first operation"
    b) in text editor - menu: insert > text > standard (Ctrl + Shift + F5)
    result:
    INCLUDE IS0054_TEST2 OBJECT TEXT ID ZPM
    3. in transaction IORD you can transfer PM orders to subsystems via IDOC
    if we do that, an IDOC is created including all order information incl. our text
    Problem: we expected that in segement E1OROPR_LTXT (Order Operation Long Text segment) our text "This is an example for standard text to be transfered"will be found, but we found only "INCLUDE IS0054_TEST2 OBJECT TEXT ID ZPM"
    So why does SAP not follow the "INCLUDE" command and put linked text into IDOC ???
    any ideas how to treat SAP to perform this command before creating the IDOC?
    kind regards
    Jörg

  • Reg : usage of standard Texts(SO10)

    Hi all of u,
      I want to use standard texts ,which were created under Tcode SO10, alone to display output without using them in any of the script or smartforms.Also i want to nw that , is it possible to use Variables inside standard text,which r really exist in report,report is through which i want to make use of ths Texts .The variable are / shuld be  local to this program...
    Kindly guide me ....
    This will simplifies my work ...
    Thanks in advance,
    Regards,
    Chandra.V

    Hi Chandra Shekar,
    standard text with variable
    SO10 doubt : standard Text
    Regards,
    Sravanthi

Maybe you are looking for

  • My Mac Won't Sleep!!!

    And display keeps dipping to blue every so often. Display preferences shows a second display preferences window for a VGA monitor, even though I do not have any secondary monitor attached.I can't put my machine to sleep because it keeps dipping to bl

  • Mouse pointer text file

    Hi , I need to programatically open the Note pad and move the mouse pointer to the specified location . - I was able to open the Note pad programatically ,But i am unable to move the mouse pointer to the specified location , Please tell me how to do

  • What is the "EventLoggingEnumLogEntry" function in the run-time engine?

    I have some code which isn't utilizing all of the processors on my system, but it should be, so I profiled the execution of the compiled executable code using "Intel VTune Amplifier".  That program told me that my code is spending a lot time in synch

  • XI, BI and bank analyzer...

    Our landscape consists of lot of systems, including XI, ECC, BI AND BANK ANALYZER question is should we use XI to connect BI with BA? or it will be better to connect them directly?

  • How can I place a "Favorites" tab in the toolbar - ie : like internet explorer has??

    There is no provision for a list of "Favorites" (ie : as with internet explorer") with Firefox - this complicates use of realplayer with firefox.