SAP Script & SMARTFORM import - Prog. RSTXSCRP????

Hi Experts,
We hv my_SAP_Script in DEV system of FarmSeeds box.................now, I need to get(import/copy) in the same my_SAP_Script into DEV system of FarmChemicals box,
So, in this perspective am looking the prog. of RSTXSCRP............but, it looks like its does not meets my requiremet,
So, let me know that,
1- If it meets my requirement, pls.let me know How to do it, I mean, Is I need to IMPORT to a .txt file on my local desktop?
2 - How to get it from DEV of one box to DEV of another box?
3 - The same case for SAMRTFORM also!
replies appreciated
thanq
Edited by: SAP ABAPer on Nov 6, 2008 7:05 PM
Moved to correct forum by moderators
Edited by: Matt on Nov 6, 2008 8:12 PM

thanq.
for SMARTFORMS also, I did the same, so, looks like its working.
but, clarify,
1 - shuld i check the check box of BINARY FORMAT?
2 - In the Target system, system is forcing me to give/specify the SAME NAME, wht we hv in SOURCE system...........say, my_sap_script??? so, is it so? or Can I give any name? bcoz, here at thisa client need to follow naming conventions?
2 - looks like, i can NOT RENAME the sap script? is it correct or is it possible to RENAME the script, if so, how?
3- pls. clarify ur statement below,
" You will have to use a transport for the SmartForms anyway"
thaq
Edited by: SAP ABAPer on Nov 6, 2008 8:08 PM

