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

getting value form a screen field

Former Member
0 Likes
1,146

Hi ,

Requirement is that we need to get the value of the screen filed 'RM06E-GSABW'

The transaction is ME33K.

Select the header details and then select from menu; Header -> Statistics -> General

The screen will display the u201CTarget Valueu201D field.

we need to get the value in to a program from that transaction.

Iam trying FM "'DYNP_VALUES_READ'" .

but how to set the agreemnt number in the initial screen, do we need to cal the transaction before this FM.

Regards,

Anil.

A suggestion can make a differnece.

7 REPLIES 7
Read only

Former Member
0 Likes
1,046

Use:

SET parameter id <PID> for field.
GET parameter id <PID> for field.

or

IMPORT/EXPORT MEMORY ID

Regards,

Gurpreet

Read only

0 Likes
1,046

yes ,

but that field does'nt have PARAMETER ID

it is calculating that value at run time and displaying it.

Read only

0 Likes
1,046

You want to calculate the value at runtime and call TCODE = ME33K

USE:

Pass the Tcode's program name and Values to T_bdc table

CALL TRANSACTION 'ME33K' using T_BDC.

Regards,

Gurpreet

Read only

0 Likes
1,046

Gurupreet after calling the transaction

check my question on the top ,

we need to get the value from the screen which is not haivng parameter id,

that is not the first screen of the transaction.

Read only

0 Likes
1,046

Check the Fields on the screen which table these values are taken from

and use select..There is no direct way to this as you cannot make changes to the Tcodes programs directly.

Or:

Check if you have developer key just use EXPORT/IMPORT MEMORY ID

in the source code of the screen.

Regards,

gurpreet

Read only

I355602
Product and Topic Expert
Product and Topic Expert
0 Likes
1,046

Hi,

Use the concept of IMPORT/EXPORT MEMORY ID

Regards,

Tarun

Read only

Former Member
0 Likes
1,046

Hi,

You cannot simply call the FM to get the value which is filled at runtime & that too in structure.

If you need to get the table name where it is stored & fill it.

Regards,

Kritesh Shah