Diff betwen Scripts & smartforms
Hi all difference betwen scripts and smartforms
HI Praveen,
Difference with SMARTFORMS vs. SapScript(SE71)
The Following are the differences :-
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) Labels cannot be created in smartforms.
d) Routines can be written in smartforms tool.
e) Smartforms generates a function module when activated.
f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.
It was said that it was provided in CRM 3.0 version, but not available in R/3. You can download smartforms into Local PC in a XML format. In the same way you can upload this XML format into Smartform. From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.
In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.
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.
g) 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.
You could also write a small batch program calling transaction SMARTFORMS and running the migration tool.
http://www.sdn.sap.com/sdn/collaboration.sdn?contenttype=url&content=https%3A//forums.sdn.sap.com/thread.jspa%3FforumID%3D50%26threadID%3D60166%26messageID%3D634420%23634420
Thanks&Regards,
Laxmi
Similar Messages
-
Sql developer database diff - generate script not working
Using SQL devleloper 2.1. Database diff generate script gives errors making it completely non-usable
ORA-31600: invalid input value 0 for parameter SEGMENT_ATTRIBUTES in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 8150
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9270
ORA-06512: at "SYS.DBMS_METADATA", line 4757
ORA-06512: at line 1
and
Illegal Lock State: executeOracleQuery requires connection lock to be held. oracle.dbtools.raptor.diff.oracle.table.DiffTableRefConstraints.setup(DiffTableRefConstraints.java:215) called oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:681) without it
I do get the differences visually (yes, I am bugged that constraints are not smart enough to compare on content of the constraint....problem when the contstraint names are sys-nnnnnn generated). Just cannot create the script.
Any ideas to solve this issue? Thanks in advance, KellyCan reproduce same issue in 11gR1.. DIFF works fine in 10gR2.
I noticed that 10gR2 allows something like:
DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
and 11GR2 returns error similar to error SQLNAVIGATOR returns while running diff:
DBMS_METADATA.SET_TRANSFORM_PARAM(th,'SEGMENT_ATTRIBUTES',0);
end;
Error report:
ORA-31600: invalid input value 0 for parameter SEGMENT_ATTRIBUTES in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 8424
ORA-06512: at "SYS.DBMS_METADATA_INT", line 9484
ORA-06512: at "SYS.DBMS_METADATA", line 3950
Its safe to assume that this is SQLDEVELOPER bug. Hope it will be addressed sometime.
Edited by: user5420304 on Jun 15, 2010 10:29 AM -
Standard driver programs,output type ,scripts,smartforms for SD reports
hi experts,
Can any one list all the standard driver programs,output types ,scripts,smartforms for SD reports.
maniHi,
Check this out
NACE
You can track the form and the print program used for that form
The Tcode NACE is used to link the Standard SAP forms (SCRIPTFORM or SMARTFORM) or the customized form or the new form to its respective print programs. Also the output types, Form entry are linked with their forms and print programs. In short term, i can tell u that configuration or customization of forms to print programs, assigning output types, form entry to the forms are done using this Tcode.
NACE is used to create output type while creating the output type you will mention forms, and driver program.
that will be maintained in the table TNAPR.if you create the output type using NACE then it will be automatically visible in table NAST and TNAPR.
so check in NAST, TNAPR table
http://help.sap.com/saphelp_erp2005/helpdata/en/c8/1989fe43b111d1896f0000e8322d00/frameset.htm
Condition records in NACE?
and
NACE is used for message control customizing.
Take a look at the following link
http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a1843b111d1896f0000e8322d00/frameset.htm
and also
NACE is used for message control customizing.
Take a look at the following link
http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a1843b111d1896f0000e8322d00/frameset.htm
If it helps reward with points.. -
Hi all,
Can Anyone Tell me <b>the Script /SMartforms</b> Names For The Below mentioned items
<b>Sales and distribution:</b>
Quotation Print out
sale order print out
delivery note print out
excise invoice print out
performance guarantee.
<b>FI:</b>
Cheque Printout
Insurance draft.
<b>MM:</b>
po
request for quotation
outward chellan.
<b>QM:</b>
Inspection Report.
Quality Certificate.
Regards,
Arun.jHi
SALES ORDER / QUOTATION/CONTRACT/SCHD AGREEMENT
Output type : BA00
ScriptForm Name : RVORDER01
Driver Program Name : RVADOR01
smartform name
DELIVERY NOTE/PACKING LIST
Output type : LD00
ScriptForm Name : RVDELNOTE
Driver Program Name : RVADDN01
smartform name : LE_SHP_DELNOTE
Smartform Driver Pgm: RLE_DELNOTE
INVOICE/CREDITMEMO/DEBIT MEMO
Output type : RD00
ScriptForm Name : RVINVOICE01
Driver Program Name : RVADIN01
smartform name : LB_BIL_INVOICE
Smartform Driver Pgm: RLB_INVOICE
PUCHASE ORDER /RFQ/CONTRACT/SCH AGREEMENT
Output type : NEU
ScriptForm Name : MEDRUCK
Driver Program Name : SAPMF06P
smartform name : /SMB40/MMPO_L
smartform driver program: /SMB40/FM06P
FI Forms
Account Statement : F140_ACC_STAT_01
Cheque Printing : F110_PRENUM_CHEK
Balance Confirmation: F130_confirm_01
Quality Certificate : QC01 or QC02
see in the tcode OID1 (for PM forms)
for others see in SE71/SMARTFORMS or in the SPRO configuration or ask your functional consultants
<b>Reward points for useful Answers</b>
Regards
Anji
Message was edited by:
Anji Reddy Vangala -
Diff betwen Simple and Advanced function
Hi,
What is the the diff betwen Simple and Advanced user defined function in message mapping ?
Thanks,
RamHi,
Simple function : Simple functions without paramters work like constants and produce the target element exactly once for each context.
if I use simple Functions (Which should be called every time and context, the target field should be build - in a single context) and advanced function(which should identify, depending on the result of the actual simple function call values from queued source fields) in a single element
Advance function : Advanced functions with paramters seem to produce the target element for each context
If you use advanced Functions, its little more complicate, then you have allready to provide a queue, which tells the advanced function - how many times to run and how how many result entries to create, 'cause these must match with the number of occurency of your target element (in simple words: you control the number of runs, that your single field mapping is processed).
Regards
Agasthuri Doss -
Whats mean by output type w.r.t script & smartform
Hi!
Whats mean by output type w.r.t script & smartform
Thanks,
Imran.Output type - this is application ,which is attached to transaction,when you create document ,automatically layout will trigger
Let me say one example :
We have Purchase order ,we create purchase order ,order goes to the vendor.
Creation of purchase order at ME21N Transaction,now vendor will receive the order in the form of layout( Layout will go by usingE-Mail,Fax and so on ).
Output type is attaching to purchase order,output contains layout name(Script name(SE71) and Print program.
Look AT NACE Transactio->select EF Application->click on output type->select NEU Output type ->click on processing routines.
here you can see the purchase order print program and layout.
if you want to see the output in purchase order
just goto ME22N( My assumption is you have purchase order) click on messages.
now enter output type = NEU
Medium = Print output
Partner = VN
Partner number = vendor number(See in purchase order)
language = En
Now click on Further data ->select send immediately->back
click on communication method - >Local destination (LP01 or LOCl) back -.save it
now click on print preview -> you will able to see the output -
Differences Between Scripts & Smartforms...
Hi,
In my project any one of the Employee should give sessions on any of the topic every week. So i have decided to give on Scripts & Smartforms. Can any one explain in details the difference between Scripts & Smartforms.
Thanks & Regards,
Ramana.hi
Difference with SMARTFORMS vs. SapScript (SE71)
The Following are the differences :-
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) Labels cannot be created in smartforms.
d) Routines can be written in smartforms tool.
e) Smartforms generates a function module when activated.
Contributed by : SAP ABAP/4 Programming, Basis Administration, Configuration Hints and Tips
f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.
It was said that it was provided in CRM 3.0 version, but not available in R/3. You can download smartforms into Local PC in a XML format. In the same way you can upload this XML format into Smartform. From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.
In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.
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.
g) 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.
i) The main difference is that SAP script is client-dependant, while smartform is independent. Also there are some advanced and intreractive features available in smartforms.
You can use an External subroutine-call in sapscript editor like:
/: perform <form_name> in program <program_name>
/: using <var1>
/: using <var2>
/: changing <return1>
/: changing <return2>
/:endperform
i think it will useful for you.
Reward points if useful.
Thanks,
Usha -
How to get standard program ,script,smartforms all from sap
hi friends
how to get standard program ,script,smartforms all from sap.
thanks®ards
BabasishHi,
reports:
goto se38
all programs not starting with y or z will be sap std programs only
same for se71 scripts
samse for smartforms
but the use of those will be known when you see the documentation
for each programme
for std programs there will be documentation available so that you can understand
why they have developed that object
thanks & regards,
Venkatesh -
Difference between script & smartform
Can anybody tell me around 7 points difference between script & smartform? Rather than script is client dependent & smartform is client independent.( plz give me some strong & good points)
Thanks In advance.Hi,
The Following are the differences :-
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) Labels cannot be created in smartforms.
d) Routines can be written in smartforms tool.
e) Smartforms generates a function module when activated.
f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.
It was said that it was provided in CRM 3.0 version, but not available in R/3. You can download smartforms into Local PC in a XML format. In the same way you can upload this XML format into Smartform. From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.
In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.
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.
g) 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.
h) The main difference is that SAP script is client-dependant, while smartform is independent. Also there are some advanced and intreractive features available in smartforms.
Regards,
Bhaskar -
Where does all the Scripts & Smartforms exit?
Hello Friends,
Where does exit all of our Scripts & Smartforms which are stored under a Package. Where all the forms will be stored in SAP? IF we want find all the forms stored under a Package, What is the Procedure?
Thanks & Regards
Sathish Kumarsmart forms exists in table : STXFADM
Scripts -
> TNAPR
to check in a particular development class
goto SE80
give the development class name
it will all the objects stored in that package -
Converting HR Form(pe51) into sap script/smartform
I have an HR form created in PE51 - how do I convert this into a sap script/smartforms? I would like to put our company logo on the form...
Thanks - JanetWell i once found these two Notes:
701887 and 309204
It is talking about PE51 and some interaction with smartforms and a couple of Function modules.
Following objects are created in release 4.6B and delivered from releases upwards via this note :
Function group HR99S00_SMARTFORM
Function module HR_99S_CONV_PRIPARMS_TO_SSFCOMPOP converts printing parameters from format PRIPARMS to Smartform format SSFCOMPOP.
Function module HR_99S_CONV_SFERROR_TO_HRERROR converts and integrates Smartform error table to an HR error table.
It looks like it is possible to produce a smartform payslip. What I could not find is how to do it. -
List of standard scripts & smartforms
Hi all,
what are the standard scripts & smartforms?
Thanks & Regards,
ushaHi,
check the table TNAPR for standard scripts and
for smartforms go to tcode "SMARTFORMS" and press F4 at form then you will get the list of standard smartforms exist in your SAP server.
Thanks & Regards,
VIjay -
Diff between scripts and smartforms
Hi,
Pl tell me the differences between sap script and smartforms.
ThanksHi aafaqhusain,
SAP Script
1.Client Dependent
2. Multiple page formatting is not possible
3. 2 Componets(Print program and LAyoutset)
Smartforms:
1.Client Independent.
2. Multiple page formatting is not possible
3. 3 Componets(Print program, Function module and Layoutset)
whenver u activate a smartform it will create a smartforms
some practical differences are :
*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)
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 mittal. -
SAP Script,Smartforms,Adobe Forms
Hi SDN Friends!
I had this question.
Given a SAP Script or SMART Form ... how do we identify (table names?)
The Print program associated with them? Also, how does that concept differ from PDF forms?
Any body can answer please........
Regards,
Markiv.CHi
In any Orgn in real time in SAP we use Sap scripts or Smartforms for sending Outgoing documents like Sales,Pur order to customer or vendor.
So these are assigned with an Output type, Medium, Print program
These settings are configured first in Application document and in NACE Tcode
accordingly an Entry is saved in NAST table and TNAPR tables
so from these 2 tables we will come to know the form/sf name, print program and Output type and Medium etc
<b>Reward points for useful Answers</b>
Regards
Anji -
Interview questions on Scripts & Smartforms
Can anyone please help me with the answers for these questions that were asked in an interview.
1. in Scripts, I have 10 address lines there were blanks in between rows how can I avoid those?
2. In smartforms, If I want to transfer the data from print programme to smartform, How can I do?Hi
When you create a paragraph format in SE71
you will observe one check box for NO BLANK LINES
just check that, it is a property of that Paragraph format..
If you see the following code of smartform you will observe the internal tables that are passed to it and they are used in smartform
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
<b>GS_MKPF = INT_MKPF</b>
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 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.
Here in this case we are passing GS_MKPF = INT_MKPF, so this strcuture data can be used in Smartform to display the data
Reward points for useful Answers
Regards
Anji
Maybe you are looking for
-
i'm trying to open the photoshop and it's asking for a serial number how can i gent a serial number for photoshop, i buy the photoshop here
-
Unable to change File Type for specific file extensions
Under Preferences->File Types different file extensions are assigned a file type e.g. The file extension .pkb is assigned the file type of PL/SQL. The file type of PL/SQL then opens the Code editor. I have a user who would prefer to open .pkb files i
-
Problem with Relative URLs in Forwarding
Hi all, hope someone can help me with this one: is it possible to do this : <jsp:forward page="../index.html" /> I've tryed it on Tomcat and Orion but they both don't seem to like it, get the exception below: java.lang.IllegalArgumentException: Resou
-
Data partitioning & Index partitioning
Hi, I have the following questions about implementing ILM on a existing table consisting of millions of rows and with index partitioning... 1) how can data be partitioned when index partitioning exists? 2) what happens to the indexes when the table d
-
Hi, I have a requirement to read all material master data(basic data, plant data.. & other views data) in mass scenario. Is there any specific function module already available for this? I have checked the existing BAPIs and most of them support just