Skip to Content
avatar image
Former Member

Material Availability check in production order

Hi,

We have a custom transaction to create production order. After creating production order, we have to release it in the same custom transaction. We required the material availability check functionality similar in standard CO01. Please suggest how to get the functionality in the custom.

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Apr 21, 2017 at 01:41 PM

    HI Gopi,

    Custom transaction means generally do some enhancement without disturbing standard functionality , can you provide details what you done.

    Regards,

    Mahesh.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Mahesh,

      We have a custom program which will create production orders using set of BAPI's. Once order is created we release the order. I need to implement the Material Availability check while i release the order.

  • Apr 21, 2017 at 08:54 PM

    Hi Gopinathan,

    There is a BAPI - BAPI_MATERIAL_AVAILABILITY, check this: https://blogs.sap.com/2007/04/26/function-module-bapimaterialavailability/

    Use it in your custom program...

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 24, 2017 at 08:04 AM

    Hi!

    You can also use FM AVAILABILITY_CHECK_CONTROLLER. Put the break-point on it and check, what parameters you need to set in your custom transaction. Keep in mind that the FM can also lock available quantity.

    Hope it's helpful.

    Evgeny

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 24, 2017 at 12:31 PM

    Hi Gopinathan,

    If you only wanted to release the production order at the time of create, it is also possible with the configurations of order type.

    Is there any other reason you opted with custom transaction for creating production order??

    For Material availability check, there is standard BAPI BAPI_MATERIAL_AVAILABILITY which you can use.

    Thanks,

    Dheeraj

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Yes you are right for the material availability check BAPI.

      and for releasing the order, you can use another BAPI 'BAPI_PRODORD_RELEASE'.

      So, is your requirement addressed then as you are clear about the material availability and also of release?