S_alr_87012341-Invoice Number allocated twice

Hi,
The T code s_alr_87012341is used to display duplicate Invoices, I have to make code change, so that when the dulicate Invoice is reversed it should not be picked(displayed), can any one help me what changes I have to make in the program(RFBNUM10). Iam coping this program to zprog.
Answers are highly rewarded.
Thanks in advance
Raj

Hi, Thanks for the info.
In the program
SELECT single * FROM  BKPF
             WHERE  BUKRS  = bsad-bukrs
             AND    BELNR  = bsad-belnr
             AND    GJAHR  = bsad-gjahr.
      check bkpf-stblg is  initial.
already exists but it is still taking duplicate values.
Could you explain what exactly is happening in program
Thanks
Raj

Similar Messages

  • Gaps in Document Number Assignment & Invoice Numbers Allocated Twice

    In Period End Closing Financial Accounting there is Gaps in Document Number Assignment & Invoice Numbers Allocated Twice for day-end closing. I understand the difference between the two, but why is the business process procedure a process decision between the two as opposed to a process flow that includes one after the other?
    T-Codes:
    S_ALR_87012342 vs. S_ALR_87012341
    Thanks in advance for you help!

    The report is used mostly by SOX and Internal auditors to check if there are any gaps in the document number assigment. This could be possible if due to various reasons certain numbers have been skipped and document numbers are not in sequence. Also as per some of the local reporting GAAPs there hsould not be any gap in the document numbers assignment. To ensure all this this report is checked.
    Thanks and regards
    Kedar

  • Allocation of excise invoice number

    Dear gurus,
    The following error message has received from the end user.
    " Error in allocating Excise invoice number interval
      not found NUmber object J_1IEXCLOC".
    KIndly provide the solution.
    how do i find the object ?
    Regards
    R.Rajendran

    hi Rajendran
    Please maintain the number range for the group using the t code
    SNUM for the object J_1IEXCLOC. enter the required excise series for the number range and check
    hope this helps
    Thanks
    Akasha

  • Creating  idocs based on invoice number ocurrences

    Hi ,
    I want  to create idocs based on invoice numbers .
    Lets say i have a file coming in from sender system
    Invoice1 material customer value
    Invoice1 materail1 ..........
    imvoice2 material2.....
    invoice2 material1.....
    invoice1 material3..
    Invoice3. material4....
    So for Invoice1 only one Idoc should be created  similarly for invoice 2 which is ocurring twice in the file
    only 1 idoc  should be created
    Let me know how to achieve this ..  by UDF , or by split by value
    please help
    thnx
    Chirdip

    Hi,
      Change the IDOC occurance to 0-unbounded.Export the xsd change the occurance and import it to external definition.
    Map Like below:
    invoice number--removecontext--sort--splitbyvalue(valuechange)--IDOC
    other fields you need to map like below.
    invoice number--removecontext--sortbykey--SplibyValue(Each)---IDOC fields
    source field----removecontext------
    Regards,
    Prakasu.M

  • Design of gap-free invoice number or check number

    Hi, i have this "old question" that i can't seems to find the answer that satisfy the following requirment
    - An audit requirement to have a gap free in the invoice number/check number
    - this is a high concurrent oltp in generating invoices/checks
    - the design should be able to scale well without serialization issue
    - the design should be working well in RAC environment.
    Since sequence will not guarantee gap-free, or nocache suffer will have issue in RAC, thus i wondering what design approach i should use.
    A note i saw was saying using a seq for the primary key and subsequent using a batch process to generate a gap-free number.
    rgds
    Ung
    Edited by: Kok Aik on Jan 7, 2009 10:17 PM

    Kok Aik wrote:
    Hi, i have this "old question" that i can't seems to find the answer that satisfy the following requirment
    - An audit requirement to have a gap free in the invoice number/check number
    - this is a high concurrent oltp in generating invoices/checks
    - the design should be able to scale well without serialization issue
    - the design should be working well in RAC environment.
    If you absolutely have to have something like, then it's going to have a serialising effect - although you can take steps to do damage limitations. I discussed one strategy in Practical Oracle 8i many years ago, which pointed out that basically you have to do your audit by looking at numbers which have been used, but also have a permanent record of numbers that have not been used.
    There are several ways to do this, but here's an outline of one:
    Populate a table with "the next 1000 available values".
    A process that needs an Id updates and commits on the lowest available number.
    Once a number has been marked as allocated, the process creates an invoice, which includes a step either to mark the id as used, or to delete it. (I prefer the latter, as this means on commit the value disappears from the source table and reappears as a value in the invoice table).
    You end up with three possible states for an id:
    Available
    Allocated but not used
    Used
    The audit has to check that the union of all three lists contains no gaps.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "Science is more than a body of knowledge; it is a way of thinking" Carl Sagan

  • Manual Invoice number duplication message

    Hi All,
    We were wondering if someone could clarify the following situation:
    Whilst working on 2 TEST company databases we have encountered a small problem. We have 2 BP accounts "Example1" and 
    " Example2" , both had invoices with the reference 1234567 , entering in to "Example1"was fine, but when we tried to enter this ref No. for "Example2" the system told us we had already entered it and would allow no further processing.
    We think we will come across different suppliers that have the same series of reference nou2019s from time to time, how is this dealt with within SAP B1?
    Thank you,
    MB

    Hi Matthew,
    The manual number you are entering is normally your internal reference for Purchase Invoices in SAP.  Therefore you cannot enter a duplicate number. All of our customers have this set as an automatic numbering series.
    Most clients would put the suppliers invoice number in to the Customer / Supplier Ref No. field (numatcard).
    The numatcard will still check for duplicate invoice numbers, but only for one supplier.  So, you cannot enter 1234567 on the same BP account twice without warning, but you can enter 1234567 across 2 supplier accounts.
    Regards,
    Adrian

  • Enter multiple invoice number

    Hi all,
    On screen FB60, users want to enter multiple invoice numbers (amount should be entered as a lump sum on Field Amount). Actually, we are using the field Reference to input one single invoice number. How can I capture multiple invoice numbers in one transaction/step only?
    Thanks for your help.
    Nas

    Please note this is not what this transaction is for. A single invoice should have a single reference.
    Can you provide the reason why you want a single accounting document to have many invoices?
    You could use t code FB01, and have many vendor line item postings, and use the allocation field at line item level to store the invoice number.

  • Excise Invoice number and Internal Number

    Hello Friends
    I have some queries ,I will be thankful to you if you could guide me, in understanding themu2026
    1) When we see the document in J1IEX ,in excise invoice tab, we see two fields :Excise invoice number and Internal Number.
    For Internal number we define the range in object J_1INTNUM, but how do we define range for Excise invoice  number
    2) Where do we maintain the relation between GRPO (Excise Transaction type) with the Excise Invoice number
    3) When do we require updating of register ,is it done on daily bases, and  how can we see the entries of RG23A part 1.
    4) We have excise invoice number  range of posted ,in process and cancel documents which is  assigned to GRPO transaction type, while running J1I7 though we select last option   part 1 posted  and part 2 not  posted, still the system shows the cancelled documents, How can I avoid  the cancel documents
    Thanks
    Siddharth

    1) When we see the document in J1IEX ,in excise invoice tab, we see two fields :Excise invoice number and Internal Number.
    For Internal number we define the range in object J_1INTNUM, but how do we define range for Excise invoice number
    -->> Ex inv nbr will be entered based on the vendor ex invoice .. this is external nbr assignment
    2) Where do we maintain the relation between GRPO (Excise Transaction type) with the Excise Invoice number
    --->> there is no relation between grpo vs. ex inv nbr
    3) When do we require updating of register ,is it done on daily bases, and how can we see the entries of RG23A part 1.
    >> u can see in J1I7 or thru table J_1IPART1
    4) We have excise invoice number range of posted ,in process and cancel documents which is assigned to GRPO transaction type, while running J1I7 though we select last option part 1 posted and part 2 not posted, still the system shows the cancelled documents, How can I avoid the cancel documents
    >> wait for others answers..

  • Depot Excise Invoice number skipped ???

    Hi Everyone
    For Ex. say our depot excise invoice number range is from 1to 100, assuming the current number is 51. Some day back there was a jump in the depot excise invoice number range. In between 1 and 51 the number "25" is missing.
    So the excise department has asked the company as to why we have skipped the number 25.
    I have checked the table J_1IRG23D, but the skipped excise invoice number is not appearing in the tables, I mean it says "No table entries found for the specified key"
    Our Company wants to know the exact reason as to why the system has skipped the depot excise invoice number "25".
    Whether it is the system mistake or user mistake or some body else fiddling with the system.
    Please offer you valuable suggestions to solve this problem
    Thanks & regards
    satish

    Hi,
    SAP 99.9 % will never skip the number range on its own.
    As per my understanding:
    1.Some one has manually deleted the Depot Excise Invoice number after creation (due to the user mistake at selecting the 
      appropriate Incoming Excise invoice, Price , material or etc reason. And while creating the New Depot excise Invoice Number  
      he forget to adjust the number range at object 'J_1IDEPINV' for corresponding Series Group. This u can confirm by checking
      the entry at Item level, instead of Header at it will not show that entry.
    2.May be due to the Depot Sales Returns for respective Depot Invoice canceled and Deleted by the user.
       Here, deleting the excise Invoice is not Valid practice as per Excise Tax rules of GOI.
    3. Kindly check, whether Number Range Changes happend for respective Series Group between the Fiscal Year 2010-11.
    Please feel free to correct me and It will be a value addition if you find any other solution.
    Thank You,
    RB

  • How can i get an old itunes invoice number if I permanently deleted it from my email

    I need an old itunes invoice number to fix an itunes ID issue but i delete these invoices every three months from my email and email trash i can i get a copy

    Login to the iTunes Store.
    From the menu bar click Store > View My Account
    Click Purchase History from the Account Information window.

  • To get the invoice number of amount applied in view prepayment applications

    hi all
    In AP abc Manager-Invoices--when we give invoice number in the invoice number field we get to see supplier name etc in the same Invoices Form there is a
    tab called General from which we can get Amount Paid ,
    Similarly there is a tab called View Prepayment Applications ,when clicked on this tab we can see Amount Applied and invoice number corresponding to that amount applied
    KIndly help me from which table or view this invoice number can be obtained
    i got amount applied from the view AP_UNAPPLY_PREPAYS_V,but i cant find the invoice number.
    kindly guide
    thanking in advance
    Edited by: makdutakdu on Dec 19, 2011 11:29 AM

    Thanks Robin,
    i was able to get a work around for this. For the time being i am using the following code snippet, i will try using the one u sent an will see if this works too.
    // create nodeinfo object for the node that table will bind to
    final IWDNodeInfo nodeinfo = wdThis.wdGetContext().node<NODENAME>().getNodeInfo() ;
    //get the structure of the node
    final IStructure struct = nodeinfo.getStructureType() ;
    Iterator iter = nodeinfo.iterateAttributes() ;
    if (null != struct)
    totalFields = struct.getNumberOfFields();
    else
    for ( Iterator i = nodeinfo.iterateAttributes(); i.hasNext(); i.next() )
              totalFields++;
    for(count = 1; count <= totalFields; count++)
         fieldName = nodeinfo.getStructureType().getField(count).getName();

  • Purchase Order report with MIRO invoice and/or FI invoice number

    Hello,
    I am searching for a standard report which will allow PO number as input and dispaly the MIRO invoice number/s and if possible the corresponding FI document numbers.
    I have exhausted all the reports I know of - ME80FN. ME2* series, FBL3N.
    These are two options I know of but want to avoid:-
    SQVI query
    Z-report
    If there are no standrad reports, can someone explain use of Flexible analysis to create such a report.
    (Must confess that I have not fully explored that option yet).
    Thanks,
    Saurav.

    Hi,
    You can get invoice number in RSEG table
    pass this invoice number in BKPF into field  AWKEY field where you will get invoice number+fiscal year and in same table you will get BELNR FI dc for same invoice number
    Regards
    Kailas ugale

  • Report showing Invoice number, vendor,material and qty

    Hi Guys
    Is there any report where we can take report for vendor, invoice number, material and qty.
    Regards

    Dear
    yeah! yau can check ME80FN with purchase order history setting.
    full marks to me if solved
    regdsd
    dev...!

  • PO number and Invoice number paying the payments using FBZ1 tcode?

    Hi all,
    i developed a report for pending payments as per client requirement.
    i'm getting the records in my output.
    but some records are not getting the PO number,Invoice number and due date as per requirement.
    the client some times doing the payments using the FBZ1 tcode.
    That items not displayed in my report.
    so, plz give me suggestions for getting the above fields data in my report.
    Thanks,
    Srini

    Yes..But they need Po number, Invoice number and due date fields in the report
    and they need days of pending  payments also.
    That is the reason, They need z report
    Thanks,
    Srini

  • Excise Invoice Number

    Hi Sap Guru
    Can u elobarate explanation regardind  this. I need Can i get the Excise invoice number or Bill Number  in FBL5N open item report without development. If yes/No, Can u guide me how to resolve this.
    Its Urgent,
    Thx in Advance
    Neha

    Hi,
    In Change Layout --> Hidden Fields: Billing Document.
    Best reagrds,
    Amit.
    Note: Also, Column: Document No (Sort it by Type: BL)

Maybe you are looking for

  • Recording from FMLE to disk - jagged edges and combing..

    I'm experimenting with recording straight to hard drive using FMLE 3.2. I have to film a conference using 4 cameras ( Sony A1U's ) The recordings will be required almost immediately so I wont have any options to bring the footage into Premiere Pro an

  • Compilation error mySql

    Hi How i can remove the following compilation error to get a connection with mySql........... test3.java:19: cannot access Statement bad class file: .\Statement.class class file contains wrong class: org.gjt.mm.mysql.Statement Please remove or make s

  • After tryed all of the suggested website still looks wrong

    Youtube looks like this on Firefox latest version. [http://img9.imageshack.us/img9/5070/image1ik.jpg link to picture] http://img9.imageshack.us/img9/5070/image1ik.jpg On internet explorer: [http://img269.imageshack.us/img269/8207/image2uv.jpg link to

  • Need help with detail by hour in SQL query

    Hello all, I am using the following query to track the usage on a circuit and I have the detail by day, but now they are asking for hourly usage from 0900 to 1200 on these days. Any ideas how I can append to include hour in my detail? select 'Report

  • My iphone can not get in touch with the server. What can I do?

    My Iphone can not get in touch with the server, when I am trying to accept terms and conditions. What can I do?