on 2007 Jul 18 12:24 PM
Hi ABAP gurus,
I am new to smartforms.i need a demo smartform step-by-step codings with proper explanation (documentation with screen-shot if u have) not links. if anybody send it i will be grateful to you. rewards sure...
Thanks and regards,
Senthil kumar
Hi
for Smartforms material
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....
<b>Reward if useful</b>
Regards,
Nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Senthil,
since you are new to smartforms i'll give u the steps in how to create smartforms:
STEP1: Goto transaction SMARTFORMS..enter the smartform name for ex: Zsmart_test and click on create.
STEP2: After clicking on create button, you will go inside...now in that there will be 2 nodes i.e. Global settings and Pages and WINDOWS
STEP3: in Global settings you will be getting 3 sub nodes:
a) form attributes : in this you will be defining the page format.
b) Form Interface : in this you will be importing data from print program to smartform. in this the IMPORT tab is used to pass single data from print program to smartform where as we can directly pass an internal table in TABLE tab.
NOTE : the structure of internal table should be same in both i.e in print program as well as in smartform.
c) Global definitions: Any operation which you want to do it within the smartform u can define it in global definitions.
STEP4: By default there will be always one page. now go on creating windows on that pages by right clicking on that page --> create window.
STEP5: once all the windows are being created you can allign them by clicking on FORM PAINTER push button...also you can arrange the size of that window...
STEP6: Now write code in SE38 for that smartform...
once all the data is populated...you need to call the smartform using following function module.
SSF_FUNCTION_MODULE_NAME
this function will generate the function for your smartform
STEP7: after this all the data will be passed to smartform, display the data by definining text in respective windows...
hope this will atlease help u to create a smartforms...
please reward points in case usefull
regards,
prashant
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi SDNers,
I tried one smartform.program is syntactically right.but it goes to dump during execution.
the following is my coding. please give suggestions.reward sure...
TABLES : VBRK, VBRP.
DATA : BEGIN OF ITAB OCCURS 0,
VBELN LIKE VBRK-VBELN,
FKDAT LIKE VBRK-FKDAT,
VKORG LIKE VBRK-VKORG,
VTWEG LIKE VBRK-VTWEG,
MATNR LIKE VBRP-MATNR,
ARKTX LIKE VBRP-ARKTX,
FKIMG LIKE VBRP-FKIMG,
VRKME LIKE VBRP-VRKME,
END OF ITAB.
DATA FNAME TYPE RS38L_FNAM.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE T1.
SELECT-OPTIONS : VBELN FOR VBRK-VBELN,
FKDAT FOR VBRK-FKDAT.
SELECTION-SCREEN END OF BLOCK B1.
INITIALIZATION.
T1 = 'Input below'.
START-OF-SELECTION.
SELECT AVBELN AFKDAT AVKORG AVTWEG BMATNR BARKTX BFKIMG BVRKME
INTO TABLE ITAB FROM VBRK AS A INNER JOIN VBRP AS B ON AVBELN EQ BVBELN
WHERE AVBELN IN VBELN AND AFKDAT IN FKDAT.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZSK_SMART_TEST'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FNAME
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.
CALL FUNCTION FNAME
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
ITAB = ITAB
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.
In smartforms i just declared itab in form interface ---> tables then
in main window i declared loop and code.in loop i entered itab into itab and
in code just &itab-vbeln& &itab-fkdat& ... like that. thats it.
Expecting ur great reply...
Senthil kumar
use following example smartforms, it is very much self explinatory.
Goto tcode smartforms and keyin _EX it will give you all the smartform examples.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
send me uer mailid and i will send u the docs related to smartforms.
my mail id is sharadendu@gmail.com
cheers,
sharadendu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Senthil,
If u send your mail id I will send document.
Thanks,
Suma.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.