cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_PO_CHANGE: "No data record available in POACCOUNT; unable to copy from EXTENSIONIN" error

0 Kudos
798

We're getting an error in a custom program after we call function 'BAPI_PO_CHANGE'. The return table has the error message 'No data record available in POACCOUNT; unable to copy from EXTENSIONIN'. I'm not sure how to fix this issue?

I've debugged into BAPI_PO_CHANGE and found that the error message is getting generated in post_processing by my_handler->get_list_for_bapi( ).

I'm not sure how to fix this though. POACCOUNT is not empty (it has two rows of data) so I'm not understanding why its saying no data records available. We're only getting this error on a few purchase orders so it isn't happening all the time.

Accepted Solutions (0)

Answers (2)

Answers (2)

raymond_giuseppi
Active Contributor
0 Kudos

Check in EXTENSIONIN for MEPOACCOUNTING relevant data, did you pass the correct key fields, so the specific data can be mapped to the corresponding accounting record (EBELP + DZEKKN)

Neeraj_Jain
Active Contributor
0 Kudos

Hello abap_1920932,

It seems PO have deletion/ locked and completion indicator. If any of one indicator marked in PO then you can't change anything. Please check.

Regards,

Neeraj Jain