I have search the internet on how to update custom fields in EKKO thru ABAP.
I am trying to use BAPI_PO_CHANGE with the table Extensionin following a couple examples I found on the internet.
If I don't have any fields marked in the BAPI_TE_MEPOHEADERX line but have the PO number filled in, the 2 fields that I am trying to update aren't changed or deleted. I would expect this.
If I put an X in for 1 of the 2 fields I am trying to update, both fields are cleared out. I tried filling out all fields in the BAPI_TE_MEPOHEADER line, and only filling in the date field. It made no difference. The data consistently disappears.
The first concern I have is there are some numeric fields (data type INT4) in CI_EKKODB even though I am not trying to update them.
The second concern is that I am trying to update the date (data type DATUM) and time (data type UZEIT).
Any ideas of what I should be looking at next, or do I need to use a different method, because there are numeric fields in CI_EKKODB?