Application Development 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: 

tables using like may reference flat structure 

0 Kudos

Hello Friends,

I am just creating one Custom FM. Before that i created structure and wanted to use in FM as output table.

but problem is when i declare output table as created structure using like am getting error like "tables using Like may reference flat structure"

ioutput_tab like zsd_shipment                                ***here ZSD_SHIPMENT is the structure

Note: I declared in Tables tab.

1 REPLY 1

former_member195402
Active Contributor
0 Kudos

Hi.

Create a table type in SE11 with line type ZSD_SHIPMENT and define IOUTPUT_TAB TYPE this table type.

It it is no rfc function module it is better not to use TABLES parameter but EXPORTING parameter for that. TABLES parameters are obsolete without RFC functionality.

Regards,

Klaus