Incorrect number range picked up for accounting document

Hi,
We made a return from the customer.
The accounting document number is a number from the normal invoice range (starting with 11...)
It should be from correction invoice range.
Which customizing settings do I need to make? Which tables?
Thank you.
Kind regards,
Linda

Hello Linda,
table beginning Y means a custom table not a standard one. So it is difficult to tell what the purpose is and where it is used.
I would say this is used by a user-exit in billing. There are many user exts there to manipulate the follow-up accounting document, change fields, etc, above the standard customizing options. One purpose could be to change the accounting document type. Why it is not working? Try to find out in which program this tabkle is used (SE11, enter table name, press Ctrl-Shift-F3). Then, you may need some support from a developer unless you are familiar with ABAP code debugging. So you can find out where the table is used and if that program is called at all. Maybe the user exit has been deactivated, maybe that table is nt used in a user exit at all... hard to tell from here if it is a custom table (Y*).
Re OBA7 and reversal doc. type: nothing means when reversing a document with this doc.type, reversal doc will have the SAME doc.type. If you just press F1 on that field in OBA7, it should tell you almost everything about it.
Hope that helps, points welcome
Csaba

Similar Messages

  • Maintain number range interval "01" for inventory documents

    hi,
    when i am creating a physical inventory creating document t.code LI01 i got this eror:
    Maintain number range interval "01" for inventory documents.where i have to maintain please reply me.
    naveen

    hi,
    spro->log.execution>warehouse mgmt->activities->physical inventory---->maintain number ranges.
    Regards,
    velu

  • No. range for accounting document

    Hi Friends,
    I want to assign a new no. range for the accounting document. Can you tell how can I do this.
    Regards,
    Wasim.

    Dear Check below transaction for accounting document types and defining number ranges as per document type and period.
    OMBA-Document types
    OBF4-Change document types
    FBN1-define number ranges
    SNRO - Object type number ranges
    Cheers
    KK

  • Incorrect number range  for good receipt (WE)

    Hi,
    We have a number range defined for goods receipt document WE for the year 2010.
    Now wehn i posted a good receipt on 06th January,2010 material document was generated with other number range (defined for year 9999) instead of tat defined for year 2010.
    Can any one plese help us understand why it is not picking up number range for year 2010 ?
    Thanks.

    Go to OBA7, select the document type WE and execute.  There check what number range object is assigned.  Next go to FBN1, key in company code and execute.  There ensure that for the same object, number range is maintained for the year 2010 also.
    thanks
    G. Lakshmipathi

  • Table relations between vbrk and bkpf for  Accounting Document Number

    hello,
    i am using 4 tables to get data into my programs.
    vbrk,vbrp konv and bkpf.
    i want to get belnr from bkpf.i found relation between vbrk and belnr.but in vbrk table belnr's value is initial.
    can anybody tell me that how should i relate vbrk and bkpf or how to get Accounting Document Number(belnr) from bkpf for Billing Document(vbeln).
    regards,
    soniya s.

    hi,
    chekc this. its working for me.
    data : WA_AWKEY LIKE BKPF-AWKEY.
    data :  WA_BELNR LIKE BKPF-BELNR.
    data : LENGTH TYPE I.
    *BREAK MTABAP.
    LENGTH = STRLEN( IT_VBRK-VBELN ).
    if  LENGTH = '10' .
    MOVE it_vbrk-VBELN TO WA_AWKEY.
    SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
      WHERE AWKEY = WA_AWKEY
      AND AWTYP = 'VBRK'
      and blart = 'RV'.
    it_final-acc_doc = WA_BELNR.
      CLEAR WA_BELNR .
      CLEAR WA_AWKEY .
    else.
    CONCATENATE '0' it_vbrk-vbeln INTO wa_awkey.
    SELECT SINGLE BELNR FROM BKPF INTO WA_BELNR
      WHERE AWKEY = WA_AWKEY
      AND AWTYP = 'VBRK'
      and blart = 'RV'.
    it_final-acc_doc = WA_BELNR .
      CLEAR WA_BELNR .
      CLEAR WA_AWKEY.
    endif.

  • Incorrect Number Range assignment

    Hi all
    I"ve created Credit memo for return order & i"m releasing it to accounting but it"s giving following error message:
    Incorrect doc.no.: 313000118. Select document number between 0316000000 and 0318999999
    Message no. F5151
    Diagnosis
    The document number you specified, "&v1", is not in the appropriate number range. The number range is dependent on the document type.
    The exception to this rule is formed by recurring entry documents, which must use number range 'X1' and sample documents, which must use number range 'X2'.
    Possible reasons for this error message are:
    You have entered an incorrect document number.
    An incorrect document number was transferred to this application during an update from another application (e.g. CO).
    System Response
    The document cannot be processed any further.
    Procedure
    Enter a document number that is within the specified number interval.
    If this error was caused by an update from another application, check the type of number assignment in that application (external or internal?) as well as the document number transferred.
    Example
    In the CO settlement profile, a document type with external number assignment was entered, whereas an internal document number was transferred.
    PS: I"VE MAINTAINED NUMBER RANGE FOR INVOICE TYPES AS SPECIFIED IN BBP FOR CREDIT MEMO.
    CREDIT MEMO FOR RETURN ORDER IS REFERENCED WITH SALES ORDER NOT DELIVARY.
    SUGGESTED NUMBER RANGE IN THE ERROR IS FOR DELIVARIES IN SPECIFIED GUIDELINES IN BLUEPRINT

    Dear Mandhar,
    Please check following settings at your end and update:
    T. Code: VOFA
    Select your Billing type and double-click. Now, check
    Field: Document Type (TVFK-BLART). Check for the entry maintained (If nothing specified, RV is the default).
    Then,
    T. Code: OBA7
    and check the Number Range ID for the document type determined above. Note this number range ID.
    Finally, go to
    T. Code: FBN1
    Key-in your company code and maintain the Interval for the number range ID. (If already maintained, check whether Box: Ext. is marked as checked or not? If yes, remove the check and save and try to release the Invoice for Accounting).
    Hope, this may help you.
    Best Regards,
    Amit
    Hope that helps, points welcome

  • Exit/Badi for Accounting Document

    Dear Friends
    Is there any user exit/BADI for accounting document. My requirement is quite simple which you would also faced in many implimentation. Client wants number ranges business area/plantwise. I was just thinking as plant/business area is a line item field it may be little difficult to have different number range controll at that level, so I thought we could use user id as the import parameter. But these is possible once I get any user exit/badi for number range change. We dont want to create so many document type also.
    Thanks and Regards
    Pankaj Gupta

    Hi Marta,
    Check these notes
    SAP Note 1259505 - FAQ: New cancellation procedure in SD,
    SAP Note 400000 - FAQ: Transaction VF11: Cancellation of SD billing documents
    See with attention note 1259505 question 4. It says
    Most of the userexits in the SD-FI interface (see note 301077) will not be
    performed.
    So, try to do it with BTE's
    Sorry, try with USEREXIT_PRICING_COPY in program RV61AFZA.
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Nov 21, 2011 9:15 AM

  • Maintain number range interval 01 for posting change notices

    Hi,
    I am doing transfer posting using movement type 321 (quality to unrestricted) for one material.While posting i am getting error"Maintain number range interval 01 for posting change notices" Message no. L0015
    WM is active for this material and doing this movement for one plant which is newly created in system.Wil you please advice for which document type i had to maintain number range.Please inform SPRO path / Transaction to be used to make required changes.
    Thanks & Regards
    Atharva

    Maintain number range for posting change in tcode  OMLW

  • Question: How to assign number ranges to the Official Excise Document Numbe

    Question: How to assign number ranges to the Official Excise Document Number
    Field name is: EXNUM, table name: J_1IEXCHDR
    SAP CIN
    Dear expert,
    I will briefly explain the scenario:
    I have created return po.
    Process MIGO w.r.t. return PO- Material document generated.
    Process: J1IS - excise invoice other movement create.
    --> Now I want to print the document --> I m trying with T-code J1IP --> entered all the required data --. Used out put type - J1I0
    But I am not getting the list of document for printing and even print is not coming.
    There is no print document getting for a printing.
    When I checked in an above said table (mentioned in question), I found that for transaction type OTHR, there is no number ranges defined for official document no.
    And because of this reason I m not getting any document in the print.
    Can you Pl extend Ur help and Pl suggest me where (path or transaction) the number ranges can be maintained for the official excise document No.
    Thanking you all n advance and expecting your earliest response.
    Regards
    om

    Dear Friend,
    J_1IEXCHDR this table stores the all the excise documents created while excise transactions are done ,
    for that Goto j1i9 or SNRO  in these transaction you maintiane the number ranges  for the
    J_1IPLA2     PLA part II number range object
    J_1IRG1     RG1 Number range object
    J_1IRG1_T     No. Range for RG1 - Excise group / Material
    J_1IRG23A1     RG23A part 1 no. range object
    J_1IRG23A2     RG23A part II number range object
    J_1IRG23C1     RG23C part I number range object
    J_1IRG23C2     RG23C part II number range object
    J_1IRG23D     Folio Numbers for RG 23D
    like these  lot of objects are there  for them u maintiane the no. ranges
    Regards
    Pramod

  • BADI/EXIT for MIGO for accounting  document posting

    Hi
    I am using MIGO where SAP post Mat Document and Accountying document.
    This Uses FM  'MB_POST_GOODS_MOVEMENT  < Include LMIGOKG1>, once this FM executed both MKPF and BKPF data gets filled . I can see tha data for MKPF in debug but I am not able to see data for Accounting Document.Even I cant see the Acc. document no assigned by SAP
    I need to change some fieds for Acc. Document <BSEG-VBUND>
    Can any one help me to find in which structure or table I can get data for Accounting document

    am using the method POST_DOCUMENT,
    am writing the code like..
    sample code..
    DATA: wa_mseg type mseg,
    wa_mch1 type mch1,
    wa_ausp type ausp.
    loop at it_mseg into wa_mseg.
    *select single * from mch1 into wa_mch1 where matnr = wa_mseg-matnr*
                                                               and charg = wa_mseg-charg.
    if sy-subrc is initial.
    *select * from ausp into wa_ausp where objek = wa_mch1-cuonj_bm*
                                                   and klart = '023'.
    if sy-subrc is initial.
    if wa_ausp-atwrt EQ 'ACCEPTED'.
    continue.
    else.
    if wa_ausp-atwrt EQ 'REJECTED'.
    call function 'popup_to_display_text'.
    endif.
    endif.
    endif.
    endif.
    endloop.
    when i debug ,i find no data in the mch1 table ..
    any help..
    thanx

  • Change profit center for accounting document on item line

    HI
    I need to change profit center for accounting document on item line, for that purpose I have used user-exit EXIT_SAPLV60B_004, but my new profit center gets latly overwritten in FM CO_DOCUMENT_CHECK (which is called from FM AC_DOCUMENT_CREATE). It gets overwritten from COBL. Is there any way to solve this?

    HI,
    possible reasons are :
    In GR document profit center pulled from PO Material :
    If you have ordered with material code, must check profit center assigned into material by mm03/Plant Data2
    If you have ordered without material code, than check cost center assigned Profit center by 1KE4

  • BAPI for Accounting Document Posting

    What is the name of BAPI for Accounting Document Posting and how can I run it?

    Hi ,
    Can you send me the code how to use the BAPI_ACC_DOCUMENT_POST.
    Regards,
    L Srikanthan.

  • Re : Maintain number range interval "1" for quants

    Hi
           While creating transfer order the following error is coming.
    " Maintain number range interval "1" for quants "
    How to solve this.
    Thanks
    Mani

    Dear,
    Enter t-code OMLW.
    Click on tab of For Quant.
    Then maintain number range.
    Regards,
    Mahesh Wagh

  • Number range plant wise for delivery

    hi,
    how maintain number range plant wise for delivery.
    can any one suggest which user exit to use.
    thanks & regards,
    Chetan

    Hi
    if you want to create the number ranges for plant wise delivery . you can use table maintain the data and use user exit for the trigger in delivery table
    Regards
    S.pavan

  • When does incompleteness of foreign trade matters for accounting document?

    Hi,
    When creating billing from an SO without delivery, the accounting document is created even though foreign trade data is incomplete.
    While when creating billing from a delivery, the accounting document is not created since foreign trade data is incomplete.
    My question is, When does incompleteness of foreign trade matters for accounting document?
    Please advice.
    Thanks!

    Hi,
    I donu2019t have an exact answer but I take a guess that, when creating billing from a delivery, the accounting document is not created since foreign trade data is incomplete -  it might be because the necessary information for delivery is not maintained, for instance mode of transport for Foreign Trade, Domestic mode of transport (you can see them in billing doc u2013 header u2013 foreign trade/customs) most of the data maintained in material master.
    Whereas for order related billing, these data might not be necessary as it has no delivery.
    Note: This is just a guess.
    Also take a look at the below link. It might be useful for you.
    Re: foreign data incomplete appearing after deactivating
    Good luck
    Sats.

