on 08-10-2010 10:01 AM
Hi experts,
I'm facing this problem and really hope you'll be able to help me !
I'm trying to add an internal table to my smartform interface in order to import datas from the calling program.
The structure of this table is defined in the calling program and not in the DDIC so SAP don't accept the type.
I tried to declare the type of my table under "Global Definition=>Types" :
types : begin of ty_cmde ,
bstnk like vbak-vbeln,
poids like lips-brgew,
unite like lips-gewei,
end of ty_cmde.
...but it is still incorrect. Do i have to declare my Type in the DDIC ?
Regards,
--Yohann
Edited by: Yohann Camp on Aug 10, 2010 11:01 AM
Hi!
Well... Yes. You have to create it in DDIC.
Regards
Tamá
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok , so for all the internal tables I want to import in my smartform, I have to create a corresponding structure in the DDIC...
Thank you two for your answers !
Regards,
--Yohann.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi..
Please create a structure similar to the one used in the calling program. Now using this structure create a table type.
Use this table type to declare the internal table in the FORM INTERFACE-> TABLES. You can use the structure to declare the work area for this internal table in Global Definitions.
Additionally, it would be better to use the same table type and structure to declare your internal table and work area in your calling program as well in order to avoid any kind of inconsistency.
Regards,
Karthik
Edited by: Karthik S on Aug 10, 2010 2:48 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
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.