Script and Smart
Script and Smart
---------------------->>
https://www.mytectra.com/interview-question/sap-abap-smartforms-interview-
questions-and-answers/
https://www.allinterview.com/interview-questions/328/sapscript.html
--> Declare a structure of the type SSFCTRLOP , set no_dialog and preview to 'X'
and pass this structure to the CONTROL_PARAMETERS while calling
SmartForm FM.
CONTROL_PARAMETERS = wa_ctrl_param
NACE.
--> You will assign Form and Driver program to a output type through NACE T-CODE.
The assigned form name and driver programs can be viewed through table TNAPR
and NAST.
Pocedure :
--> 1) Go to NACE transaction
6) Specify Output type,Form name and driver Program and Save it.
The form column is associated with script form and pdf column is associated
with SmartForm.
--> In NACE , it only covers output that's using condition techniques. E.g. SD, MM
will be there, but QM or PP are using a different technique.
functional consultant - they configure the output type and they should know the
program/form name.
9. How can we attached multiple form into single driver program for standard tcode
in sap ?
CALL SF1
IF SY-TCODE = 'ME22N'
CALL SF2
--> To see the output of medruck go to T-code ME9F give the purchase order number
and
execute select one of the value and click on the Disply messges on the
application tool bar,
You will find the standard Script output form of medruck for the given Purchase
Order number.
on menu bar u find Utilities -> copy from Client. click on it u ll find new
screen showing
Form name :
Source Clinet :
Target Form :
execute.
Now, you have done changes to the Form ZFORM1 and u have to replace your form
with standard SAP Script.
on Applications select EF for purchase order and click Output types button on
application tool bar.
now click on Change option on application tool bar and on right side u find
MEDRUCK in form place replace MEDRUCK with ZFORM1 and SAVE.
now go to T-code ME9F give the purchase order number and execute and select one
option and click on display messges button .
you will find the changes that you have done in ZFORM1.
so we cant chage the standard Sap Scripts by copying the Standard Sap Scripts
we can chage and replace with our forms.
12.scenario:
if i use main window for all the pages in smartforms ,what will be the possible
consequence ?
https://www.google.co.in/search?
q=if+i+use+main+window+for+all+the+pages+in+smartforms+
%2Cwhat+will+be+the+possible+consequence+%3F&oq=
if+i+use+main+window+for+all+the+pages+in+smartforms+
%2Cwhat+will+be+the+possible+consequence+
%3F&aqs=chrome..69i57.1206j0j7&sourceid=chrome&ie=UTF-8
--> it will display up to 3 pages after that it will not show the records.
--> It can be used for page protection by checking the page protect check box. So
that every thing in folder will be printed on same page.
14.scenario:
Let say i have three table type in smartform table header,item ,footer , and i
want to give page protection to all this
how i will do that.
--> Make a folder , move all the nodes then check the page protection check box.
https://www.google.co.in/search?q=have+you+done+pre+printed+smartforms+
%3F&oq=have+you+done+pre+printed+smartforms+%3F&aqs=chrome..69i57.423j0j7
&sourceid=chrome&ie=UTF-8
--> Pre-printed stationary means, already a standard format of the form exists and
we need print data as per the columns, rows in the format of the form. This
form will be used as printing paper for smartform.
Steps :
------->
A) Upload the pre printed form in SAP as logo is uploaded in the smartform by
�SE78�.
B) Go to �SMARTFORMS� ->
�Print Preview� � It will display pre printed form uploaded along with
smartform data only in Print preview.
�Print Preview & Print� � It will display & Print pre printed form uploaded
with the smartform data both in Print preview & Print.
--> you need to capture the transport of development client(100) and in testing
client execute tcode SCC1 provide the source client,
Transport request, Including request subtask then start immediately then SAP
SCRIPT will copy from development client to Testing client.
--> sap smartforms is client independent because the system generated FM is client
indipendent if u made change in development client it will replicate in testing
client.
--> sap script can't be created without main window.
--> sap smart can be created without main window.
--> Sap Script cannot be excuted with out Print Program.
--> Sap Smartforms can be executed without print program by executing system
generated FM.
17. how to copy SAP Script form , Style and Standard Text from one client to
another client ?
How will you copy a Sapscript from one client to another client & from login
language to org language ?
use Tcode SPAD, For tray selection you need to configure through SPAD.
6)Here yopu will get list of trays available and you can choose
-->
--> find the system generated FM of the Smartform then find the string as " perform
%move using %textkey-name ".
It will provide you the list of all the standard texts used in the smartform.
--> u can create only 1 main window in a smart form. however u can create as many
secondary windows as u want.