Skip to Content

table EKBE-Sum value of all movements


Hi,

I am developing one report for OPEN PO list.so I am using EKBE table to get all records value qty and comparing with EKPO-MENGE table,.while doing suming all of movements of (101,105,122,103) qty, I need to sum up for each PO with individual material qty,so that I can compare with EKPO-MENGE with each mateial.I donot know how to sum up? I tried with EBELN and MATNR with at statement.But I am NOT getting right correct sum of qty for each mateial with PO.

For this issue,can some throw light on this,please?

with Regards,

Jaheer

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2014 at 11:38 AM

    Hii Jaheer

    r u want to sum on basis of ebeln and matnr?

    if so just add one field text as very first field of your internal table.

    sort your internal table on basis of ebeln matnr

    concatenate ebeln matnr in text.

    sort internal table on text

    and use at end of text statement

    hope it will solve your problem

    Gaurav

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 16, 2014 at 05:01 PM

    Hi Jaheer,

    For identifying the open po you can check the table EKPO field ELIKZ,

    OR

    Create a Internal table containing fields ebeln ebelp matnr movement type qty, use Collect statement.

    Regards,

    Venkat.

    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.