Similar Messages

  • 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.

  • SAP Script,Smartforms,Adobe Forms

    Hi SDN Friends!
    I had this question.
    Given a SAP Script or SMART Form ... how do we identify (table names?)
    The Print program associated with them? Also, how does that concept differ from PDF forms?
    Any body can answer please........
    Regards,
    Markiv.C

    Hi
    In any Orgn in real time in SAP we use Sap scripts or Smartforms for sending Outgoing documents like Sales,Pur order to customer or vendor.
    So these are assigned with an Output type, Medium, Print  program
    These settings are configured first in Application document and in NACE Tcode
    accordingly an Entry is saved in NAST table and TNAPR tables
    so from these 2 tables we will come to know the form/sf name, print program and Output type and Medium etc
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • SAP script  & smartform debugging

    Hi experts
    can u plz give me the step by step procedure  for debugging the SAP script and smartform
    regards
    venkat

    Hi,
    They are two ways to debug the SAPScript.
    1). Use Tools - Word Processing - Layout Set (SE71). Enter
    name of layout set and then Utilities - Activate Debugger.
    It is of no consequence which layoutset you enter when
    selecting the SAPscript debugger. (Menu path:
    Tools-Wordprocessing - Forms, Utilities - Activate Debugger)
    The next layoutset called will invoke the debugger.
    2). Another way to set the SAPScript debugger is to run
    program RSTXDBUG.
    When you debug Print program it is same as you debug any
    other ABAP program. While when you debug SAPScript, you
    actually debug the code ( scripting) you have written
    SAPScript Form.
    DEBUG Smartform:
    One way to debug smartform is to debug the Function Module of
    that smartforms. If you want to debug particular smartform
    node that the solution would be, insert a "Program Line" just
    above the node you want to debug and this program line write
    a normal abap breakpoint. So whenever you call the
    smartforms, it will stop at this breakpoint and you can debug
    onwards.
    another way is SFTRACE can be used for debugging SMARTFORMS
    for details refer this link:
    http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    rgds,
    latheesh

  • SAP SCRIPTS & SMARTFORMS

    HOW CAN WE SUGGEST SAPSCRIPTS ARE POOR PERFORMANCE COMPARE TO SMARTFORMS
    IN DEVELOPMENT I CREATED A S.F IT GENERATES A FUNCTION MODULE .WHEN I TRANSPORTED IT TO TESTING. WHETHER SMARTFORM GENERATES A FUNCTION MODUEL OR NOT?

    Hello Polisetty,
    First question: It's not primarily a performance issue (SAPscript doesn't have a bad performance). It's an issue of upward compatibility and functional features why SmartForms does have an advantage.
    Second question: Of course, the function call 'SSF_FUNCTION_MODULE_NAME' in your transported program creates a temporary function (import parameter fm_fname) in the new environment (either TEST or QM or PR) as well. You have NOT to transport the created FM (which is the value in fm_name).
    Hope it's clear,
    Heinz

  • Sap script/smartforms

    hi friends,
    this is siddhardha
    what is the prosidure to copy and program for the copied form in our prasent working clint.
    and what for the T-CODE NACE is used.
    thands, regards
    Siddhardha

    Hi,
    Here is a great link to come to your rescue....
    http://www.allsaplinks.com/smartform_example.html
    As far as NACE is concerned, it is assigning the form to the driver program. Usually done by functional consultants.
    Feel free to revert back.
    --Ragu

  • Send email with PDF attachements (Smartform/SAP script)

    Hello All,
    I have 3 existing programs A, B & C whose output is in SAP Script/Smartform. Now I need to create new program D which needs to execute program A, B & C and then convert their smartform/SAP script output into PDF format and send email with attachements (PDF files). Any pointers how I can proceed. Thanks a lot.

    hi Sarita,
      v_ctrlparams-no_dialog = 'X'.
      v_ctrlparams-getotf = 'X'.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname = 'Smartform name'
        IMPORTING
          fm_name  = v_func_mod.
      CALL FUNCTION v_func_mod
        EXPORTING
          control_parameters = v_ctrlparams
        IMPORTING
          job_output_info    = v_joboutput
        TABLES
          t_nonsigner        = t_nonsigner.
    fill the document
      doc_chng-obj_name = 'Descriptoipn'.
    Fill the subject line
    doc_chng-obj_descr = 'Manpowe'.
      doc_chng-obj_descr = 'Reminder .
      doc_chng-sensitivty = 'P'.
    Fill the content of the mail
      objcont = 'Dear all,'.
      APPEND objcont.
      CLEAR objcont.
      APPEND objcont.
      CLEAR objcont.
      objcont =
    'The manpower sign-off is pending for the list of employees as per th' &
    'e attached sheet.'
      APPEND objcont.
      CLEAR objcont.
      APPEND objcont.
      CLEAR objcont.
      objcont =
      'Please click on the following link for the manpower sign-off:'.
      APPEND objcont.
      CLEAR objcont.
      APPEND objcont.
      CLEAR objcont.
      DESCRIBE TABLE objcont LINES entries.
      READ TABLE objcont INDEX entries.
      doc_chng-doc_size = ( entries - 1 ) * 255 + STRLEN( objcont ).
    Creating the entry for the compressed document
      CLEAR objpack-transf_bin.
      objpack-head_start = 1.
      objpack-head_num   = 0.
      objpack-body_start = 1.
      objpack-body_num   = entries.
      objpack-doc_type   = 'RAW'.
      APPEND objpack.
    Creating the document attachment
    (Assume the data in OBJBIN are given in BMP format)
      LOOP AT v_joboutput-otfdata INTO wa_otfdata.
        APPEND wa_otfdata TO objbin.
        CLEAR wa_otfdata.
      ENDLOOP.
      DESCRIBE TABLE objbin LINES tab_lines.
      objhead = 'NonSignerDetails.otf'. APPEND objhead.
    Creating the entry for the compressed attachment
      objpack-transf_bin = 'X'.
      objpack-head_start = 1.
      objpack-head_num   = 1.
      objpack-body_start = 1.
      objpack-body_num   = tab_lines.
      objpack-doc_type   = 'OTF'.
      objpack-obj_name   = 'ATTACHMENT'.
      objpack-obj_descr = 'NonSignerDetails'.
      objpack-doc_size   = tab_lines * 255.
      APPEND objpack.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = doc_chng
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = objpack
          object_header              = objhead
          contents_bin               = objbin
          contents_txt               = objcont
          receivers                  = reclist
        EXCEPTIONS
          too_many_receivers         = 1
          document_not_sent          = 2
          operation_no_authorization = 4
          OTHERS                     = 99.
    hope this will help u..
    regards,
    Santosh Thorat

  • SAP script question

    Hi all,
    I have changed footer page window in the form. But apparantly, the address page window is also changed. I dont know how, though I have not touched the address page window. As a result the whole output report layout is changed. Is there anyway I can get the origianl page windows and have the original form.
    Thanks for the great help.
    Sobhan.

    If you wish to keep a copy of your layout sets in your own hardisk.  You can run this SAP program.  You can keep it as a backup copy and upload it back whenever you need it again.
    RSTXSCRP - SAP Scripts Export/Import
    regards
    vinod

  • Debug SAP script

    Hi Gurus,
    I need to debug SAP script. How can I do this?
    Thanks,
    Pavan
    Moderator message - Please search before asking - post locked
    Moderator message - Please see Please read "The Forum Rules of Engagement" before posting!  HOT NEWS!! before posting - post locked
    Edited by: Rob Burbank on Oct 13, 2009 5:00 PM

    Hai Rajiv
    For Debugging SAP Scripts & Smartforms as follows
    SAP Script:
    YOu Can debug a SAP Script by activating debugger in two ways 1.In SE71->Menu->Utilities->Activate Debugger, then debugger will be get activated and when your print program is executing Script Debugger will be in active and you can proceed with your debugging.
    2. Goto se38-> RSTXDBUG ->Execute this same as going thru in se71-> Menu, now debugger will be activated.
    Smartform:I am afraid , we dont have any direct commands or direct procedure to debug a script. But in indirect ways we can do it.
    1.Put a command line before where you want check the value of smartform and write the code "BREAK-POINT"->hardcoded debugging.
    2.You can debug the function module which generates the smartform.
    Regards
    Sreeni

  • How to Migrate SAP Scripts to Adobe form

    Hi,
    Can yo uplease tell me step by step how to convert/migrate SAP Script to Adobe forms.
    Thanks,
    Rajeev Gupta

    Hi
    Transforming SAP Scripts - > Smartform -> Adobe Forms is the right way.
    refer this thread...
    [Re: Convert SAP Scripts to Adobe PDF Forms|Re: Convert SAP Scripts to Adobe PDF Forms]
    Regards
    Raj
    Edited by: Rajasekhar Dinavahi on Dec 9, 2008 5:25 AM

  • Function module for converting sap script to smartforms?

    hi ,
       wat is the name of  function module for converting sap script to smartforms?
    regard's
    Deepak sharma

    Hi,
    No function module is there..
    But go to T-code..Smartforms and in the menubar..
    Utilities-->Migration->Import SApScript Form.
    U can thus migrate SAPScipt to smartforms...
    How ever a lot of changes have to be done in the migrated one,,
    Regards

  • Smartform/Sap script output to Text file/PDF/WORD

    Hi,
    I need to download/transfer the output of smartforms/sap script to text file/pdf file or word file.How do i do that?
    Do I need to create a new output device?
    thnx in advance
    chirantan

    Hi,
    Go through the following Code
    Mail a sapscript
    SAPscript: Autotmatically e-mail as PDF
    How to convert sapscript(Purchage order) inot pdf format & send in  mail
    Check the following Code
    REPORT ZRICH_0003.
    DATA: ITCPO LIKE ITCPO,
          TAB_LINES LIKE SY-TABIX.
    Variables for EMAIL functionality
    DATA: MAILDATA   LIKE SODOCCHGI1.
    DATA: MAILPACK   LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: MAILHEAD   LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
    DATA: MAILBIN    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILREC    LIKE SOMLREC90 OCCURS 0  WITH HEADER LINE.
    DATA: SOLISTI1   LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    PERFORM SEND_FORM_VIA_EMAIL.
          FORM  SEND_FORM_VIA_EMAIL                                      *
    FORM  SEND_FORM_VIA_EMAIL.
      CLEAR:    MAILDATA, MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
      REFRESH:  MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
    Creation of the document to be sent File Name
      MAILDATA-OBJ_NAME = 'TEST'.
    Mail Subject
      MAILDATA-OBJ_DESCR = 'Subject'.
    Mail Contents
      MAILTXT-LINE = 'Here is your file'.
      APPEND MAILTXT.
    Prepare Packing List
      PERFORM PREPARE_PACKING_LIST.
    Set recipient - email address here!!!
      MAILREC-RECEIVER = '[email protected]'.
      MAILREC-REC_TYPE  = 'U'.
      APPEND MAILREC.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = MAILDATA
                PUT_IN_OUTBOX              = ' '
           TABLES
                PACKING_LIST               = MAILPACK
                OBJECT_HEADER              = MAILHEAD
                CONTENTS_BIN               = MAILBIN
                CONTENTS_TXT               = MAILTXT
                RECEIVERS                  = MAILREC
           EXCEPTIONS
                TOO_MANY_RECEIVERS         = 1
                DOCUMENT_NOT_SENT          = 2
                OPERATION_NO_AUTHORIZATION = 4
                OTHERS                     = 99.
    ENDFORM.
         Form  PREPARE_PACKING_LIST
    FORM PREPARE_PACKING_LIST.
      CLEAR:    MAILPACK, MAILBIN, MAILHEAD.
      REFRESH:  MAILPACK, MAILBIN, MAILHEAD.
      DESCRIBE TABLE MAILTXT LINES TAB_LINES.
      READ TABLE MAILTXT INDEX TAB_LINES.
      MAILDATA-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( MAILTXT ).
    Creation of the entry for the compressed document
      CLEAR MAILPACK-TRANSF_BIN.
      MAILPACK-HEAD_START = 1.
      MAILPACK-HEAD_NUM = 0.
      MAILPACK-BODY_START = 1.
      MAILPACK-BODY_NUM = TAB_LINES.
      MAILPACK-DOC_TYPE = 'RAW'.
      APPEND MAILPACK.
    Creation of the document attachment
    This form gets the OTF code from the SAPscript form.
    If you already have your OTF code, I believe that you may
    be able to skip this form.  just do the following code, looping thru
    your SOLISTI1 and updating MAILBIN.
      PERFORM GET_OTF_CODE.
      LOOP AT SOLISTI1.
        MOVE-CORRESPONDING SOLISTI1 TO MAILBIN.
        APPEND MAILBIN.
      ENDLOOP.
      DESCRIBE TABLE MAILBIN LINES TAB_LINES.
      MAILHEAD = 'TEST.OTF'.
      APPEND MAILHEAD.
    Creation of the entry for the compressed attachment
      MAILPACK-TRANSF_BIN = 'X'.
      MAILPACK-HEAD_START = 1.
      MAILPACK-HEAD_NUM = 1.
      MAILPACK-BODY_START = 1.
      MAILPACK-BODY_NUM = TAB_LINES.
      MAILPACK-DOC_TYPE = 'OTF'.
      MAILPACK-OBJ_NAME = 'TEST'.
      MAILPACK-OBJ_DESCR = 'Subject'.
      MAILPACK-DOC_SIZE = TAB_LINES * 255.
      APPEND MAILPACK.
    ENDFORM.
         Form  GET_OTF_CODE
    FORM  GET_OTF_CODE.
      DATA: BEGIN OF OTF OCCURS 0.
              INCLUDE STRUCTURE ITCOO .
      DATA: END OF OTF.
      DATA: ITCPO LIKE ITCPO.
      DATA: ITCPP LIKE ITCPP.
      CLEAR ITCPO.
      ITCPO-TDGETOTF = 'X'.
    Start writing OTF code
      CALL FUNCTION 'OPEN_FORM'
           EXPORTING
                FORM     = 'ZTEST_FORM'
                LANGUAGE = SY-LANGU
                OPTIONS  = ITCPO
                DIALOG   = ' '
           EXCEPTIONS
                OTHERS   = 1.
      CALL FUNCTION 'START_FORM'
           EXCEPTIONS
                ERROR_MESSAGE = 01
                OTHERS        = 02.
      CALL FUNCTION 'WRITE_FORM'
           EXPORTING
                WINDOW        = 'MAIN'
           EXCEPTIONS
                ERROR_MESSAGE = 01
                OTHERS        = 02.
    Close up Form and get OTF code
      CALL FUNCTION 'END_FORM'
           EXCEPTIONS
                ERROR_MESSAGE = 01
                OTHERS        = 02.
      MOVE-CORRESPONDING ITCPO TO ITCPP.
      CALL FUNCTION 'CLOSE_FORM'
           IMPORTING
                RESULT  = ITCPP
           TABLES
                OTFDATA = OTF
           EXCEPTIONS
                OTHERS  = 1.
    Move OTF code to structure SOLI form email
      CLEAR SOLISTI1. REFRESH SOLISTI1.
      LOOP AT OTF.
        SOLISTI1-LINE = OTF.
        APPEND SOLISTI1.
      ENDLOOP.
    ENDFORM.
    Regards
    Sreeni

  • Conversion of sap script MEDRUCK to smartforms

    can anyone help me out in this SAP Script (MEDRUCK) for Purchase Orders to Smart Forms and modified it to suite the requirement.

    Hi Hyder,
    Its quite simple,
    Just goto SMARTFORMS t-code and give a smartform name that needs to be created.
    Now follow the below path
    Utilities - > Migration -> Import SAPScript Form
    It will ask for the SAPScript that needs to be copied to smartform, give MEDRUCK .
    Hope this helps.
    Rgds,
    Sripal

  • Dunning Notice print/email using both Smartform and SAP-Script

    Hello Gurus,
    I have developed the Customized SAP Sript (Copy of 150_DUNN_01) for Dunning NOtice to be send to Domestic Customer and
    Cutomized Smartform (copy of F150_DUNN_SF) for Foreign Customer.
    Now Issue is that when I assign the Customized script to SPRO setting and standrd setting for BTE '00001720' with function
    module 'FI_PRINT_DUNNING_NOTICE', if I want to assign smartform to SPRO setting then I need to replace same FM with
    'FI_PRINT_DUNNING_NOTICE_SMARTF'.
    how it is possible to work with both SAP-Script and Smartforms for dunning Procedure.
    Please gurus let me help for this solution...
    Thanks in Advance,
    Mahesh Sachani

    Hello Gurus,
    Please reply with any solution available with any...
    Thanks,
    Mahesh

  • Migrating the SAP-Scripts to smartforma which are related to Finance(FI)

    Hi,
    Do we can migrate the SAP-Scripts to Smartform which are related to Finance(FI) & those SAP-Scripts are called by a standard print program (RFFOUS_C)
    Urgent answer need please!!!
    Thanks,

    Hello,
    Yes you can migrate script to smartform  there are different ways to migrate.
    Use program SF_MIGRATE..
    to migrate from scripts to smartforms.
    Reward if helpful.
    Viswam.

