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

Regarding methods

Former Member
0 Likes
491

Hi all,

My requirement is I an entering data into 3 text fields. And when i am performing action(Clicking a button) I want to display the text which i have entered in the three text box into next screen Container. So how can i display that.One of my friend suggested me to use Set_text_as_r3table and Get_text_as_r3table to store the data and retreive the date from the Database table.And try. But i am not getting the class in which i can find this methods. Can any one help me out in solving this problem. Or if any other method is plz suggest me .

Thanx in Advance,

Murthy

1 ACCEPTED SOLUTION
Read only

dani_mn
Active Contributor
0 Likes
468

HI,

you can use 'EXPORT' and 'IMPORT' to get your work done.

in first screen 'EXPORT' the fields to abap memory and in second screen PBO 'IMPORT' fields to get value and display them in screen.

<b>IN first screen PAI do this.</b>

data: text_field(50).

EXPORT text_field TO MEMORY ID 'MID'.

<b>IN second screen PBO do this.</b>

data: text_field(50).

IMPORT text_field FROM MEMORY ID 'MID'.

Regards,

2 REPLIES 2
Read only

dani_mn
Active Contributor
0 Likes
469

HI,

you can use 'EXPORT' and 'IMPORT' to get your work done.

in first screen 'EXPORT' the fields to abap memory and in second screen PBO 'IMPORT' fields to get value and display them in screen.

<b>IN first screen PAI do this.</b>

data: text_field(50).

EXPORT text_field TO MEMORY ID 'MID'.

<b>IN second screen PBO do this.</b>

data: text_field(50).

IMPORT text_field FROM MEMORY ID 'MID'.

Regards,

Read only

Former Member
0 Likes
468

hi ,

instead of using set_text and get_text .

we can use import and export statements.

use EXPORT statements in order to store the values of text fields using an 'id'

and use import statement to retrive using the same id.

EXPORT <fname> to memory id.

import <fnam> from memory id.