‎2007 Nov 25 12:44 PM
hello,
im trying to find a function or a way to get the corresponding EKKO / EKPO fields for the PO_ITEM AND PO_HEADER parameters in the BAPI_PO_CHANGE bapi.
i need to get a list or something of the matching database field names that correspond to the fields in the PO_ITEM & PO_HEADER structures.
i tried a search CONVERTBAPI in function modules and i have found many similiar functions that look as if they were automatically generated or something.
is there any way to do this?
thanks in advance, UDI.
‎2007 Nov 25 1:04 PM
Fetch the Data from the table EKKO and EKPO into corresponding fields of structure MEPOHEADER and MEPOITEM.
Then use the Function Modules MAP2E_HEADER_TO_BAPIHEADER and MAP2E_ITEM_TO_BAPIITEM.
Thanks & Regards,
Abhishek
‎2007 Nov 25 1:04 PM
Fetch the Data from the table EKKO and EKPO into corresponding fields of structure MEPOHEADER and MEPOITEM.
Then use the Function Modules MAP2E_HEADER_TO_BAPIHEADER and MAP2E_ITEM_TO_BAPIITEM.
Thanks & Regards,
Abhishek
‎2007 Nov 25 1:36 PM
this seems quite helpful but i need the corresponding field names in a table or something, i dont need to put the corresponding data from the BAPI into the DB.
what i need is the correspondign field names because i need to check if the field in the bapi has an entry in DB for the current item, and if so, to mark it the ITEM_X structure.
‎2007 Nov 25 1:39 PM
never mind , i think ill check if the returned field is null.
thanks very much.