BAPI FOR VENDOR ACCOUNT POST
HI
please any body tell me how to insert BAPI for transaction code F-43/FB01.
I want to map data from external software.
I am using insert BAPI using tables BSEG,BKPF,LFA1.
data is not displaying in FB03.
Kindly reply me as soon as possible.....
Waiting for a reply....
Thanks
Make sure that you call BAPI_TRANSACTION_COMMIT after your BAPI call.
Rob
Similar Messages
-
Error in BAPI for salary account posting
Dear Experts,
I am developing and report for salary account posting whrere i am using a bapi called BAPI_ACC_DOCUMENT_POSTING. Which require RFC destinetion of the target system where the document should post in its import parameters.But m not passing anything thr and its automatically taking an rfc destinatin.But while i try to run this report document is not posted and in its return table 2 error msgs comes
1. Error in document: BKPFF $ CLNTD11320
2. FI/COinterface: Line item entered several times
Pls provive me input if any one has come across this error.
ThanksLine item passed to the vendor and gl tables of the bapi cannot be same.ie. if vendor table contains 3 entry with line item 1,2,3 gl should contain line item starting from 4.Line item field cannbe field manually using a count variable.
-
Require standard BAPI for GL Account Posting
We are creating a GL Account Posting in Transaction F-02.
We are giving Document date Document type Posting Date, Currency type , Company code, Posting Key AccountNo, Amount.
Click on Save Button . A screen appears. Then the Document is Parked. A document No is generated.
i want a standard BAPI which does this ProcessHi,
Check the BAPI's
<b>BAPI_ACC_DOCUMENT_POST
BAPI_INCOMINGINVOICE_PARK</b>
regards
vijay -
BAPI_ACC_INVOICE_RECEIPT_POST for vendor invoice posting
Hi ,
I am using BAPI_ACC_INVOICE_RECEIPT_POST for vendor invoice posting, I have made the header , and account paybale table
, can any body give link for the sample code or give me sample code.continue....
FORM build_bapi_parameters2.
*Build account GL data for BAPI
wa_accountgl-itemno_acc = 2. " Line Item Number
wa_accountgl-gl_account = '0000720300'. " GL Account Number
wa_accountgl-comp_code = '0050'. " Company Code
wa_accountgl-pstng_date = '12012006'. " Posting Date
wa_accountgl-doc_type = 'KQ'. " Document Type
wa_accountgl-fisc_year = '2006'. " Fiscal Year
wa_accountgl-fis_period = '12'. " Fiscal Period
wa_accountgl-item_text = ''. " Item Text
APPEND wa_accountgl TO accountgl.
CLEAR wa_accountgl.
*Build currency data for BAPI
wa_curramount-itemno_acc = 2. " Line Item Number
wa_curramount-curr_type = '00'. " Currency Type
wa_curramount-currency = 'USD'. " Currency Key
wa_curramount-currency_iso = 'USD'. " ISO Code
wa_curramount-amt_doccur = '5000.00'. " Amount
wa_curramount-amt_base = ''. " Base Amount
APPEND wa_curramount TO curramount.
CLEAR wa_curramount.
ENDFORM. " build_bapi_parameters
FORM build_bapi_parameters3.
*Build account GL data for BAPI
wa_accountgl-itemno_acc = 3. " Line Item Number
wa_accountgl-gl_account = '0000256166'. " GL Account Number
wa_accountgl-comp_code = '0050'. " Company Code
wa_accountgl-pstng_date = '12012006'. " Posting Date
wa_accountgl-doc_type = 'KQ'. " Document Type
wa_accountgl-fisc_year = '2006'. " Fiscal Year
wa_accountgl-fis_period = '12'. " Fiscal Period
wa_accountgl-item_text = ''. " Item Text
APPEND wa_accountgl TO accountgl.
CLEAR wa_accountgl.
*Build currency data for BAPI
wa_curramount-itemno_acc = 3. " Line Item Number
wa_curramount-curr_type = '00'. " Currency Type
wa_curramount-currency = 'USD'. " Currency Key
wa_curramount-currency_iso = 'USD'. " ISO Code
wa_curramount-amt_doccur = '-1000.00'. " Amount
wa_curramount-amt_base = ''. " Base Amount
APPEND wa_curramount TO curramount.
CLEAR wa_curramount.
ENDFORM. " build_bapi_parameters
Edited by: krupa jani on Aug 12, 2009 1:45 PM -
BAPI for Vendor Non-PO Invoice processed through MIR7 Transaction
Hi All,
I have a requirement where i will get data from flat file. Using this data Vendor Non-PO Invoice
will be processed through MIR7 transaction with Multiple line items - Invoice Upload Parking the document for vendor non-po invoices.
The data is in below format in flat file:
Header fields in 1st line
Dr. Key related fields in 2nd line
Cr. Key related fields in 3rd line
Header fields in 4th line
Dr. Key related fields in 5th line
Cr. Key related fields in 6th line
etc .... in flat file
In these main fields coming in from flat file are: comp.code, doc.type, vendor no,
Debit/Credit indicatorSHKZG, G/L a/c no, inv/post dates etc..
My issues:
1. I am planning to use F.M BAPI_INCOMINGINVOICE_PARK is it the correct F.M!
But Here PO number seems to be mandatory for this F.M but it is not available as per our flat file,
if so can anybody suggest a BAPI for Vendor Non-PO Invoice parking for MIR7 transaction!
2. What are the parameters need to be used for from above flat file data especially for 2 line itemshttp://Dr./Cr. data other than header data. So as per Header & 2 Line items http://Dr. & Cr. Data which parameters will be updated with which data in above flat file! can anybody clarify!
3. Also in flat file WorkflowNo is available in which parameter this fields will need to be filled & also by doing this will it trigger workflow automatically!
Can anybody clarify about above points!
Thanks in advance.
Thanks,
Deep.Hello Deep,
I know it might be quite late for you for this answer, nevertheless I will write that, because there are lots of question like yours. bapi_incominginvoice_park is also a suitable bapi for you. All you need to do is call it this way:
data: headerdata like bapi_incinv_create_header value is initial,
table_item type table of bapi_incinv_create_item,
gl_account like bapi_incinv_create_gl_account,
table_gl type table of bapi_incinv_create_gl_account.
* fill headerdata and table_gl, leaving table_item empty
CALL FUNCTION 'BAPI_INCOMINGINVOICE_PARK'
EXPORTING
HEADERDATA = HEADERDATA
* ADDRESSDATA =
IMPORTING
INVOICEDOCNUMBER = lv_docnr
FISCALYEAR = lv_year
TABLES
ITEMDATA = table_item
* ACCOUNTINGDATA = table_acc
GLACCOUNTDATA = table_gl
* MATERIALDATA =
* TAXDATA = table_tax
* WITHTAXDATA =
* VENDORITEMSPLITDATA =
RETURN = lt_return.
This works perfectly for me, creating a mir7 document without refering to a PO. The trick here is to fulfill the glaccountingdata importing table while leaving itemdata empty. -
Configuring double invoice check for vendor invoices posted through FB60
Dear all
Can anyone tell me how to configure double invoice check for vendor invoices posted through FB60.
for miro documents..we can use Tcode OMRDC
Is there any such tcode which can be used for configuring fi invoices for double checking..
regards
ExpertiaDear Expertia,
In FI,when checking for duplicated invoices, the system compares the
following :Vendor, currency, company code, gross amount of the invoice,
reference document number and Invoice document date.
SAP Note 305201 clarifies this in a more details; please read it.
The following fields must be identical for Duplicate invoice check
Company code (BUKRS)
Vendor number (LIFNR)
Currency (WAERS)
Reference number (XBLNR)
Amount in document currency (WRBTR)
Document date (BLDAT)
If the document is having any one of the above filed different then the
system does not consider it as a duplicate invoice.
Also It will check duplicate invoice check in vendor master data and
in posting key is there check box selected for sales related
The setting you making in OMRDC i.e Materials management->Logistics
Invoice Verification->Incoming Invoice ->Set Check for Duplicate
Invoices is only valid for MM and not FI invoices posted via FB60/FB65
You should check the F1 help on field "Chk double inv." (LFB1-REPRF)
in the relevant vendor master record (transaction FK03).
Please also check, that message F5 117 has been set correctly in the
IMG using this path:
Financial Accounting -> Financial Accounting Global Settings ->
Document -> Default Values for Document Processing -> Change Message
Control for Document Control For Document Processing
Finally & mainly, go to the relevant posting key is defined as sales
related in transaction OB41. You have to flag this field if the
duplicate invoice check should work.
I hope this helps You.
mauri -
Employee Vendor Account posting
hi all.
i have to configure the Vendor Accounts posting.
there are few wage types, that need to be posted to employee vendors in FI.
If the following wage types are to be posted, please explain me the following one.
wage type : 1122 personal expenses
wage type :1123 Business expenses
symbolic account :1122
symbolic account : 1123
i have used the same for both wage types and symbolic accounts.
employee vendor numbers : 50001, 50002, 50003, 50004.
please let me know whether, under the node of Posting in IMG, should i take all these vendors and link the symbolic account or any other porcedure.like shown below.
1122-50001
1122-50002
1122-50003
1122-50004
1123-50001
1123-50002
1123-50003
1123-50004
is this how i should link all the vendor to the concerned Symbolic accounts.
please give me a solution. .
waiting for your reply
prathaphi all .
i am really thankful to all of you.
i have Basic, HRA, Transportation, Food allowance.
for the month April, i have made the test data and confirmed that the G/L accounts are readily available in FI.there is no problem in posting.
but when i tried to post the salary advance payment to vendor account, it is throwing error.
i have configured, as follows
created Symbolic account with the specification K
assigned the symbolic account to the wage type
assigned *0002 to the symbolic account.
when i tried to post to accounts, it is throwing the error. i am sure that the error is only because of this.
i have cross checked whether the vendor account is created in FI , which is available.
please tell me apart from this configuration, any thing is missing.
please help me.
prathap -
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
-
How to search for vendor account group
hi expert,
how to check for vendor account group that contains of certain condition? And where to assign this in PIR?
thanksHI ,
You can see Vendor account group by XK03, here just enter Vendor code (for which you want to see Account group) and enter company code and Purchase Org. , Tick Address , Tick Accounting info. and press Enter
Now In Display Vendor Address there is icon in Blue colur *Administrative data (Shift +f8) click on this now
YOu can see Vendor Account group.
enjoy
Regards,
Vraj -
Report for list of invoce for that accounting posting is due
Hi,
Is there is any report to see the list of invoice for that accounting posting has not done.Please reply ASAP.
Regards
PrabudhHi
Go to T code VF05n and check open Billing documents and execute. System gives you the list which are pending for posting to FI.
Regards -
Hi,
I am designing my custom screen for Vendor Create and Vendor Update. ( In WEB DYNPRO).
I am looking for a BAPI for Vendor Create and Vedor Update.
I have seen 2 BAPI's : BAPI_VENDOR_CHANGE,
BAPI_VENDOR_CREATE.
But, these BAPI's are directly opening XK01 and XK02 transactions insted of taking the data as input paramaters.
Can you please tell me any other BAPI's which takes the data as input for update or create. (VENDOR).
Regards
Sandeep ReddyHi
I think there are BAPI via dialog only, so they call the transaction, but u can create a your rfc fm creates a vendor by bdc and then call it by your webdyndro
Max -
Continue printout for vendor account statement
i am using FBL1N Transaction for vendor account statement..
present i am able to take printout for single vendor in FBL1N transaction when i am giving single vendor account statement in the selection screen.
my requirement is take the printout for all vendors at a time in FBL1N Transaction.
can any one guide i will reward points.The only option to display all the vendors is by keeping the vendor number blank in FBL1N selection screen, only drawback is it will take very long time to display all the vendors.
OR
It can be done by giving a range of vendors in selection screen
Regards,
SaiRam -
BAPI for goods reciept posting
Hi,
Can Any one provide me BAPI for goods reciept posting.
Thanks.
Moderator message: please try finding out yourself before asking.
locked by: Thomas Zloch on Aug 17, 2010 10:55 AMHI,
Have a look at
BAPI_GOODSMVT_CREATE
BAPI_ACC_GOODS_MOVEMENT_CHECK
BAPI_ACC_GOODS_MOVEMENT_POST
Regards,
S.Velsankar
Moderator message: please do not encourage laziness by replying to such questions!
Edited by: Thomas Zloch on Aug 17, 2010 11:00 AM -
Number assignment for vendor account group
Hi all,
I would like to assign no range for my newly created vendor account group in xkn1
But how to create it with reference to my acocunt group....kindly explain in detail
tks
kaliHi,
Use OMSJ trxn code to assign Number ranges for Vendor Account Groups.
Reg,
Ashok
Rewards Welcome -
BAPI for vendor credit memo posting by FB65
Hi guys,
I need a BAPI to post vendor credit note by FB65.
I am trying BAPI_ACC_DOCUMENT_POST, but I cannot find the fields to fill with the information we input at FB65 Payment tab, such as: Inv. Ref (document, year and item ).
Could anybody help me?
Cheers,
Karla.HI ,
Please Find below the relevant code to Fill the Fields while calling the BAPI for FB65
step1.
First of all fill the wa_bapiheader.
*header data
wa_bapiheader-username = sy-uname.
wa_bapiheader-comp_code = wa_final-bukrs.
wa_bapiheader-doc_date = sy-datum.
wa_bapiheader-pstng_date = sy-datum.
wa_bapiheader-doc_type = c_blart.
wa_bapiheader-ref_doc_no = 'GROWPAY'. "Can be the refrence text
w_waers = wa_final-waers.
Step2.
Fill this internal table. i_currencyamount and i_accountgl.
i_final will be the Internal table conating all the Relevant data for Posting the Document.
Loop at i_final into wa_final.
ADD 1 TO w_acc_lno.
wa_accountgl-itemno_acc = w_acc_lno.
wa_accountgl-gl_account = wa_final-saknr. "G/L Account
wa_accountgl-plant = wa_final-werks. " Plant
wa_accountgl-costcenter = wa_final-kostl. " Cost Center
wa_accountgl-cond_type = wa_final-knumv. "From EKKO for the Purchase Order
wa_accountgl-po_number = wa_final-ebeln. " Purchase Order no
wa_accountgl-po_item = wa_final-ebelp. " Line item in PO
APPEND wa_accountgl TO i_accountgl.
CLEAR : wa_accountgl.
wa_currencyamount-itemno_acc = w_acc_lno.
wa_currencyamount-currency = wa_final-waers.
wa_currencyamount-amt_doccur = wa_final-kbetr.
w_sum = w_sum + wa_final-kbetr.
APPEND wa_currencyamount TO i_currencyamount. " G/L line item
CLEAR : wa_currencyamount.
*item data
wa_accountpayable-itemno_acc = 1.
wa_accountpayable-vendor_no = wa_final-lifnr.
APPEND wa_accountpayable TO i_accountpayable.
*Amount for the vendor line item.
CLEAR : wa_currencyamount.
wa_currencyamount-itemno_acc = 1.
wa_currencyamount-currency = w_waers.
wa_currencyamount-amt_doccur = 0 - w_sum.
INSERT wa_currencyamount INTO i_currencyamount INDEX 1.
Step 3.
CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
EXPORTING
documentheader = wa_bapiheader
TABLES
accountgl = i_accountgl
currencyamount = i_currencyamount
accountpayable = i_accountpayable
return = i_result_out.
i_result_out will conatin the messages returned by the BAPI.
based on i_resuklt_out that is if the posting is Successful....call commit
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
Wait = X.
Endloop.
I hope the above code may solve your problem....Thanks
Regards ,
Sonu Krishna.
Edited by: Sonu Krishna PV on Aug 6, 2009 11:03 AM
Maybe you are looking for
-
Apple TV flickers, sound cuts out intermittently for short instances
I use airplay to watch internet TV on my Flatscreen (panasonic viera) via Apple TV. From when I can remember it's always having sound cut in and out quite frequently and even somtimes flickers to a scrambled screen. I checked my serial number to s
-
How to fix an incorrect Maya path in QMaster
When trying to use Qmaster to render a Maya 7 file, the shell command Qmaster creates includes a path to the renderer inside maya 6.0.app. But I no longer have 6.0 installed, I trashed it not long after installing 7.0 How do I change this?
-
Is there a limit on in app purchases
I purchased 100 dollar in gems in KOC over the weekend but now I'm trying to purchase more and it gives me an error. Koc= kingdoms of Camelot
-
Planning Run - Enhanced Backward Scheduling Error
Hi SAP Expert, I encountered planning run error "Heuristic terminated due to a possible endless loop" after I run the planning run via transaction /SAPAPO/CDPSB0 - Production Planning Run with heuristic "Enhanced Backward Scheduling". Do anyone have
-
Error during deploy via BPEL Console
I've downloaded BPEL Production version on May 27th. When I create a jar via 'bpelc' and I deploy via BPEL Console 'Deploy new process', I have this error every second in the system.out/system.err of BPEL: <2005-05-28 13:32:55,958> <ERROR> <default.c