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

How to replicate parentheses using a view?

Former Member
0 Likes
361

Hi,

I want to create a view, but I have some problem to replicate some concept that normally I use within SQL here in a R/3 system.

I have created this view inside SE11:

CABN ATNAM LIKE '%_MOD' OR

CABN ATNAM LIKE 'SC4%_102' AND

CABN ATNAM NOT LIKE '%_MOD'

The problem is that I can't use the parentheses inside the transaction

Using the parentheses, I have to create something like this:

CABN ATNAM LIKE '%_MOD' OR

(CABN ATNAM LIKE 'SC4%_102' AND

CABN ATNAM NOT LIKE '%_MOD')

Any idea to solve this problem?

Thank you a lot

1 REPLY 1
Read only

Former Member
0 Likes
330

Hi.

CABN ATNAM LIKE '%_MOD' OR  " 1
CABN ATNAM LIKE 'SC4%_102' AND  CABN ATNAM NOT LIKE '%_MOD'  " 2

Create one view with first condition and then use created view in another

view with second conditions.