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

OpenSQL Inline Select

Khan
Participant
0 Kudos
563

Hi Guys,

I have came across a problem for which we have a very simple solution in other SQL languages (like T-SQL, mySQL & pl/sql), but im having difficulty in OpenSQL.

Im trying to achieve an inline select, but getting an error; kindly guide

SELECT A~ebeln
A~BUKRS (Select T~BUTXT from T001 as t where T~BUKRS = A~BUKRS)

FROM EKKO as a

1 REPLY 1
Read only

Sandra_Rossi
Active Contributor
435

OpenSQL is something which translates into many SQL languages, and so if one SQL doesn't support it, OpenSQL also won't support it.

Workaround: use a join.

PS: no need say "Inline SELECT" for any OpenSQL statement. It's just OpenSQL, not inline.