BAPI FOR BILLING DOC

hi Gurus,
I am trying to create billing doc using the following bapi:'BAPI_BILLINGDOC_CREATEMULTIPLE'
Now, I am not pretty sure how the flat file structure should be and what are the values I should give in the BAPI function module.
So,If there is any sample program you can send it to me or show it would be great. If you click on my user id,you will get my id.
Thanks and Regards,
Vishwa.

Hi,
CALL FUNCTION 'BAPI_BILLINGDOC_CREATEMULTIPLE'
EXPORTING
posting = ''
TABLES
billingdatain = ti_billingdatain
errors = ti_errors
return = ti_return2
success = ti_success.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = ' '.
Thanks
Vikranth

Similar Messages

  • BAPI for billing doc. creation with ref to outbound delivery

    Hi,
    I'm looking for BAPI to create pro forma invoice billing doc with red. to outbound delivery.
    I have tried using BAPI_BILLINGDOC_CREATEMULTIPLE entering the outbound delivery as ref. document and all other required data. Pro forma is create but pricing is not copied since the bapi considers the delivery number as external doc.
    It seems that BAPI_BILLINGDOC_CREATEMULTIPLE is designated to billing doc. with ref to sales orders
    Would appreciate any suggestions,
    Assaf

    Hi,
    In Function Module initial screen, there is no input parameter. Directly choose execute.
    system will give the create billing document screen enter delivery document number and execute.
    Why are using BAPI  to create billing document with reference to delivery document.
    you can create background job for billing through VF06.
    Regards,
    Chandrasekhar.S

  • Report for Billing doc with payment status and tax details

    Hi All,
    I want the report for payment due billing documents with following fields and after payment is done( F-28 ) that document should not appear in the report for the said period.
    Billing date, Billing doc no, Net value, Tax Amount
    Thanks and regards,

    Dear,
    Check S_ALR_87012172,S_ALR_87012186,S_ALR_87012168, S_ALR_87012197, S_ALR_87012173, S_ALR_87012174.
    Regards,
    Mahesh Wagh

  • Incorrect exchange rate is getting picked for Billing doc

    Hello ,
    For billing document,(i.e document type RV ), exchange rate type B is defined. But when I  pass a billing document through VF01, the exchange rate is picked from exchange rate type M
    But if I do a FI document through F-02 for document type RV , the exchange rate is picked from exchange rate type B.
    please let me know why the sytem during VF01 is not taking rates from exchange rate B.
    Thanks

    Hi,
    If this scenario includes excise transaction then check in sprologistic general-Tax on goods & Movementsindia- basic settings -
    maintain company code setting -
    in that check which doc type are assigned which exchange type is assigned i think this may help you.
    regards,
    Santosh kumar

  • Selection in statistical setup for billing docs

    Dear,
    We have to set up our billing docs with OLI9BW in source system. But we only want to set up the data for the last 2 1/2 years. In OLI9BW we don't have the option to select by date (invoice / billing date).
    Does anybody knows an alternative transaction or an alternative program to do this or does anybody have an idea how to handle it?
    Best regards
    Daniel

    There is no alternative process for creating the setup tables for billing documents. In order to get the billing documents for the past 2.5 years, you're going to have to query the VBRK table in your source R3/ECC system for the billing date (FKDAT) range that you desire. From that get the billing document numbers for that interval of time and use those for your filter in tcode OLI9BW for your setup.
    If you have a large volume of documents for that interval, you may want to consider executing multiple, concurrent setup jobs with billing document ranges that represent 6 months worth of data. This will signicantly speed up the total throughput for creating the setup table in your source R3/ECC system.

  • Regarding output type for billing doc

    i have one billing doc. i want to find out type for that billing doc. through that i need to find the program name and form name.
    i have lot of out put types. In that how to find the out put for my requirement

    HI pavan,
    It is not a good idea to check with the Program name or Layout set name without knowing the OUtput types because, Billing docu number can work with multiple Output types...you never know it. So in your case to check TNAPR table would be the best option...but again it is never recomended to go ahead without knowing the output type.
    And for one Output type there will be only one smart form/ script form and a Zprogram will be configured.
    It is not possible to configure multiple Smart forms for a same Output type.
    You can use single smart form in Multiple Output types but not single output type for diff Smart forms.
    Try to either know the smart form/script from name or the Zprogram so that you can search it in TNAPR table or by using Where used list icon.
    Regards,
    Kittu

  • Currency Conversion for billing doc and after user exits in COPA

    Hello Friends,
    Need your view on this issue:
    1. Company codes currency and Operating currency is different., Costing Based CO-PA.
    2. Value filed "Gross Sales" get posted via Billing doc. In case of correction billing or re-posting (after reversal of original one) of billing doc value
    field "Gross sales" get posted based on exchange rate of original (very first) posted document because system is updating "Translation date"
    in table BKPF from very first document posted and not taking current date as a translation date. SAP standard program is  reading "Translation date" from BKPF to chose exchange rate and valuating "Gross Sales" on that ex.rate.
    3. Some user exits in COPA valuation to populate some values for other value field (Example - Gross Sales value should populate in value field
    "Sales ASP"). After valuation in exits, SAP standard program is re-valuating value fields value (program statement is : perform currency conversion for fields that were changed in exit ) and for this valuation system is taking posting date for exchange rate.
    Due to above logic company code currency value is different in Gross Sales and Sales ASP.
    Requirement is : Sales ASP value should be same as Gross Sales.
    Can you please share your thought to find the solution.
    Thanks
    Ravi

    Check if the currency key and the unit of measurement are filled in (these will be the reference fields specified in the field definition of the structure at the database level).

  • BAPI for delivery doc creation required

    Hi All,
    I need to develop a program wherein I need to create a sales order, delivery order, PGI(post goods issue) and invoice.......I have identified the bapi for sales order creation as bapi_sales_order_create..
    I request u to kindly help with the others....lemme know the relevant bapis for the others...

    Hi,
    Chk the FM's given below..Hope this will help you...
    BAPI For Delivery Order
    BAPI_DELIVERYPROCESSING_EXEC
    BAPI to post a Goods issue
    BAPI_OUTB_DELIVERY_CONFIRM_DEC "inbound Delivery
    Filling HEADEWR_DATA-DELIV_NUMB, HEADER_CONTROL-DELIV_NUMB, DELIVERY with the delivery number and HEADER_CONTROL-POST_GI_FLG with 'X' does the job.
    BAPI_OUTB_DELIVERY_CONFIRM_DEC " outboung Delivery
    Reward Points if helpful.
    Regards,
    Harini.S

  • BAPI for billing plan and billing order

    Hi Sap Guru, i need your help on bellow questions :
    Are there any BAPIs or MF standard used to read billing plan from the business partner (header and lines) ? Are there any that permit to create, simulate, modifify or cancel a billing plan ?
    Are there any BAPIs or MF standard used to obtain payment from a Busines Partner or Contract Account ? Are there any that allow to obtain views on the accounting records (header, extension, set of payments, discharges...)
    Thanks in advance for all reply.

    Check the BOR object  PAYSCHEME . You would find all the methods there

  • Wrong allocation of GL account for Billing Docs

    Hi friends,
    In A sales Org there are 4 sales order types& for each sales order types we have different GL accounts.
    When SAP issues the Billing document for each type of Sales Order, the amount gets wrong allocation.
    Please suggest me.
    Regards,
    Suman

    Hello
    which accoun is getting wrong update, check your condition type, and gl accounts asignment in automatic accounts assignment. in accounting document you can find transaction key and check accounts assignment accordingly
    Regards
    Dinabandhu

  • FM for billing doc pricing condition

    Hi
    is there a Fm that returns all the pricing conditions for a billing document (Header and line items) with the condition types and the amounts??
    I tried to use the FM RV_INVOICE_DOCUMENT_READ, but i think this FM does not return the condition types and their corresponding amounts from KONV table. I also tried using the FM PRICING but cudn't run it.
    how can i get the pricing conditions on just giving the invoice document number?? My requirement is to get all the tax amounts for an invoice separately.
    Regards,
    Sujai

    Hi Sujai,
    Try these FM's:
    RV_PRICE_PRINT_HEAD
    RV_PRICE_PRINT_ITEM
    Regards,
    Chandra Sekhar

  • Output could not be issued for billing doc no

    Hi All,
    I am getting printpreview correctly, but when i am taking print it is saying output couldnot be issued.
    In Devlopment it is working fine. in qulaity i am getting this error.
    I am getting below error message.
    An error occurred while output was being issued. It is possible, for example, that the form to be issued has not been activated or has an error. An error may also have arisen while the data to be issued was being edited.
    Thanks in advance.

    Hi,
    I guess, may be the problem is due to your Authorizations Problem in Quality system.
    after giving print, just check transaction SU53 for Authorization, if it shows something in red it mean U dont have authorizations..
    Hope it helps!!
    Rgds,
    Pavan

  • BAPI FOR Billing Document Creation

    Hi ,
    I want to create an Invoice from one or more Sales Orders. Is there a STD BAPI or FM to do this ?
    Thanks in Advance

    Hi
    Try these Fm:
    BAPI_BILLINGDOC_CREATEFROMDATA
    BAPI_INCOMINGINVOICE_CREATE
    PLZ REWARD POINTS IF HELPFUL

  • Number Range (series) for Billing Document (F2) and Excise Invoice

    Hi All,
    I want to know how the number ranges / number series is defined for billing documents (F2) and excise invoice, for India business scenario.
    In India, the excise invoice is given to the customer so that he can the excise duty/ cenvat. This invoice acts as the Tax invoice (having all pricing elements apart from excise duty) against which customer outstanding is considered. That is, the payment due will be tracked against this Tax (excise) invoice.
    But in SAP, the accounts posting is done (customer a/c debited) when we creaate and post the billing document (type F2). Hence, the outstanding amount is tracked against the billing document created. This billing doc/invoice will have all the pricing components like price, discount, freight, etc apart from excise duty.
    The excise invoice is created separately....with ref to the above billing doc....for posting the excise duty.
    If the number ranges for billing document and excise invoice are different then it is difficult to trace the outstanding amount from a particular customer on the basis of excise invoice created in the system.
    Can somebody provide inputs/solution on this?
    Thanks indvance.
    Rgds,
    Amit

    Hi Saurabh,
    My question is not how to define number range for billing doc and excise invoice? i mean what procedure / tcode to be used for the same?
    My question is whether we need to define same number range for Billing doc (F2) as well as Excise Invoice.
    For example: number range 1000 to 1999  --- same for F2 and excise invoice....
    Lets say billing doc 1000 is created. Further, when we create excise invoice w.r.t. this billing doc....the excise invoice created will also need to be 1000. ....so that we can identify that against this excise invoice, we need to collect the payment from customer.
    If the number ranges for billing doc and excise invoice are different, then it is difficult for the user to trace the outstanding payment .....because genarally the excise is treated as Tax invoice by companies in India ...(so that the customer can claim the excise duty....when he purchases the goods from the company).
    Whereas the customer account is hit when the billing doc is posted .....hence i feel, we need to keep the same number range for billing doc and exice invoice.
    Hope the question/scenario is clear now.
    I would appreciate the inputs on the above, from the consultants/experts who have worked on SAP implementation projects in India.
    Rgds,
    Amit

  • Do you know how to change the Text Object for Billing Document?

    Hi,
    If you execute Transaction VOTX or VOTXn it will take you to Text Determination. The Billing Doc & Sales Document both has the VBBK as Text Object for me and is it like that for all.
    I need to change the Text Object to VBRK for Billing Doc, which is the ideal because I am using the Function Module READ_TEXT to retrieve text. This work perfectly for Sales Document which has VBBK as Text Object, but does not work for Billing Doc where it through as error message saying “Text 0020000021 ID 0002 language EN not found”.
    Thank You
    Kishan

    Hi kishan,
    For updating these text you can use FM 'SAVE_TEXT'.
    As for your problem, to get the parameter you need, go to the billing document, go to the text, and display it in plain page mode.
    Then you do 'GO TO' -> 'HEADER', and a pop-up window open with the parameters you need Obect type, ID, Name, ...
    Regards,
    Erwan.

