Application Development and Automation 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: 
Read only

Help using BAPI BAPI_INCOMINGINVOICE_GETDETAIL

Former Member
0 Likes
1,494

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
Read only

Former Member
0 Likes
1,173

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
Read only

paul_bakker2
Active Contributor
0 Likes
1,173

Hi,

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

cheers

Paul

Read only

0 Likes
1,173

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

Read only

0 Likes
1,173

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

Read only

0 Likes
1,173

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

Read only

Former Member
0 Likes
1,174

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