Sapscript to smartform migration problem

Hello,
I'm trying to migrate sapscript form to smartform. I used standard way in smartform transaction. After migration I found out that not all of sapscript windows waren't migrated. What's wrong? Does anybody deal with this problem? What's possibly cause?
Best regards,
Josef Motl

hi
check the below document may be helpful for you
Here is the background info from SAP
http://help.sap.com/saphelp_nw04/helpdata/en/9d/9599386185c064e10000009b38f8cf/content.htm
Step 1. Access the initial screen. Choose Tools>Forms printout>Smart Forms (transaction SMARTFORMS) from the SAP Easy Access Menu. The dialog window SAP Smart Forms: Initial Screen appears.
Step 2. Name the form. In the Form Field, enter field name you want to give, for example ZTF_GR_## (based on your company standard starting with Z to identify this as a customized form, where “##” is the group number).
Step 3. Access the migrate function. Go to Utilities>Migrate SAPscript Form. In the dialogue window enter the SAPscript form name, for example Y_SAPSCRIPT_STD. Choose the Check button.
Step 4. View the migrated layout. On the screen that appears, the SAPscript form is migrated into a rough Smart Form . Click on Form Painter to see an overview of the form layout.
Use the following steps for mass migration or simultaneous migration of multiple SAPscript forms: Step 1. Run the mass migration program. In Reporting (transaction SE38), select the program SF_MIGRATE and execute it (Figure 3). Select the names and the language of the SAPscript forms and click the execute icon. The system creates the Smart Forms named for the SAPscript forms plus the extension SF. It displays a list of the migrated forms.
Step 2. Make changes (if necessary). To change and adapt a form, go to transaction SMARTFORMS. Then activate the changed Smart Form.
Once the SAPscripts are converted, whether in Smart Forms or Smart Styles, you should clean up any errors made during the conversion process, in terms of attributes, window alignment, or syntax errors. Cleaning up errors during conversion is often standard procedure, as SAPscript might have used local logic. Errors may occur when a field displayed is extracted or manipulated to display and doesn’t exist, or fields exist but appear with no values. Errors may also arise in ABAP syntax.
Step 1. Define the Import Parameter. Double-click on the Global Settings> Form Interface from the navigation menu
Step 2. On the Import Tab, enter the import structure information. For example, enter Parameter Name (table name, such as LIKP), Type Assignment: Type, Reference Type (table name), Optional (or Mandatory); Pass Val: (Passing value indicator). This must be done for all the data retrieved from the SAP tables.
Step 3. Remove irrelevant or unnecessary windows. To delete a navigational menu node, right-click on the node, and select Delete. Since you start with windows in SAPscript, there might be redundant windows created for text.
Step 4. Set the first page. Delete the NEXT page node on the menu tree. Double-click on the first page node. In the General Attributes tab, change the Next Page value to FIRST.
Step 5. Delete the DETAIL frame window. Expand the MAIN window and delete all its text nodes.
Step 6. Adjust the text nodes. Click on the text nodes and let the system fit the text.
Step 7. Save and check the syntax.
Refer this thread:
Re: Migrating SAPscript print program to Smartform
~~Guduri