Maybe you are looking for

  • Check for wifi and 3g connection

    I'm using the following code to check for a network connection. This seems to work fine with wifi, but I also want it to work if I only have 3G connection. How can I do this? Boolean success; const char *host_name = "www.domain.com"; SCNetworkReachab

  • Repairing internal hard drive from disk utility

    Hey folks, I need to do a repair of my internal hard drive on my PB. I understand that in order to do this, you need to boot from another disk. I cloned my hard drive using CCC to an external firewire hard drive so I can boot from the external. So I

  • MacMini HDMI Audio Out Not Working

    Greetings all, I have a 2010 Mac Mini plugged into a Yamaha RX-V71 Receiver via HDMI.  The receiver is plugged into a Samsung TV via HDMI.  The image displays correctly onto the TV however the audio only plays through the Mac Mini's internal stereo. 

  • Why do I have multiple birthdays showing in iCal on my iPad using iOS 6?

    For some reason some of my birthdays are showing up as duplicates in my iCal on my iPad.  I have my calendars sync'd with Google Calendars and one of those calendars is my birthday callendar that I have setup in Google Canlendars.  Only some of the b

  • Add text when importing?

    I'm trying to setup a file name template in the import menu. I can add a token for date, year but when I try to add a custom text token by clicking insert; nothing happens. It worked in the previous version; anyone else having this trouble?