Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

defined table in function module

Former Member
0 Likes
349

i wont to define a table with fields objid in import tab how can i do that? thankes

2 REPLIES 2
Read only

Former Member
0 Likes
326

is there a specific need to define the same in import tab?

Best way is to define it in tables tab.

Or give parameter name Z_MARA, type LIKE, and associated type MARA. in this way u can do it.

Read only

Former Member
0 Likes
326

hi,

data:

begin of itab occurs 0 with headerline,

objid type hrobjid

end of itab.

you can include other fields like otype, istat etc..if you require..

hope this helps.

Sajan.

Addition: you can use the following type also..

data lv_object type hrobjid

..and use as import parameter (if table is not the requirement)

Message was edited by: Sajan Joseph