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

Qry For EKBE

hi all,

we're having a problem querying table EKBE using belnr, gjahr. It is taking too long. Too long we don't even bother to finish it.

Any help is appreciated.

tnx,

sid

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2007 at 01:11 PM

    Hi,

    You are not consuming full key of EKBE. i.e the problem. It leads performance problem.

    Please use full key in WHERE clause of EKBE, Otherwise define secondary index on belnr, gjahr fields (As if can't consume full key).

    If helps, Plz reward points.

    Regards

    Bhupal Reddy

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 27, 2007 at 01:14 PM

    Hi Sid,

    EKBE has the PO History data. It makes sense to query the table with the PO Number atleast, to find the relevant history documents.

    Regards,

    Ravi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 27, 2007 at 03:43 AM

    Hi SID,

    Please paste the EKBE select query.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 27, 2007 at 01:03 PM

    Hi Sid!

    Table EKBE is for finding follow-on documents for purchase orders. If you have already the follow-on document (e.g. a goods receipt), then the preceding document already exists and is stored on header or item level directly (e.g. MKPF-XBLNR, MSEG-EBELN, MSEG-EBELP).

    -> no EKBE for searching a PO

    Regards,

    Christian

    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.