‎2008 Feb 14 5:57 AM
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...?
‎2008 Feb 14 6:13 AM
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
‎2008 Feb 14 6:17 AM
HI
Yes you need to create a coresponding structure and refer to that
there is no way to refer to a internal table