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
Similar Messages
-
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 Motlhi
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 doesnt 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 -
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,
BalajiHi
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 -
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 -
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, -
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 -
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 -
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,
RaviHi
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 -
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.
SekharHi 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
HarpreetHi 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. -
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. -
Application form EFRM : from Sapscript to Smartform
Dear all,
I want to link an existing application form with Sapscript (Trans. <i>EFRM</i>) to a Smatform.
<i>(So, I want to use my EFRM with a Smartform instead of a Sapscript)</i>
Is it possible... (I don't want to copy manually my EFRM ;o)
NicolasSnif ... it's not possible. Aaaaaaaaaaaah
See documentation of data element EFG_DTE_FORMTYPE
Type of Application Form
States whether the form is an application form to be prepared by a SAPscript or SmartForm.
Use
<b>The form type is assigned when you create the application form and you cannot change it.</b> -
Difference between Sapscripts and Smartforms
Hi
I need to create a form for print it in some predefined furmulary for the user signs it , something like a payment receipt.
Wich tool should i use, a Sapscript or Smartform, wath's the diffrerence between these two tools ?
Thanks
FrankHi,
SAP Scripts is the old tool and SMART Form is comparatively new tool to develop and print business documents.
SMART Forms are more GUI oreiented and you can do lot of things just by dragging and dropping. SAP Scripts are more code oreiented.Practically smartforms is easier to develop when compared with SAPscript.
Differences :
1. Sapscript is Client dependent Smartform is Client independent.
2. Multiple page formats are possible in smartforms which is not the case in SAPScripts.
3. It is possible to a smartform without MAIN Window.
4. Labels cannot be created in smartforms.
5. It is possible to have a smartform without a main window .
6. In sapscript we cannot write our own logic for printing where as in smartform, we can write our own logic for pritning
7. Sapscript requires a driver program (se38 program) and layout (se71 layout) where as Smartforms can be run independently without a driver program.
8. 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 etc. just like excel table.
9.Smartforms generates a function module when activated.
Regards,
V Joshi.
Maybe you are looking for
-
When my 2011 27" iMac is shutting down and the screen is all black and about 10 seconds from shutting completely off, about 50 white pixels appear on the lower left side of the screen and make a wave pattern for a few seconds. I have a video but am u
-
Berkeley Xml 2.4.13 works on Tomcat but not on Glassfish
I recently upgraded my web app to using the latest version of Berkeley Xml from 2.3. The old version worked fine on both glassfish and tomcat java servers. When I upgraded and made the necessary modifications to my app I could not get it to work on g
-
Flash MX profesional 2004 fails to open on mac osx 10.6.7
i am trying to install a copy of Flash macromeadia 2004 mx profesional. the software installs fine when i go to open it it apears in the dock and nothing happens. right clicking on the icon in the dock the program says it's not reasponding. on the bo
-
Can I make an image display instead of flash slideshow on explorer with high security?
I am a total flash beginner. I created a simple flash slideshow that I want to appear on my website. It works fine in firefox., but when viewed in explorer with high security, nothing displays unless the viewer specifically allows it. The slideshow
-
Pages look weird after reinstall
I formatted my drive, installed Win7, then reinstalled my CS3 suite. I created "new" sites to match the ones that I already had and pointed them to the folders where the files were. The pages all look weird in DW now. It only shows a header (a php