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

BAPI_INCOMINGINVOICE_CREATE - Extensionin

Former Member
0 Likes
2,862

Hi,

We are using BAPI_INCOMINGINVOICE_CREATE to create invoices. We need to update a custom field at the header level which is not present in any of the structures provided in this bapi. How do we use 'extensionin' here? The documentation for this BAPI does not provide much info. It tells to supply the enhancement fields to the table IVTXT. How to acheive this? Is this badi MRM_BAPI_MAPPING of any use?

Thanks...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
2,244

Hi,

you can only use EXTENSIONIN if it is available in the BAPI interface like in BAPI_SALESORDER_CREATEFROMDAT2.

In BAPI_INCOMINGINVOICE_CREATE there is no EXTENSIONIN table available.

My only idea is ta make an APPEND to the HEADERDATA structure BAPI_INCINV_CREATE_HEADER STRUCTURE and enhance the FORM rbkpv_fill_from_headerdata using implicit enhancement options.

Regards,

Klaus

Hi,

We are using BAPI_INCOMINGINVOICE_CREATE to create invoices. We need to update a custom field at the header level which is not present in any of the structures provided in this bapi. How do we use 'extensionin' here? The documentation for this BAPI does not provide much info. It tells to supply the enhancement fields to the table IVTXT. How to acheive this? Is this badi MRM_BAPI_MAPPING of any use?

Thanks...

2 REPLIES 2
Read only

Former Member
0 Likes
2,245

Hi,

you can only use EXTENSIONIN if it is available in the BAPI interface like in BAPI_SALESORDER_CREATEFROMDAT2.

In BAPI_INCOMINGINVOICE_CREATE there is no EXTENSIONIN table available.

My only idea is ta make an APPEND to the HEADERDATA structure BAPI_INCINV_CREATE_HEADER STRUCTURE and enhance the FORM rbkpv_fill_from_headerdata using implicit enhancement options.

Regards,

Klaus

Read only

0 Likes
2,244

Hi Klaus,

I can see extensionin structure provided in this BAPI. Documentation says to use IVTXT table for using exensionin. Any chance of using this? Else will check out the option of adding an append structure to the header.

Thanks,

Anagha