Regarding BAPI_ACC_INVOICE_RECEIPT_POST
Hi,
Using this BAPI BAPI_ACC_INVOICE_RECEIPT_POST i am able to create documents with out tax code population.
but my requirement is i have to populate tax code, automatically calculate tax, payment referrence...etc.
but i didn't find these fields in the BAPI.
automatically calculate tax,
payment referrence
Please suggest which BAPI i can use to post vendor invoices. with out populating purchase order nubmer.
Regards,
Venkata
Aparently that field doesn't exist, if you want to change it you have to use the extension.
Check this thread, Bianchi fills that field with the extension
BAPI_ACC_DOCUMENT_POST Update reason code on BSEG
Similar Messages
-
Uploading Vendor invoices with BAPI_ACC_INVOICE_RECEIPT_POST
I am working on putting together a program that will allow users to upload invoices from a spreadsheet into SAP using BAPI_ACC_INVOICE_RECEIPT_POST. I realize that I will have to calculate the tax before feeding the information into the BAPI. My problem is that we have 3 currencies that the FI document is posted in: document, local, and group. I am putting this program together for our Europe office so the the document and local currencies are EUR but the group currency is USD. When I try to use the BAPI and feed the information in to it I get a message that states "Foreign currency translation not supported for tax calculation". Have you run in to this error message before(F5681)? If so, is there a way around it? If not how have you been able to upload vendor invoices into SAP?
Hi Ron,
I think it is better to post this question in the abap forum. But anyway, it sounds like you need to customize the currency translations for that specific calculation type.
regards
Siggi -
What are all mantatory fields for BAPI_ACC_INVOICE_RECEIPT_POST
Hi Friends..
I tried to use BAPI_ACC_INVOICE_RECEIPT_POST for FB60 transaction.
But whenever I gave input it throws some error message in return statement.
So plz let me know the mantatory input fields for the BAPI "BAPI_ACC_INVOICE_RECEIPT_POST"
Thanks in Advance.
Thanks
GowrishankarHi,
Check in the import tab of the BAPI the parameters that are not marked as optional are mandatory --DOCUMENTHEADER(Table)
Regards,
Bhanu -
How to populate PERNR while posting with BAPI_ACC_INVOICE_RECEIPT_POST
HI,
I am not able to pass Personal Number(PERNR) while posting with BAPI_ACC_INVOICE_RECEIPT_POST. Is there any enhancement which will help to solve this.
<< Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
Regards,
Sini
Edited by: Rob Burbank on Nov 2, 2011 12:04 PMHi,
I am faceing this problem in standard program which is sa AirPlus Invoice Record (LARS).
NEME:RPR_AIRP_LRS_TO_FI.
Please help on this..
Regards,
Srini -
Using BAPI_ACC_INVOICE_RECEIPT_POST not able to post invoices
Hi all,
I am trying to create invoices using BAPI_ACC_INVOICE_RECEIPT_POST this BAPI. when i executed this BAPI it says the Document successfully created and it is giving the document number also. when check the document number in data base it is not exists in the database
after calling this BAPI, I am calling BAPI_TRANSACTION_COMMIT also. it is not showing any documents in the database.
if any body knows the solution, please reply to this thread..
Regards,
VenkataHi,
Please find my code below. Let me know if you need more information.
headerdata-comp_code = '1025'.
headerdata-FISC_YEAR = '2008'.
headerdata-doc_date = '20080602'.
headerdata-PSTNG_DATE = '20080602'.
headerdata-FIS_PERIOD = '06'.
headerdata-doc_type = 'KR'.
headerdata-USERNAME = 'VE7'.
wa_ACCOUNTPAYABLE-ITEMNO_ACC = '0000000010'.
wa_ACCOUNTPAYABLE-VENDOR_NO = 'IVP5360'.
wa_ACCOUNTPAYABLE-GL_ACCOUNT = '0000211060'.
wa_ACCOUNTPAYABLE-PMNTTRMS = 'Z062'.
append wa_ACCOUNTPAYABLE to ACCOUNTPAYABLE.
wa_ACCOUNTGL-ITEMNO_ACC = '0000000020'.
wa_ACCOUNTGL-GL_ACCOUNT = '0000114240'.
wa_ACCOUNTGL-COMP_CODE = '1025'.
wa_ACCOUNTGL-PSTNG_DATE = '20080602'.
wa_ACCOUNTGL-doc_type = 'KR'.
wa_ACCOUNTGL-FISC_YEAR = '2008'.
append wa_ACCOUNTGL to ACCOUNTGL.
wa_CURRENCYAMOUNT-ITEMNO_ACC = '0000000010'.
wa_CURRENCYAMOUNT-amt_base = '1031'.
wa_CURRENCYAMOUNT-CURRENCY = 'USD'.
append wa_CURRENCYAMOUNT to CURRENCYAMOUNT.
clear wa_CURRENCYAMOUNT.
wa_CURRENCYAMOUNT-ITEMNO_ACC = '0000000020'.
wa_CURRENCYAMOUNT-amt_base = '1031'.
wa_CURRENCYAMOUNT-CURRENCY = 'USD'.
append wa_CURRENCYAMOUNT to CURRENCYAMOUNT.
CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_POST'
EXPORTING
DOCUMENTHEADER = headerdata
CUSTOMERCPD =
IMPORTING
OBJ_TYPE =
OBJ_KEY =
OBJ_SYS =
TABLES
ACCOUNTPAYABLE = ACCOUNTPAYABLE
ACCOUNTGL = ACCOUNTGL
ACCOUNTTAX = ACCOUNTTAX
CURRENCYAMOUNT = CURRENCYAMOUNT
PURCHASEORDER =
PURCHASEAMOUNT =
RETURN = RETURN
CRITERIA =
VALUEFIELD =
EXTENSION1 =
commit work.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'. -
Tax Data calculation using BAPI_ACC_INVOICE_RECEIPT_POST
Hi,
We are creating invoices using BAPI_ACC_INVOICE_RECEIPT_POST. However Tax is not getting calculated for the line items even if we pass the tax data through the field u201CTAX_CODEu201D in the table u201CACCOUNTGLu201D. The Tax value is to be updated in table BSEG and BSET, which is not happening after the IDOC posting. Please advice whether we need to pass the parameter (table) u201CACCOUNTTAXu201D (with data filled) in order to calculate the tax for the line items.
We are passing the following parameters presently and IDOCS are getting posted successfully even though tax amounts are not getting calculated.
CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_POST'
exporting
DOCUMENTHEADER = DOCUMENTHEADER (With data)
CUSTOMERCPD = CUSTOMERCPD (blank)
importing
OBJ_TYPE = OBJ_TYPE (blank)
OBJ_KEY = OBJ_KEY (blank)
OBJ_SYS = OBJ_SYS (blank)
tables
ACCOUNTPAYABLE = ACCOUNTPAYABLE (Filled with data)
ACCOUNTGL = ACCOUNTGL (Filled with data)
ACCOUNTTAX = ACCOUNTTAX (blank)
CURRENCYAMOUNT = CURRENCYAMOUNT (Filled with data)
PURCHASEORDER = PURCHASEORDER (blank)
PURCHASEAMOUNT = PURCHASEAMOUNT (blank)
RETURN = RETURN
CRITERIA = CRITERIA
VALUEFIELD = VALUEFIELD
EXTENSION1 = EXTENSION1
exceptions
OTHERS = 1
Regards,
Gaurav.hiiii
go throgh following link..it will solve your problem..
make BAPI_ACC_DOCUMENT_POST calculate tax.
regards
twinkal -
INVOICE or CREDIT MEMO in BAPI 'BAPI_ACC_INVOICE_RECEIPT_POST'
Hi,
I use BAPI 'BAPI_ACC_INVOICE_RECEIPT_POST'
I search the parameters field in the BAPI ' BAPI_ACC_INVOICE_RECEIPT_POST' to fill the type of document " INVOICE or CREDIT MEMO. "
best regardHi,
GOTO T-code VOFA and search for your valid document type,and give the suitable document type.
Please let me know if you still have any issues.
Thansk and regards,
Rajeshwar -
Hi experts!!
I am using BAPI_ACC_INVOICE_RECEIPT_POST to post a document. When I post a document through the t-code FB01 or F-43, it's being posted by even updating the table WITH_ITEM. When I post through BAPI_ACC_INVOICE_RECEIPT_POST, it's posting document and updating WITH_ITEM table also, but the values being updated are wrong. Below is a brief explanation on my problem:
When I give VAT entry, then QSSHB in BSEG will be the result after the VAT is deducted (DMBTR of the header entry subtracted DMBTR under VAT entry). And the same value will also be updated in WITH_ITEM field WT_QSSHB.
When I use this bapi, it is not being calculated bu the same DMBTR under header entry is coming as WT_QSSHB, which is wrong.
The way to solve this is to calculate by some logic, but I am not sure whether this is the correct way to approach. I couldn't find any calculation done in standard FB01, though I debugged it.
Can anyone help me out? Or any other bapi which meets my requirement will also be so helpful.
Thanks a lot.
Edited by: abapdev on Jun 1, 2009 10:38 AMHi,
once the document posted thru bapi, check with fb03 whether a new line item is created for with holding tax. And check the tax amount is deducted from vendor line item.
Regards,
Ravi. -
BAPI_ACC_INVOICE_RECEIPT_POST
Hi,
can someone tell me the required parameter of the Fm.
I want to post some parked invoice through this.
Thanks,
sanjuktaHi,
CALL FUNCTION 'BAPI_ACC_INVOICE_RECEIPT_POST'
EXPORTING
documentheader = docheader
IMPORTING
obj_type = obj_type
obj_key = obj_key
obj_sys = obj_sys
TABLES
accountpayable = accountpay
accountgl = accountgl
accounttax = accounttax
currencyamount = curramount
return = return1
extension1 = extension1.
Regards
Sudheer -
BAPI_ACC_INVOICE_RECEIPT_POST - can it calculate taxes
Hi folks,
I've serious problems with this BAPI. Thing is that I get document data for posting via IDoc INVOIC01.
Now I want to map this data into structures of BAPI BAPI_ACC_INVOICE_RECEIPT_POST to post document via RFC in another system. Idoc data don't contain tax data.
I expected that this BAPI can calculate tax, but it seems like I have to calculate tax one my own. This logic is to difficult.
Is there a way to start the BAPI so that it calculates the tax internally and creates the line items accordingly???
Thanks and best regards, ThomasHi folks,
I've serious problems with this BAPI. Thing is that I get document data for posting via IDoc INVOIC01.
Now I want to map this data into structures of BAPI BAPI_ACC_INVOICE_RECEIPT_POST to post document via RFC in another system. Idoc data don't contain tax data.
I expected that this BAPI can calculate tax, but it seems like I have to calculate tax one my own. This logic is to difficult.
Is there a way to start the BAPI so that it calculates the tax internally and creates the line items accordingly???
Thanks and best regards, Thomas -
BAPI_ACC_INVOICE_RECEIPT_POST - BANK Reference Field ?
Hi All,
We are using the BAPI BAPI_ACC_INVOICE_RECEIPT_POST to post an Invoice.
The requirement is to be able to pass the Bank Control Key and the Bank Reference
field while creating the invoice.
I am able to find the field to pass the Bank Control Key, but am not able to find a
field for the Bank Reference field in any of the export parameters or Structures.
Bank control key is populated in gs_acpa00-ctrl_key field.
Please advise.
Thank you
LalithaHi. How did you resolve this?
I am trying to set a different field using a user exit, it is available in the BAPI though, but it is called from a 3rd party application so we can not alter the actual call, we need to find a user exit.
Any help would be greatly appreciated.
Regards,
Dave. -
BAPI_ACC_INVOICE_RECEIPT_POST document posted succ but not in FB03 -urg
Hi
For the Inter-company G/L Account posting (Company codes 1000 has EUR currency key & 2000 has GBP currency key), I am using the BAPI FM BAPI_ACC_INVOICE_RECEIPT_POST & BAPI_TRANSACTION_COMMIT.
For this, I am giving the 'DocumentHeader' structure with Company code 1000. 'Accountapayable' structure as Lineitem -0000000001 and credit Account No. & 'AccountGL' structure as Lineitem -0000000002 and Debit Account No. And in 'CurrencyAmount' strcure as with LineItem - 1, Currency - EUR, AMT-BASE as 100- & Lineitem - 2 as with Currenct key - GBP, Exchange rate as 68.36, AMT-BASE as 1.00. (Because as pee my understanding 100EUR = 68.36GBP).
Using the above test data, i am getting the output parameters result as with message as 'Document posted successfully: BKPFF 010000061210002009 T90CLNT090'.
But when I go to BKPF table or FB03 transaction I am not able to see this document.
Regards,
BasaniHi,
search BAPI for FB03 transaction in SDN..
try this link.
RFC or BAPI for fb03 transaction call
regards,
nazeer -
BAPI_ACC_INVOICE_RECEIPT_POST document posted succ but not in FB03
Hi
For the Inter-company G/L Account posting Company codes 1000 has EUR currency key & 2000 has GBP currency key. I am using the BAPI FM BAPI_ACC_INVOICE_RECEIPT_POST & BAPI_TRANSACTION_COMMIT.
I am getting the output parameters result as with message as 'Document posted successfully: BKPFF 010000061210002009 T90CLNT090'.
But when I go to BKPF table or FB03 transaction I am not able to see this document.
Regards,
BasaniHi
For the Inter-company G/L Account posting (Company codes 1000 has EUR currency key & 2000 has GBP currency key), I am using the BAPI FM BAPI_ACC_INVOICE_RECEIPT_POST & BAPI_TRANSACTION_COMMIT.
For this, I am giving the 'DocumentHeader' structure with Company code 1000. 'Accountapayable' structure as Lineitem -0000000001 and credit Account No. & 'AccountGL' structure as Lineitem -0000000002 and Debit Account No. And in 'CurrencyAmount' strcure as with LineItem - 1, Currency - EUR, AMT-BASE as 100- & Lineitem - 2 as with Currenct key - GBP, Exchange rate as 68.36, AMT-BASE as 1.00. (Because as pee my understanding 100EUR = 68.36GBP).
Using the above test data, i am getting the output parameters result as with message as 'Document posted successfully: BKPFF 010000061210002009 T90CLNT090'.
But when I go to BKPF table or FB03 transaction I am not able to see this document.
Regards,
Basani -
BAPI_ACC_INVOICE_RECEIPT_POST - State Withholding
Hello All,
I call BAPI_ACC_INVOICE_RECEIPT_POST and pass it tax withholding information in the EXTENSION. This is then used to populate Structure ACCIT_WT.
When there is Federal withholding, the BAPI works correctly and automatically creates the Fed withholding ledger entry.
When there is State withholding, the BAPI attempts to create the ledger entry, but returns an error: "Field Region is a required field for G/L account 0050 256167".
This is because we have a field called ZZREGION that is required when posting to account 256167. Sense the BAPI generates the withholding entries automatically through SAP code, ZZREGION is not populated, thus causing the error.
Any ideas on how to solve this problem?
Thanks!Hi Aaron,
I saw your thread regarding the BAPI BAPI_ACC_INVOICE_RECEIPT_POST (url: BAPI_ACC_INVOICE_RECEIPT_POST - State Withholding)
I have a requirement to use the same BAPI. It is working fine for all scenarios other that withholding tax.
I not getting any idea where to pass the withhold tax details inside the customer exit. please help with this
Thanks in Advance. -
BAPI_ACC_INVOICE_RECEIPT_POST HBKID
Any suggestions on how to set the house bank field when calling BAPI_ACC_INVOICE_RECEIPT_POST. In FB01 and other Vendor invoice entry transactions you are allowed to set the house bank (bseg-hbkid). However, I don't see this field in the interface definition for this BAPI? Is it possible to set this field using the extension1 and user exit?
Hi. How did you resolve this?
I am trying to set a different field using a user exit, it is available in the BAPI though, but it is called from a 3rd party application so we can not alter the actual call, we need to find a user exit.
Any help would be greatly appreciated.
Regards,
Dave.
Maybe you are looking for
-
At my work we have a modem and router to network 8 different pc's- all hard wired. My boss wants me to add an airport extreme so that he can get wireless connection on mobile devices. when i plug in the airport it creates a new network and i need to
-
Hi all I have an application used by lot of users with different access rights. I would like to let some of them to download interactive report, and deny it for others. is there any method to do it?
-
Password not accepted after Mountain Lion Upgrade
I have just downloaded Mountain Lion to upgrade my OS and the system won't accept my password to finalise installation. My password is correct and I have tried several times but it won't accept it as correct.Any suggestions?
-
Adobe Premiere Pro Cs4 : Stuck When Load ExporterWave.prm
hey , i just got my premiere pro stucked when startup , but when i delete the ExporterWave.prm , application run normally can someone explain this? sorry for my bad english
-
How to get only the whole number omitting the decimals
Hi Experts, I want to get only the whole number of a output field. For example i am getting an output as 8.766 , i need only the value 8 . I checked by moving the values to integer field but i am getting the rounding value 9 . I want only the whole