Skip to Content
0

Create purchase order with release group and release strategy using   BAPI_PO_CREATE1

Feb 16, 2017 at 06:04 PM

97

avatar image

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)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

5 Answers

Jürgen L
Feb 16, 2017 at 08:00 PM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Jürgen L
Feb 16, 2017 at 06:35 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
wilder valera malpartida Feb 16, 2017 at 07:25 PM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
wilder valera malpartida Feb 16, 2017 at 08:40 PM
0

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


captura.jpg (59.6 kB)
captura.jpg (59.6 kB)
captura.jpg (76.9 kB)
captura.jpg (36.6 kB)
Share
10 |10000 characters needed characters left characters exceeded
Jürgen L
Feb 16, 2017 at 08:50 PM
0

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/

Share
10 |10000 characters needed characters left characters exceeded