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

Select Options

0 Likes
1,272

Hello Guys,

Whats the problem with this coding?

I am getting an error because "value" is unkown. I dont understand

DATA: gv_werks TYPE mard-werks. SELECT-OPTIONS: so_werks FOR gv_werks. INITIALIZATION. * Ausschluss Werk 0001 so_werks[] = VALUE #( ( sign = 'E' option = 'EQ' low = '0001' ) ).


thx

4 REPLIES 4
Read only

tom_wan
Product and Topic Expert
Product and Topic Expert
1,189

maybe your system <= netweaver 7.31.

value operator can be used after nw 7.4.

Read only

0 Likes
1,189

okay, yeah maybe thats the case, thx

Read only

matt
Active Contributor
1,189

Most likely.

Read only

Dominik_Tylczynski
SAP Champion
SAP Champion
1,189

Here is you code sniped in proper formatting for better readability:

DATA: gv_werks TYPE mard-werks. 
SELECT-OPTIONS: so_werks FOR gv_werks.
INITIALIZATION. * Ausschluss Werk 0001 
so_werks[] = VALUE #( ( sign = 'E' option = 'EQ' low = '0001' ) ).