Migration of SAPscripts to smartforms and its advantages
Hi Folks,
Can we convert a SAPscript into PDF and send it in mail as an attachment like what we do using smartform. Folks could you please provide me some knowledge which will help me preparing a document for the client to convience them how using smartforms is always better than using a sapscript and they should migrate all the SAPscript to the smartform.
Thanks & reagrds,
Advantages of smartforms,
SAP Smart Forms have the following advantages:
1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
2. Displaying table structures (dynamic framing of texts)
3. Output of background graphics, for form design in particular the use of templates which were scanned.
4. Colored output of texts
5. User-friendly and integrated Form Painter for the graphical design of forms
6. Graphical Table Painter for drawing tables
7. Reusing Font and paragraph formats in forms (Smart Styles)
8. Data interface in XML format (XML for Smart Forms, in short XSF)
9. Form translation is supported by standard translation tools
10. Flexible reuse of text modules
11. HTML output of forms (Basis release 6.10)
12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)
Source SAP-img.com
Similar Messages
-
Help migrating Picklist (SAPScript) to SmartForm
Hi, I took the smartform class but it is worthless when it comes to real-world forms. I was hoping that somebody could point to towards a SmartForm that I could use as a guide when converting a picklist (for shipping). Our form currently has a lot of logic in the SAPScript and it just boggles my mind.
I have read the SAP provided 'tutorial' on migrating forms but that doesn't help me one bit (I figured that part out on my own).
Regards,
DavisHi,
For Picklist:
- /SMB40/RVADEK01 (Print Program)
- /SMB40/SDPIK_L (SmartForm)
- /SMB40/SDPIK_A (SmartForm)
See the note 595812: it explain how to download the preconfigured smartforms.
Anyway this is an extract of that note:
Detailed information can be accessed at the site:
http://service.sap.com/preconfiguredforms OR
http://service.sap.com/smb/development/preconfiguredforms.
To download preconfigured smartform package, please:
1. Go to http://service.sap.com/installations , select tab "download".
2. On the right hand side screen, locate navigation tree node
SAP Software Distribution Center->Download->Installations and Upgrades->
Entry by Application Group.
3. In the main window (right hand side), follow the path
SAP Best Practices->Best Practices for mySAP All-in-One-> PRECONFIGURED
SMART FORMS, you can find available preconfigured smartform versions.
Regards,
Ferry Lianto -
Smartforms and its internal table
Hi All!
From the main program, I call the FM SSF_FUNCTION_MODULE_NAME
and later "call lf_fm_name" as below shown.
The generated FM name gets an "internal table" in the tables parameter.
And now how can I to treat now this internal table within smart forms?
Please can you sequential explain the treatment. How can I acces
these datas of this internal table in the smartforms
reagards
ilhan
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lv_pick_formname
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
fm_name = lf_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
IF sy-subrc = 1.
MESSAGE e061.
ELSEIF sy-subrc = 2.
MESSAGE e062.
ELSEIF sy-subrc = 3.
MESSAGE e063.
ENDIF.
ENDIF.
CALL FUNCTION lf_fm_name
TABLES lt_ausgabe_data = lt_ausgabe_datawhat ever you pass from program to smartforms you need to declare in
GLOBAL INTERFACE -> Import parameter.(in the driver program export parameter). make sure u use the same name in the SMARTFORM GLOBAL INTERFACE - > import parameter.
for more about smartforms go thru these link
for Smartforms material
http://www.sap-basis-abap.com/sapsf001.htm
http://www.sap-press.com/downloads/h955_preview.pdf
http://www.ossincorp.com/Black_Box/Black_Box_2.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Re: Need FAQ's
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
Please check the tables TNAPR and TTXFP for Standard Smartforms.
See the note 595812: it explain how to download the preconfigured smartforms.
Detailed information can be accessed at the site:
http://service.sap.com/preconfiguredforms OR
http://service.sap.com/smb/development/preconfiguredforms.
To download preconfigured smartform package, please:
1. Go to http://service.sap.com/installations, select tab "download".
2. On the right hand side screen, locate navigation tree node
SAP Software Distribution Center->Download->Installations and Upgrades->
Entry by Application Group.
3. In the main window (right hand side), follow the path
SAP Best Practices->Best Practices for mySAP All-in-One-> PRECONFIGURED
SMART FORMS, you can find available preconfigured smartform versions.
regards,
Prabhu
reward if it is helpful -
How to migrate GR block stock (103) and its PO from SAP to SAP system
Hello All,
We are migrating from one SAP system to another . Our approach is to only migrate open POs and upload stock with initial entry. This works for POs with 101 movement type. However POs with Goods in transit - which usuallly follow the 103-105 cycle are causing an issue.
How would I migrate GR blocked stock i.e. if a PO has had only 103 mvt against it.
Thanks in advance.Hi,
If the invoice is not entered / paid, then the old PO should not be processed for any subsequent process and you have to do all the subsequent process based on the new PO in the new system. You may block the old PO item to avoid any mistake.
If invoice is already entered and pending for payment, please check with your accounts department regarding the approach, since it will be critical from audit point of view. You may either cancel the invoice in the old system and create the same in the new; or continue with the payment in the old system and transfer the correct material valuation price from old system to new system and create free of cost PO for these items (only for already paid items) in the new system (since invoice is already paid).
If you need the GR blocked stock, you have to create the transaction data!!. You may use any of the data upload tool to achieve the same!
Regards,
AKPT -
What is restful webservice and its advantage
I have to use apex service to get address
so i use a text item. .and write a dynamic evenwhen any item is entered
fetch the values ..from xml query .and put it in the list..
Now why will i use resutl ful webserivce I have used xml to retrieve data..
I had used the following method.. to achive my output ..
http://oraexplorer.com/2007/10/read-xml-data-from-url-and-insert-into-oracle/
But i am confused when will i use rest full web serive. .
I had been able to retrive the data using the methods mentioned in ..
http://oraexplorer.com/2007/10/read-xml-data-from-url-and-insert-into-oracle/
I just dont remember how i was able to get the data in xml format and i was able to get the output data in list item..
Dont kno w how can rest ful web serivce HELP here...
Any information is highly appreicated..
Edited by: susf on Sep 24, 2012 7:20 AM
and some more.
http://pcls1.craftyclicks.co.uk/xml/rapidaddress?postcode=AA11AA
This is the xml link. .
What i do is.. take the postcode AA11AA from the user and then fetch on that query...
i get data in xml format. .
and i convert it to columns and show the data in list item..
This is the method or approach I use..
What shall be a better method.. Will restfull web serivce help..
I also earlier used.. the following blog to get things working .. Am not able to get it working currently since i am doing some silly mistakes..
http://johanlouwers.blogspot.in/2009/01/oracle-retrieve-remote-xml-files.html
But if you have any methods.to retrive such data pls let me know..
Edited by: susf on Sep 24, 2012 7:20 AM
Edited by: susf on Sep 24, 2012 7:38 AM
Edited by: susf on Sep 24, 2012 7:39 AMI have to use apex service to get address
so i use a text item. .and write a dynamic evenwhen any item is entered
fetch the values ..from xml query .and put it in the list..
Now why will i use resutl ful webserivce I have used xml to retrieve data..
I had used the following method.. to achive my output ..
http://oraexplorer.com/2007/10/read-xml-data-from-url-and-insert-into-oracle/
But i am confused when will i use rest full web serive. .
I had been able to retrive the data using the methods mentioned in ..
http://oraexplorer.com/2007/10/read-xml-data-from-url-and-insert-into-oracle/
I just dont remember how i was able to get the data in xml format and i was able to get the output data in list item..
Dont kno w how can rest ful web serivce HELP here...
Any information is highly appreicated..
Edited by: susf on Sep 24, 2012 7:20 AM
and some more.
http://pcls1.craftyclicks.co.uk/xml/rapidaddress?postcode=AA11AA
This is the xml link. .
What i do is.. take the postcode AA11AA from the user and then fetch on that query...
i get data in xml format. .
and i convert it to columns and show the data in list item..
This is the method or approach I use..
What shall be a better method.. Will restfull web serivce help..
I also earlier used.. the following blog to get things working .. Am not able to get it working currently since i am doing some silly mistakes..
http://johanlouwers.blogspot.in/2009/01/oracle-retrieve-remote-xml-files.html
But if you have any methods.to retrive such data pls let me know..
Edited by: susf on Sep 24, 2012 7:20 AM
Edited by: susf on Sep 24, 2012 7:38 AM
Edited by: susf on Sep 24, 2012 7:39 AM -
Need a good Demo or presentation on SAP-EP and its advantages
Hi all,
I am preparing a presentation on EP for a customer. Would be very kind of you guys if someone can give some document thing about this.
line removed by moderator.
Regards,
Akash.
Edited by: Michael Nicholls on Mar 12, 2009 10:55 PMHi Akash,
Check [this|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/903122e0-b3d4-2b10-c5b3-c19f5dd58072]
Best Regards
Satish Kumar -
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 -
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.. -
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.
-
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 -
Hi,
I need to develope a CMR(International Consignment note). I'm looking for standard sapscript or smartform and print programs, if available. Can anyone shed some light on this CMR form. Will appreciate the responses with points. Thanks.Hi Raju,
There is a standard form and print program:
Form: LE_SHIPMENT_CMR2
Program: RVADTR00
Regards,
John. -
Smartform and sapscript..
in which scenario v prefer smartform over sapscripts and in which scenarios sapscript over smartforms?
Hi,
Smartforms are better to use than scripts as they provide more facility like color, graphical user interface etc, but scripts are the oldest form of layout available in SAP. There is no advantage of using script over smartform. This entirely depends on the choice in case of new developments. However, if you have to change/customize existing script then you have to deal with scripts only.
Difference with SMARTFORMS vs SapScript(SE71).
a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
b) It is possible to have a smartform without a main window .
c) Smartforms generates a function module when activated.
d) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.
e) In smartforms there is only one main window.
In scripts we can create 99 main windows.
f) Smartforms are client independent. but scripts are client dependent.
g) we can execute smartforms directly without driver program. But it is not possible in script.
h) peform statement is possible in script but not in smartforms.
i) loop statement is possible in smartforms.
In script for every data record controls moves from
script to driver program and to script.
In smrtforms this is not rquired.
In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file and save it in the hard disk.
For others, if you want to download/upload the Smartforms source, you will need the help from the Basis people. What you can do is to create a Transport and then FTP down to your local harddisk. When you need the Smartform source in another system, you have FTP up the Smartforms file back to the SAP server. Finally, the Basis team, will tp it into your system.
i) The protect and endprotect command in sapscript doesn't work with smartforms. For example on a invoice: First data of position no 80. is printed on page one, other data of position no 80 is printed on page 2. And there's nothing you can do about it. Actually, there is something you can do about it. By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected.
Check the link,
http://www.sap-img.com/smartforms/sap-smart-forms.htm
Conversion of SAPSCRIPT to SMARTFORMS
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.
Regards,
Richa -
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 -
Disadvantage of Smartform and Advantages of SAP script
Good day Gurus.,,
Can anyone please tell me the Advantages of SAP Script over Smartforms and
Disadvantages of Smartforms over SAP script.
Also is there any special scenario where only sapscript could be used but not Smartforms.
Please enlighten me....
Many thankshi,
Smartforms are came into picture in 4.6 version to overcome the disadvantages of scripts.
Disadvantages of Scripts
1.scripts are client dependent.
2.we can't add colors in scripts.
3.It is paragraph dependent.
4.In this main window is compulsory.
5.mutiple page formats are not availble.
6.we can't add background pictures.
Adavantages of smartforms
smartforms are advanced versions of sap scripts,
1.smartforms are client independent.
2.we can add colors in smartforms.
3.It is not a paragraph dependent.
4.In this main window is not compulsory.
5.mutiple page formats are possible.
6.we can add background pictures.
7. it will generate one function module when activating it.
8. total code can be written in smartforms itself.
sap scripts used to use in previous versions if they dont upgrate current version of sap then they have to use sap scripts because smartforms are not available in the previous versions. -
How can we download a smartform and sapscripts under a transport request.
hi abaper's
my requirement is that i have to download the transport request objects smartforms and sapscripts to do this i have to make a report, so that a person can run this report and enter the request number , then the objects smartform and sapscripts download automatically for him.
or is thr any standard report progrma available in sap system.
thanks & regards
pardeep kumarhi gopi
what is this i can read only 1 here.
Maybe you are looking for
-
[TV@nywhere Master] Freescan list loading problem at startup.
Hello all, I am facing a strange problem with MSIPVS3. I was using "channels" set to cables but few of my channels were missing. So I tried Freescan and added few channels manually. Though, I got all channels but now I am facing a strange problem. Wh
-
IPod charge/sync port not working
The charging/syncing port on my 1st gen iPod touch has begun to not work properly the last few days. It recognizes it is plugged in on and off, like a cable with a short in it. It is not the charging cable, I have used multiple cables both to the com
-
hi i want to get a menu......something like what we have in the top of this page......but vertically....using a html tag..... on-mouse-over, each item opens up a list of hrefs.....
-
Camera does´t work
please some one can help me, the camera on my macbook is not working
-
JSP, c:forEach, and import / include(s)
To any, I'm having a bit of a problem. I'm currently working on a webapp which basically translates information in an XML file to a neat webpage, using Spring MVC / JSP / JSTL / the works. There's several items in the XML file that are of the same fo