Skip to Content

join on LIPS and EKPO for open items

Hi All,

I need to fetch the Vendor,Delivery,Delivery Line Item, Identification, Material,Reference Doc no(PO #), Ref Item(PO Line no), Receiving Plant (Shipping notification), Bill of Lading (Shipping notification Header) from tables LIPS and EKPO where in I have to display the Open items from EKPO.

How to join LIPS and EKPO tables as the length of LIPS-POSNR and EKPO-EBELP are different. Is there any other way to fetch the data?

Awaiting your replies.

Thanks,

Haritha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Nov 25, 2014 at 09:23 AM


    Hi

    Use LIPS-POSNV (Originating item) = EKPO-EBELP.

    Thanks

    Raju C D

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 17, 2020 at 04:32 PM

    after seeing this answer for years I am pleased to announce there now finally seems to be a fix for this in 7.50

    inner join lips on lips~vgbel = ekko~ebeln and substring( lips~vgpos, 2, 5 ) = ekpo~ebelp

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2014 at 09:43 AM


    Hi Haritha,

    Declare a variable 'X' of char type of length 10.

    Then use MOVE statemnt:

    MOVE 'POSNR' into X(Character Field).

    Regards,

    dipti.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 25, 2014 at 10:37 AM

    Have a look at pages 23 and 25 of this relations table (one of my favourites), I think this is what you are looking for:

    http://ddd.uab.cat/pub/trerecpro/2007/hdl_2072_5419/PFCLopezRuizAnnex3.pdf

    The other recommendation I have is to download ztablescope, which, if I remember correctly is available somewhere here on scn. This really helped me to find table links.

    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.