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

Help me please

Hi Friends,

Can any one tell me how to write a function module to display the material left after substracting order quantity from the total quantity.

ie material available = Total matrl qty - order quantity.

waiting for ur reply.

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 11:42 AM

    Use BAPI_MATERIAL_AVAILABILITY

    Matthias

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Aug 03, 2006 at 11:43 AM

    in se37, CREATE a function module

    in import

    give

    Material no

    total qty

    order qty

    and export

    give available_qty

    in the source code,

    write the below code

    AVAILABLE_QTY = TOTAL_QTY - ORDER_QTY.

    ENDFUNCTION.

    regards

    srikanth

    Add comment
    10|10000 characters needed characters exceeded