Skip to Content
author's profile photo Former Member
Former Member

hi all, smartform

hi all

(experts please look into the matter)

i have to convert script mr_print to smartform. I know script driver prog, but in that there are so many standard subroutines are there which we cannot change. in this scenario how can i get driver prog from this developement.

if anyone has converted mr_print to smartform then please give me only driver prog as soon as possible, i shall be greatful to u and full point for help as well.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 12:02 PM


    SAP provides a conversion for SAPscript documents to SMARTforms.

    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.

    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.



    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 12:13 PM


    you have to change include LMRMNF09 to change write_form and for open_form LMRMNF0G

    to close_form MRMNF0F comment theseand use LMRMNF09 to pass the Smartform to get the output



    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 12:38 PM



    check this

    Following FM is used in Program : RM08NAST to populate the required values for the script .


    you can also use the same FM logic to populate the input data for the smart form.

    and also have alook at the following link

    Migrating SAPscript print program to Smartform



    t-code smartforms

    utilities->migrate sapscript

    the same question answered here plz chk

    Smartforms -> sapscript



    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.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.