SAP Script & Smart forms
Hi All,
How to find out in a particular object whether SAP scripts or smart forms are used?
If forms are used is there any t.code to find out which type of form is used?
Regards,
Vamsi P
Hello Vamsi,
<b>SAP scripts and SMARTFORMS - both serve the same purpose.</b>
SMARTFORMS were introduced since the release of SAP 4.7. Earlier to that it was only SAP scripts for designing layouts. SMARTFORMS have few additional benefits in terms designing over scripts.
Now, coming to your questions - Every Script or a SMARTFORM has a driver program. i.e. Smart form/Script has to be called into a program. And this Driver program is in turn assigned to the relevant output type, And the output type is assiged to appropriate level of a transaction i.e. at the header level of an order or invoice etc.
T-code: SE71 is used to design SAP script.
T-Code: SMARTFORMS is used for designing Smart Forms.
To find out whether a script or Smartform is used in any particular case..........you have to look into the <b>Driver program</b> that is assiged to the output type.
Hope this helps..............
<b>REWARD POINTS IF HELPFUL.</b>
Regards
Sai
Similar Messages
-
Sending emails in PDF & TXT format generated by SAP script/Smart forms
Hi
We have a requirement to configure SMTP node to send emails in PDF & TXT format. Currently, Output format for SAP Documents generated by SAP Script/Smart Forms configured in PDF. (Tx - SCOT - SMTP Node - Intetnet - Output Forms for SAP Documents). But, We also like to send emails in TXT format for other application in the same system. I see that you can send emails generated by SAP Script/Smart Forms either in PDF or TXT format not both.
Is it possible to send the emails in both the formats by configuring in Tx SCOT?
Your inputs will be appreciated.
Regards
ChanduHi chandu,
1. emails in both the formats by configuring in Tx SCOT ?
Scot will allow only ONE AT A TIME.
2. The other workaround is,
that using some FM
convert the OTF (sapscript/smartform)
data to TEXT,
and send it as RAW
3. Configure RAW = TEXT in scot.
regards,
amit m. -
Problems in sap script/smart forms
what are the major problems will come in real time about smart form and sap script?
Hi there.
Question 1:
Use font MICR_C for MICR CMC-7 or MICR_E for MICR E-13B
http://help.sap.com/saphelp_nw04/helpdata/en/90/78f078030211d399b90000e83dd9fc/frameset.htm
Question 2:
/: SET DATE MASK = 'DDMMYYYY'
http://help.sap.com/saphelp_nw04/helpdata/en/d1/8034d4454211d189710000e8322d00/frameset.htm
Question 3:
/E BOX_ELEMENT
/: POSITION WINDOW
/: POSITION YORIGIN &Y& LN
/: SIZE HEIGHT &HEIGHT& LN
/: BOX FRAME 10 TW
/: BOX XPOS '0.0' CM WIDTH 0 TW FRAME 10 TW
Question 4:
&symbol(C)&
http://help.sap.com/saphelp_nw04/helpdata/en/d1/8034d4454211d189710000e8322d00/frameset.htm
Question 5:
See SAP Note 129581.
Best regards.
Valter Oliveira.
Edited by: Valter Oliveira on May 30, 2008 4:42 PM -
Sap standard smart form fol BOL is LE_SHP_DELNOTE
Hi,
Is this the Sap standard smart form for Bill of lading is LE_SHP_DELNOTE for shipment.
Nor do i need to migrate the existing sapscript form to smartform?
thanxs in advance.Hi,
In SAPScript, you can use SHIPMENT_DOC.
In SmartForms, you can use LE_SHP_DELNOTE.
Thanks,
Ramakrishna -
Satndard SAP script or form name to generate FI invoice
Plz let me know if u know the standard SAP script or form name to generate the FI invoice.
Regards
Nivetha.Hi,
I guess the terminology's causing some problems. Here's what I think you need to do;
In transaction V/30 select the Output Type then double-click on the folder 'Processing Routines'. The columns are as follows;
Medium - Print, email etc
Program - Name of the print program
FORM Routine - name of the subroutine in the print program that will be called
Form - Name of the SAPscript (if used)
PDF/Smartform Form - Name of the Smartform, or pdf form (if used)
Type - If a Smartform or pdf form is specified, select from this drop-down which type it is.
If you're getting an error when you enter your parameters, it would be useful if you told us what the error was.
Regards,
Nick -
In SAP Script the form is not printing in required format
hi
in my sap script i am facing a issue. when i trigger the output on the screen, first page is coming correctly but second page has mixed up the alignment, i want to say the footer is coming up and main window box has gone sb total window shift to left while it should be right.
regards
atulHey Mishra,
Check in the page 2 Layout in your scrit form. The layout what you created for second page allighment is not correct. It seems you need to change the the footer and main in all the pages. Goto Page Windows -> Select the Seond page Name -> and check the layout ( Setting -> Form Painter).
Regards,
Saravanan M -
SAP SCRIPT F110_PRENUM_CHCK Form
Hi,
For the form F110_PRENUM_CHCK(SAP SCRIPT) Print Program is RFFOUS_C.What is the Check Amount Field in this Form and Direct Deposit Amount Field name in this Form and also needText Element names For this Fields.
Thanks in Advance.Hi Madhavi,
Thanks For your Reply.Suppose if it is a Direct Deposit(Not Check Amount).Then in which field the Direct Deposit amount is stored? -
Hi,
When i execute my SAP script, it stops at Write form function call.
I get the exception as Sy-subrc = 7. i.e., BAD_PAGEFORMAT_FOR_PRINT.
Does anyone know how to get rid of this error?
All help is greatly appreciated.
Cheers,
KHi,
Please check the page format.
R u using page format available in SPAD or any different page format. -
Sap script - using form-endform
I have used follwing code in subroutine,but in quality control this is rejected because of "structure" keyword.
FORM GET_TKNUM TABLES CT_INTAB structure ITCSY
CT_OUTTAB structure ITCSY.
IF CT_INTAB[] IS NOT INITIAL.
LOOP AT CT_INTAB INTO LV_INTAB.
READ TABLE CT_INTAB INDEX 1.
CHECK SY-SUBRC = 0.
MOVE ct_INTAB-VALUE TO LV_REQNO.
CLEAR CT_INTAB.
ENDLOOP.
ENDIF.
Then i used following code but values are not coming from script.
FORM SHIP_INFO USING CT_INTAB TYPE TABLE ITCSY
CT_OUTTAB TYPE TABLE ITCSY.
IF CT_INTAB[] IS NOT INITIAL.
LOOP AT CT_INTAB INTO LV_INTAB.
READ TABLE CT_INTAB INTO LV_INTAB INDEX 1.
CHECK SY-SUBRC = 0.
MOVE LV_INTAB-VALUE TO LV_SHIPNO.
CLEAR LV_INTAB.
ENDLOOP.
ENDIF.
what is another way to define form?Try using 'LIKE'.
LOOP AT CT_INTAB INTO LV_INTAB.
ENDLOOP.
FORM GET_TKNUM TABLES CT_INTAB LIKE ITCSY[]
CT_OUTTAB LIKE ITCSY[].
IF CT_INTAB[] IS NOT INITIAL.
READ TABLE CT_INTAB INDEX 1.
CHECK SY-SUBRC = 0.
MOVE CT_INTAB-VALUE TO LV_REQNO.
CLEAR CT_INTAB.
ENDIF.
ENDFORM
You may also refer to the below sample code from ABAP HELP. (I could not find a hyper link to it though)
TYPES: BEGIN OF FLIGHT_STRUC,
FLCARRID LIKE SFLIGHT-CARRID,
PRICE LIKE SFLIGHT-FLDATE,
END OF FLIGHT_STRUC.
DATA: MY_FLIGHT TYPE TABLE OF FLIGHT_STRUC,
IBOOK1 TYPE TABLE OF SBOOK,
IBOOK2 LIKE TABLE OF IBOOK1,
STRUC TYPE SBOOK.
PERFORM DISPLAY USING MY_FLIGHT IBOOK1 IBOOK2 STRUC.
FORM DISPLAY USING P_ITAB LIKE MY_FLIGHT[]
P_BOOK1 LIKE IBOOK1[]
P_BOOK2 LIKE IBOOK2[]
P_STRU LIKE STRUC.
DATA: L_FLIGHT LIKE LINE OF P_ITAB,
L_CARRID LIKE L_FLIGHT-FLCARRID.
WRITE: / P_STRU-CARRID, P_STRU-CONNID.
LOOP AT P_ITAB INTO L_FLIGHT WHERE FLCARRID = L_CARRID.
ENDLOOP.
ENDFORM. -
Hi, I have been given the program name. How do I find out which form/script is attached to that program?
Hi,
Using the NACE trasaction code you come to know which form and the Drier Program is used, first select the application type in NACE then Press the Output Types, you need to know the Output type then Select the output type then press the Processing Routines then you will get the Program name and the Layout nmae
and also, Look at the table TNAPR to know the Layout name
Regards
Sudheer -
SAP Script, Change form , SE71
Hi all,
I am totally new to SE71, I need to change content in one of the Window in the form, i opened <a href="http://www.geocities.com/cocwaye/screen.jpg">this</a> in SE71 , is this the way to change the content of a form?
Everything goes fine, but one of the window cant be access, it read some kind of 'error in codes' everytime i click on <a href="http://www.geocities.com/cocwaye/screen.jpg">this</a> button, the program SE71 shutdown.
I am trying to access that code in another way... Is there any other way to access the script ?
Thanks anyone who helps...Hi kokwei
to enter the content in the window in sapscript you have to use the text elements. for text elements
goto
PAGE WINDOWS->select the window->EDIT->TEXT ELEMENTS
then
click GOTO->CHANGE EDITOR.
in the editor you can enter the content. to write a text just write the text in the lines with required paragraph format in the left. to include any standart text wirte the INCLUDE statement
to write any parameter from internal table write the parameter name like
&itab-vbeln&
reply for any problem
regards
kishore -
How to find SAP Scirpt/ smart forms names?
Dear all,
How to find all SAP Scirpts& smartforms names for all apllications?Hi ramesh,
<b>SAPSCRIPTS</b>
1. Method1: In TNAPR table the driver program name and form nanes will be stored
go to se11 enter tnapr table
give the form name and execute u will get the driver program of that particular form
fields,
PGNAM - Program name
FONAM - Form name
Method 2 :
1. Go to nace
2. select application (eg, EA)
3. click output type button and select output type
(eg, NEU)
4. double click on processing routines
5. Application - EA
Output Types - NEU (RFQ)
Program - program name
Form - Form name
u can get there
Method 3 :
if u want to directly see without going to nace
1. in se11 give view name as VN_TNAPR
2. execute it
3. it will ask for o/p type and application give it
4. then u can directly go to nace "display view processing routines" screen -
How to find request number of SAP Script's Form
Hi All,
Can anyone tell me how to find out request number of scipt's form
Regards
ShashikantHi,
Se03->Search for Object in Requesta/Tasks--->Right Click ->Execute->Add a new entry with check box ticked,FORM,& Form name on the right side-->F8 It will display all the requests pertaining the form you have keyed in.
Regards
Raju Chitale -
Hi Friends,
My requirement is that the client wants to print RMWWR from BSID table in the dunning form.
I copied the standard layout of F150_DUNN_01 to ZF150_DUNN_01 and made all the necessary modifications to the form as per their requirement but I have to display this field as pending balance in between the text of the dunning form, I tried to create a subroutine for fetching the data depending on date, customer and company code from bsid table. But how to pass these parameters from an standard program to this subroutine in order to detect during runtime.
Can anybody suggest the way to come out of it. Your help is appreciated.
Thanks in advance.
Murali.Hi,
You can create another program called F_DUNNING Forms and create a subroutine which does all the steps for you. And call this subroutine from the Sapscipt in case you have all the fields.Otherwise, you'll need to create a custom program to achieve the same.
Thanks
Nidhi -
It is possible to writing vertically in script/smart forms
I am trying to write vertically in script,
how to write in script
then how to draw vertical line in script?
I try to draw vertical line / box
my code is,
&vline(10)&
bt it appered
I I I I I I I I I I
Thanks,
VinoHi Vino,
The only way I can see to place text like this is to write it as invidual characters on each line like you have done above. Perpahs you canj use tab stops to place the characters on each line for alignment.
There are commands to rotate text but this will not give the result you require.
Regards,
Aidan
Maybe you are looking for
-
HP Photosmart 2610 All in One Printer Paper feeds OK but the software and sensors are a problem
HP Photosmart 2610 All in One Printer Paper feeds OK but the software and sensors are not allowing paper to feed until several steps are taken first. (I am using Windows 7. I also use the virtual XP mode and mostly MS Office 2003 docs). I have ha
-
How do I change the name of my iPod touch so it shows the new name in Itune
How do I change the name of my iPod touch so it will show a new name in Itunes? I put the wrong name on it and want to have it show the correct name? Any help would be appreciated!! Thanks!!
-
Question About the Sound Blaster Ca
I haven't yet read all the info on ever one of your cards, but was hoping one of you Creative Labs guys could answer my question for me. I looking for a card either now or maybe one you guys could think about to do more than one sound at a time. Mean
-
Hi All, I'm trying to Use Service Call Functionality in Web Dynpro Component to use the class method for the context. When running the wizard I'm only getting the option of Function Module RADIO BUTTON ONLY. I'm not getting the Class method and other
-
'invalid Key Sequence' error when doing a lookup_ext on a Persistent DS
I have a pesistent data store that I populate with a query transform. After the DF is finished, I call a script to do the Lookup_ext on the DS that sets a global variable. I am getting the error: 70806 <persistent cache table <Temp_3> is being read w