on 09-11-2007 12:42 PM
Hi!
I know there are lots of similar topics on these forums, however non of them can help me.Here is what I have
In Global Definitions->Types
types:begin of t_absence,
begda type begda,
endda type endda,
awart type awart,
lgart type lgart,
abznr type abznr,
stdaz type stdaz,
KLBEW type PC20I-KLBEW,
betrg type betrg,
END OF t_absence.
In GlobalDefinitions->Global Data
it_absence type table of t_absence with key begda endda with header line.
Later in Smarform 'Code' I put some rows in it_absence and then try to read some.
The error I get is '"IT_ABSENCE" is neither specified under "TABLES" nor is it defined as an internal table"
I fill it_absence in smartform and want to read it form here.
If I wanted to provide it as arg for TABLES I would have create a driver progra, wouldn't I? Unfortunately as I call FM Name for this smartform I have to provide some arguments which I dont know where to take from (originaly it was developed by someone else).
How can I manage with this?
hi,
all parameters that are passed by fm to smart forms should be declared in smart forms.
declare the internal table in tables section of smart form under global declarations and save it. otherwise u ll get error.
reward all useful points.
with regards,
Suresh Aluri.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You might have not declared that internal table " "IT_ABSENCE" in the output parameters of the Code block.. Try putting that. It will work....
Please reward points if it helps.
Cheers
Phani
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
when u r using internal table in code...at that time u have to include that internal table in INPUT and OUTPUT parameters of the code....
ok
Reward points if helpful...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Have you passed it as either input parameter or output parameter in the program lines area.
Please check it
regards
Shiva
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
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.