Maybe you are looking for

  • What is Premiere's Preview Codec? (CS4)

    Is there a way to convert your source video to Premiere's preview file format/s, so that it never has to be preview-rendered? (until you add effects) Thanks. Update: by the way, I just read an article on Ars Technica (tech website), that said this: "

  • I am not able to create Repository

    Hi All, I have installed SQL server. I am able to login SQL query. my SQL server name is "WINDSON" now when I am trying to create repository in MDM console I gave server name as "WINDSON" and I select "SQL_Server" as DBMS server Type and give user na

  • Current month's full text

    Hi all Is there any function module to get Current month's full text? E.g: If current date is 01.08.2007.. then I want the full text as "August" (Not the short form "Aug") Pls help Regards, Prasad

  • DB2 Backup & Restore Method

    Hi Gurus, I have a source system which is ECC6 running on Windows Server 2008 & DB2 9.7 FP2 database. I want to build or copy the exact system to diffrent office. I have done a fulloffline backup on the server. The target system will be suselinux and

  • Geting error msg "Unable to start Web browser for U" while open Siebel Icon

    hi, I have Successfully Installed Siebel 8.1 on Windows 7 Operating System After this when i am trying to open "Siebel Financial Services - ENU" ICON i am getting Error Message that "Unable to start Web browser for your Session". I have Internet Expl