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: 

Declare internal table in smart form to pass data from driver program

Former Member
0 Kudos

Hi,

I have an internal table in driver se 38 program for smart form

The internal contains fields from 5 tables

I have retrieve the data from database and passed it to internal table

Now i have to pass the internal table data to smart form in order to print

My question is how do i declare the internal table in form interface

I know we have to create a structure with same field that i want to display and using that i have to declare an internal table under TABLES tab in global Definitions

I was thinking whether we could declare the internal table in form interface and pass data from se38 program to smartform with out creating the structure

Let me know whether its possible to declare the internal table without creating structure in se 11

And also whats the purpose of import and export tabs in form interface

Thanks

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi DAVID

This is impossible to do without structure in SAP.This condition is required.

Regards

Wiboon

2 REPLIES 2

Former Member
0 Kudos

Hi DAVID

This is impossible to do without structure in SAP.This condition is required.

Regards

Wiboon

former_member196280
Active Contributor
0 Kudos

I think it is not possible to pass internal table to your smartform without creating a structure, to overcome this kind of sitiation, SAP has provided program lines in Smartform, where you can retrive your data from any D/B table insetad of passing from your driver program..

Main use of import export tab is to pass single variables..for better understanding it is similar to function module import and export.

Regards,

SaiRam