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.

Similar Messages

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

  • Convert Sapscript from smartforms

    Hi,
    How can I convert sapscripts form into smartforms?
    Avijit

    Hi,
    Check below link and your query will be resolved.
    Re: migrating scripts to smartforms
    Is there a program to convert sap script to smartforms?
    Best regards,
    Brijesh

  • Convert SAPScript to SmartForms

    hi experts
    i have to convert mr_print script to smartform,
    if anybody has convert this, could u pass the
    driver program for smartform.
    i need only driver program needed for smartform ( i do not want driver prog of script).
    <REMOVED BY MODERATOR> i shall be greatful to u.
    thanx
    rocky
    Edited by: Alvaro Tejada Galindo on Jan 31, 2008 9:18 AM

    Hi,
    You have the option in SAP Smartforms.
    Goto SMARTFORMS and name your smartform. Dont press Create Button.
    Now follow the path. GOTO -> Migrate SAP Script form.
    You will get a pop-up window to enter the name of SAPscript from which you would like to migrate and choose language and then press enter.
    and also have alook at the following link
    http://help.sap.com/saphelp_nw04/helpdata/en/9d/9599386185c064e10000009b38f8cf/frameset.htm
    The specified item was not found.
    Migrating SAPscript print program to Smartform
    Regards,
    Satish

  • Converting SAPSCRIPT Styles to SMARTFORM Styles?

    Three questions:
    1) How do I find the SAPSCRIPT STYLE that was used for an older original SAPSCRIPT that I converted to a SMARTFORM?
    2) Once I run SMARTSTYLES conversion will all the text output in the new converted SMARTFORM be automatically formatted correctly?
    3)Should I have converted the style before converting the form?
    It seems too easy, but I am having trouble finding the style of the original SAPSCRIPT form to convert to SMARTFORMS. Of course a lot of my output is misaligned.
        Thank-You.

    Hello Amit and Thank-You. I am beggining to believe that converting SAPSCRIPT to SMARTFORM may not always be worth the effort. We have many old SAPSCRIPT programs, that are full of unstyled character and paragraph formats, that would all need to be checked. because it looks like the formats do not always migrate, because they are not defined i the new SMARTFORM?
    Would you agree?

  • 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

  • Sapscript to smartform

    Hi all,
    we have a custom sapscript associated with a PO printout.
    I need to convert that to a smartform.
    I already have a little idea on converting sapscript to smart form.
    What I would like to know is how do we assign this smartform and its program for a PO print out in NACE transaction.
    Also are there any precautions while writing the driver program for the converted smartform?
    Thank you all in advance.
    Goldie.

    Hi Goldie,
    Firstly you can directly migrate a script to samrtform. This can be done by executing Transaction SAMRTFORMS -> utilities -> Migration -> SAP Script
    Regarding NACE:
    You need to assign your Samrtform and Driver program to NACE, steps to do this:
    NACE -> Output Types -> Processing Routines
    Make the assignment by choosing proper Driver program, but keep in mind you need to mention the Form where the driver program is going to trigger the smartform..
    Hope this helps..

  • How to convert Sapscript into PDF in WDA

    Hi All,
    I have a requirement in Webdynpro in which I need to convert the Sap Script into PDF.
    Can you please tell me how to proceed ?
    Thanks in advance.
    Regards,
    Swapnil

    Hi,
    Check this document: Convert SAPScript to PDF file and instead of using gui_download/cl_gui* as mentioned in that doc, use CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE to open the PDF in WDA. You can refer that in this doc: Opening a Smartform in Web Dynpro ABAP
    Regards,
    Kiran

  • 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 PDF - sample report needed

    Hi Experts,
    I need a sample report which convert SAPScript form to PDF. I tried several samples in this forum but it did not work.
    Thanks!
    - Anthony -

    Hi,
    Check with the [Convert SAP script to PDF|http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417400)ID0384864750DB01011562107177693234End?rid=/library/uuid/49e15474-0e01-0010-9cba-e62df8244556&overridelayout=true]
    Hope this helps you.
    Regards,
    Rajani

  • Convert sapscripts to pdf

    hi,
    I want to convert SAPscript to Adobe PDF format and also want to store that PDF file to my local drive.
    I dont want to do it by program RSTXPDFT4. it should generate the PDF file automatically.
    If any one knows please help me.

    put like this
      call function 'CLOSE_FORM'
        importing
          result                   = result
          rdi_result               = rdi
        tables
          otfdata                  = otf_table
        exceptions
          unopened                 = 1
          bad_pageformat_for_print = 2
          others                   = 3.
      if sy-subrc <> 0.
    *  MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    call function 'CONVERT_OTF'
    exporting
       format                      = 'PDF'
    *   MAX_LINEWIDTH               = 132
    *   ARCHIVE_INDEX               = ' '
    *   COPYNUMBER                  = 0
    *   ASCII_BIDI_VIS2LOG          = ' '
      importing
        bin_filesize                = len_out
    *   BIN_FILE                    =
      tables
        otf                         = otf_table
        lines                       = pdf
    * EXCEPTIONS
    *   ERR_MAX_LINEWIDTH           = 1
    *   ERR_FORMAT                  = 2
    *   ERR_CONV_NOT_POSSIBLE       = 3
    *   ERR_BAD_OTF                 = 4
    *   OTHERS                      = 5
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    clear: file.
    call function 'GUI_DOWNLOAD'
      exporting
        bin_filesize                    = len_out
        filename                        = 'C:/TESTING07.PDF'
        filetype                        = 'BIN'
    *   APPEND                          = ' '
    *   WRITE_FIELD_SEPARATOR           = ' '
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    * IMPORTING
    *   FILELENGTH                      =
      tables
        data_tab                        = pdf
    *   FIELDNAMES                      =
    * EXCEPTIONS
    *   FILE_WRITE_ERROR                = 1
    *   NO_BATCH                        = 2
    *   GUI_REFUSE_FILETRANSFER         = 3
    *   INVALID_TYPE                    = 4
    *   NO_AUTHORITY                    = 5
    *   UNKNOWN_ERROR                   = 6
    *   HEADER_NOT_ALLOWED              = 7
    *   SEPARATOR_NOT_ALLOWED           = 8
    *   FILESIZE_NOT_ALLOWED            = 9
    *   HEADER_TOO_LONG                 = 10
    *   DP_ERROR_CREATE                 = 11
    *   DP_ERROR_SEND                   = 12
    *   DP_ERROR_WRITE                  = 13
    *   UNKNOWN_DP_ERROR                = 14
    *   ACCESS_DENIED                   = 15
    *   DP_OUT_OF_MEMORY                = 16
    *   DISK_FULL                       = 17
    *   DP_TIMEOUT                      = 18
    *   FILE_NOT_FOUND                  = 19
    *   DATAPROVIDER_EXCEPTION          = 20
    *   CONTROL_FLUSH_ERROR             = 21
    *   OTHERS                          = 22
    if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    Regards
    Prabhu

  • 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

  • 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

  • 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

  • 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

