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

fm

Former Member
0 Likes
646

hi,

i want to delcare an internale table in function module. i am geting a record in to the table with 1000 char. is there any structer to to delcare.......

thanks,

ankitha

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
615

Hi Ankitha,

Create a Custom table type and use it in Tables Parameter of the Function module, it will work as a table.

Regards,

Satish

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
615

Check the structure:

COM_TLINE

Table type:

COM_TLINE_TAB

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
615

Hi,

You can create custom table type (i.e. ZCHAR1000_T) using SE11 with predefined type (under line type tab) as follows.

- Data Type = CHARS

- No. of Characters = 1000.

Once done, save and activate.

Then you can use in table parameter (FM) with TYPE ZCHAR1000_T.

Regards,

Ferry Lianto

Read only

Former Member
0 Likes
616

Hi Ankitha,

Create a Custom table type and use it in Tables Parameter of the Function module, it will work as a table.

Regards,

Satish