cancel
Showing results for 
Search instead for 
Did you mean: 

Input n output parameters

Former Member
0 Kudos

Hi Techis

Will u pls tell me after selecting program line in smartform here we have to code but i would like to kmw

what are Input Parameters and output Paramters ..

tell me thru any example plaese.........

ur explanataion will be highly helpful for me..

Regards

Santosh L

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The program node in smartforms does not know the global data or interface data in your form, any of these fields that you want to use in your code you have to define them as Input and Output parameters.

E.g. My form has an interface field ORDER_DATE and a global variable SHIP_DATE, the ship date is four days after the order date and I want to use ABAP to calculate the ship date.

So, my input parameter is ORDER_DATE, my output parameter is SHIP_DATE and my ABAP contains

SHIP_DATE = ORDER_DATE + 4.

Regards,

Nick

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi santosh,

try to go thr' following links that mite help u.

1>http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html

2>http://www.sapgenie.com/abap/smartforms.htm

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

4>http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm

Step by Step creation of Smartforms

5>http://www.sap-basis-abap.com/sapsf001.htm

6>http://www.sap-img.com/smartforms/smart-006.htm

7>http://www.sap-img.com/smartforms/smartform-tutorial.htm

8>http://www.sapbrain.com/TUTORIALS/TECHNICAL/SMARTFORMS_tutorial.html

Cheers,

Deepthee Kasal

Former Member
0 Kudos

Thanks a tone

Regards

Santosh

Former Member
0 Kudos

In smartforms, the node Program lines is nothing but an ABAP editor, where you can write your codings.

The purpose of input and output parameters in program lines is from where you are going to get the input to manipulate and where you are going to store.

For example...

Am writing an select query inside the program lines.

Select matnr mbrsh from mara into table it1 where matnr = it_matnr.

Where it and it1 are internal tables.

For the above select query, input parameter is from internal table IT1 and the fetched data is going to stored in table IT and it is an output parameter.

Reward Points if helpful..

Regards,

Sarathy.

Former Member
0 Kudos

Hi Santosh,

The program lines in the smartform are like the form routines in normal program.you have to specify the Import and export i.e. input and output parameters.

So you will have to write all those parameters which you will need as input and the parameters which are to be changed you can specfy them in output parameters.

Reward points if useful.

Cheers,

Deepthee Kasal.

Former Member
0 Kudos

Hi Deepthi,

sorry for disturbimb u ...

will u pls mail me steps to excute smart forms ..

pls do the needful

my mail id is santoshvl@rediffmail.com

Thanks in advance

Regards'

Santosh

Former Member
0 Kudos