BAPI : company_code == vendors
Hi all,
I'm trying to find BAPI that returns all the vendors of given company (_code).
Any help will be very appreciated.
Thanks,
DannyL
You can pass the parameter 1 - ZZZZZZZZZZ for vendor numbers and can pass on variable data " Company code " BUKRS in the BAPI .
Else check for a simple query of LFA1 and LFB1 .
Cheers ,
Dewang
Similar Messages
-
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. -
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
-
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 -
Bapi for vendor opening balances
Hi All,
Can I use the bapi " BAPI_AP_ACC_GETOPENITEMS " to get the vendor opening balances?
Thanks n Regards,
Murali Krishna Thi ,
try
BAPI_GL_GETGLACCBALANCE - closing balance of G/L account for a chosen year.
BAPI_GL_GETGLACCCURRENTBALANCE - closing balance of G/L account for the current year
BAPI_GL_GETGLACCPERIODBALANCES - Posting period balances for each G/L account. -
Hi!
I need a BAPI for extract the Vendor Balances and other for load the Vendor Balances.
Do they exist?try to search in Se37
BAPI_AP_ACC_GETBALANCEDITEMS Vendor Account Clearing Transactions in a given Period
BAPI_AP_ACC_GETCURRENTBALANCE Vendor Account Closing Balance in Current Fiscal Year
BAPI_AP_ACC_GETKEYDATEBALANCE Vendor Account Balance at Key Date
BAPI_AP_ACC_GETPERIODBALANCES Posting Period Balances per Vendor Account in Current Fiscal Year
regards
Prabhu -
Bapi for vendor payment with details of tunover and blocked payment
Dear all
I want to know whether any BAPI available for the details of vendor payment made and the open item with blocked payment (with the reason for the blocked payment) and the turnover of the vendor for a particular fiscal year...................
The client want to get the output as mentioned below.
e.g...
PO no : 45629810
Inv.No : 73409 (Vendor's Invoice no.)
Payment : Paid amt with date and details
Payment : Outstanding (Due and Over Due with no.of days)
Blocked Payment : Amt with the reason for blocking the payment.
Turn Over : Total turn over for that fiscal year.
This is an urgent req. from my client,i will be very grateful if any one can help me over this issue ..............
Appreciate for any relevant answers and suggestion ...........
I am in ECC 6.0
Regards
PraveenHello Raj,
Unfortunately there is no BAPI for payment detals and other company code data. The only possibility is via direct input (external data transfer).
Please have a look at the following Easy-Access-path:
SAP Menu
-> Accounting
-> Bank Applications
-> Loans Management
-> Environment
-> External Data Transfer
Within this menu entry you find diverse functions. Please start the function KCLJ to transfer data. Before you can do this you need to
prepare the transfer by creating your own transfer structure and so on. You can get further information on what to do here by navigating to
"Help > Application help" within transaction KCLJ. From here you get to the right area of SAP library.
Thanks Amber -
Bapi for vendor non po invoice parking
Hello,
We have a requirement to Create a Non PO Invoice and also parking invoice.
I could able to create Vendor Invoice (Non PO) using BAPI: BAPI_ACC_DOCUMENT_POST.
But i am unable to find a BAPI for Parking the Vendor Invoice (Non PO). When i try to use BDC on FB01 transaction for creating Parking Vendor Invoice, it is throwing an error that "Parking Invoice creation is not allowed in batch input".
Can anybody help me for creating Parking Invoice (Non PO).
Note: There is a BAPI: BAPI_INCOMINGINVOICE_PARK, which wont support for Non PO Invoice creation. It is PO based.
Thanks in Advance for your support.
Thanks & Regards,
Sreedhar.Hi,
Please see the given link, hope It will help you.
Re: BAPI to Park the Invoice Document
Regards,
Shamma -
Bapi for vendor payment with details of tunover &blocked payment chq detai
Hi all
i want to know whether their is any bapi which can provide me all the details of the the vendor.i.e. the total turnover,the blocked,due and cleared payment,with the respective cheque no and the balance outstanding.....
any help in this regard will be very much appreciated....
Thnx
Regards
PraveenClosed
-
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 -
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> -
Hi Folks,
1.Is there any BAPI available for Vendor Master?
2.In LSMW if I am having a flat file of 4 records and I am updating only one of them which one will get uploaded? All the 4 or only the one which I had updated?
I had never worked on LSWM,so kindly let me know.
3.Do anyone here have a bdc for XK01?
K.Kiran.
Message was edited by:
Kiran KHi
Go to trxn BAPI, go by Alphabetical tab, check the BAPIs available for Vendor.
If you have 4 records in the file, all 4 will be processed (doesnt mean they will be updated, depends if you have changed any data) even if you update one in the file.
So, for a file of 4 records (with only 1 updated rrecord)
Processed records: 4
Updated records: 1
Regards,
Raj -
BAPI for Vendor Master Creation
Hi,
I've seen alot of messages regarding Vendor Master Creation but I didnt find any clear answer.
What Bapi can we use for Vendor Master Creation?
I saw the BAPI_VENDOR_CREATE (for online) but there are no parameters given.
Pls help.
Thanks!Hi Donna.
I would like to suggest my opinion,
1. Go To Transaction BAPI.
2. In the Alphabetical (Window).
3. Vendor.
4. Click the Node, Go To Create.
5. Click the Create Node.
6. Vendor and return will be seen.
7. Check the dictionary references for both Vendor Node and Return node.
8. Fields of the structures will be observed.
Hope this works out well.
Good Luck & Regards.
Harsh Dave -
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 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
-
I want to change my macbook hard drive to a bigger drive
I want to change my macbook hard drive to a bigger drive, its a duo core. I would like to know what make is best and where do i get the tools for it eg screwdriver, static protector . Where do I order my drive from. Can I change my drive on this mode
-
Best Practice to generate UUIDs in a Cluster-Server Environment
Hi all, I just need some inputs over the best practices to generate UUIDs in typical internet world where there are multiple servers/JVMs involved for load balancing or traffic distribution etc. I know JAVA is shipped with very efficient UUID generat
-
Mail.app does import folder items and items in folder are not displayed
I had a hard drive crash on my G4 Powerbook. I installed a new harddrive and recovered the data from the old drive....hurrah.... but in a folder I store all my various internet information email(receipts, program info etc) I lost all the emails. I fo
-
I WANT TO KNOW IF I CAN CHANGE THE 3G IPHONE HAVE THE FIRST OF WHICH TOOK 32 GRACIASD
I WANT TO KNOW IF I CAN CHANGE THE 3G IPHONE HAVE THE FIRST OF WHICH TOOK 32 g thanks
-
Hi, Please note another issue being faced, in F-53 when we deduct WHT tax , it lets user manually enter WHT code. We want to avoid this. I tried doing with SHDO but couldnt get required result. Help me to sort out issue. Br