on 04-12-2007 9:46 AM
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...
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.