cancel
Showing results for 
Search instead for 
Did you mean: 

Create purchase order with release group and release strategy using   BAPI_PO_CREATE1

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (5)

Answers (5)

JL23
Active Contributor

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

JL23
Active Contributor
0 Kudos

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-throu...

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

JL23
Active Contributor
0 Kudos

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.