Skip to Content

BAPI_PO_CREATE1 - It did not change The PO Number In the EBAN TABLE.

Hi!

We have an abap program that gets a PO created with 5 items and it deletes the items using "BAPI_PO_CHANGE".

After it creates a new PO with the same "Purchase Requisition" by "BAPI_PO_CREATE1".

However one of the items does not update the PO number in "Purchase Requisition".

Does anyone know what might have happened?

Thanks!

eban.jpg (33.1 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jan 30 at 09:39 PM

    the standard only relies on table EKET field BANFN. Is this entry correctly updated?

    JNN

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 30 at 09:21 PM

    Hi Clayton
    Its not clear whats happening

    Do you mean a different PO number is created from the same PR and for the problematic line item a new PO is created and updated to the PR?

    It looks like that from your screenshot isnt that correct behaviour?

    Can you check whats different in that PO line item as compared to the others and possibly debug the BAPI ?

    Regards

    Vinita

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Vinita!

      The process:

      1 - The "BAPI_PO_CREATE1" receive data from "PI" and it is created a temporary PO "2100002392".

      2 - The ABAP execute to delete the PO "2100002392" and after by The "BAPI_PO_CREATE1" it is created another PO "4500458810" .

      This process has been used for 1 year and it has not had this error.

      I debuged in QA but it has not had problem.

      Thank you.

  • Jan 31 at 12:26 PM

    Please read OSS note 2503955 - When and how EBAN-EBELN updated

    Add comment
    10|10000 characters needed characters exceeded