Skip to Content
author's profile photo Former Member
Former Member

DB & BAPI Corresponding Fields

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Nov 25, 2007 at 01: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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 25, 2007 at 01: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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.