Skip to Content
author's profile photo Former Member
Former Member

VIEW SELECTION CONDITIONS

Hi,

I have one q, plese be so kind to provide me the solution!

I have a VIEW table almost done, i say almost because i can't figure out how to put some conditions that i've previously had in my SELECT statement.

I had a SELECT something like this:

SELECT eketeindt eketmenge eket~wemng

ekpoebeln ekpoebelp... etc

...

FROM eket AS eket INNER JOIN ekpo AS ekpo

ON eketebeln = ekpoebeln AND...etc

...

INTO CORRESPONDING FIELDS OF ... etc

WHERE

ekpo~loekz ne 'L' AND

...

eket~eindt in s_eindt AND...etc(Where s_eindt stands for input parameter on selection screen!

Maja

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Oct 18, 2006 at 12:22 PM

    Hi Maja,

    YOur question is slightly confusing towards the end.

    can you explain it a bit further?

    Regards,

    ravi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      The selection of fields should be as like the selection of fields from table.

      here we should not use the EKET OR EKPO to specify the field selection.

      I mean you can directly specify the fiels which is requied from the crated view.

      Hope i am clear on the issue.

      Regards,

      Satya

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2006 at 12:13 PM

    still nothing... 😔

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 18, 2006 at 12:26 PM

    Fixed parameters can be specified in your view definition, however, parameters that users enter at selection screen of your report should be specified in 'select' command ('where' condition) in ABAP code.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.