on 2023 Feb 22 9:18 PM
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.
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)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
7 | |
6 | |
3 | |
2 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.