Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Help using BAPI BAPI_INCOMINGINVOICE_GETDETAIL

Former Member
0 Kudos
515

Dear all,

I need some help in order to get specific fields from MIRA using BAPI BAPI_INCOMINGINVOICE_GETDETAIL.

4 fields have been added in tab G/L Account.

I could find standard informations in working area GLACCOUNTDATA. But nothing for specifics fields....

Thanks for your help.

David

1 ACCEPTED SOLUTION

Former Member
0 Kudos
194

Hi,

I found any BAPI extension (structure) in order to use EXTENSIONOUT.

I used CO substitution rules but it is not very clean (Transaction OKC9).

David

5 REPLIES 5

paul_bakker2
Active Contributor
0 Kudos
194

Hi,

These 4 fields, are they custom fields? You added them yourself?

cheers

Paul

0 Kudos
194

Hi,

these fields are customer fields.

I found a function module MRM_INVOICE* using a structure COBL_MRM in which these 4 fields are but I am not able to use this structure with BAPI BAPI_INCOMINGINVOICE_GETDETAIL.

David

0 Kudos
194

Dave,

Does your BAPI have EXTENSION* tables in the interface? That's how custom fields are normally handled (after a bit of effort on the developer's part).

Sorry, I don't have a SAP session open at the moment.

cheers

Paul

0 Kudos
194

Yes,

There is a table parameter:

- EXTENSIONOUT LIKE BAPIPAREX.

But this return nothing then I hope that there is a way to get customer fields in. I don't know if we have to activate some particular objects for.

David

Former Member
0 Kudos
195

Hi,

I found any BAPI extension (structure) in order to use EXTENSIONOUT.

I used CO substitution rules but it is not very clean (Transaction OKC9).

David