Migrate script to Smartforms
Hello ,
<b>Background :</b>
1) After I migrate Script to smartforms . I get around 200 windows .
As 200 windows have been defined in a script .( 1 window per box).
2) The layouts are pretty complex and it would take around 2-3 days to create a new smartform .
3) I cannot use the existing scripts for a few modifications have to be made to header and footer and it's easier to make them in smartforms
4)The output after migration is good . A few Modifications But it's fine.
<b>Problem :</b>
i)Would it lead to a performance problem due to presence of 200 windows if I migrate .
ii)Would it lead to maintainance problem if I migrate as I cannot see all the 200 windows at once in the form painter . I can see only the window on which I have placed the cursor .
Kindly Help me find a solution.
Thanks Sooness .
Actually there are around 12 scripts .
So Total Development time will be around 30 days if I create a new smartform. since the layout is very complex .
And 9 days if I migrate scripts to smartforms with changes ..
So the Conflict in my my mind is whether to go for less Development Time now and maintainance problem later
<b>Would a good TS / FS documented as follows suffice :</b>
1) By taking a printout of the layout .
2)Writing the variable name in each window .
3)Scanning it and using it as FS.
I feel FS/TS is usually not read afterwards .
So even after documentation , Maintainace problem will not be solved .
I do not have that much time . So I would have to put extra efforts at night for creation of new smartforms.
i have to deliver them in 15/20 days .
So Do you suggest putting extra efforts now to make a new smartforms to avoid maintainence problem later .
Kindly give your valuable suggestion.
Message was edited by:
Gaurav
Message was edited by:
Gaurav
Similar Messages
-
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. -
hi all,
can any one explain me in detail how i can copy script into smartforms
thnkx
prasadhi patient,
follow this,
if u follow previous answers u can migrate script to smartform..
if u migrate script to smartform,
u can just copy the layout of the script into the smartform remaining all the fields u can get the sytax errors to avoid those u should delete all the fields from the smartform then finally u can get the layout part itself..
finally i want suggest to u one thing, try to avoid migrating script to smartfrom as SAP recomended and try to create new smartfrom for ur requirement which is better.
regards,
seshu. -
What is the functionality of &VBDKR-NETWR( 10)& in sap script and smartform
Dear All,
I came across this &VBDKR-NETWR(<10)& when I was migrating the script as smartform. I would like to know wht is functionality of &VBDKR-NETWR(<10)& i.e. <10's meaning. I am facing problem in printing the amount. So many alignment problems are coming.
Please help me on this.
Thanks in Advance.
J.hi,
&VAR(<10)& means output will be printed with sign to tjhe left (<) and output length is 10 (10)
here an overview with the most use formating symbols
&VAR(En)& Exponent number (n)
&VAR(Ff)& Fill character
&VAR(K)& Ignore conversion rules
&VAR(<)& sign to the left
&VAR(>)& sign to the right
&VAR(.n)& number of decimals
&VAR(+n)& offset
&VAR(Z)& omit leading zeroes
&VAR(S)& omit leading sign
&VAR(T)& omit thousand sepearator
&VAR(n)& outputlength n
&VAR(R)& right justified
&VAR(C)& condensed
&VAR(I)& suppress initial value
success,
Gr,. Frank -
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 sharmaHi,
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 -
I have migrated Scrippt as smartform but in pdf O/P chinese chars corrupted
Hi Experts,
we have migrated sap script as smartform and modified the driver program accordingly. In print preview output is fine and no data corruption. we are converting this output as PDF and sending via email. For this we have used FM 'CONVERT_OTF' and sending an email. In PDF chinese characters are getting corrupted where as other characters are fine. But in pdf chinese character did not corrupted.
We are in ECC6.0 environment which is unicode enabled and code page is compatable to chinese language charelacters.
Please help me on this to resolve .
I am in ciritical situation.
Thanks in Advance.
Regards,
J.P.Prakash,
Clarify which is true here in ur post,
In PDF chinese characters are getting corrupted where as other characters are fine. But in pdf chinese character did not corrupted.
So that we can answer your query
Rgds,
Sripal -
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 -
How 2 transprot script to smartforms.
How 2 transport script to smartforms. send me the possibilities
Trx SMARTFORMS: Utilities->Migrate Sapscript Form
In this way the system'll create a smartform based on the original SAPSCRIPT, but it can only generate the sapscript parts: Text Element, Windows, pages .......
Best Regards,
Vibha
*Please mark all the helpful answers -
how to differentiate between sapscripts and smartforms, what are the situations when one is used over other. how should we decide whether to go for sapscripts or smartform. plz describe the diferntiation
HI,
SAPscript technology is based on a mainframe product from the 1980s, while Smart Forms have only been around since (roughly) 2001. With that sort of time gap, there are bound to be significant differences between the two tools. Client dependence is a fundamental one. Although SAPscript has had some incremental improvements over time, its forms have always been -- under the hood -- relatively ...
1. script is client dependent one while smartform is client independent.
2. In scripts we have to write print program while in smart forms it is not necessary.
3. In scripts we can print background logo while in smartforms we cant print background logo
4. In scripts we have 99 main windows while in smartforms we have only 1 main window.
5. In scripts we should write paragraph format otherwise we cant execute program while in smartforms no need to create paragraph formats .
6. In scripts we can print the text in only two character formats.
while in smartforms we can do with more.
7. In scripts we dont have line types while in smartforms we have linetypes.
also refer
difference between smartforms and scripts
Diff betwen Scripts & smartforms
advantages of smartforms over scripts
the main diffarences between smart form and script form are:
1) smart forms are clinent independent where as scripts are client dependent.
2) smart form require half the time to create and maintain forms compare with
script.
3) smart forms provide multiple page formats where as in script not possible
4) smart forms exisist without main window also where as in script not possible.
5) smart form is entairely graphical user interface comapre with script.
6) labeling is not possible in smart form where as it is possible in script.
7) smart form genarate function module whenver it activate where as script
doesn't genarate.
8) smart form can easily web publishing using the genarated XML output compare
with script.
9) using smart forms we can design web forms but bot possible with script.
10) we can maintain background graphics in smartform wher as in script not
possible.
11) in smart form we use transaction codes SMARTFORM for designing FORM
and SMARTSTYLES to create differnt styles of text, where as in script we
use SE71 for form painter and SE72 for different styles of text and font.
12) we can migrate script to smart form vice-versa is not possible.
Regards,
Priyanka. -
Difference betwwen script and smartforms
plzzzzzzzzzz difference between script and smartforms
SAPscript technology is based on a mainframe product from the 1980s, while Smart Forms have only been around since (roughly) 2001. With that sort of time gap, there are bound to be significant differences between the two tools. Client dependence is a fundamental one. Although SAPscript has had some incremental improvements over time, its forms have always been -- under the hood -- relatively ...
1. script is client dependent one while smartform is client independent.
2. In scripts we have to write print program while in smart forms it is not necessary.
3. In scripts we can print background logo while in smartforms we cant print background logo
4. In scripts we have 99 main windows while in smartforms we have only 1 main window.
5. In scripts we should write paragraph format otherwise we cant execute program while in smartforms no need to create paragraph formats .
6. In scripts we can print the text in only two character formats.
while in smartforms we can do with more.
7. In scripts we dont have line types while in smartforms we have linetypes.
also refer
difference between smartforms and scripts
Diff betwen Scripts & smartforms
advantages of smartforms over scripts
the main diffarences between smart form and script form are:
1) smart forms are clinent independent where as scripts are client dependent.
2) smart form require half the time to create and maintain forms compare with
script.
3) smart forms provide multiple page formats where as in script not possible
4) smart forms exisist without main window also where as in script not possible.
5) smart form is entairely graphical user interface comapre with script.
6) labeling is not possible in smart form where as it is possible in script.
7) smart form genarate function module whenver it activate where as script
doesn't genarate.
8) smart form can easily web publishing using the genarated XML output compare
with script.
9) using smart forms we can design web forms but bot possible with script.
10) we can maintain background graphics in smartform wher as in script not
possible.
11) in smart form we use transaction codes SMARTFORM for designing FORM
and SMARTSTYLES to create differnt styles of text, where as in script we
use SE71 for form painter and SE72 for different styles of text and font.
12) we can migrate script to smart form vice-versa is not possible.
Thanks
reward if useful
Richa -
Difference between scripts and smartforms
Dear Experts,
I require a same example or tutorials for scripts and smartforms, to know its exact difference. can any one provide me with that.
Regards,
CHKHi,
SAPscript technology is based on a mainframe product from the 1980s, while Smart Forms have only been around since (roughly) 2001. With that sort of time gap, there are bound to be significant differences between the two tools. Client dependence is a fundamental one. Although SAPscript has had some incremental improvements over time, its forms have always been -- under the hood -- relatively ...
1. script is client dependent one while smartform is client independent.
2. In scripts we have to write print program while in smart forms it is not necessary.
3. In scripts we can print background logo while in smartforms we cant print background logo
4. In scripts we have 99 main windows while in smartforms we have only 1 main window.
5. In scripts we should write paragraph format otherwise we cant execute program while in smartforms no need to create paragraph formats .
6. In scripts we can print the text in only two character formats.
while in smartforms we can do with more.
7. In scripts we dont have line types while in smartforms we have linetypes.
the main diffarences between smart form and script form are:
1) smart forms are clinent independent where as scripts are client dependent.
2) smart form require half the time to create and maintain forms compare with
script.
3) smart forms provide multiple page formats where as in script not possible
4) smart forms exisist without main window also where as in script not possible.
5) smart form is entairely graphical user interface comapre with script.
6) labeling is not possible in smart form where as it is possible in script.
7) smart form genarate function module whenver it activate where as script
doesn't genarate.
8) smart form can easily web publishing using the genarated XML output compare
with script.
9) using smart forms we can design web forms but bot possible with script.
10) we can maintain background graphics in smartform wher as in script not
possible.
11) in smart form we use transaction codes SMARTFORM for designing FORM
and SMARTSTYLES to create differnt styles of text, where as in script we
use SE71 for form painter and SE72 for different styles of text and font.
12) we can migrate script to smart form vice-versa is not possible.
Regards,
Priyanka. -
In which table scripts and smartforms are stored
in which tables scripts and smartforms are stored
eg scripts in tadir.Hi this may be of some help.
SD
SALES ORDER/ENQUIRY/QUOTATION
Output type : BA00
ScriptForm Name : RVORDER01
Driver Program Name : RVADOR01
smartform name
DELIVERY NOTE
Output type : LD00
ScriptForm Name : RVDELNOTE
Driver Program Name : RVADDN01
smartform name : LE_SHP_DELNOTE
Smartform Driver Pgm: RLE_DELNOTE
INVOICE
Output type : RD00
ScriptForm Name : RVINVOICE01
Driver Program Name : RVADIN01
smartform name : LB_BIL_INVOICE
Smartform Driver Pgm: RLB_INVOICE
MM
PUCHASE ORDER/RFQ/CONTRACT
Output type : NEU
ScriptForm Name : MEDRUCK
Driver Program Name : SAPMF06P
smartform name : /SMB40/MMPO_L
smartform driver program: /SMB40/FM06P
GOODS RECEIPT
Output type : WE01
ScriptForm Name : WESCHEINVERS1
smartform name : /SMB40/MMGR1_A
smartform driver program: /SMB40/M07DR
GOODS ISSUE
Output type : WA01
ScriptForm Name : WA_SCHEINVERS1
smartform name : /SMB40/MMGI1_A
smartform driver program: /SMB40/M07DR
FI Forms
Account Statement : F140_ACC_STAT_01
Cheque Printing : F110_PRENUM_CHEK
Balance Confirmation: F130_confirm_01
Dunning Form: F150_DUNN_01
check the link below it provides steps to convert sap scripts to smartforms
http://www.ficoexpertonline.com/downloads/Iyer_SmartForms.pdf
SMARTFORMS -Driver Program
PO: /SMB40/FM06P
SO: /SMB40/RVADOR01
GR: /SMB40/M07DR
with regards,
Hema Sundara.
pls give points if u find this helpful. -
String search in SAP Script and Smartforms
Hi All,
We have an urgent requirement where we need to search for a character string in all SAP Scripts and Smartforms in our system.
It would also help if we can get the names of programs/function modules which are internally generated for the same.
Any pointers on the same would be helpful.
Regards,
SaurabhYou can create a variable window in the main window.
You can restrict the last item of the main window by varying the size of main window. In your wite-form ,
CALL FUNCTION 'WRITE_FORM'
EXPORTING
element = 'ITEM'
function = 'SET'
type = 'BODY'
window = 'MAIN'
EXCEPTIONS
element = 1
function = 2
type = 3
unopened = 4
unstarted = 5
window = 6
bad_pageformat_for_print = 7
spool_error = 8
codepage = 9
OTHERS = 10.
IF sy-subrc <> 0.
DO this. in the bottom of the main window, create a variable window.
you can add your text in the variable window inside main window.
it will be displayed just after the item ends.
Reagrds,
Pritha.
Message was edited by:
Pritha Agrawal -
Unicode enabling for ABAP scripts and smartforms
Hi All,
Could any one please advice us how we can identify whether the script or smartform is unicode updated or not and how we can convert the non unicode scripts and smartforms to unicode scripts and smartforms.
Thanks,
Srikanth.Dear srikanth...This is an scripting forum...not a sap script forum...Please post your question on the abap forum. Thanx -:)
Greetings,
Blag. -
How to automatically create the custom migration scripts after recreating SSMA project?
How to automatically create the custom data migration scripts after recreating SSMA project?
There is number of tables ( big tables with BLOBS) which I want to set up automatically to be migrated with custom migration scripts (replacing e.g. attribute named "FILE" with "TO_BLOB('') AS FILE" ).
So the question is how to open MB file (I think that it should be standard db of some destktop RDBMS) ?Hi Roman.Pokrovskij,
According
to your description, we can use SSMA tool to migrate data from one database (including Access, Oracle and so on) to SQL Server via GUI or the scripts. There is an example about migrating Access database to SQL Server via the
custom migration scripts, you can review refer to them.
<?xml version="1.0" encoding="utf-8"?>
<ssma-script-file xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\Microsoft SQL Server Migration Assistant for Access\Schemas\A2SSConsoleScriptSchema.xsd">
<config>
<output-providers>
<output-window suppress-messages="false"
destination="stdout"/>
<upgrade-project action="yes"/>
<data-migration-connection source-use-last-used="true"
target-server="target_1"/>
<progress-reporting enable="false"
report-messages="false"
report-progress="off"/>
<object-overwrite action="skip" />
</output-providers>
</config>
<servers>
<!-- Server definition for Sql server target server-->
<sql-server name="target_1">
<sql-server-authentication>
<server value="$SQLServerName$"/>
<database value="$SQLServerDb$"/>
<user-id value="$SQLServerUsrID$"/>
<password value="$SQLServerPassword$"/>
<encrypt value="true"/>
<trust-server-certificate value="true"/>
</sql-server-authentication>
</sql-server>
</servers>
<script-commands>
<create-new-project project-folder="$project_folder$ "
project-name="$project_name$"
overwrite-if-exists="true"/>
<connect-target-database server="target_1"/>
<load-access-database database-file="$AccessDbFolder$\$AccessDatabaseFile$"/>---
<!--Schema Mapping-->
<map-schema source-schema="$AccessDatabase$" sql-server-schema="$SQLServerDb$.dbo" />
<!-- Convert schema -->
<!-- Example: Convert entire Schema (with all attributes)-->
<convert-schema object-name="$AccessDatabase$"
object-type="Databases"
conversion-report-overwrite="true"
verbose="true"
report-errors="true" />
<!-- Synchronize target -->
<!-- Example: Synchronize target entire Database with all attributes-->
<synchronize-target object-name="$SQLServerDb$.dbo"
on-error="fail-script" />
<!-- Data Migration-->
<!--Example: Data Migration of all tables in the schema (with all attributes)-->
<migrate-data object-name="$AccessDatabase$.Tables"
object-type="category"
report-errors="true"
verbose="true"/>
</script-commands>
</ssma-script-file>
There is a similar scripts about migrating Oracle database to SQL Server, you can use powershell script to automatically run the console for scripts/variable files, saved in the specified folder. For more information, review the following
article.
http://blogs.msdn.com/b/ssma/archive/2010/09/09/performing-database-migration-assessment-using-ssma-console-application.aspx
Regards,
Sofiya Li
Sofiya Li
TechNet Community Support
Maybe you are looking for
-
Finally, A complete PSU Guide!
Welcome Boys and girls. Throughout all my pleasureable experiance on this wonderful forum I have come accross quite a few knowledgable members who have gotten the wrong conclusion on how Power Supplys work. I have taken it apon myself to figure these
-
Hi, Using the Script for VB worked to open multiple .xls files. Now I want to add to the code and Save As Text files with original name. thx
-
How do you change the text on Calendar entries?
I could change the timing etc. on the calender entry which I put in a week ago as tentative. Now it is fixed and somehow I cannot delete/adpat nothing. This is really basic. Thx
-
Caching of BAPI/RFC metadata
When calling an RFC from VC, the meta data seem to be cached somewhere. When I change the RFC interface, this is not reflected in VC. How can I delete this cache?
-
REUSE_ALV_LIST_DISPLAY print to spool without out
Hello, we need to print an ALV using REUSE_ALV_LIST_DISPLAY to PDF. We use the following code: data: l_params type pri_params, l_valid type string, l_print type slis_print_alv. CALL FUNCTION 'GET_PRINT_PARAMETERS' EXPORTING IMMEDIATELY