Vendor Invoice Bapi
BAPI for vendor invoice posting
Moderator message : Read forum rules before posting. Thread locked.
Edited by: Vinod Kumar on Jul 28, 2011 5:35 PM
hi sanjeev/srimanta,
Thanks for your responses.
I am following your inputs and will update you soon.
regards,
chetan
Similar Messages
-
Hi Experts
I am developing a BAPI to post the Vendor Invoice, I am not clear the parameters to be passed. Anyhow i have filled some parameters and am getting the following error, Can anyone suggest me about the error.
Error :
Enter a reference to a valid goods receipt (line 000010)
Coding :
data:it_head like bapi_incinv_create_header,
it_item like bapi_incinv_create_item occurs 0 with header line,
it_acct like bapi_incinv_create_account occurs 0 with header line,
it_gl like bapi_incinv_create_gl_account occurs 0 with header line,
it_mat like bapi_incinv_create_material occurs 0 with header line,
it_ven like bapi_incinv_create_vendorsplit occurs 0 with header line,
it_ret like bapiret2 occurs 0 with header line.
data: inv_doc like bapi_incinv_fld-inv_doc_no,
fisc_yr like bapi_incinv_fld-fisc_year.
data: zinvdoc(50) type c, zfiscyr(30) type c.
clear it_head.
move 'x' to it_head-invoice_ind.
move '1000' to it_head-comp_code.
move sy-datum to it_head-doc_date .
move sy-datum to it_head-pstng_date .
move '27-61725' to it_head-ref_doc_no .
move '200' to it_head-gross_amount .
move 'inr' to it_head-currency .
move '27-61725' to it_head-item_text .
move '1WEAVIN20' to it_head-diff_inv .
move 're' to it_head-doc_type .
move sy-datum to it_head-bline_date.
move '2' to it_head-pmtmthsupl.
move 'a' to it_head-pmnt_block.
move 'z' to it_head-pymt_meth.
move '0001' to it_head-pmnttrms.
clear it_item.
it_item-ref_doc = '123'.
it_item-REF_DOC_YEAR = '2008'.
it_item-REF_DOC_IT = '10'.
it_item-po_number = '4511007408'.
it_item-po_item = '10'.
it_item-invoice_doc_item = '00010'. " ( i don't know what this is for so i gave this no.)
it_item-item_amount
it_item-po_unit
it_item-freight_ve
append it_item.
break pp01.
call function 'BAPI_INCOMINGINVOICE_CREATE'
exporting
headerdata = it_head
addressdata
importing
invoicedocnumber = inv_doc
fiscalyear = fisc_yr
tables
itemdata = it_item
accountingdata
glaccountdata
materialdata
taxdata
withtaxdata
vendoritemsplitdata
return = it_ret.
Thanks in advance.
Regards
RajaramHi,
You have to fill the header and item check out 1,2 point in your code...
Fill in the item details
CNT = CNT + 1.
1. ITEMDATA-INVOICE_DOC_ITEM = CNT.
ITEMDATA-PO_NUMBER = WA_EKPO-EBELN.
ITEMDATA-PO_ITEM = WA_EKPO-EBELP.
ITEMDATA-TAX_CODE = <XX>.
ITEMDATA-ITEM_AMOUNT = WA_EKPO-NETWR.
ITEMDATA-QUANTITY = WA_EKPO-MENGE.
ITEMDATA-PO_UNIT = WA_EKPO-MEINS.
APPEND ITEMDATA.
CLEAR ITEMDATA.
Header Info
2. HEADERDATA-INVOICE_IND = 'X'.
HEADERDATA-DOC_DATE = EKKO-BEDAT.
HEADERDATA-BLINE_DATE = EKKO-BEDAT.
HEADERDATA-PSTNG_DATE = SY-DATUM.
HEADERDATA-COMP_CODE = EKKO-BUKRS.
HEADERDATA-CURRENCY = EKKO-WAERS.
HEADERDATA-GROSS_AMOUNT
HEADERDATA-CALC_TAX_IND = ' '.
HEADERDATA-PMNTTRMS = EKKO-ZTERM.
Regadrs,
Prabhu Rajesh -
Problem in vendor invoice creation through BAPI
I am trying to create vendor invoice using bapi_acc_document_post but what value have be passed to obj_key and obj_typ fields of header is not clear to me.
regards,
anuHi,
Don't pass any values to OBJ_TYPE,OBJ_KEY. Many threads are available in SDN regarding this BAPI.
Search SDN to get more details.
Regards
Vinod -
BAPI required for incoming vendor invoice (without PO)
Hi,
Which BAPI can be used to post a "vendor invoice" ie.like a utility bill where there is no PO or GR ?
The few BAPI's that I have searched and obtained is:
1. BAPI_INCOMINGINVOICE_CREATE
2. BAPI_ACC_INVOICE_RECEIPT_POST
Our exact requirement is to have a BAPI which can take the following fields as input:
GL Account
Cost Center
WBS element
Material No
Customer
Tax Code
Trade Partner
Customer group
And give the following data as response
Verification number in SAP
Payment status
Vendor master data
Kindly help me to find the correct BAPI.
Greatly appreciate your help.
Thanks,
JohnHi,
When we use BAPI_ACC_INVOICE_RECEIPT_POST for posting an invoice without a PO, we are facing major issues.
We have to input vendor account number and the amount. This should be entered in 'ACCOUNTPAYABLE'.
Even though there is the field 'VENDOR_NO' for entering the vendor number, there is no field for entering the amount !!.
Kindly help me to identify where I should input vendor amount as input (either in 'ACCOUNTPAYABLE' or elsewhere).
Also, I am entering GL account number in field 'GL_ACCOUNT' in the segment 'ACCOUNTGL'. But there is not field to enter the amount.
Kindly help me to identify where I should input GL account amount as input (either in 'ACCOUNTGL' or elsewhere).
Thanks,
John -
BAPI for Vendor invoice Park FV60
Hi All,
Do you knwo any BAPI for vendor invoice Park through FV60, I have tried
BAPI_INCOMINGINVOICE_PARK - Got struck where It is asking to pass teh PO data in Itme level, where as i have to uplaod only
GLaccounts data.
and i tryed for another BAPI_ACC_DOCUMENT_POST but is not working its not related to my requiremment it seems...
Can any one know better about the process to do this.. pleas let me know..?
Can anybody did the same, if ues please share with me... its very urgent it need it...
Thanks,use bapi: BAPI_INCOMINGINVOICE_PARK
-
BAPI for Vendor Invoice and Credit memo - FB60
Hi
Iam using BAPI_ACC_DOCUMENT_POST for creating Vendor invoice and Credit memo ..Could you please tell me which fields to be populated on the below structures?
what will be the value i should use for BAPIACHE09-BUS_ACT...RFBU or RMRP?
ACCOUNTPAYABLE ( BAPIACAP09)
ACCOUNTGL(BAPIACGL09)
CURRENCYAMOUNT( BAPIACCR09)
Only the fields which needs to be populated on these structures when we do FB60 invoice and credit memo using bapi..
Thanks in advance
GoviHi,
Populate in Document_header : (User name, Comp code, Doc DAte, Doc type, Ref Doc No)
Account GL : ItemNo_Acc, GL Accuont, REf Key1, Refkey2, Refkey3, Account Type = 'A', Doc Type, Comp code
Account_number, Cost_center
Account Payable: ItemNo_Acc, Vendor_No, Rey_key1, Ref_key2, Ref_key3
Currency Amount: Item No_Acc = 2, 1
Curr = USD, USD
Amt_Doccur
At last use commit bapi.
Thanks,
Krishna -
Can we use BAPI BAPI_ACC_DOCUMENT_POST to upload the vendor invoice?
Hi,
Can anybody tell me, can we use bapi BAPI_ACC_DOCUMENT_POST to upload the vender invoice?
If yes, then which parameters we have to pass, and if no, then which is the other BAPI which is used for
this purpose?
Regards,
MrunalHi Mrunal,
Yes you can use BAPI_ACC_DOCUMENT_POST to upload vendor invoices.
Parameters which are required to be passed are :
Import tab :
DOCUMENTHEADER: Mandatory fields for this specififed in documentation for this.
Table tab:
ACCOUNTGL: Enteries aganist GL account will be populated in this(check documentation for mandatory fields)
ACCOUNTPAYABLE: Enteries aganist vendors will be populated in this(check documentation for mandatory fields)
CURRENCYAMOUNT: in this currency amount aganist GL and vendor entries will specified.
ITEMNO_ACC field will act as identifier as to amount belongs to which GL or vendor enteries.
This much parameter are required to post vendor invoices.
Regards,
Brajvir -
Required BAPI for Vendor Invoice Creation
Hi,
The transaction code for creation a vendor invoice is FB60. Is there any BAPI to create VENDOR INVOICE.
Regards!
kannancheck...
<b>BAPI_ACC_INVOICE_RECEIPT_POST</b> -
Bapi to change payment method for vendor invoices using FB02 - VERSION 4.6C
Hi all,
I have a requirment to change payment method from 'A' to 'N' in vendor invoice using tcode FB02 .My system version is 4.6c.
I am looking for a BAPI which will serve the purpose. I tried but could not find anyone.
Please help me to find the same, or any OSS note which will help me in this matter.
Thanks in advance.
Vengal Rao.Hi,
I think there is no BAPI for this, but can use FM ' FI_ITEMS_MASS_CHANGE '.
In this FM pass field 'ZLSCH' to table IT_FLDTAB, w_bseg-ZLSCH = 'N'
and pass your BSEG data to table IT_BUZTAB. This will help
Can refer to threat [Any BAPI for "FB02";
Thanks,
Anmol. -
Vendor invoice stimulation bapi
hi all,
Any suggestions as to which bapi can be used for determining stimulation for Vendor Invoice Stimulation process using BAPI.
thanks,
chetan.hi sanjeev/srimanta,
Thanks for your responses.
I am following your inputs and will update you soon.
regards,
chetan -
BAPI for clearing vendor invoice
Dear SAP Guru's,
I need to make clearing of the invoice made for particular vendors on daily basis, i have tried to look in the forum but i find regarding the posting of vendor invoice but ---
My requirement is to schedule a z-program which will automatically clear the vendor invoice. i am looking for any relevant BAPI that can be used for the said purpose.
Thanks in advance,
RahulHi Rahul,
Hey did you get any BAPI to clear vendor invoice.
Regards
Neeraj Sharma -
Required BAPI for Vendor Invoice park
Hi,
I need to create vendor invoice upload program which support the withholding functionlity also.
Normally for vendor invoice parking we use FV60 transaction code. is there any standared BAPI which does vendor invoice park.
please let me know.
With Regards!
kannan.jause bapi: BAPI_INCOMINGINVOICE_PARK
-
BAPI/FM to release Parked Vendor Invoice
Hi,
I'm looking for a function module or bapi to release Parked Vendor Invoice (FV60) in background.
Regards,
StephTry "BAPI_ACC_INVOICE_RECEIPT_POST" or "BAPI_ACC_DOCUMENT_POST"
Shail -
BAPI for FV60 tcode parking (Vendor Invoic)
Hi All,
I want to park Vendor invoice through FV60 tcode using BAPI
I got one BAPI (BAPI_INCOMINGINVOICE_PARK), which is doing for incoming invoice i.e. MIR7 only. but it is not suitable for FV60.
Please help me in finding BAPI for Vendor Invoic (FV60) parking.
Thanks,
Ramanjaneyulu ReddyHi. I know it is very late, but I was looking for an answer to this on SDN today and found your post amongst others, but could not find a solution so had to have a look through SAP in more detail.
I have managed to get a finance invoice to park just like FV60 using function module PRELIMINARY_POSTING_FB01.
To find the right data to pass the easiest way is to park an invoice manually in FV60, then call function PRELIMINARY_POSTING_DOC_READ and get the data for the parked invoice.
Then just populate all the same fields in PRELIMINARY_POSTING_FB01 apart from the document number and it should work fine.
I hope this was of some help.
Regards,
Dave. -
BAPI for FB60 park vendor invoice
Hi SAP Gurus,
Please let me know what is the BAPI for Park Vendor invoice in FB60.
Thanks in advance
Vinod
Edited by: Vinod Malagi on Dec 9, 2008 7:21 AM
Message was edited by: Jürgen L.Hi Preethi,
I ahev checked this BApi this is for With PO and i need for without refernce to PO.
only Vendor number, GL account numbers, amount, date and other details.
Please suggest.
Thanks in advance
Vinod
Maybe you are looking for
-
My ipod works great on my laptop but want connect to itunes on my desktop,,,i have rebooted ipod twice,,,rebooted pc twice,, reinstalled new itunes,,,nothing happens,,,ipod does show up on pc,,,,i have deleted everything about itunes twice or more
-
Adobe Acrobat 8. Receiving error "Missing PDF maker files"
I have had this software for several years and have had no problems. I am receiving the error note above when trying to merge two files into a single PDF file. I tried reloading the software and also looked on line for updates. There were no updates
-
Link between maintainance order reservation and pur requisition
Dear Experts, I need link between maintainance order reservation number against a materials and purchase requisition raised against it. Basically requirement is that i need a report in which i can c the purchase requisition against the materials of m
-
Can Active Directory authenticate to the APEX development environment
Greetings, Environment: Apex Version 4.0.2 Database Version: 11.2.0.1 Weblogic 10.3.3 Apex Listener Is it possible to use Active Directory to authenticate access to the APEX development environment? I have all individual application using Active Dire
-
How to monitor performance in Read Only data base
Hi, We have a read only database that is using us to run reports against it. 1. How can i monitor performance in this read Only database ? If i cant run statspack , how can i know what happened last hour for example in the database ? 2. I use the gla