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

screen field copy

Former Member
0 Likes
828

Hi,

I want to copy screen field value from one screen to another

SAPLE10R 2015 -


> SAPLXES30 0100

Please let me know how to do this

Present i want print the value in screen: SAPLXES30 0100

Thanks

Hi,

I want to copy screen field value from one screen to another

SAPLE10R 2015 -


> SAPLXES30 0100

Please let me know how to do this

Present i want print the value in screen: SAPLXES30 0100

Thanks

5 REPLIES 5
Read only

former_member191735
Active Contributor
0 Likes
795

Use SET/GET parameter id if it is in the same session

Read only

0 Likes
795

its in different session.

Read only

0 Likes
795

Hi,

I want to pick up value from prog2 screen2 to prog1 screen1

Present I written this code in Prog1 , but I am not getting any value

CALL FUNCTION 'DYNP_VALUES_READ'

EXPORTING

DYNAME = lv_repid

DYNUMB = lv_dynnr

TABLES

DYNPFIELDS = GLOBAL_DYNPFIELDS

EXCEPTIONS

INVALID_ABAPWORKAREA = 1

INVALID_DYNPROFIELD = 2

INVALID_DYNPRONAME = 3

INVALID_DYNPRONUMMER = 4

INVALID_REQUEST = 5

NO_FIELDDESCRIPTION = 6

INVALID_PARAMETER = 7

UNDEFIND_ERROR = 8

DOUBLE_CONVERSION = 9

STEPL_NOT_FOUND = 10

OTHERS = 11

Read only

0 Likes
795

Ho to use this FM: DYNP_VALUES_READ

DATA: GLOBAL_DYNPFIELDS LIKE DYNPREAD OCCURS 0 WITH HEADER LINE.

GLOBAL_DYNPFIELDS-fieldname = 'EDEVICED-ZWGRUPPE'.

APPEND GLOBAL_DYNPFIELDS.

CALL FUNCTION 'DYNP_VALUES_READ'

EXPORTING

DYNAME = lv_repid

DYNUMB = lv_dynnr

TABLES

DYNPFIELDS = GLOBAL_DYNPFIELDS

EXCEPTIONS

INVALID_ABAPWORKAREA = 1

INVALID_DYNPROFIELD = 2

INVALID_DYNPRONAME = 3

INVALID_DYNPRONUMMER = 4

INVALID_REQUEST = 5

NO_FIELDDESCRIPTION = 6

INVALID_PARAMETER = 7

UNDEFIND_ERROR = 8

DOUBLE_CONVERSION = 9

STEPL_NOT_FOUND = 10

OTHERS = 11

.

Read only

0 Likes
795

Use DYNP_VALUES_READ or RS_REFRESH_FROM_SELECTOPTIONS to read the values of the current program.

Export the values to memory and import in the other program.

regards,

Aabhas