Copying scripts in smartforms
hi all,
can any one explain me in detail how i can copy script into smartforms
thnkx
prasad
hi 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.
Similar Messages
-
Copying scripts to our own form
Dear friends,
If we need to change the standard form(program) then we need to copy the standard form to our own form name here we will get all the coding too.
but when we migrate script to smartforms.... what happens here?How to migrate it ?hi
good
while you go to smartform you ll find below things, just follow them
1-go to smartforms
2-utilities->Migrate SAPScript Form
3-There you have to give the source name and than press enter it ll copy the source program to your target program, your target program must be start from z or y and than change your program as per your requirement.
thanks
mrutyun^ -
How to transport scripts and smartforms layouts
Hi All,
would you let me know how to trasport scripts and smartform along with layouts???
thanks in advance for your replies.
Regards,
RiyazSAP Script Form
If you want to copy the forms between clients on the same system (between a client 100 and 150 on a DEV box for example) Use the copy between clients option available from the Utilities menu of SE71. If you want to transport the form between DEV & QA or QA & PRD then follow the normal transport
procedure (ensuring that your BASIS team know to import your form into each client of the new box).
Regarding the Print Program, follow the standard procedure for normal ABAP Objects. Do SCC1 for transfer between clients on same system and normal transport procedure to different system.
SMART FORMS
A Smartform is transported no differently than any other object. if it is assigned to a development class that is atteched to a transport layer, it will be transported.
The definition is transported, and when called, the function module is regenerated.
This leads to an interetsing situation. On the new machine, it is very likely the function module name will be different than the name on the source system. Make sure, before you call the function module, you resolve the external name to the internal name using the 'SSF_FUNCTION_MODULE_NAME' function module.
Typically, generate the SF, then use the pattern to being in the interface. Then change the call function to use the name you get back from the above function module.
Hope this helps.
Vinodh Balakrishnan -
Where can we find the standard program for scripts and smartform for vl02
where can we find the standard program for scripts and smartform for vl02
regard,
anilIf it is a standard Script Output see that all config in NACE tcode was done correctly and in the Application document the output type was properly defined and attached to a medium, partner and all communication related things like printer name, when to print the output and number of messages etc are entered in the document
the go to the related application Tcode
(for sales order goto VA02 or VA03)
(delivery -VL02N or VL03N)
for Invoice VF02 or VF03
for PO -goto ME9F
enter doc number, Issue Output to -> screen/printer
then see the output
step 1 : copy the z layout into testing client thru SCC1.
step2 : go to se71 and check modified layout.
step3 : if it is under logistics.. go to TCODE "NACE".
u will see various applictions for each business process.
there u have configure ur related layout according to requirments,
for example u consider for Request fo Quatation..
there is APPLICATION called "EA"
click and enter into it. configure it with ur requirments, for help consult with ur functonal consaltant, and save it.
step 4 : goto tcode ME9A for requst for quatation(RFQ).
step 5 : enter test data avalable and check it with message display.
it is same for other applications like Contract agreament --> ME9k
invoice --> vl02n
and goes on..
Reward points for useful Answers -
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. -
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. -
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. -
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 -
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 -
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 -
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 -
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. -
FI transaction code used in script and smartforms
hiii dudes,
i want the FI transaction codes which is used in the script and smartforms.......Hi Sonia,
I re-loged, but in vain.
Regards,
rajesh -
Urgent : Regarding Adobe Forms ,Scripts and Smartforms
<i>
Hi Floks
Any body having Adobe Printing Forms ,Scripts and Smartforms documents Links can you send me to me . Its will be help full to me
thanks
suresh</i>Hi Suresh,
SCRIPTS
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRPROG/BCSRVSCRPROG.pdf
http://www.thespot4sap.com/articles/SAPscript_Introduction.asp
http://www.onestopsap.com/sap-miscellanous/sap-script/
http://sap.niraj.tripod.com/id19.html
http://help.sap.com/saphelp_45b/helpdata/en/65/897415dc4ad111950d0060b03c6b76/content.htm
http://www.thespot4sap.com/Articles/SAPscript_commands.asp
Smartforms
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
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm -
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
Maybe you are looking for
-
Can I turn off Macbook while Time Capsule is archiving Time Machine backup to a USB drive?
My Time Capsule is archiving my Time Machine backup to a USB drive attached to it. I have initiated this process on my macbook (on the same lan with the Time Capsule), on which I am monitoring the archiving progress on the Airport Utility. Still almo
-
Cannot Import MS Word 2010 to Robohelp 9 on Windows 7 64-bit
I am using Robohelp 9 on my Windows 7 64-bit machine. But when I try to import MS Word 2010 document, I get the following error message: "The Import Word Document Wizard cannot locate a supported version of Microsoft Word. Please install Microsoft Wo
-
Using function in where clause
I have created a function as follows create or replace FUNCTION get_codes RETURN varchar2 IS scodes varchar2(50) := 'A1,A2'; BEGIN scodes := '('''||REPLACE(scodes,',',''',''')||''')'; return scodes; END; this function returns ('A1','A2') now i want t
-
Adobe Acrobat x Pro 10.0
We are going to use the Digital signature feature of Adobe Acrobat x pro 10.0 for students' assignment. Once student done their assignments they send their work to their supervisors (internal and external) to comment and sign. If we are going to use
-
HT4783 Why can I not airdrop between my iMac and iPad Air?
Is there a way to airdrop between my iMac and iPad Air?