Skip to Content
avatar image
Former Member

Create purchase order with release group and release strategy using   BAPI_PO_CREATE1

I have a question; I'm using the bapi, BAPI_PO_CREATE1, But at the time of creating the purchase order. I create the purchase order without the liberation group or the liberation strategy. I realized this, because when I check the purchase order in the EKKO table The fields of liberation group and liberation strategy appear to me empty. I attached the image.

Thanks in advance.

captura.jpg (30.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Feb 16, 2017 at 08:00 PM

    Unfortunately this cannot be evaluated and solved without knowing details about the setup of the release strategy and what your entered in the PO creation manually and what fields you actually submit in your BAPI

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 16, 2017 at 06:35 PM

    when a user creates a purchase order manually in ME21N, then he does not enter release group and release strategy either, so you do not enter it via BAPI. The strategy is determined automatically. If that did not happen then you probably submitted values which did not match with any strategy.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 16, 2017 at 07:25 PM

    I did the test in transaction ME21N with the same data and fill the fields of release automatically. But when I do it through BAPI, that does not happen.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 16, 2017 at 08:40 PM

    Well this is the part where filled the data of the header and in the following image the data of the positions

    And this is where I pass the information to the BAPI

    thanks Jürgen L

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 16, 2017 at 08:50 PM

    This does not help at all, these are just variables and we do not know the values of each variable., and we do not know any value that needs to match, see the example at the end of my blog https://blogs.sap.com/2015/01/04/purchasing-release-strategy-an-expanded-explanation-and-a-gps-through-scn-and-sap-notes/

    Add comment
    10|10000 characters needed characters exceeded