Problem passing texts into sap-script

Dear Experts,
I have a requirement, where I have to pass some text-lines from my selection-screen of the driver-program to the sap-script,i.e. whatever I write in those text fields that should be displayed(printed) on the specified place of my script. Another specification is  that,
those lines will get printed only if the checkbox on my selection-screen is checked.
What should be the procedure,please help me.

The text lines on the selection screen will be in a variable. Pass the variable to the SAPScript. I don't see the problem.
Rob

Similar Messages

  • Problems while uploading company logo into sap script

    Hi Experts,
      When i am inserting company logo into sap scripts, i successfully uploaded, but the problem is i am getting black and white image instead of color,but in RSTXLDMC i am giving parameter as BCOL only, could anybody help to get my problem resolved. it is very urgent. The logo which i am inserting is colored.
    bye
    M.Rajendra Singh

    HI
    GOOD
    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 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. 
    Please note that in 4.6c onwards, you can also used Windows Bitmap file ( .BMP).
    THANKS
    MRUTYUN

  • Problem in using standard text in SAP Script

    Hi All,
    I have to replace English text hardcoded in a script with standard texts (SO10) in Spanish. When I am including the standard text in script, it is displayed in different font and bigger size. I want to reduce the size and change the font of standard text. Is there any way to do that?
    Thanks in advance
    Radhika
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on Jan 4, 2010 2:37 PM

    Please check the links below , which might hel you..
    Re: Setting font to standard text in sap script
    How to change stranded text font in script
    Regards
    Satish Boguda

  • Problem in long text in SAP script editor

    Hi ,
    i am maintaining long text in SAP script editor , when i am trying to change the long text in SAP script that changes are not reflected in print preview ,for example when i am giving tabs in the script then in print preview of the PO these tabs are displayed as , , ( comma) , and underlines are not appearing in print preview.please help me on this.
    Thanks and regards.
    Rajeshwar.

    hi
    you have to install the correct printer which supports the displaying the drawings and objects/

  • PO for item of service Level short and long text using sap script

    Please let me know how to do the PO for item of service Level short and long text using sap script.
    <MOVED BY MODERATOR TO THE CORRECT FORUM>
    Edited by: Alvaro Tejada Galindo on May 5, 2009 10:25 AM

    Hi ,
          In the transaction related to PO select the path goto->header texts and then details of the texts like ID,objectname,language,name.Pass all theses details to 'READ_TEXT '   FM. Then you will get text lines described for a perticular Po ,similarly for item also.
    Thanks,
    Suma.

  • Pass value in SAP Script

    How can u pass value in SAP Script?& where?

    Hi,
    PASSING TABLE VALUES AS AN ARGUMENT TO SAPSCRIPT:
    In the line editor, specify the table field arguments enclosed by '&' symbol as follows:
    /E  ELEMENT
         &KNA1-KUNNR& ,, &KNA1-NAME1& ,, &KNA1-LAND1&
    Save -> Activate.
    In the Print Program, specify following code:
    TABLES KNA1.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
       FORM                              = 'ZSHABFORM1'
       LANGUAGE                          = SY-LANGU.
    SELECT * FROM KNA1.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'ELEMENT'
       WINDOW                         = 'MAIN'.
    ENDSELECT.
    CALL FUNCTION 'CLOSE_FORM'.
    Save -> Activate -> Execute.
    Regards,
    Priya.

  • Standard text in SAP Script

    Hi All,
      I am Creating Standard text in SAP Script. I want to Transport it to Quality and Production servers.But while saving standard text it is not asking transport request no.weather we need to create the text seperately in quality and in production or we can attach it in to transport request. Please suggest me.
    Thanks and Regards
    Partha.

    Hi partha,
    1. We can use the standard program
       RSTXTRAN
    2. It is meant specially for this purpose only.
    (we can attach standard text to a transport request)
    regards,
    amit m.

  • Need to print a text of 255 char from a Ztable into sap script printing.

    Hi All,
    I Have a requirement where I have to fetch an incoterm description maintained in Z table according to incoterm key and print it via SAP script.
    I am getting the complete 255 char data in the variable which I am passing to the script from the driver program, However in the output I can see only 80 characters getting printed.
    My code
    Subroutine created in se71
    DEFINE &L_VTEXT& = SPACE
    PERFORM GET_INCOTERMS IN PROGRAM ZMM_MEDRUCK
    USING &EKKO-INCO1&
    CHANGING &L_VTEXT&
    ENDPERFORM
    Form created in Driver program:
    FORM get_incoterms TABLES pt_input STRUCTURE itcsy
                                                 pt_output STRUCTURE itcsy.
       DATA: l_vtext TYPE zincoterms-vtext.
       READ TABLE pt_input WITH KEY name = 'EKKO-INCO1'.
       SELECT SINGLE vtext FROM zincoterms INTO l_vtext
           WHERE inco1 = pt_input-value.
       CLEAR pt_output.
       pt_output-value = l_vtext.
       MODIFY pt_output TRANSPORTING value WHERE name = 'L_VTEXT'.
    ENDFORM.                 
    Note: Here pt_output-value is having a complete 255 char data
    I have tried printing it using offset as well, However complete text is not getting printed.
    Please help me in solving this issue as it is urgent requirement.
    Thanks and Regards,
    Ankit

    Hi Ankit,
       pt_output-value = l_vtext.
       MODIFY pt_output TRANSPORTING value WHERE name = 'L_VTEXT1'.
       pt_output-value = l_vtext+80.
       MODIFY pt_output TRANSPORTING value WHERE name = 'L_VTEXT2'.
       pt_output-value = l_vtext+160.
       MODIFY pt_output TRANSPORTING value WHERE name = 'L_VTEXT3'.
       pt_output-value = l_vtext+240.
       MODIFY pt_output TRANSPORTING value WHERE name = 'L_VTEXT4'.
    I guess it's a workaround if it's really urgent. Present variables next to one another.
    regards,
    Edgar

  • Dispaly standard text in SAP SCRIPT which content saved using SAVE_TEXT FM

    I want to display one standard text content in SAP SCRIPT and want to store content of it during run time.
    For that, first I have created one standard text using SO10.Named the standard text as Z_TEST_WRITE. Initially it was empty.
    In my SAP SCRIPT, I try to display the content of the standard text using below given SAP SCRIPT code and report program. Although I am able to store text in Standard text
    Z_TEST_WRITE but in first display of the SCRIPT it is not displaying against the include command of SAP SCRIPT. But when I see the content of Z_TEST_WRITE through SO10 transaction, I can see the content with new text which was previously empty.
    Now if I do the same transaction newly (suppose second time), then text stored in standard text Z_TEST_WRITE is displaid against includes command of SAP SCRIPT.
    My print program is a SAP STANDARD which one can be changed.
    /:   DEFINE &NAME& = ''                                      
    /:   PERFORM TEST IN PROGRAM Z_SAVE_TEXT
    /:   CHANGING &NAME&                                         
    /:   ENDPERFORM                                              
      <B>&NAME&</>                                            
    /:   INCLUDE Z_TEST_WRITE OBJECT TEXT ID ST
    REPORT  Z_SAVE_TEXT.
    FORM TEST TABLES IN_PAR STRUCTURE ITCSY
    OUT_PAR STRUCTURE ITCSY.
      DATA IT_HEADER LIKE TLINE OCCURS 0 WITH HEADER LINE.
      DATA: LS_HEADER LIKE THEAD,
            LT_LINES  TYPE STANDARD TABLE OF TLINE WITH HEADER LINE.
      OUT_PAR-NAME  = 'NAME'.
      OUT_PAR-VALUE =  'Sample text for Test'.
      APPEND OUT_PAR.
    *-Populate Header Text details
      LS_HEADER-TDOBJECT  = 'TEXT'.
      LS_HEADER-TDNAME    = 'Z_TEST_WRITE'.
      LS_HEADER-TDID      = 'ST'.
      LS_HEADER-TDSPRAS   = SY-LANGU.
    *-Populate details of Text
      CONCATENATE 'Shipment No   :' 'RM Ship No' INTO LT_LINES-TDLINE
      SEPARATED BY SPACE.
      LT_LINES-TDFORMAT = '*'.
      APPEND LT_LINES.
      CONCATENATE 'Bill of Lading:' '1234567' INTO LT_LINES-TDLINE
      SEPARATED BY SPACE.
      APPEND LT_LINES.
    *-Save Text
      CALL FUNCTION 'SAVE_TEXT'
        EXPORTING
          CLIENT          = SY-MANDT
          HEADER          = LS_HEADER
          SAVEMODE_DIRECT = 'V'
        TABLES
          LINES           = LT_LINES
        EXCEPTIONS
          OTHERS          = 1.
      IF SY-SUBRC NE 0.
        EXIT.
      ENDIF.
    COMMIT WORK and WAIT.
    ENDFORM.                    "TEST

    Hi,
      If the text is getting displayed the second time, then this should be due to delay in saving the text.
    After your COMMIT WORK AND WAIT in your report program, just put a WAIT FOR 2 SECS and check again.
    Regards,
    Suganya

  • Formatted Text Edit & SAP Script Text

    I'm working through a business requirement to input some long text, and then update an existing SAP script text object (attached to a sales order).
    I'm using a formatted text editor to allow the users to enter the text - however I can't find a utlity that allows me to convert this data into a format that can be saved into a sap script text.
    Thanks,
    Heather

    Hi Heather,
    Please check this...
    Re: From Web Dypro Text area to SAP Script  text object(Tline table)
    http:///Tutorials/Smartforms/PassingTableData/Script1.htm ... add saptecnical.com before tutorials.
    Cheers,
    Kris.

  • How to use Standard text in SAP SCRIPTS

    Hi all,
    Please tell me how can we use the standard text what we have created in SO10 with sap scripts.

    Hi Gaurav
    You can create standard texts using the transaction SO10. Then to insert these standard texts in the SAPScript choose the menu, Insert->Text->Standard and choose the standard text that you want to choose.
    Alternatively, you can display standard texts in your SAP Scripts using the command:
    INCLUDE ZSTEXT OBJECT TEXT ID ST LANGUAGE EN
    where ZSTEXT refers to the Standard Text name.
    Reward pts if found usefull
    Regards
    Sathish:)

  • Problem in using the sap script from 1 client to another

    Hi,
    I am working on a sap script which is developed in the 555 cliet(Quality) but now the error comes change to repository or cross client is not allowed.
    In order to change the script which i am working on i tried to copy that script in 333 client and created with the orignal script. I tried to copy the modified script (developed in 555) but it is copying that script.
    Plzz proivde me guideliness how to solve this problem.

    >
    ricx .s wrote:
    > Hi,
    >
    > I am working on a sap script which is developed in the 555 cliet(Quality) but now the error comes change to repository or cross client is not allowed.
    >
    > In order to change the script which i am working on i tried to copy that script in 333 client and created with the orignal script. I tried to copy the modified script (developed in 555) but it is copying that script.
    >
    > Plzz proivde me guideliness how to solve this problem.
    Hi there,
    Are clients 555 and 333 both on DEV Server? If so you may use transaction SCC1 to copy the form from one client to another. Just run SCC1 on the client where the sapscript form will be copied, indicate the source client, and search for the transport request number that contains your form.
    Also, where did you develop your form?
    Let me know.
    Regards.

  • Converting HR Form(pe51) into sap script/smartform

    I have an HR form created in PE51 - how do I convert this into a sap script/smartforms?  I would like to put our company logo on the form...
    Thanks - Janet

    Well i once found these two Notes:
    701887 and 309204
    It is talking about PE51 and some interaction with smartforms and a couple of Function modules.
    Following objects are created in release 4.6B and delivered from releases upwards via this note :
    Function group HR99S00_SMARTFORM
    Function module HR_99S_CONV_PRIPARMS_TO_SSFCOMPOP converts printing parameters from format PRIPARMS to Smartform format SSFCOMPOP.
    Function module HR_99S_CONV_SFERROR_TO_HRERROR converts and integrates Smartform error table to an HR error table.
    It looks like it is possible to produce a smartform payslip. What I could not find is how to do it.

  • Problem in form output(sap script)

    hi all ,
    iam not getting vertical line in a box in the sap script put even thuogh i have declared it in the main window
    for the first only iam not getting the verical lines in the  main window  n getting the  vertical lines in the pages other than page1 in the  main window.

    Hi,
    You can get a Vertical Line using the foll eg in the Script:
    /: BOX XPOS '12' CM YPOS '10' CM WIDTH '0' CM HEIGHT '18' CM FRAME 10 TW
    keeping the Width as 0 will create a box with width 0 which will be a vertical Line,
    when you will use this code it will automatically appear in the other pages as weel when you use this main window.
    Regards,
    Sunil

  • Problem printing box in sap script

    i am printing the main window in a box in sap script, the box is appearing on page one but it does not seem to appear on the later pages, how do i get it to appear on all the pages? is there any setting that i'm missing?

    Hi,
    Can you elobrate your question.
    if your question is like this.
    -> You have only one page you are displaying the data in that box and that data is exceeding the main window and printing in
    the second page and you are not getting the BOX in the second page .
    a) If it is your question check whether there is any if condition
    before the BOX command like
    /:   if &page& = 1.
    /:  BOX height 5 ln width 50 ch
    /:   Endif.
    remove the if condition there.
    or
    /E  ele1.
    /:  BOX height 5 ln width 50 ch
    place the Box statement in the first line  of that window.
    -> You have two pages .
    a) If it is so check wheter the box command is there in both
    pages.
    Thanks,
    NN.