Maybe you are looking for

  • ITunes will not load--says I need new version of Quick Time

    I've used iTunes for a year and downloaded the new software 7.01--it will not run, says I need to install new version of Quick time. I removed all versions of iTunes off my computer and reinstalled iTunes with same result--Need to install new version

  • Tolerance limits in Invoice Varification

    Hi All In Std SAP how to set the tolerance limits for Invoice Varification. On what are all different parameters can i set these tolerence limits ? That is in MIRO we do enter different values at Header level( Amout in basic data & Unplanned delivery

  • Color Profiled Screen and ACR or Lightroom (Vista)

    Hi, My screen is calibrated and works with an .icc profile. I have set up the proofing colors in Photoshop to be my .icc profile. I do not attach any profiles to my pictures when I edit them in Photoshop and so they look the same in Photoshop and in

  • Service master upload

    Hi Experts I believe that, LSMW will not work for service master upload. Please suggest the tool useful for service masters upload. warm regards Satya

  • Need help solving listener and Oracle problems with Mac OS X 10.4 "Tiger"

    I have Oracle 10g working on Mac OS X 10.4 "Tiger" except for the listener and Oracle net 8 configuration. I have not been able to get the Oracle listener to work with my built in Mac Airport wireless network card or built in ethernet card. I keep ge