How to use Rstxt in smart forms

hi
how to use Rstxt in smart forms

Hi Ram,
Go through this hope u can understand.
How to Upload graphics (IMAGE) to your Sapscript?
Command in your Sapscript
/: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
These are the steps to be followed for uploading graphics in R/3 system 
1.   First save the file as BMP 
2.   Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and 
      make it Zoom as 100% and save as *.TIFF 
3.   Open SE38 and execute program RSTXLDMC
4.   Give your TIFF file path name 
5.   Select Bcol (for Color) 
6.   TEXT ID will be ZHEX-MACRO-*. 
7.   Inplace of * write your own logo name (ZCOMPANYLOGO) 
8.   Execute the program 
9.   Now Goto SE71 create your ZFORM 
10. Create logo window 
11. Goto text element of logo window 
or
In 4.6x :-
1.  Goto SE71 Change the mode to GRAPHICAL 
2.  Choose the Graph Tabstrips
3.  Now type in some name for the LOGO WINDOW 
4.  Press the IMPORT BUTTON (third button from left) and then IMPORT the BMP file from your DESKTOP 
5.  The code will be written automatically. You just need to drag and drop wherever you want
     the graphics to be. 
/:   INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN
Reward points if help ful.
http://www.sap-img.com/ts001.htm
Sorry i think for Scripts ..
better to go for above post . it definetly works
Thanks
Naveen khan
Message was edited by:
        Pattan Naveen

