cancel
Showing results for 
Search instead for 
Did you mean: 

about import/export parameters of smart forms.

former_member181995
Active Contributor
0 Kudos

hi all..

am new in abap.

and working on smart forms newly.

i prefer to teach from predefined smartforms..

but they r also so cofusion there because in that smart forms interface import/export parameters but

a perticuler variable which is defined in import parameter it shud be defined in driver program as export

prameter.and a variable is defined in export paramer in smart form it shud be in import parameter in driver

program.but there is some variable which decleared as import parameter in smart form but it perticuler variable

is not exported by driver program.and some times if it declears as export parameter in sm. forms it shud be collect

in program as the theory says.

but here some times its not collected enywhere even perticular variable exported or imported.

so is it essential to collect the varrilbe either in smart form or driver program.

plz guide me..asap...

thanks in advance...

Accepted Solutions (1)

Accepted Solutions (1)

former_member181962
Active Contributor
0 Kudos

Hi Amit,

IN General, very rarely we have export values from the smartform interface.

Common sense suggests that the driver should send the data and the smartform should recieve the data. If everything is successful, we wil have the sy-subrc set to zero. There is no data that needs to be passed back to the driver.

Case1)

Assuming that there is an importing parameter in the smartform interface and it is not supplied by the driver program. then one of the following will happen.

1) A Short dump if it is a mandatory parameter(Compulsory).

2)A blank space wil come in the smartform putput where the value(had it been there) should have been printed.

Feel free to get back with any other questions if not satisfied.

Regards,

Ravi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

To give you brief idea:

Form Attributes : You wil see the form attributes

Form Interface : The parameters you are passing from your driver program and some the output structures for SM like output options, senders information, reciever's information etc..

Global Data : You will define your own variable, Structures, Tables etc... in TYPES tab you will define the type for the table or for structures which you are newly declaring .. Same with the form routines you will write your own form routines if any needed(PERFORM routines)

Hope this will give you much better and simpler understaing.

Assing reward points if it helps.

-Gaurang