Maybe you are looking for

  • Install XP on Satellite 2410

    A friend asked me to do a clean install of XP Pro on his Satellite laptop.  He does not have the original installation disks.  His Windows Product Key is for XP Professional, so I used my own XP Pro disk for the install.  When it gets to inserting th

  • I am getting a -50101 error when trying to get analog input from a compact rio

    I am just doing the initial setup of my compactRIO system and have been able to successfully add the cRio in Max and then into a new project.  I created a very simple VI with analog input that I am trying to read into an indicator, following one of t

  • Black border around bg image

    Hi I have given up on the random bg images for my client's site at www.carterbrands.com  I have allocated an image per page.  I am getting a black border around the image.  I dimly remember that there is a way around this but I have forgotten what it

  • Where is Button Action in Captivate 8?

    I am working on a responsive project in Captivate 8. In the Properties panel of the slides you can select Style, Action and Options.  When you selct Action, you find 'on Enter' and 'on Exit'. On some of my slides there are buttons.  Properties for Bu

  • Snow Leo drivers for an HP LaserJet P1505n

    Hey Printer forum, I'm wondering if there are drivers in the works for HP P1505n LaserJet printers that work with Snow Leopard? I know the printer itself still functions fine, because my 10.5.x Mac mini works fine with it (also works in Windows Bootc