Similar Messages

  • Sapscripts To Smartforms (Paragraph problem)

    Hi everyone,
    It' possible to convert automatically, all the paragraphs from one SAPscript to a Smartform style or similar?.
    My problem is that i have 60 o 70 paragraphs in the SAPscript and i'm searching a automatic process for migrate them to a Smartform.
    Greetings.

    Hi,
    If you are talking of Styles then goto tcode SMARTSTYLES -> UTILITIES -> Convert SAPScript Styles.
    If you are talking of paragraphs as in SAPSCript then goto Tcode SMARTFORMS ->UTILITIES -> Convert SAPScript.
    Regards,
    Amit
    Reward all helpful answers.
    Yeah, by formats means styles, so if you want you can also convert the styles too from SAPScript by using other method or delete the current one and choose any from smartform styles.
    Message was edited by:
            Amit Khare
    For language problem just change the maintain language for the form.But it will give some more errors later.
    Message was edited by:
            Amit Khare

  • Migrate PO output from Sapscript to Smartform

    Hi,
    I'll be migrating ZZMEDRUCK (customized copy of the standard form)that is in sapscript to smartform. I'll be doing this manually since some of the layout/format was changed by the user. Now do i have to create a new print program aside from the ZZSAPFM06P so that it will call the new smartform that i will make? Do i have to create a new output type? Or i dont have to do this and just change the configuration in M/34?
    Thanks a lot.

    TCode smartforms--> Utilities --> Migrate SAPScript form
    This will copy hte SAP Script form into smart forms.
    But this will not solve the purpose.
    YOu will have to map the print program accordingly.
    Hope this helps.
    Please reward if useful
    thnx

  • Plm in migrating sapscript to smartform

    hi gurus,
    i can migrate the sapscript to smartforms through t.code smartforms -->define the smart form name -->utilites(menu) -->migration -->import sap script form, then save after that if u go for syntax check it shows the somany syntax errore saying that 'x' is not defined or something is not defined.
    do i have any other way to migrate sapscript to smartform to avoid these(above mentioned) sytax errors?
    waiting for reply,
    seshu.m.

    hi,
    pls refer to this sdn thread.
    https://forums.sdn.sap.com/click.jspa?searchID=286390&messageID=2667564

  • What SAP recommends in ECC 6. Either SAPSCRIPT or SMARTFORMS?

    Hi all,
    I want to know, what is the SAP's recommendation in ECC 6.0, whether to use sapscripts or smartforms for the important form print outs like purchase order, quotation, GR, GI, invoice, delivery note.
    I knew that in ECC 6.0, for some cases, there are both sapscript and smartforms available, for example Purchase order, Delivery note, invoice etc.  In this case what is the SAP's recommendation? to use sapscripts or smartforms??
    I heard that SAP does recommend.
    Awaiting your reply,
    Balaji

    Hi
    These are few lines from sap help:
    Smart Forms replace SAPscript forms. SAPscript forms will still be supported in the future; you can use them without making any changes for years to come. You can even use SAPscript texts in the Smart Forms.
    Migration of SAPscript forms into Smart Forms is supported.
    Even go through this link :
    http://help.sap.com/saphelp_nw70/helpdata/EN/a5/de6838abce021ae10000009b38f842/content.htm
    [Advantages of using smartforms|http://saplab.blogspot.com/2007/09/advantages-of-sap-smart-forms.html]
    Regards,
    Sravanthi

  • Convert Sapscript to smartform

    Hello,
    I have to convert Sapscript to smartform ,to do that I have migrated sapscript to smartform and copied the standard driver program to Z program. Is there any way to get all interface parameters automatically without looking into each and every line in program to get the interface parameters?
    Regards,
    Kangarun.

    I would expect to obtain this information by looking at the SmartForms design.  I would assume that you're sending a table of variables for your main window and perhaps a structure if there are additional data needs in other secondary windows.  So I would look at where the variables are used and create structures and table as needed for the windows.

  • Sapcript to Smartform Migration

    It is possible to migrate SAPSCRIPTS to SMARTFORMS n vice-versa in ECC 6.0.
    My question is to what extent is the migration helpful, steps for migration and precautions, if any I need to take after migration?
    Thanks,
    Sameena.

    Hi Sameeba
    check out this link..
    hoping this link surely gonna help you..
    SAP Script to Smartform
    Regard with Points if helpful
    Regards
    Karan

  • Convert SAPSCRIPT into SMARTFORMS

    Hi,
    How to Convert SAPSCRIPT into SMARTFORMS
    Thanks,
    Rathul.

    Hi,
    There are two way through which you can convert sapscript into smartforms.
    (1)
    This is basically a function module, called FB_MIGRATE_FORM.
    You can start this function module by hand (via SE37), or create a small ABAP which migrates all SAPscript forms automatically.
    (2)
    You can also do this one-by-one in transaction SMARTFORMS, under
    Utilities -> Migrate SAPscript form.
    You could also write a small batch program calling transaction SMARTFORMS and running the migration tool.
    Note :
    While Converting sapscript into smartforms,only layout has passed.But you have do all logic coding in your smartforms.
    Steps :
    (1) Understand logic of sapscript program.
    (2) Understand SAP script windows data.
    Now make your technical Design Accordingly,and now do code accordingly for your smartforms
    Reward points if found helpfull...
    Cheers,
    Chandra Sekhar.

  • Smartform upload problem (within same Version)

    i have download smartforms from 4.7 first and than uploading it in same 4.7 but error occurs as below:
    first:  "A serious error has occurred
    The transaction had to be terminated".
    than second: Internal error (illegal structure of data storage)
    Message no. SMARTFORMS002.
    i can uplodad smartform successfully than and check also successfully,
    but while i do final activation it causes above error.
    what can be problem, is due to smartforms style problem, but i tried removing all style of text elements, thought it creat that errors,
    if any can knhow how to upload smartform successfully and solve above error.
    regards,

    L.S.
    I just encounter a similar error when activating a smartforms. I had made some changes, maybe by copy nodes through memeory into another smartforms and/or deleting one %GRAPHICS1 and making another.... smartforms got confused somehow and gave me an abort error 002.
    I debugged the coding of activating smartforms and found out that ( in my case ) sap coding tries to insert duplicate entries in table stxfobjt.
    Here is the part of coding where you can put your breakpoint and adjust the internal table tobjt if you have the same problem.
    I made the line  insert stxfobjt from table t_objt.  BOLD ( in plain text with * : it s  not a remarked coding line )
    SAPLSTXBX                      / LSTXBXU36
    FUNCTION                       / SSF_SAVE_FORM      
    Speichern der Tabellen
      if i_active = space.                         " gesicherte Fassung
        export t_ntokens t_objt t_ltext t_noltext
               to database stxfconts(xx) id i_formname.
      else.                                        "     aktive Fassung
        delete from stxfobjt where formname = i_formname.
        try.
          insert stxfobjt from table t_objt.
        catch cx_sy_sql_error into l_exception.
          get reference of t_objt[] into l_dref.
          raise exception type cx_ssf_fb
                exporting textid     = cx_ssf_fb=>err_on_insert
                          table_dref = l_dref.
        endtry.
        perform save_ltext using i_formname t_ltext.
        export t_noltext t_ntokens unchecked = i_header-unchecked
               to database stxfcont(xx) id i_formname.
        delete from database stxfconts(xx) id i_formname.
      endif.
    Good luck all with debugging SAP's bugs
    Regards,
    Edwin Glaser
    doubleclickyourprogrammer [at] sap4u.nl

  • Smartform upload problem

    i have download smartforms from 4.7 first and than uploading it in same 4.7 but error occurs as below:
    first:  "A serious error has occurred
    The transaction had to be terminated".
    than second: Internal error (illegal structure of data storage)
    Message no. SMARTFORMS002.
    i can uplodad smartform successfully than and check also successfully,
    but while i do final activation it causes above error.
    what can be problem, is due to smartforms style problem, but i tried removing all style of text elements, thought it creat that errors,
    if any can knhow how to upload smartform successfully and solve above error.
    regards,

    i have tried deleting one by one elements and found that problem in address element,
    i have just delete it and active it that it got activated,
    and again after deletion i have put sam variable in address element for displaying adress dynamicaly and set length and width all same that it fot activated!
    than what the problem at first time activation?
    is there any runtime conflict or what?
    regards,

  • ADOBE FORM instead of SAPSCRIPT or SMARTFORM

    Have anyone used ADOBE FORM instead of using sapscript or smartform and assigned to Output types in NACE tcode?
    If so, please give details for the same.

    If you are looking for documents on Adobe, check the link -
    Re: adobe forms
    Otherwise whatever form you want just check for its alternative in ADOBE at SAP Market place and use it.
    Regards,
    Amit

  • Sapscripts and smartforms

    Hi,
    Please tell me how to do language translations in sapscripts and smartforms.
    I want to to each form in 12 languages.
    Please help me.
    Thanks,
    Ravi

    Hi
    You can assign the language directly by trx SE71 fot sapscript and SMARTFORMS for sm.
    In both trx you can see the section LANGUAGE ATTRIBUTES
    Here you can create a version of your form for all language you need.
    But all these versions'll be as original, so you need to change all texts you've inserted, i.e you have to translate all texts.
    For SAPSCRIPT you can do it by SE71 because you can choose the language (so the version) of the sapscript you want to translate, but for the SAMRTFORMS I believe you can only use trx SE63.
    Max

  • Photoshop/Elements to Revel Photo Migration Problem!

    What happened to my Photoshop/element photos? They were supposedly migrated, but I don't see them! I have no albums in my Revel account.I had a paid subscriiption and it was cancelled back in or around February, and told that the photos would be moved over to REVEL...Can anyone help me to get them back?

    First, thanks Pattie for following up with me. I am going to check my backed up hard drives to see if my photoshop materials are on them. It will take me a few days, as I have only small amounts of time to research it at this time. maybe a break will come in a day or two for a determination.
    Date: Mon, 12 Aug 2013 09:45:52 -0700
    From: [email protected]
    To: [email protected]
    Subject: Photoshop/Elements to Revel Photo Migration Problem!
        Re: Photoshop/Elements to Revel Photo Migration Problem!
        created by Pattie F in Photoshop.com Sharing and Storage - View the full discussion
    Michael-
    Is it possible you logged into Photoshop.com with a different email, or is it possible that you did not set up your Elements to sync with Photosho.com? These are the two main reasons users can not find their files.
    The Photoshop.com account created in 2009 with the email you use to log in to this forum has no files in it, and therefore, nothing migrated to the Revel account with the same login. You do have a Revel account with the same login, but it is also empty since nothing migrated.
    Pattie
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5587690#5587690
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5587690#5587690
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5587690#5587690. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop.com Sharing and Storage by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • SAPScript or SMARTFORM for Purchage Requisition and Program in MM?

    Dear Abapers,
    Could you please tell me whether SAP Provided any SAPScript or SMARTFORM for Purchage Requisition form and Program in MM?
    Thanks in advance.
    Sekhar

    Hi Chandra sekar
    MEDRUCK this is the standard script and
    SAPFM06P driver program for all type of PO.
    If you want to know this... check here...
    Goto NACE T-code
    Select EF Purchase Order,
    then click output types button in toolbar,
    select NEU Purchase order ,
    then doubleclick Processing routines folder in left side,
    thn there u can find the details of PO related script forms and driver programs.
    Thanx
    Bgan.

  • Differnce between SapScript And Smartform

    hi All,
    Can anyone tell me the difference between sapscript and smartforms.Which we have to use
    Points rewarded for answer
    Harpreet

    Hi harpreet,
    1. Can anyone tell me the difference between sapscript and smartforms
    some practical differences are :
    <b>*----
    One main difference which is
    visibility in the report is TABLES
    (in sapscript we cannot design MATRIX like tables,
    having grid lines,
    but in smartforms, it is much possible to
    design tables, having grid lines, color just
    like excel table)</b>
    a) sapscript requires
        - driver program (se38 program)
        - layout (se71 layout)
       smartforms just require
       smartform,
      (and a program is just required for
       selection screen purpose)
    b) the logic of printing (ie. sequence, flow)
        is CONTROLLED BY drier program,
       in case of sapscript.
      where as in smartform, it is inbuilt using TABLES element.
    c) In sapscript we cannot write our own logic for printing.
       where as in smartform,
      we can write our own logic for pritning.
      (we can even write SELECT Statements, DATA statements,
       and many program lines + logic to suit our requirements)
    2 Which we have to use
    If we are copying some standard sapscript,
      then we have to go for sapscript only.
    We can use both. but practically smartforms is easier to
      develop.
    regards,
    amit m.

Maybe you are looking for

  • Forms can't be saved

    I'm trying to create a form that can be filled in by clients who have only the free Reader, saved, and sent back to us as a pdf. It seems to work when the files are opened with Preview on the Mac, but when people open it in Acrobat Reader they get th

  • How to import a value from HCM process and forms to workflow?

    Hi Experts,     i am new to HRASR_DT T.Code , I had  designed a form in Form scenario and process in that T.code . I linked that process with workflow. i had the Employee Number field in Form , i want to IMPORT that employee number into my workflow c

  • Spry Vertical Drop down Menu

    Help my vertical menu bar won't expand.  I am using Dreamweaver CS3 I have to figure out a way to show you code I'll be back. Home                  Memberships                          Committees Board Staff News & Events                        Event

  • Cannot install CS3 extension anymore on CS5 with the new Extension Manager

    Hi, I got accustomed to using extension such as the Guide Panel, offered from the Adobe Developer page. This extension, among many others has been created for CS3 but has always worked as far as I can remember. Now that I try to install them, the Ext

  • Browser button find

    I need the button to search within a web browser I made this code but it does not work? import java.awt.*; import java.awt.event.*; import java.net.*; import java.io.*; import javax.swing.*; import javax.swing.event.*; import javax.swing.text.Caret;