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: 

Is it necessary to use structures in SAPScript ?

Former Member
0 Kudos
205

Hi,

Is it necessary thatn alayout sets all fields to be used in layout set should be passed in a structure.

Can't we use the name of table fields directly ?

Tushar

2 REPLIES 2

Vinod_Chandran
Active Contributor
0 Kudos
57

Yes. You can use all the variables declared in the driver program in the SAPScript. This includes normal variables, structure and table fields etc. For table fields to be visible in SAPScript you have to declare the table using the TABLES command.

Message was edited by: Vinod C

0 Kudos
57

Yes, but when there is a lot of data collected from many differnent tables, I like to build 1 structure and fill that structure with all the data that I need. I just think it is cleaner.

Regards,

Rich Heilman