cancel
Showing results for 
Search instead for 
Did you mean: 

what is complete cycle to develop a smartforms

Former Member
0 Kudos

Hi All,

Iam new to smartforms,

1.How to develop a smartform ?

2.How to attach to the print program,

3.How we can see the print programs attached to the smart forms,

4.what is output type?

5. what is the complete cycle to develop a smartforms.

Points will be Rewarded

Regards,

Ravi.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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....

http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.h...

Subtotals - Check the link...

Go through these SAP Standard programs also,

sf_example_01

sf_example_02

sf_example_03.

2) here you can attach it in two ways

a) Stand alone program: you can directly call the form in the print program itself using function module generated by smartform when it is activated.

b) If it likned to transaction then you can attach it using Output type . These will be configured in NACE transaction

3) In the NACE transaction itself you can attched program. Or you can check TNAPR table . Give the SFORM (Smartform name) you will get Print program and Output typem configured in NACE

4)Output type is used to attach Print medium for smartfrom like print output, email, Fax etc..

5)Develop smartform, Develop print progra, Configure it in NACE transaction , Then configure the messages in corresponding transaction

Reward points if useful.

Regards,

Nageswar

If

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

i am sending the link.check that link.if you go through it then you will find the complete cycle for developing the smartform.

http://sap-img.com/smartforms/sap-smart-forms.htm

Former Member
0 Kudos

Hi Ravi,

First create your program, and then say you want to display table itab thru SF.

So create a SF and in the form interface section go to the tables tab and then give itab like zitab (structure of the same type of itab, this needs to be created).

Now in the main window create a table, right click on the window and you will have an option.

In the table you have header, main body and footer. Create line types for these and then for each cell create a text element and give what ever is required. Here you also have a loop where you give loop at itab into itab.

Say you have to display seq, order, item, desc, amt. Give these in the header in 5 cells, your header line type has to have 5 cells, so is your main body.

In the main body give &itab-seq&, &itab-vbeln&, &itab-posnr&, &itab-arktx&, &itab-netwr& in the respective text elements of the cells.

So now your SF is done, go to your program and then call the FM

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = 'ZSF2' "name of the SF tht you have created

IMPORTING

fm_name = fnam.

CALL FUNCTION fnam

EXPORTING

gv_name = gv_name " If you need to export any variables you can do it here.

TABLES

itab = itab.

Thats it and your data is displayed.

Hope this is fine, if you need anything else just post it.

Regards,

Narendra.

Reward if helpful!!