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.

Similar Messages

  • Errors in Statistical Setup for 2LIS_11 and 2LIS_13

    Dear colleagues,
    in the process of filling setup tables for SD Sales Orders (11) and SD Billing Documents (13) I have encountered some errors.
    In order to investigate the problem further, we have increased the tolerance for the number of faulty documents.
    For the billing documents (13) this allows me to consult the log file and to trace all faulty documents. For the sales orders (11) however, we have also increased this tolerance number (1000). The log shows only 1 faulty document, while 1000 errors are tolerated, and the runs fails with this 1 faulty document (job cancelled).
    The full log description of the cancelled job is:
    Job started                                                                          
    Step 001 started (program RMCVNEUA, variant &0000000000100, user name BExxxx)      
    Data source 2LIS_11_VAHDR contains data still to be transferred                      
    Start of order processing                                                            
    Error determining rate: foreign curr.  local curr. EUR date 04.05.2006 (doc. 20149127)
    Job cancelled                                                                        
    Context:
    At this stage I do not want the delta queue to be emptied. That's why the error states that the 2LIS_11_VAHDR datasource still contains data.
    My questions are:
    - Is this normal behaviour for this setup (or this particular error), or is it likely to be a program error?
    - If it is normal behavior, can I "force" this run to log more than 1 error, while 1000 are tolerated?
    Kind regards,
    PJ

    Hi
    It could be because of main memory problem... so Restrict your selections and do the statistical setup
    by the way how many comp codes you have? restrict with comp codes or doc ranges
    Thanks,

  • 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

  • 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 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

  • 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

  • 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

  • Statistics setup for 2LIS_11 and no storage space available internal table

    Hi, I am running statistical setup for 2LIS_11_VAITM. It ran for 10 hours and failed with an ABAP run time error. The error is "no storage space available for extending an internal table". For 11 application, the selection options is sales org, company code and sales document. We have tried twice, and already drilled down to the level of sales org and company code, but still with error.
    The only option is sales documents.
    The volume of the data is 16 million records around in VBAP table which needs to be in the setup table.
    What is the criteria to categorize the sales document.
    Can we use order types? We have 200 values in the order types. And I am not sure the document ranges in each order type is clearly defined and not overlapping each other, so that we could load those in the setup table.
    Please advise!! Or if you have other suggestions!
    Thanks!

    Hi
    It could be because of main memory problem... so Restrict your selections and do the statistical setup
    by the way how many comp codes you have? restrict with comp codes or doc ranges
    Thanks,

  • Creating Billing Doc

    Hello Professionals,
    I need some clarification on the copy control and item determination for Billing doc creation.
    Am I right to say that :
    1. Item category determination can be done 2 ways : from setting in SPRO assign item category and the Maintain copy control for Billing doc in SPRO.
    2. Of the 2 places to set item category, the copy control setting for item category will overwrite the Item category determined from assign item category setting in SPRO.
    A question I have is :
    1. In SPRO maintain Copy Control for Billing Doc, I selected the Target Billing Type and the Source Delivery Type and went into   the item screen, In this screen , I see Item category for Delivery Type but there is no corresponding item category below the Target Billing Type area.
    May i know what does this imply?
    Thanks.
    regards
    John

    hi john,
    read it and revert i hope will clear the issue
    system copies the item category from the item category determination rule as specified in the earlier posts,
    on the basis of  item category grp in material master,sales  document.
    this happens ,provided that you are creating the order w/o ref to any quotation or any other preceding document .
    and when the system creates the delivery for this order copying control is used for the data transfer from item category and schedule line data of the order in to the delivery.
    -item cat det is done for the first time when the user punches in the data in any document(sales-delivery).
    -when user creates any subsequent document from this document then system uses the copy control to fetch in the data that is to be copied from the item category of this preceding document's item category inn to the followup or subsequent doc.
    hope this clear your some issues
    revert if helpful
    Mohit Singh

  • Output Determination for SD docs

    Dear All,
    I have checked all the settings of output det in NACE for billing doc & excise invoice & didnt find anything missing there, but still I am unable to activate the print option in document. Even I am not able to see the print preview.
    Can anybody suggest what can be the reason for this.
    Thanks & Regards,
    Antima

    it is at VV31 you need to maintain the output condition record. what you have done is now sufficient to have the output trigger for your billing document.
    for the existing document you can go to the header > output > edit screen and assign RD00 there and press enter. Select the communication method and mention the printer name where you want this output to be triggered.
    Save it. Now you can check in VF02/VF03 by selecting billing document > issue output > print preview or print.
    regards
    sadhu kishore

  • Statistical Setup Error - Error Converting Quantity

    Dear SDN Mates,
    We are getting this below error while doing the statistical setup for SD extraction in 11 application,
    Error converting quantity: unit M numerator 0 / denominator 0.
    Regards
    Arun S

    Hi guys,
    I have the same error with below message :
    Error determining rate: foreign curr.  local curr.KRW date 17.06.2011 (doc. 14024)
    I checked data in table VBAK with sale document 14024, some information of this data record related above error :
    + ERDAT (Date on Which Record Was Created) : 17.06.2011
    + WAERK (SD Document Currency) : KRW
    + STWAE (Statistics currency) : <BLANK>
    I tried to create 2 new records in Currency Exchange Rates (OB08), like this :
    But there're still error.
    Please give some ideas to solve it.
    Regards
    Dennis Vu,

Maybe you are looking for

  • Unable to run SSIS Package using Stored Procedure

    Hi Guys,         I have create one simple SSIS Package(Move the first table record to second table).It will execute fine in locally. But, If i'm going call/execute .dtsx file using stored procedure. I'm getting Error. so please let me know the valuab

  • Interrupted while setting about:config. Came back and now firefox won't open for more than 1 second.

    As above. looked up and was late to work. never 'closed' file or settings. Came back from work and now firefox opens for about 1 second and automatically closed down immediately. I've removed it. uninstalled it. redownloaded it. still does same. Now

  • Xcelsiues 2008, working with live data help!!!

    Ok, so i have flynet designer for web services. All this is working correctly. i have setup a test query just to check everything is working so i just pulled out some customer info name, account number etc. I generated the webservice succesfully and

  • Passing variable information to swf

    I've created a flash file that imports photos from a database where the user is able to merge the photos with a variety of photo templates. I can pass the db info directly to the swf file with no problem, but if I use the html file with all the relat

  • How to start JMS Grid daemon as Windows service

    In JMS Grid 5.1.x documentation (3.2.3 Starting a Daemon), the preferred way to dameon on Windows is to start as an NT Service. But I couldn't find the way of doing this. Does anyone know if and how this can be done? Thanks in advance!