Hi all doubt on smart forms ????????
hi ,
i am new to smart forms i need to create a smert form in which complex validation are all had to be implemented .. can anybody send any nice materials where i can get a brief decsription of what a smart form is how to create it how to implement conditions as i had to start from scrap i ned to have a brief idea ..please send even if u find any nice links for that also ......
rewards will be sure for replies................
Hi,
Check these links.
<b>SMARTFORMS</b>
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
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
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
http://www.sap-img.com/smartforms/smart-001.htm
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sap-img.com/smartforms/smart-002.htm
http://www.sapgenie.com/abap/smartforms.htm
http://www.sap-img.com/smartforms/sap-smart-forms.htm
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
http://www.sapgenie.com/abap/smartforms_detail.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/ccab6730-0501-0010-ee84-de050a6cc287
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
FAQ's on Smartforms
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
Regards,
Padmam.
Similar Messages
-
Hi! i am new to abap.Now i am having doubt in smart forms
I am creating a table in smart form for that ztable i create a driver program.I am getting an output for driver program.But in smart while i am executing i am getting only header fields in the table. I am not getting body and also the table format also i am not getting.
While executing the driver program in the print prieview i am getting the body data also.
But in the smart form i am not getting the table format as well as body data. Plz give me the solutionHi,
There are 2 approcahes..
(1) user enters data and smartform is displayed based on his/her filters and requirements
(2) no user input data required.....a predefined criterion fetched data
(1) For custom programs -user interactive : If you run the driver program only data will be passed to the smartform based on user filters and selection ..once data is passed it will be populated in the table/item of the smart form and it is seen...If the smart form is executed directly without a driver program the table will not be populated and it will not show...since header fields have been created with text elements or hardcoded text it may show up if we test run smartforms in t-code smartforms...
Usually we assign a custom transaction and assign the driver program to it..end users will not be directly running smartforms ...so as long as we have a driver program and the smartforms work ok on running the driver program..it is fine
(2)No user interaction :We write code in "program lines" in the smart form to fetch data and/or write code in initialisation part of the global data for fetch and data manipulations...it works without the driver program -> used mainly in cases of replacing forms for standard t-codes(through SPRO) where driver program attachement option is not available or a case where we just go and fetch data based on predefined conditions not changable by user
Hope it helps
Regards
Byju -
hi,
In smartform how do we get 3 invoice forms at a time one form for each page..i have chosen invoice number in driver program ..I am getting only first invoice form ...wat should i do in smartform...
Thanks in advance.
KavithaHello Kavitha,
this is a forum for workflow, please post your question here:
Output Management
... and close this thread.
Thank you,
Florin -
Suppress leading spaces while displaying an amount field in a Smart form
Hi all,
In a smart form, I am using fields like KONV-kbetr and VBAP-netwr each of them currency type and 2 decimal places. I want to suppress the decimal places and also the leading spaces while displaying these fields in a smartform cause when this field is inserted in a sentence, a lot of gap is there between the field and the words of the sentence. I dont want to change the field length cause it can be that huge in some cases.
Please help.
Thanks ,Hi, if you would place it in a sentence, it would be an option to concatenate the text and values into one string and then condense it.
concatenate <text> <value> into lv_sentence.
condense lv_sentence.
but another way is to use codes for displaying values in smartforms:
This is from a smartforms PDF i have..
Output Options for Field Contents
Use the Formatting options to adapt the value of a field before printing it. You can enter the
relevant parameters directly behind the field name. Make sure to write the short forms of the
different options in uppercase letters. Some of the options can be combined.
General Information
The formatting options are not suited for all data types of fields (for example, for character fields
you need no exponential representation). You must distinguish between numeric fields and
character fields.
Numeric Fields
If specified, the system first evaluates the length (<length>).
If no length is specified, the system displays the value in its overall length.
The trailing blank indicates a positive sign. To suppress it, use formatting option S.
Any offset <offset> specified is ignored.
Sequence of evaluation: (<length>), sign to the left(<),Japanese date (L), suppress blanks (C),
right-justified display (R), insert fillers (F).
Character Fields
By default, the system displays the value of a field in its overall length, but truncates trailing
blanks.
Sequence of evaluation: suppress blanks (C), <offset> and (<length>), right-justified display (R),
insert fillers (F).
Overview
Formatting Options for Fields
Syntax Description
&field+<offset>& Skips <offset> places of the field value (character fields only). If the
offset is greater than the length of the value, nothing is displayed.
&field(<length>)& Sets the output length to <length>.
&field(*)& If the field is defined by a Data Dictionary type, Smart Forms set the
output length to the value specified there.
&field(S)& Suppresses the sign
&field(<)& Displays the sign to the left of the number
&field(.<nat.number>)& Limits output of decimal places to <nat.number>
&field(E<nat.number>)& Displays the field value with the fixed exponent <nat.number>. The
mantissa is adapted to this exponent by shifting the decimal
character and inserting zeros.
SAP Smart Forms (BC-SRV-SCR) SAP AG
Output Options for Field Contents
72 April 2001
&field(T)& Suppresses thousand indicators when displaying fields of types
DEC, CURR, INT, and QUAN.
&field(Z)& Suppresses leading zeros of numbers
&field(I)& Suppresses display of initial values
&field(K)& Deactivates a conversion routine specified in the Data Dictionary.
&field(R)& Right-justified display. Use this option only when specifying an
output length as well.
&field(F<filler>)& Replaces left-justified blanks in the value by the fill character <filler>.
&field(L)& Converts and a date field to a local date and displays it. The date is
then formatted using edit mask JPDAT.
Since this representation uses Japanese characters, use it in the
Japanese version of the SAP System only.
&field(C)& The system takes the field value as a sequence of words separated
by blanks. Option C shifts these words to the left and leaves only
one blank inbetween as separator. Any leading blanks are
suppressed. This effect corresponds to that of the ABAP statement
CONDENSE. -
Smart form downloaded into .xml file ??.
Hi all,
When a smart form is downloaded, it gets downloaded as a .xml file.
My question is, how does it get converted to .xml file.
<i>Is there any</i> <u>function module</u> that is called and <i>if so</i> <u>what</u> is the function module.Hi,
You can download into XML format. However, it's not sure about uploading. Refer to the program <b>'SF_XSF_DEMO'</b>.
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.
Feel free to revert back.
--Ragu -
Hi all,
When a smart form is downloaded it gets downloaded as .xml file.
The question is, how does the smart form get converted to xml file. Is there any function module that is called when we download it and if so what is the function module.Hi
These are the two standard function modules when we download the smart form.
FUNCTION SDIXML_DATA_TO_DOM.
and
FUNCTION SDIXML_DOM_TO_XML'.
Hope this will definitely help you.
Please reward suitable points.
Regards
- Atul -
Hi All,
What are smart forms and what's it's use? As a functional consultant, what do i need to know about it?
A User asked me about creating a SmartForm to gather information (from different dept of the business - Finance, Quality, Purchasing...etc) to create a new Material Master.
What is the transaction code for this? Are smart form something like PDF? Can this be saved to desktop and email to people via outlook? Are data input to the form also saved with the form?
Thanks in advanceHi,
Smartforms are layout sets in SAP.
Transaction Code :SMARTFORMS
As a functional consultant you need to know the standard forms available for different scenarios. If you need to develop a new layout, you need to give layout design and proper logic to ABAPer.
Visit [SAP's online help on Smartforms|http://help.sap.com/saphelp_nw70/helpdata/EN/a5/de6838abce021ae10000009b38f842/content.htm].
You use Smart Forms to create and maintain forms for mass printing in SAP systems. Besides using the printer for standard output you can also select the Internet (by using a generated HTML output), a fax, or e-mail as the output medium.
In addition to the tool, SAP delivers a selection of forms for central business processes. This includes forms in Customer Relationship Management (CRM) as well as in the applications SD, FI, and HR.
Smart Forms offers the following advantages:
- Creating and maintaining forms requiring half the time
- Adapting forms without any programming knowledge due to entirely graphical user interface
- Integrating input elements into the HTML output, which enables you to use a form in Internet applications as well
Also, visit [Introduction to Smartforms|http://www.sap-img.com/smartforms/smart-001.htm].
[SAP Smartforms Tutorial Hints and Tips|http://www.sap-basis-abap.com/sapsf001.htm].
Regards,
Srilatha. -
Smart form - Long text in all the items?
Hello gurus,
We are using something similar to smart form (I don't know the exactly name, like pretty form).
So, we are using a long text in the "Item text" by item.
Sometimes the item can be more than 20 lines in the "Item text" as long text and sometimes not.
Example: I have a PO with 4 items:
Item 1 - Without Item text.
Item 2 - With 20 lines in the Item text
Item 3 -With 1 line in the Item text
But, when the PO is printed, the PO form has to all the items 20 lines by item.
That's mean that if in the first item I don't have item text, the first item is showed with a very long space in blank (space of 20 lines).
The secont item is showed correctly.
The third item has one line wrote and 19 lines in blank, like a long space in blank.
How we can manage this situation in the format?
How we can program these spaces to see in the format to the first item without the space in blank and to the third item only 1 item and the other 19 lines without being shown?
Can you help me please a.s.a.p.?
Thanks for your time and I will wait the answer.
Regards,
Sandra PalomoHi ,
Can you please let me know the solution implemented ? -
Hello All
I have a little bit problm is smart forms. I have created one smart forms In which I have define a table in Main window.
The data is Printing properly, But the problm is, I want to print the horizontal line item after each line item.
I have try the same with table Table TAB under the Table property. Previously I have done the same in SAP 5.0 it is working fine, But here I am using SAP 4.7. it is not working here.
Can Some One suggest me the some solution for the same.
Regards
Swati NamdevHi, the problm is solve now issue is with the printer settings...
I am trying with EPSON PRINTER..BUT IT need to be set properly for Laster jet printer.
thanks to all for there valuable suggestion.
regard
Swati -
Hi all,
u2022 We have customized the BBP_SUSPO to ZBBP_SUSPO and made few changes.
u2022 Now My requirement is to display creator name and email of SRM shopping carts in place of the
P_FIRST -
>W_INFO----->TE_CONTACT
Contact name: creator of sc name
Email id: creator of sc mail id.
Is that possible to get the SRM shopping cart no in SUS smart form as I have logic to get the creator name if I have shopping cart details.
Is there any field in the BBPS_SF_SUSPO_OUTPUT structure?
Thanks in Advance,
Neelimahi neelima,
yes it is possible. you can retrieve the SRM shopping cart number manually.
using the SRM PO number (sf_susdoc-header-src_object_id), do a remote call of FM BBP_PD_PO_GETDETAIL in SRM to get the reference shopping cart number in E_HEADER_REL.
then do a remote call of FM BPP_PD_SC_GETDETAIL in SRM to get the creator of the SRM shopping cart document.
CALL FUNCTION 'BBP_PD_PO_GETDETAIL' DESTINATION lv_destination
EXPORTING
i_object_id = lv_object_id_srmpo
IMPORTING
e_header = ls_header_srmpo
TABLES
e_header_rel = lt_header_rel_srmpo.
*** Shopping Cart
READ TABLE lt_header_rel_srmpo INTO ls_header_rel_srmpo WITH KEY objtype_a = 'BUS2121'.
IF sy-subrc = 0.
CALL FUNCTION 'BBP_PD_SC_GETDETAIL' DESTINATION lv_destination
EXPORTING
i_guid = ls_header_rel_srmpo-guid_a
IMPORTING
e_header = ls_header_shc.
gv_shc_doc = ls_header_shc-object_id.
ENDIF.
regards,
kezia -
hi experts i am new in smart form i know script
could u guide plz
in scripts we have predefined forms and corresponding driver programs like MEDRUCK, RVORDER01 using this we can modify our layout according to client requirement.
1. can u please provide predefined forms and print programs in smart forms and plz tell me 2. wht modifications we will do real time in smart forms
3. how to create table in smart forms
4. how to debug and how to transport smart forms
5. can u please provide some FAQ's in smart formsHi Sayeed,
Go through this important URL:
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
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://www.sapgenie.com/abap/smartforms.htm
How to trace smartform
http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
http://www.sap-img.com/smartforms/smart-006.htm
http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
check most imp link
http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
This is the program:
Converting SMART FORMS output to PDF format
REPORT zsuresh_test.
Variable declarations
DATA:
w_form_name TYPE tdsfname VALUE 'ZSURESH_TEST',
w_fmodule TYPE rs38l_fnam,
w_cparam TYPE ssfctrlop,
w_outoptions TYPE ssfcompop,
W_bin_filesize TYPE i, " Binary File Size
w_FILE_NAME type string,
w_File_path type string,
w_FULL_PATH type string.
Internal tables declaration
Internal table to hold the OTF data
DATA:
t_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
Internal table to hold OTF data recd from the SMARTFORM
t_otf_from_fm TYPE ssfcrescl,
Internal table to hold the data from the FM CONVERT_OTF
T_pdf_tab LIKE tline OCCURS 0 WITH HEADER LINE.
This function module call is used to retrieve the name of the Function
module generated when the SMARTFORM is activated
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = w_form_name
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
fm_name = w_fmodule
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Calling the SMARTFORM using the function module retrieved above
GET_OTF parameter in the CONTROL_PARAMETERS is set to get the OTF
format of the output
w_cparam-no_dialog = 'X'.
w_cparam-preview = space. " Suppressing the dialog box
" for print preview
w_cparam-getotf = 'X'.
Printer name to be used is provided in the export parameter
OUTPUT_OPTIONS
w_outoptions-tddest = 'LP01'.
CALL FUNCTION w_fmodule
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
control_parameters = w_cparam
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
output_options = w_outoptions
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
job_output_info = t_otf_from_fm
JOB_OUTPUT_OPTIONS =
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.
t_otf[] = t_otf_from_fm-otfdata[].
Function Module CONVERT_OTF is used to convert the OTF format to PDF
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
ARCHIVE_INDEX = ' '
COPYNUMBER = 0
ASCII_BIDI_VIS2LOG = ' '
PDF_DELETE_OTFTAB = ' '
IMPORTING
BIN_FILESIZE = W_bin_filesize
BIN_FILE =
TABLES
otf = T_OTF
lines = T_pdf_tab
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
ERR_BAD_OTF = 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.
To display File SAVE dialog window
CALL METHOD cl_gui_frontend_services=>file_save_dialog
EXPORTING
WINDOW_TITLE =
DEFAULT_EXTENSION =
DEFAULT_FILE_NAME =
FILE_FILTER =
INITIAL_DIRECTORY =
WITH_ENCODING =
PROMPT_ON_OVERWRITE = 'X'
CHANGING
filename = w_FILE_NAME
path = w_FILE_PATH
fullpath = w_FULL_PATH
USER_ACTION =
FILE_ENCODING =
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
presentation server
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = W_bin_filesize
filename = w_FULL_PATH
FILETYPE = 'BIN'
APPEND = ' '
WRITE_FIELD_SEPARATOR = ' '
HEADER = '00'
TRUNC_TRAILING_BLANKS = ' '
WRITE_LF = 'X'
COL_SELECT = ' '
COL_SELECT_MASK = ' '
DAT_MODE = ' '
CONFIRM_OVERWRITE = ' '
NO_AUTH_CHECK = ' '
CODEPAGE = ' '
IGNORE_CERR = ABAP_TRUE
REPLACEMENT = '#'
WRITE_BOM = ' '
TRUNC_TRAILING_BLANKS_EOL = 'X'
WK1_N_FORMAT = ' '
WK1_N_SIZE = ' '
WK1_T_FORMAT = ' '
WK1_T_SIZE = ' '
IMPORTING
FILELENGTH =
tables
data_tab = T_pdf_tab
FIELDNAMES =
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Find userexits with transaction code:
Selection Text: P_TCODE: Transaction Code to Search
Text Symbols: 001 - Enter the Transaction Code that you want to search through for a User Exit
REPORT z_find_userexit NO STANDARD PAGE HEADING.
*& Enter the transaction code that you want to search through in order
*& to find which Standard SAP® User Exits exists.
*& Tables
TABLES : tstc, "SAP® Transaction Codes
tadir, "Directory of Repository Objects
modsapt, "SAP® Enhancements - Short Texts
modact, "Modifications
trdir, "System table TRDIR
tfdir, "Function Module
enlfdir, "Additional Attributes for Function Modules
tstct. "Transaction Code Texts
*& Variables
DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
DATA : field1(30).
DATA : v_devclass LIKE tadir-devclass.
*& Selection Screen Parameters
SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK a01.
*& Start of main program
START-OF-SELECTION.
Validate Transaction Code
SELECT SINGLE * FROM tstc
WHERE tcode EQ p_tcode.
Find Repository Objects for transaction code
IF sy-subrc EQ 0.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'PROG'
AND obj_name = tstc-pgmna.
MOVE : tadir-devclass TO v_devclass.
IF sy-subrc NE 0.
SELECT SINGLE * FROM trdir
WHERE name = tstc-pgmna.
IF trdir-subc EQ 'F'.
SELECT SINGLE * FROM tfdir
WHERE pname = tstc-pgmna.
SELECT SINGLE * FROM enlfdir
WHERE funcname = tfdir-funcname.
SELECT SINGLE * FROM tadir
WHERE pgmid = 'R3TR'
AND object = 'FUGR'
AND obj_name = enlfdir-area.
MOVE : tadir-devclass TO v_devclass.
ENDIF.
ENDIF.
Find SAP® Modifications
SELECT * FROM tadir
INTO TABLE jtab
WHERE pgmid = 'R3TR'
AND object = 'SMOD'
AND devclass = v_devclass.
SELECT SINGLE * FROM tstct
WHERE sprsl EQ sy-langu
AND tcode EQ p_tcode.
FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
WRITE:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
SKIP.
IF NOT jtab[] IS INITIAL.
WRITE:/(95) sy-uline.
FORMAT COLOR COL_HEADING INTENSIFIED ON.
WRITE:/1 sy-vline,
2 'Exit Name',
21 sy-vline ,
22 'Description',
95 sy-vline.
WRITE:/(95) sy-uline.
LOOP AT jtab.
SELECT SINGLE * FROM modsapt
WHERE sprsl = sy-langu AND
name = jtab-obj_name.
FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
WRITE:/1 sy-vline,
2 jtab-obj_name HOTSPOT ON,
21 sy-vline ,
22 modsapt-modtext,
95 sy-vline.
ENDLOOP.
WRITE:/(95) sy-uline.
DESCRIBE TABLE jtab.
SKIP.
FORMAT COLOR COL_TOTAL INTENSIFIED ON.
WRITE:/ 'No of Exits:' , sy-tfill.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'No User Exit exists'.
ENDIF.
ELSE.
FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
WRITE:/(95) 'Transaction Code Does Not Exist'.
ENDIF.
Take the user to SMOD for the Exit that was selected.
AT LINE-SELECTION.
GET CURSOR FIELD field1.
CHECK field1(4) EQ 'JTAB'.
SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
Rewords some points.
Rgds,
P.Naganjana Reddy -
How to display pie chart in smart forms
hii experts,
my requirement is to display pi chart in smart forms . i have googled but could not get any meaning full results. If any one knows this pls share ..
Thanks and Regards
Aditya ShrivastavaHi
I really doubt If you did search at all in the first place. Anyhow, check this:
https://www.sdn.sap.com/irj/scn/advancedsearch?query=piechartin+smartforms&cat=sdn_all
Vishwa. -
HI,
I have some Demo on Smart Form, others can access it by this location
http://www.4shared.com/dir/562143/f702c356/sharing.html
Doubt is:
In Page4, how to get that view on left side, becuase when i create a Table, it showing Header,Main Area & Footer. where as in demo slide its different
and when i click 'Data' Tab for Table Properties, in the First Box 'LOOP loop', its showing Operand, where as in demo slide its Internal Table..
Maybe something is missing(some steps) in slides and fist of all i am new to SmartForms as well.. suggest me how to proceed.. or if anybody have better document, please suggest me.
thanks
Jenhi Jen,
Check these out
<b>Smart Forms
<b>Smartforms Step by Step:</b></b>
http://www.allsaplinks.com/smartform_example.html
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
Regards,
Santosh -
Using Continuos Printing stationary with smart forms is that possible ?
Hi All,
there is an instance where we have to use continuo's stationary for printing Payment Advices for the vendors with bankers cheque attached to the payment advise is that possible in smartforms also i have know that is possible in scripts but the requirement is in smartforms and can we do that in Smartforms.
If any one have seen the same instance earlier, take your time to guide me the process.
Thanx all in advance..
RajWith smart forms i have dropped the idea as it is not that flexible as script..
if am not wrong~
I have resolved it and have done the needful for printing the cheques and Payment Advices... in scripts with any kind of printer.. using Scripts.
Any one dealing with FI ABAP having any kind of issues with the Payments advices and cheques can always ping me for any doubts...
payment advices ,
cheque printing,
vendor aging,
customer aging,
brs upload program,
Service tax reports,
TDS reports,
vendor master upload,
customer master upload,
gl balance upload,
NCR Report,
and some co Reports..
these are some of the things where i have masterd for now..
any one i need of these can always get in touch...
cheers and all the best.. to be a brilliant ABAPER...
Raj ([email protected]) -
Hi,
i have small doubt in table creation of Smart Forms.
If the no of records in Table are less than the page size.
how to increase the table view till end of the page or till footer?
the table shoould be displayed till fully not truncated upto the no of records
Thanks
Shivashiva we can do this as follows
If we know the max number of line we can print in a puricular page.. then ex.
example maximum 40 lines we can print in a page.. then take thin inot a variable calle <b>v_max_line = 40</b>.
Find the number of record in Internal talbe example <b>v_tabl_line = 10</b>.
v_emtty = v_max_line - v__tabl_line .
now v_empty is 30.
now create a "LOOP" in the "footer" part of the TABALE.
in this loop insert a table line .
take one temparary variable.. increase the value of the "v_temp" veriable "calculation" part ofth "LOOP".
In conditions of the LOOP : give that.. v_temp < v_EMPTY.
Note: dont forget to insert a text elemetn in the line type of the footer "LOOP". in the Text elemtn write &space&.
so that all the blank lines will be printed after the end of the table.
Maybe you are looking for
-
My home page is more of a list of words like mail, calendar, contacts, and other things that are included on my homepage which is myyahoo.com. It is not showing up as it did a short time ago. Browser is Firefox.
-
How do I delete a blank line from an excel spreadsheet
I am currently using the code below to output an array of strings to an excel template. I am getting a blank row to appear in between all my data sets. Any Ideas on how to get rid of it. I am new to Labview and have had no formal training. Sorry
-
Output type for non assigment Handling Unit
Hi All. I would like to make a Output type for non assigned Handling Unit Can anyone tell me about it? Edited by: John Brown on Feb 9, 2010 10:53 AM
-
Ago and Todate functions very slow
I have been playing around with the Ago and Todate functions in BI EE (based on data from the Global schema which I imported into BI EE Administrator) but I find these functions very slow to return the data in an Answers report. Has anyone else found
-
Mdworker quit unexpectedly. How to fix it?
Hello to everyone, When ever I open some specific Microsoft office Word files (using Microsoft Word 2011) in my MBR and I try to save them the system gives me a report "mdworker quit unexpectedly". If I make a new file and I save it then no error is