Skip to Content
avatar image
-1
Former Member

Create PO from RFQ using BAPI_PO_CREATE1 --> Condition problem

Hi,

I'm currently trying to create a PO from RFQ using

BAPI_PO_CREATE1.

It creates a valid PO, but without any conditions in header and at the item level.

When I create the PO using ME21N, it automatically generates PB00 and PBXX entries at the header level and a PB00 at the item level.

Do I have to code the conditions manually in the BAPI call? Or is it supposed to be generated automatically?

What am I doing wrong?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Aug 25, 2017 at 06:41 PM

    As a start, check the BAPI-Documentation as there is mention of filling in the Condition and / or Price tables ...

    Please check some of the valuable input in SAP-KBA's and info within the SAP-Community on this as there are a lot of resources.

    I feel SAP-KBA 580225 can be useful, as it provides additional Samples and Explanation ...

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Aug 28, 2017 at 03:05 PM

    Thanks.

    Putting an 'A' in POITEM-CALCTYPE added the 'PBXX' automatically, thanks.

    I will explore all the possibilities of this field!

    Add comment
    10|10000 characters needed characters exceeded