on 01-17-2007 1:41 PM
Hi Floks,
I have a requirement, how to declare internal tables (which are comming from driver program) into global declaration for data getting based on internal table data into where condition.
Thans & Regards,
Hi,
In global definitions->Tables
internaltablename like structurename
provided structure should be ABAP Dictionary.Or create a z structure of that type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi mahesh,
If u want to create a table in global difinatin, u can ceclare as above mentioened by other.. I want to add some info how to create u r own internable type which type not existed in dictionay...
In Global difinataion-->Type declatations... create type as below.
TYPES: BEGIN OF TY_MARM,
MATNR TYPE MATNR,
MEINH TYPE MEINH,
UMREN TYPE UMREN,
UMREZ TYPE UMREZ,
END OF TY_MARM,
TY_MARM_T TYPE STANDARD TABLE OF TY_MARM.
now u have a structure type and table type,
<b>in GLOBAL DATA tab-->
type --IT_MEAN in variable Name, in TYPE > type, in ASSOCIATED TYPE> TY_MARM_T.</b>
Please Close this thread.. when u r problem is solved
Reward if Helpful
Regards
Naresh Reddy K
Hello,
Define a structure in data dictionary with the fields u require.
Use this structure as a refrence to declare internal table in the global declaration.
Try and check out in this way.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You should be having some structure to accept the tables from the print program.
You cannot have something defined to adjust according to your input.
Create a structure with all the fields that you want to pass to the smartforms and assign this structure to a tables variable in your form.
Regards
Subramanian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in the report at top after tables declaration...specify the internal table as...
data: begin of itab occurs 0,
field1 type field,
.....................
end of itab.
now this is global and can be used.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
thats very simple
in global definitions go to global data tab
here
in variable name : give ur internal table name
type assignment: give like(here there is a pop up so select from there)
assosciated type: give the DB table name
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.