Similar Messages

  • How to use Read_text in Smart Forms for printing Header Texts

    Dear ALL,
    I want to print Header Texts in SmartForms, For that
    I am using T/Code VL02N .. and choosed  Header ..
    got this details...  from Text Header.
    Text Name       :0080000441
    Language         :EN
    Text ID             :Z002
    Text Object       :VBBK.
    So in Smart forms Under Template i have created a text and Program Code .
    Inside that I have used this below code .
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    *CLIENT= SY-MANDT
    ID = 'Z002'
    LANGUAGE =  SY-LANGU
    NAME = NAME
    OBJECT = 'VBBK'
    TABLES
    LINES = IT_TLINE
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    NOT_FOUND = 4
    OBJECT = 5
    REFERENCE_CHECK = 6
    WRONG_ACCESS_TO_ARCHIVE = 7
    OTHERS = 8.
    IF SY-SUBRC 0.
    CLEAR IT_TLINE.
    ENDIF.
    Kindly suggest me, Where  to declare the variables and loops for using this Read_Text Syntax in Smartforms .
    Response to this will be highly appreciated........  
    Regards ,
    Vinoth.

    hi
    good
    please check this code
    CONSTANTS:
    *For text reading like in LCNMMFTX / FORM SET_CONTROL_TEXT
               text_id  like thead-tdid     value 'MATK',
               text_obj like thead-tdobject value 'AUFK  '.
    data tlines like tline occurs 0 with header line.
    data tdname like thead-tdname.
    data tdheader like thead.
    if not it_proj-ltxsp is initial.
    refresh tlines.
            tdname = sy-mandt.
            tdname+3 = it_proj-rsnum.
            tdname+13 = it_proj-rspos.
            tdname+17 = it_proj-rsart.
            call function 'READ_TEXT'
                 exporting
                    id        = text_id
                    language  = it_proj-ltxsp
                    name      = tdname
                    object    = text_obj
                 importing
                    header    = tdheader
                 tables
                    lines     = tlines.
                exceptions
                   not_found = 01.
    thanks
    mrutyun^

  • How to print bullet in smart form

    Hi Experts,
    I have a requirement in smart form  where different points of texts should come under a bullet.
    Can you please tell  me how to print bullet in smart form.
    Note : I have to use Standard text   
    Thanks in advance
    Bikas

    hi
    good
    We can create bullets in smartforms.
    For this change the editor to text editor and then
    goto insert->characters->SAP Symbols and select the
    symbol you want.
    This may help your requirement.
    You cannot see the bullets in print preview, it'll
    appear only on a hard copy.
    reward point if helpful.
    thanks
    mrutyun^

  • How to Mask URL in Smart forms

    Hi,
    i wanted to mask the URL in my smartform so that it is concise and readable, like suppose url is like this http://www.myurl.com/pages/abcd&attr=19093  i wanted to create text which is something like click here  on clicking click here it should take me to the desired page which the above mentioned URL ( http://www.myurl.com/pages/abcd&attr=19093 ) actually navigates.
    How can i achieve this Smart forms??
    Please suggest
    Edited by: kranthi kumar on Oct 29, 2010 12:56 PM
    Edited by: kranthi kumar on Oct 29, 2010 12:59 PM

    Hi Aidan,
    Thanks for your answer, Just got an alternative solution, when i got XSF output from smartform function Module, the same XSF  output (me->sf_job_output-xmloutput-trfresult-content) i used in below method to convert to string.
    CALL METHOD cl_hrrcf_cs_sf=>convert_xsf_html_to_txtstring
            EXPORTING
              content     = me->sf_job_output-xmloutput-trfresult-content
            IMPORTING
              html_string = me->doc_properties-output_c
              html_tab    = me->doc_properties-output_c_tab.
    later i realised that URLs in the smartform has got corresponding HTML code as below in the (me->doc_properties-output_c_tab).
    <a href="https://www.google.com">
    <span>
    https://www.google.com
    </span>
    </a>
    when i changed the link in the debugger  https://www.google.com  which was inside
    <span> </span>
    to "Click Me", the output was as i expected in the E-Mail which showed me Click Me and when i click that it took me to google web site.
    so i decided that i would change this table(me->doc_properties-output_c_tab.) for every URL in code, though it did not seem like right solution, as suggested in this forum there is no straight solution for this, i have no other option.
    Please comment.
    Thanks,
    Kranthi.
    Edited by: kranthi kumar on Oct 29, 2010 9:43 PM
    Edited by: kranthi kumar on Oct 29, 2010 9:44 PM

  • How to use css in oracle forms

    Hello,       I am using oracle forms 11g with weblogic server 10.3.5 at windows 7.I have to use CSS in oracle forms.i have tried to search it but no profit.please some one else tell me that how can use css in oracle forms. Thnak You regards aaditya

    Hi
    As Francois pointed out Oracle forms has nothing to do with html based technology. The way you can get the equivalent effect of creating consistancy in the way your objects are displayed is by creating a set of items you want and alter their apperance and behaviour and place them into object libraries (one library should do the trick).  From there you subclass all of you forms items off these libraries.
    Regards
    Quintin

  • Am using a standard smart form and a corresponding program.

    hi
    i  am using a standard smart form and a corresponding program. i did evry possible thing but it is not executing..where could be the error.?
    can any1 suggest

    Hi,
    Dude..!
    you told that you created form and corresponding print program also....!
    but you didn't mentioned what it is..! in the sense to which module..!
    are you changing any standard form or what..! be clear while raising issue..! so that you can get your issue cleared..
    and you have to assign your form and corresponding print program in NACE transaction for the given output type.
    Thanks & regards,
    Sasi Kanth.

  • How to Generate a complex smart form for the Sales Order different pages h

    How to Generate a complex smart form for the Sales Order different pages has different page Layouts  explain me?

    in print program in interface when calling the form there should be some option to tell it to make a NEW spool everytime.
    I have it in mind for sap-script it is ITCPO-TDNEWID. Dont have it in mind for SAMRTFORMS but still it should work somehow similar.

  • How to use LDAP with Oracle forms 10g on Oracle application server

    Hi,
    I need some help on this. I have developed oracle forms 10g on application server 9iAS. The client want to use the existing LDAP authentication to the software we wrote. I do not know how I could configure to use the existing LDAP authentication . If anyone know how would I use the existing LDAP on different server to use when they logon to our menu in 10g to validate the user. Do I need to add any varibales in formweb.cfg or any other method. Please help.
    Thanks
    Luksh

    I am not quite sure if this works out of the box. According to an Oracle FAQ:
    4.2 Can I use LDAP to authenticate Forms Services?
    Not directly. However, Oracle Login Server is able to authenticate against a LDAP directory and thus a Forms application can take advantage of this in a SSO environment. But you cannot use access control information stored in a LDAP directory with Forms.

  • Tutorial Announcement :: How To Use Auto Complete Text Form Control ::

    Hello Everyone...
    Here in this tutorial we gonna to learn a new and amazing feature of (ADDT), we will learn how to use Adobe developer toolbox (ADDT) form controls.
    Form controls help you to add a fantastic features to your forms, that helps you to expand the form abilities and functionality...
    The Auto complete Text Field is an enhanced text field that dynamically completes what you type with matched values from a table. You can also select the values from a list.
    You can use the Auto complete Text Field in user registration forms, such as allowing users to select their country or city easier, Also in other forms that needs the user to pick one of many choices without any difficulties.
    Requirements
    To complete this tutorial you will need to install the following software and files:
    Adobe Dreamweaver Cs3
    Adobe Developer Toolbox (ADDT)
    Don't forget: to try out the Demo type the first three letters :A - B - C
    :: Go To Tutorials ::
    :: Go To Tutorials ::
    Best Regards
    Waleed Barakat
    Developer-Online Creator and programmer
    http://www.developer-online.com

    Heya Waleed,
    I use spry to create an autocomplete form that works great across browsers that have javascript enabled. You can store info in a database and parse the info to xml for a dynamic approach. Take a look at the filter examples in spry.
    http://labs.adobe.com/technologies/spry/samples/data_region/NonDestructiveFilterSample.htm l
    http://labs.adobe.com/technologies/spry/samples/data_region/ZuggestSample.html

  • How to Print Vertically in Smart Forms

    I need to print data in vertical format into columns in smart forms. Can any one give me the solution.

    Hi Sreedhar,
    In Smartforms, if you need to print vertical text, only possible way (That i know) is, Create a Bitmap image of the text and rotate the same to 90 deg and then use that image in your smartform....
    If you can use adobe forms, you can rotate the text to any angle that you want....this is one of the main advantage of adobe forms.
    Best Regards,
    Ram.

  • How to create barcode in Smart Forms with MS Word as Editor?

    Hi,
    I created a character format for a barcode in a smart style.
    The problem is that I do not know how to assign it to the text in Smart Form because the Editor is MS Word and not the normal Editor.
    Any suggestion or idea.
    Thanks & best regards
    Viktoria

    Hi and thanks for the fast reply,
    I have created a smartstyle and also a characterformat for the barcode. This is not the problem.
    I call the layout via HRFORMS. The Form Builder for Smart Forms is called and the Editor for the text nodes is preset and is the MS Word editor. This cannot be changed. I tried different things also in the settings. The normal text editor cannot be called.
    I choose and enter the field that I want to convert into the barcode &wa_barcode&. I do not work with standard texts (SO10). The text field is a normal text node in Smart Forms. The character format that applies converts the number in the variable field into the barcode.
    In the MS word editor I have only formats that are in the office environment (arial, ...) I do not see the formats that I created in smartstyle also when I assign it in the output options of the text node.
    So maybe I have to work like this for now. Swich between HRFORMS and SMARTFORMS when working with barcodes. In the Smart Forms transaction it is the normal editor where I can see the paragraph/ character formats from smartstyle.
    Thanks and best regards
    Viktoria

  • How to use Stored Procedures in form 6i Blocks

    Dear Friends,
    I would like to know how to use Stored Procedures while creating blocks in Data Block Wizard in forms 6i application.
    Please send me sample code of stored procedure.
    Regards,
    Khader.

    The Data Block Wizard is not for creating stored procedures. It will allow you to use a stored procedure in your form. See the help documentation for how to use the wizard.
    Here's an example of a simple procedure. If you search the database forum or the web, you will find many examples.
    CREATE OR REPLACE PROCEDURE procedure_name (value OUT NUMBER ) AS
    BEGIN
    SELECT COUNT(*) INTO value
    FROM your_table;
    END;
    Message was edited by:
    Mark Roberts

  • Step by Step how to Use Java Beans in Form 6i

    Dear All,
    Can anybody tell me step by step how to use Javabeans in form 6i.
    What i want is to know which form is getting executed and by whom with ip address on application server.
    When is execute the form made using javabeans
    Best Regards,
    Devendra

    Hello,
    <p>Here is the best way to start with Javabeans.<br>
    After reading that, you can see if this bean can fit</p>
    Francois

  • How to define variable for smart form in coding

    hi all,
    i have to create a variable for smart form which is i already created in  smart form but facing some sort of difficulties.
    for example:
    DATA:  formname  TYPE ZCCCL_GOODS_RECEIPT.(SMART FORM NAME)
    DATA:  formname  TYPE ZCCL_RETURN_VENDOR. (SMART FORM NAME)
    DATA:  formname   TYPE ZCCL_GOODS_RESERVATION.(SMART FORM NAME)
    CASE in_mseg-bwart.
      WHEN '101' or '105' or '321'.
      formname = 'FORM_RECEIPT'.
      WHEN '122' or '124'.
      formname = 'FORM_RETURN_VENDOR'.
      WHEN '201' or '261'.
      formname = 'FORM_GOODS_RESERVATION'.
    ENDCASE.
    So this the logic im using but it gave me error like:
    Type  ZCCCL_GOODS_RECEIPT is unknown.
    Kindly tell me if this coding is wrong than what should i use.
    Thanks.

    Declare variable name for smartform as
    Formname type TDSFNAME in import tab.

  • How to Printe Graphics in Smart-Forms

    Guys,
    Need your help…
    Is it possible to print graph in smart form???
    If yes, if you have any document, please pass it to me…
    Dhiraj

    Hi Ram,
    Go through this hope u can understand.
    How to Upload graphics (IMAGE) to your Sapscript?
    Command in your Sapscript
    /: INCLUDE Z_YOUR_LOGO OBJECT TEXT ID ST LANGUAGE E
    These are the steps to be followed for uploading graphics in R/3 system 
    1.   First save the file as BMP 
    2.   Open the BMP file in IMaging (Goto -> Programs -> Accessories -> Imaging) and 
          make it Zoom as 100% and save as *.TIFF 
    3.   Open SE38 and execute program RSTXLDMC
    4.   Give your TIFF file path name 
    5.   Select Bcol (for Color) 
    6.   TEXT ID will be ZHEX-MACRO-*. 
    7.   Inplace of * write your own logo name (ZCOMPANYLOGO) 
    8.   Execute the program 
    9.   Now Goto SE71 create your ZFORM 
    10. Create logo window 
    11. Goto text element of logo window 
    or
    In 4.6x :-
    1.  Goto SE71 Change the mode to GRAPHICAL 
    2.  Choose the Graph Tabstrips
    3.  Now type in some name for the LOGO WINDOW 
    4.  Press the IMPORT BUTTON (third button from left) and then IMPORT the BMP file from your DESKTOP 
    5.  The code will be written automatically. You just need to drag and drop wherever you want
         the graphics to be. 
    /:   INCLUDE Z_COMPANY_LOGO OBJECT GRAPHICS ID BMON LANGUAGE EN
    Reward points if help ful.
    http://www.sap-img.com/ts001.htm
    Sorry i think for Scripts ..
    better to go for above post . it definetly works
    Thanks
    Naveen khan
    Message was edited by:
            Pattan Naveen

Maybe you are looking for

  • Oracle 9.1.7 on RedHat 9

    Problem installing 8.17 on redHat 9 ../Disk1/stage/..../linux/native_threads/libzip.so: symbol errno, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (libzip.so) Unable to initialize threads: cannot find class java/lang/Threa

  • Question - View with a join based on two unequal strings.

    Hello - First my apologies for the likely novice question. I'm creating a view based on two tables as such: SELECT * FROM table1 LEFT OUTER JOIN table2 ON table1.string = table2.string AND table1.number = table2.number Problem: table1.string looks li

  • PowerBook G4 Desktop issue

    I was trying to drag a few pictures from iPhoto to my desktop and accidentally dragged all of them to my desktop. There are thousands. Now everything from my desktop has disappeared. Icons will reappear if i happen to click on my desktop and they are

  • Business Partner approval when changing payment term

    Hi Expert, Is it possible to set up approval process when user changing payment term in existing Business Partner? Thank you in advance.

  • Can't get my Premiere Elements 11 to reinstall

    I am told that you are only allowed a finite number of times that you can reinstall Premiere Elements 11 and I seem to have reached it. What do I do now ?