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

Exporting data from one function group to another

Former Member
0 Likes
313

Dear all,

can you pls provide the solution for the below.

in my requirement two function groups are there. one is standard function group & other is user specific function grp.

in the standard FGRP i have one SAP standard screen xxx, & one user created screen yyy. from xxx screen call goes to the yyy screen. then from yyy call goes to the screen zzz which is in user specific FGRP.

how to export the data (i.e from structure) from screen yyy which is in one FGRP to screen zzz which is in some other FGRP.

Regards

Venkat

1 REPLY 1
Read only

Former Member
0 Likes
271

Venkata,

The receiving FM should have a parameter under TABLES for your structure. You have to put the structure data in an internal table, and then read table ... index 1 to retrieve it both in the FM, and in the calling program. Upon return to the calling program you wil again need to read table ... index 1 to retreive it and restore it to the structure you process in your calling program.