Application Development 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: 

eCATT- : Issue with GETGUI

Former Member
0 Kudos
159

Hi All,

As per the requirement I need to GETGUI below given data which is in the single large size textbox and then need to
validate it using CHEVAR.

BKPF-BLART <> 'UE' AND

BKPF-BLART <> 'UN' AND

BKPF-BLART <> 'SB' AND

BKPF-BLART <> 'SK' AND

BKPF-BLART <> 'DA' AND

BKPF-BLART <> 'DB' AND

BKPF-XREF2_HD = '' '

I am able to do GETGUI successfully, complete data is getting displayed in the expected value section of command interface in structure
editor.

But while executing when I am trying to pass captured data (from screen) to local variable, Local variable is containing value ‘STR-DATA-01’, hence I am not able to validate the real data at all. Here real data exist inside ‘STR-DATA-01’ .

is there any way to access data from ‘STR-DATA-01’??

Or anyone could tell me how above mentioned issue can be resolved?

Screen shot has been attached to get the clear understanding of the issue.

Thanx & Regard,

Ashish

1 REPLY 1

marcin_cholewczuk
Active Contributor
0 Kudos
104

Hi,

I havn't done anything in ECATT for quite a long time, but I remember that it was possible to use ABAP Code. You could something like this:

DATA: lv_var_name TYPE  string,
       lv_var      TYPE string.

FIELD-SYMBOLS: <lv_temp> TYPE ANY.

lv_var_name = 'lv_var'.
lv_var = 'value'.
ASSIGN (lv_var_name) TO <lv_temp>.
WRITE <lv_temp>.


Best Regards

Marcin Cholewczuk