Maybe you are looking for

  • IPhone no longer able to join Airport wireless

    Hello fellow Apple users, I have an iPhone 4 and an Airport Extreme 802.11n (4th g).  It all used to work fine until a couple of weeks ago.  I did not make any changes to the AP.  The Airport is running the latest (7.5.2) and the iPhone is on 5.0.  T

  • Createtablespace.sql is creating tablespaces in wrong sid

    Hi, We are in the process of performing system copy of EHP4 for TDMS shell creation using standard system copy process as suggested by sap. During export while SAPInst asked for Import Migration Directory we provided the export dump of target system

  • How do I set Sync on my mac? It's running OS10.4 & Ff 3.6.22

    I've set up Sync on my Windows 7 PC and now I want to sync it with my Mac. The mac runs OS10.4 with Firefox 3.6.22 (being the latest available), but Firefox does not have the Sync option available in Options (Preferences, as it is on the Mac). So, ca

  • Greeting to everyone in the community, I need help please

    I have a problem with my Centro, when I put the micro disk into my Centro it will recognize the disk, and let me format it. However, when I try to save anything to the disk, it won't save and then it tells me the "No Card Inserted". This is my second

  • [svn:fx-trunk] 13693: Initial version of the mirroring layout code.

    Revision: 13693 Revision: 13693 Author:   [email protected] Date:     2010-01-21 12:25:54 -0800 (Thu, 21 Jan 2010) Log Message: Initial version of the mirroring layout code.  Only Spark is supported.  API revisions for this feature are very likely to