on 06-03-2008 10:06 AM
Hi all,
Where can we declare a table which we can use in entire smartform?
Sachin.
Option 1
- In Global definitions, tab Global data fill a line with table name, type, table of ref_type. You can use a dictionary or included type or declare it in tab Types.
Option 2
- You can also define the table as a parameter in Form interface, tab Tables. You must then fill it in your driver program and pass it to the called function module.
If the table is a parameter - use option 2 and call the SF FM with this table parameter. If the table is filled in the SF, use option 1 and fill the table in the INITIALIZATION form of the SF. ([SAP Smart Forms (BC-SRV-SCR)|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf])
Regards
Edited by: Raymond Giuseppi on Jun 3, 2008 11:27 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi there
to use the internal table in the entire smartform...u can declare it either in ur print program or if u want the code to be in the samrtform itself..then
Initialization tab is used for the same...
all the data declarations are done inside the initialization tab.
rewrd if helpful
regrds
niharika
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sachin,
U need to Declare in Global Definitions
Create the structure in Types Tab and then data declaration can be given in Global data Tab
Best regards,
raam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Error analysis
An exception occurred. This exception is dealt with in more detail below
. The exception, which is assigned to the class 'CX_SY_DYN_CALL_PARAM_MISSING',
was neither
caught nor passed along using a RAISING clause, in the procedure "PROCESSING"
"(FORM)"
.
Since the caller of the procedure could not have expected this exception
to occur, the running program was terminated.
The reason for the exception is:
When calling the function module "/1BCDWB/SF00000007", one of the parameters
needed according to the interface description was not specified.
This parameter was "IT_LINES".
IT_LINES i have defined on FOR INTERFACE TABLES....part
This i am getting.....
SAchin.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.