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

PASSING INTERNAL TABLE

Former Member
0 Likes
322

I CREATED INTERNAL TABLE ITAB WITH 2 FIELDS EBELN , BUKRS.

I WANT TO USE FUNCTION MODULE .

I CAN PASS EBELN , BUKRS AS EXPORT PARAMETERS .

HOW CAN I PASS ITAB TO FUNCTION MODULE . SHOULD I DECLARE OF TYPE ITAB IN EXPORT PARAMETER LIST IN FUNCTION MODULE .....

I DECLARED JTAB TYPE ITAB IN EXPORT PARAMETER . BUT WHEN I AM WRITING QUERY IN THE SOURCE CODE OF FUNCTION MODULE , IT IS NOT IDENTIFYING JTAB AS THE INTERNAL TABLE .

I WANT TO PROCESS SOME DATA AND EXPORT JTAB BACK TO ABAP PROGRAM .

AM I GOING RIGHT...?

2 REPLIES 2
Read only

Former Member
0 Likes
304

hi Rajesh,

While creating a FM and passing Table to it. u can not use Internal table as type. Instead u need to create a structure in Database and then give the type of table as the Structure type.

Hope this helps u.

<REMOVED BY MODERATOR>

Regards,

Preeti

Edited by: Alvaro Tejada Galindo on Feb 14, 2008 4:37 PM

Read only

Former Member
0 Likes
304

HI

Yes you need to create a coresponding structure and refer to that

there is no way to refer to a internal table