09-21-2008 6:18 PM
how to get vendor and company code based on logistic invoice document in abap/4?
09-22-2008 7:16 AM
Hi,
Plz try like this...
select LIFNR BUKRS into table <internal table> from RSEG where belnr = <lv_belnr> and gjahr = <lv_gjahr>.
Hope it will helps
09-21-2008 7:27 PM
Hello Kumar
When you call BAPI_INCOMINGINVOICE_GETDETAIL using
INVOICENUMBER = <number of invoice>
FISCALYEAR = <fiscal year>
the returned HEADERDATA contains what you are looking for:
HEADERDATA-COMP_CODE
HEADERDATA-DIFF_INF
Regards
Uwe
09-22-2008 6:55 AM
Hi Uwe,
Thanks for response. But I want select statement for this query and what are the tables used for this select statement?
Thanks & regards,
kumarraju.
09-22-2008 6:57 AM
09-22-2008 7:03 AM
09-22-2008 7:16 AM
Hi,
Plz try like this...
select LIFNR BUKRS into table <internal table> from RSEG where belnr = <lv_belnr> and gjahr = <lv_gjahr>.
Hope it will helps
09-22-2008 7:17 AM