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 another screen values?

Former Member
0 Likes
832

Hello All?

Is it possible to get a different screen field value from the current screen by using DYNP_VALUES_READ?

How?

Or How can we read?

the scenario is ME21N...

Regards,

Lijo John.

4 REPLIES 4
Read only

Former Member
0 Likes
724

Hi,

You cannot read the other screen field values using the FM DYNP_VALUES_READ.

Check the fields decalared on the other screen are globally declared or not. If they are globally declared than you can use them.

Or chek those values are passed to any other global fields

else there is no other go.

Read only

0 Likes
724

Hi Avinash,

Thank you very much for your reply.

Since I am trying to access the field value from one search help exit, I am not able to access the global structures.

Can I try Field Exit(Where I can export ther value) in this case?

Then whether I can import the memory in my search help exit?

Please suggest me

Thanks in Advance.

Lijo

Read only

0 Likes
724

yes u can...

in your field exit fm use statement

export var to memory id 'ABC'.

then in your search help exit use

import var from memory id 'ABC'.

Read only

Former Member
0 Likes
724

Hi ,

I do not think the FM DYNP_VALUES_READ will work in this scenerio.

So you can use the Get parameter id 'XYZ' field w_field. to get the fields value from the

SAP memory.

DATA : w_ebeln TYPE ebeln.
GET PARAMETER ID 'BES' FIELD w_ebeln.
WRITE : w_ebeln.  " Purchasing Document Number 

regards

Pinaki