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

Function module for invoice data??

Former Member
0 Likes
727

HI all,

In my program i have the invoice number.

Is there any <b>function module</b> to fetch the invoice data using the invoice number(EBELN).

Regards,

Kishore.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
661

Try this

BAPI_INCOMINGINVOICE_GETDETAIL

Regards,

Ravi

Note - Please mark all the helpful answers

4 REPLIES 4
Read only

Former Member
0 Likes
662

Try this

BAPI_INCOMINGINVOICE_GETDETAIL

Regards,

Ravi

Note - Please mark all the helpful answers

Read only

Former Member
0 Likes
661

HI Reddy,

*----- call BAPI GetDetail -------------------------------------------*
  call function 'BAPI_INCOMINGINVOICE_GETDETAIL'
       exporting
            invoicedocnumber    = invoicedocnumber
            fiscalyear          = fiscalyear
       importing
            headerdata          = headerdata
            addressdata         = addressdata
       tables
            itemdata            = t_itemdata
            accountingdata      = accountingdata
            taxdata             = taxdata
            withtaxdata         = withtaxdata
            vendoritemsplitdata = vendoritemsplitdata
            return              = return[].

Regards,

Santosh

Read only

0 Likes
661

hi santosh,

I dont have phiscal year parameter value what should i do.

Kishore.

Read only

0 Likes
661

You can try using FM: GM_GET_FISCAL_YEAR with date to retreive the fiscal year.

Kind Regards

Eswar