Skip to Content
0

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

Jan 30 at 06:13 PM

85

avatar image

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

3 Answers

Jacques Nomssi Jan 30 at 09:39 PM
1

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

JNN

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Hi!

Yes.

Thank you!

eket.jpg (74.6 kB)
0
Vinita Kasliwal Jan 30 at 09:21 PM
0

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

Show 1 Share
10 |10000 characters needed characters left 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.

0
Jürgen L
Jan 31 at 12:26 PM
0

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

Show 3 Share
10 |10000 characters needed characters left characters exceeded

Hi!

Thank you for your help but this problem it was created by BAPI and it is working for 99% the POs.

Do you know a program to fix the PO number '2100002392' in the purchase requisition ?

Thank you!

0

No - you may have to contact SAP Support

0

Ok.

Thank you!

0