Doubt in Sapscript.....

Hi All.
I need to upload one layout from SAP ECC 6.0 to SAP ERP Central Component 5.0.I used Program: RSTXSCRP.
i getting this message like
SAPscript Export to Dataset / Sapscript Import from Dataset.
Error:Dataset doestnot contain object ZMEDRUCK but ZMEDRUCK1.
Because “At the time of importing also we have to give the form name same name which was there in ECC6.0”, but ZMEDRUCK1 is already available in ERP 5.0. How can I rename my layout in ECC6.0? Else any other way to solve this problem?
To be reward all helpful answers.
Thanks.
Jay

Hi,
As u Said ZMEDRUCK1 is available in ERP 5.0.
So in ECC 6.0
Go to SE71 Copy The form ZMEDRUCK1 to ZMEDRUCK. From Utilities-->Copy From Client.
Then Export The form and Import it to ERP 5.0.
Regards
Sandipan

Similar Messages

  • Doubts in sapscript

    Hi,
    1.How we can use main window for Heading and total.
    2. Is there any commond in sapscript for Getting the total of any coloumn as Samrtforms?.

    Answer for your first question:
    It is very difficult to display the heading in all the pages using SAP script, but there is a solution.
    You need to write some logic in your driver program in order to display the heading.
    Imagine there are 50 records in your internal table and you knows that 25 records can fit in each page(trial and error method). Then you can use the following logiv
    call header window( for first page)
    loop at itab.
    index = index + 1.
    v_head = index mod 25.
    if v_head = 0.
    call the header window.(for subsiquent pages)
    endif.
    call data window.
    endloop.
    You can also use your own logic if records in first page are lesser than the remaining pages.
    Answer for your second Question:
    There is no inbuilt functionality to calculate sum in SAP scripts as in Smartforms.
    You need to calculate it in your driver program. If you are changing the standard SAP Script and not able to change driver program then you can call a subroutine which is present in a include program from your SAP Script and calculate the sum in that subroutine.
    I hope this information helps you.
    Regards
    Madhu G S

  • Sapscripts doubts

    Below are my few queries.
    1.How to display the symbol in bold ,<B>&ITABLE-NAME&</> is not working,can we display it in bold?
    2.How to get employee position?I tried mapping with otype of pa0001 to otype of t528t tables but it retrieves many records.What is the way of getting on single record for single otype?I mean to say of employee has joined in the company,i want his/her designation or position in the company.
    3.Iam doing sapscript which will accept employee and prints his experience certificate.I have used select options to get the input from the user.If the user selects range of employees(like 5 employees),the program should be able to print 5 experience certificates.Can anyone suggest how to accomplish this task?I think we should be able to create the page dynamically,any ideas?
    4.Where can i find hr related default sapscrips like one for purchase order - MEDRUCK
    Thanks a lot for your time.

    I have one solution.Earlier I dont know that we should create character called as B,giving bold attribute true.Then at symbol we have to give <B> end with </>.Iam able to print the symbols in bold but rest of doubts I hve to find out.

  • SAPScript doubt

    Hi,
    I am working os SAPSCript form.
    In main window I am using two text elements.
    /E: TOTAL1
    /E: TOTAL2
    On one condtion total1 should get printed and on other total2.
    So in print program do I have to call WRITE_FORM two times for this main window as follows:
    IF .........
    CALL FUNCTION 'WRITE_FORM'
         EXPORTING
              ELEMENT                  = 'TOTAL1'
              FUNCTION                 = 'SET'
              TYPE                     = 'TOP'
              WINDOW                   = 'MAIN'
        EXCEPTIONS
             OTHERS                   = 8
    ELSE.
    CALL FUNCTION 'WRITE_FORM'
         EXPORTING
              ELEMENT                  = 'TOTAL2'
              FUNCTION                 = 'SET'
              TYPE                     = 'TOP'
              WINDOW                   = 'MAIN'
        EXCEPTIONS
             OTHERS                   = 8
    ENDIF.
    I also want make sure what I have understood is correct, that /E: is used to divide various text elements when we want to print them using certain conditions.

    Hi Tushar,
    What you have done and understand is correct. What ever you write under the text element will be executed when you call that text element. The content of one text element will end when you start a new one. You can call the text elements based on conditions.
    Thanks
    Vinod

  • Sapscripts doubt

    hi all,
    is there anny option to pass datas from Program to sapscript other than open form , close form and write form.
    Regards,
    Ramya

    Hi...
    Yes..
    We can Call the Subroutines from layout set using
    /: PERFORM
    /: ENDPERFORM
    command and The Subroutine can be defined in a program to Pass the Data to Script.
    <b>Reward if Helpful.</b>

  • SAPSCRIPT problem in printing on Dot Matrix Printer

    Hi!
    I have a SAPSCRIPT Form with page format INCH12. The SAPSCRIPT output is displayed properly in print preview. But when it is sent for printing on the Dot matrix printer the first three lines of the second page are printed on the first page at the bottom. Paper size is also 12INCH. I tried adjusting all the windows and putting blank lines. I also gave /: NEW-PAGE command. But it did not solve the problem.
    I am not able to identify where exactly the problem is? Is it in the SAPSCRIPT or in printer settings.
    If anyone had faced similar problem and was able to solve it then please reply.

    Hi
    if it is possible try to print the same in another printer and confirm the problem
    no doubt certain printers may create such problems while printing the output
    so to confirm the problem try with other printer.
    Reward points for useful Answers
    Regards
    Anji

  • About SAPscripts and smartforms

    Hi all,
             I am working on SAPscripts and i have one doubt.
    I want to know the concepts how data is communicated between SAP scripts and print program.Suppose I am writing one subroutine. Can i write the form statements in the print program of the script or I have to write it in another program.
             I want whether SAPscript is calling the print program or vice versa.
             Please tell me the same concepts regarding smartforms.
             Please experts provide me a vivid idea so that I can get the concepts clear.
        With regards,
          Abir.

    HI
    GOOD
    AS PER YOUR REQUIREMENT HERE I AM GIVING SOME POINTS RELATING TO SAP SCRIPT AND DRIVER PROGRAM
    WHEN YOU R CREATING A SAPSCRIPT FORM IT CANT ABLE TO EXECUTE OF ITSELF, FOR EXECUTION IT NEEDS HELP .THAT IS THE REASON YOU R CREATING A DRIVER PROGRAM.
    IF YOU GO THROUGH A DRIVER PROGRAM YOU CAN FIND OUT THAT YOU R PASSING THE SAP SCRIPT NAME AS A PARAMTER.SO YOUR DRIVER PROGRAM IS CALLING YOUR SAP SCRIPT FORM.
    USING THE DRIVER PROGRAM YOU ARE PASSING THE APPROPRIATE VALUE FOR THE VARIBALE THAT YOU R GOING TO PRINT IN THE SAP SCRIPT FORM.
    =============================
    SMARTFORM CONCEPT=>
    SAP Smartforms can be used for creating and maintaining forms for mass printing in SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the Internet (by using the generated XML output).
    According to SAP, you need neither have any programming knowledge nor use a Script language to adapt standard forms. However, basic ABAP programming skills are required only in special cases (for example, to call a function module you created or for complex and extensive conditions).
    1. Create a new smartforms
    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name    Type assignment   Reference type
    ITAB1               TYPE                  Table Structure
    Global definitions
    Variable name    Type assignment   Reference type
    ITAB2               TYPE                  Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g.  HD_GEN for printing header details,
            IT_GEN  for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    THANKS
    MRUTYUN

  • Output a shaded box in SAPScript with Dot Matrix Printer

    Hi guys,
    Is there a way to print a shaded box in Sapscript using Dot matrix printer?
    BOX XPOS '4'CM YPOS '2.8'CM WIDTH '2'CM HEIGHT '0.4'CM FRAME 10 TW INTENSITY 100
    I tried the code as above but it wouldn't work, and doing a search on this forum tells me box command wouldn't work on dot matrix printer. So is there any alternative to do this?

    Hi
    if it is possible try to print the same in another printer and confirm the problem
    no doubt certain printers may create such problems while printing the output
    so to confirm the problem try with other printer.
    Reward points for useful Answers
    Regards
    Anji

  • Main window of SAPScript versus Main window of smartform

    Hi,
    In case of Smartform we have one main window per page but in case of SAP Script we can have 0 to 99 Main window on one page.
    In case of smartform if the main window on one page gets filled then the remaining long text will jump on main window of second page.
    Following are my doubts:
    If I define three MAIN windows for three different kind of long texts on page one in SAP Script as follows:
    MAIN Window 1 -  Long text1
    Main Window 2 -  Long text2
    Main Window 3 -  Long text3
    1) If the long text 1 on MAIN window 1 of first page gets full does it automatically jump to Main Window 2 of first page ?
    2) If I don't want the long text on Main Window 1 to jump on Main window 2 on first page but on Main winodw 1 of next page , is it possible ? How do I do it ?
    Answers will be rewarded..
    Tushar.

    In SAPScripts if the long text is filled in the Main Window it will spill over into the same Main Window if it is defined in the next page. Text from one Main Window will nt spill over onto the text to different Main window.
    So as far as you questions are concerned:
    1. Not it does not automatically jump over into Main Window 2 from Main Window 1 on same page or next page.
    2. You just need to define the Same Main Window on the next page so that text gets jumped over to the next page. If it is possible just define the next page as the same page, so that you do not have to create a separate page and attach all the windows.
    Hope this helps you...
    Shashi Reddy

  • SAPScript in different language

    Hi Everybody,
      Requirement is to prepare a SAPScript Form which prints text in hindi (India's National Language). Could anyone suggest ideas besides of using image for the purpose???
      As such it can be directly implement this using images. But there are problem associated with this approach. Valuable suggestions are requested.
    Regards,
    Deva.

    Thanx Asish. I had previously too put up the similar question but there had been no response from anybody.
      Rather I have tried out something. Can you please guide further in this regard.
      My Concept :-
        1. Load the font to R/3.
        2. Access the font in  Form or Standard Text.
      My Developments :-
        1. Using SE73 I uploaded the font to R/3.
        2. Using Form (Paragraph with hindi font) I tried to print.
      My Results :-
        1. Form prints only in English.
      My Analysis :-
        1. The form had language 'EN'. The environment is not there to run form in 'hindi'.
      My Doubts :-
        1. Can form can pick up font at runtime presentation server. If that can happens then the form will pick up hindi font installed on PC.
      Any suggestions.
    regards,
    Deva.

  • Sapscript  for displaying page no

    Hai Eveyone,
    Now Im currently working in sapscript, I have one doubt on that.In my program i displayed data's in each of the page for every vendor . I need the page no Based on Vendor wise. It means for example if the vendor number changed the page no also starts from the first. How to do this ?.
    <<removed_by_moderator>>
    Thanks In Advance.
    Regards,
    Ekadevi.S
    Edited by: Vijay Babu Dudla on Jan 31, 2009 4:01 AM

    Hi,
    Maintain a variable for the page number.
    Let it be page_no = 1 initially.
    then you can use,
    /: AT NEW vendor_no.
       page_no = 1. "setting the page number from 1 when the vendor number changes.
    /: ENDAT.
    When its the same vendor you can increment the page_no and print it.
    Hope this helps.
    Regards,
    Deepthi.S

  • How to do changes in sapscript??

    Hi experts..
    i need to make a field bold in a existing sapscript..can anyone tell me in detail how should i do it...?i dont knw netg abt it!!!
    Useful replies will be rewarded!!Thanks

    Hi,
    1. In Sap script go to Paragraph Formats.
    2. Create one new paragraph and Enable the radio Button Bold.
    3. Go to your window and right click ---> edit text ---> go to ---> Change editor.
    4. Which line you want to change the Bol format ---> Give your Paragraph Name here.
    5. Save and activate and test.
    Thanks,
    If any doubts revert back to me.

  • DOUBT IN A BOX

    HI
    am doing a script in which i need to put a smaal box at the right hand side corner ..now my doubt is i need to print the document number and the date inside the box which i need to retrive from the respective tables and also one more doubt how to have blank spaces in betwenn...like on a line am printing the document text
    the next line there shouldnt be anything it should be a gap and after i want to print sometingg.please help
    vijay

    Hi Vijay,
    Setting default parameters for a box:
    You can use the POSITION and SIZE commands to set default parmeters for a box.
    Instead of: 
    /: BOX XPOS '11.21' MM  YPOS '5.31' MM  HEIGHT '10' MM WIDTH '20' MM INTENSITY 10 FRAME 0 TW
    You can write:
    /: POSITION XORIGIN '11.21' YORIGIN '5.31' MM
    /: SIZE HEIGHT '2' MM WIDTH '76' MM
    /: BOX  FRAME 10 TW INTENSITY 10
    This can be usefull if you gave several boxes that share the same parameters.
    If you want to set the position realtively to the window use POSITION WINDOW
    to set the position to the top/left start of the window. Then use POSITION 
    to set the current position relatively to the start of the Window. 
    Note that you uses "+" or "-" in the ORIGIN position to the set the position relatively.
    /: POSITION WINDOW
    /: POSITION XORIGIN '5' MM  YORIGIN '10' MM
    the position is now 5 MM from the left and 10 MM from the top of the window
    NOTE: After using the position command you can move the current position
    realtively to the last used position
    /: POSITION XORIGIN '10' MM  YORIGIN '20' MM
    Now the position will be X = 15 and Y = 30
    Drawing a line. You can draw a line by setting the Height or Weidth to 0
    and add a frane. E.g. a horizontal line:
    /: SIZE HEIGHT '0' MM WIDTH '200' MM
    /: BOX FRAME 10 TW XPOS '11.21' MM YPOS '14.81' MM INTENSITY 100
    SAP Printer commands in SAPScripts
    The command line in the editor must be as follows:
    /:  PRINT-CONTROL xxxxx
    or
    /:  PRINT-CONTROL 'xxxxx'
    where xxxxx stands for the five-character name of the print control.
    Example:
    /:  PRINT-CONTROL ZM100
    The complete printer command normally resides in the print control.
    If characters belonging to the print command follow after the print control in the text (only useful for the HPL2 printer driver for PCL-5 printers), the text line following after the PRINT-CONTROL command should begin with an equals sign (=) in the format column.
    Example:
    /:  PRINT-CONTROL SESCP = *c5G
    If you do not use the equals sign, a space character is inserted between the print control SESCP and the character *c5G.
    Different font on the same line
    You can have different font on the same line by defining a character format.
    For example B for bold text and U for Underline. 
    In your SAPScript apply like this : 
    <U>Underline Text</> <B>Bold Text</>
    Print Footer notes only on the last page
    Command to used in your sapscripts :-
    /: IF &NEXTPAGE& EQ 0 
          whatever footer you want. 
    /: ENDIF 
    SAPscripts How to calculate Totals and Subtotals
    I have some doubs in BDC and SMART FORMS.  I want to change the material number using the transaction code MM02 through BDC.
    In scripts and smartforms how to calculate totals and subtotals?
    To calculate totals and sub totals in sap scripts you have to use subroutines.
    Say if you have to add the unit price (KOMVD-KBERT) then in the main window whereever tat value is picked write this routine
    /: DEFINE &TOT_PRICE&
    /: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name> /:USING &KOMVD-KBERT& /:CHANGING &TOT_PRICE& /:ENDPERFORM
    Then write the variable where ever you want it to be printed (mostly it will be in footer window)
    Then create subroutine pool program and you have to write the code.
    FORM F_GET_PRICE tables int_cond structure itcsy
                                        outt_cond structure itcsy. data : value type kbert.
    statics   value1 type kbert.
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    I have given a rough outline, please be aware of the variable conversions as Int_cond-value and outt_cond-value are characters.
    Rewards some points,
    Rgds,
    P.Nag

  • SapScript in ECC 6.0

    Hello,
    Guys I'm having a doubt, I created a form SapScript in ECC 6.0 for direct printing of Tickets for F110, with a copy of the standard did J_1B_BOLETO_ITAU. But do not print the bar code. I tell you that the SapScript no longer works in version ECC 6.0 is this true?
    Thanks,

    Hi,
    Does your printer have barcode DIMM module installed? In general, if you want to print a barcode, somebody must draw the bars
    of the barcode to get a correct print. One way is with a barcode DIMM installed in the printer as per SAP note #45643.
    Another possibility is to print via windows and device type SAPWIN, with a barcode.dll installed in the windows. See SAP note 14561.
    If your printer doesn't have a barcode DIMM and you don't want to use a barcode.dll, you can use the new barcode technology, which is described in SAP Notes #645158 and #430887. However this is only possible via Smartforms.
    Regards,
    Aidan

  • Basic ABAP doubts

    Hi Experts,
    got some basic doubts..hope ppl can help me tackle them..
    1. y is sapscript client-specific when smartforms are     cross-client ?
    2. why exactly are reference fields required for Currency n Quantity Fields ?
    3. In SE93, while creating a transaction for an executable program, no variant comes in F4 even wen we have created one for the program, n wen we type in the variant, it says the Transaction is inconsistent.. is it because transaction is cross-client whereas variant is not ??
    4. where is DDIC placed?? i mean is it in database or Application server ?
    5. why do we need to have a Value table ?
    Please dont copy & paste from existing sources..it wud be great if u cud explain in ur own wrds...
    all answers wud be appropriately rewarded..
    thanks.
    bikash

    thanks for the reply guys..
    Andreas,it wud ve been better if u explain ur answers.
    pawan.
    1. smartform when activated generates a function module which becomes part of DDIC. so client-independent ... ( arent transparent tables part of DDIC ??? they are client-dependent though )...
    2. bcoz when u say amounts like 1000 rupees, 1000 refers to amount and rupees refers to currency unit.
    thats ok pawan, but how does it matter if it is rupees or USD or EURO..its anyway a field with lets say 13 digits n 2 decimals..n also the field contains only 1000, not the rupees, that part anyway can be got from the currency field.....
    3. did u test in a multiple-client system?? ie, it comes in IDES over here too, i think dats because IDES doesnt have multiple client..
      Also, if it has come in a multiple client system, wat ll happen if u run that transaction in a client in which that variant is not there..it ll throw an error right??
    4. wat my doubt is that anything that is there, also the definitions has to be stored someweher right?? so isnt the database where everything including the dictionary is stored??
    awaiting ur useful responses...
    Message was edited by: Bikash  Agarwal

Maybe you are looking for

  • Can  you help me to solve this problem (user-exit for xd02)

    Hi! can  you help me to solve this problem? transaction XD02 To pass the length of the field to 7 max    for    KNA1-SORT   (Search criterion 1 ) To pass the length of the field to 4  max   for   ADRC-SORT2  (Search criterion 2) It is not possible to

  • How to solve the dn collision in AD during AD account provisioning

    Hello, I have multiple users with the same last name, first name and middle name. We decided to build the full name using the rule: lastName, firstName OR lastName, firstName# (if the lastName, firstName already exists, add a number and the number ju

  • Can No Longer Record Audio With iMic

    I've been using the Camera Connection Kit with the iMic to record audio from my studio via 'Line In' for months with no issue. A few weeks ago, my iPad stopped recording using iMic. It only records with the internal mic now, so the sound is garbage.

  • Images with success and error messages

    Hi, I am using theme 20. I want to add a success image on all success messages and an error image on all validation failure messages. I can do this by putting img tag in messages individually. Is there an easy way by which I can make sure that all su

  • JUST finding duplicate files/folders

    Yes, I did my research.  Solutions are dated or otherwise un-satisfactory.  Does anyone know of a CURRENT app. that will find duplicte files and folders (preferably by name, not necessarily size) and list them without immediately sending something to