Billing Document - Document Number X Time - The last document has the first hour

Hi All ,
We have a fail in synchronism between fields VBELN (Billing Document) and ERZET (Creation time) of table VBRK as seen below :
The document VBELN 0490014130 has ERZET 10:54:28 – 01.03.2014
The document VBELN 0490014131 has ERZET 10:53:26 – 01.03.2014
The error occurs between Billing Documents processed by job and Billing Documents processed between dialog users
Do you know any Note or adjustment Standard for this issue or a note for all Countries ?
Tks Team ,

Not sure whether it is for the same customer.  In normal circumstances, it could be due to couple of reasons like one billing document which has generated early would be normal process and the one which takes little bit extra time would involve some customization due to which table updation may take extra time.   Also these types of issues will happen only in batch jobs and if you generate individually, it wont happen.
G. Lakshmipathi

Similar Messages

  • The billing document has incorrect gross weight on the output

    Hi All,
    I'm facing a problem - the billing document has the incorrect gross weight on the output.
    The output of gross weight is 3 x the true gross weight.
    The program was looping three time during this select causing the value in t_weights-brgew to be 3 times the true value.
    Could someone advise how to resolve this problem?
    Below is part of the program for gross weight.
      REFRESH t_weights.
      SELECT vekp~brgew INTO t_weights-brgew
                        FROM vekp JOIN vepo ON vekpvenum EQ vepovenum
                             WHERE vepo~vbeln = w_vbeln
                             AND vepo~matnr = w_matnr.
        COLLECT t_weights.
      ENDSELECT.
      IF NOT t_weights[] IS INITIAL.
        READ TABLE t_weights INDEX 1.
        READ TABLE out_tab WITH KEY name = 'BRGEW'.
        IF sy-subrc = 0.
        move t_weights-brgew TO out_tab-value.
          MOVE t_weights-brgew TO w_gross.
          MOVE w_gross TO out_tab-value.
          WRITE w_gross TO out_tab-value LEFT-JUSTIFIED NO-ZERO DECIMALS 2.
          MODIFY out_tab INDEX sy-tabix.
        ENDIF.
      ENDIF.
    ENDFORM.                               " of get_nett_gross_weights
    Thank you.

    What is the Structure of the t_weights.
    This may happen due to that condition in select stament, there might be more record for it, so it will add twice or thrice especially due to the JOIN/INNER JOIN statements,
    Try SELECT DISTINCT <..followed by your same code...>

  • Need to count the number of times the Basic Finish data chages

    HI Expertes,
    I have a requirement I need to count number of times the Basic finish date chaged for PM work order. I went throug our forums I got some info like using a standard function module
    CHANGEDOCUMENT_READ_HDRS_ONLY
    CHANGEDOCUMENT_READ_HEADERS
    CHANGEDOCUMENT_READ_POSITIONS
    But all the above function module will not be suitable for my requirement since  CHANGEDOCUMENT_READ_HDRS_ONLY it gives whole changes but my requirement is just need number of changes occurred in Basic Finish date but CHANGEDOCUMENT_READ_POSITIONS can give the filed number which has been changed but still I need change id.
    So kindly suggest me wether there is any other Standard FM to get number of changes occurred in Basic Finish date?
    Thanks,
    Rajesh

    Hi Debbie,
         To count the number of groups please try the folling steps:
    1) Create a formula @reset and place this formula in the page header
        whileprintingrecords;
        numbervar i:=0;
    2) Create another formula @evalgroup place this in the group header where you want to count the values.
        whileprintingrecords;
        numbervar i:= i+1;
    3) Create another formula @display and place this in report footer.
        whileprintingrecords;
        numbervar i;
    In order to display the count of details which are printing in the detail section place the eval formula in the detail section and the @display formula in the group footer.
    Hope this helps!!!
    Regards,
    Vinay

  • IPod turned off and on for the first hour

    When I plugged in my brand new iPod Nano for the first time to the cable into my nice iMac, it turned off and on for the first hour with the phrase on screen "Do Not Disconnect." I am guessing that the reason it was turning off was because it didn't have enough juice/power. But then why was it turning on? After an hour it finally had enough juice to stay on. What gives? Do I have a defective iPod? It works fine now. I've never had an iPod before so I don't know how it's supposed to work.
    Each time the iPod has run out of power, I get the same symptom. It turns off and on for an hour until it has enough juice to stay on.

    Maybe someone in the iPod nano Forum would know the answer? You've posted in the 'Using iTunes for Mac' Forum.
    You can find the Category page for the iPod nano here:
    http://discussions.apple.com/category.jspa?categoryID=154
    Please note that is a Category page. You may want to select the First or Second Generation Category or select one of the Forums directly from the list.
    I have a nano but have not encountered your problem. Hope you find a solution.
    Regards,
    Colin R.

  • Determine the number of times the document has been printed

    Hi all,
    I have a form here ( SAPSCRIPT), there is certain field to show how many times the document
    has been printed, i use NAST-ANZAL, but it seems to display no correct value.
    Am I using the riht field anyway? Or missing something?
    Thanks ,,
    AUD

    Hi,
    Check for the field NAST-VSTAT.
    IF NAST-VSTAT = '1' meaning that document  is printed.
    Refer below example from NAST entries.  4000010000 document is printed 4 times.
    OBJKY                          KSCHL SPRAS PARNR      PARVW USNAM        VSTAT
    4000010000                     ZSGI  E                      XXXXXXX                             1
    4000010000                     ZSGI  E                      XXXXXXX                             1
    4000010000                     ZSGI  E                      XXXXXXX                              1
    4000010000                     ZSGI  E                      XXXXXXX                             1
    Rgds,
    Arun

  • Cancellation billing document has no accounting document

    Dear Friends
    I once cancelled a billing document through vf11. But accounting documents were not cancelled. That means the cancellation billing document did not generate accounting document.
    Pls tell me how to cancel accounting documents for cancelled bill?
    Thanks
    Sangeeta

    Hi Friends
    Thanks for your response.
    S1 is a SAP standard documnt type. No posting block is there in VOFA, S1 doc type.
    This is an excise invoice.Eevery time I cancel billing document, accounting docuents automatically gets cancelled. But this time I am getting the error.This document cant be released to accounting.
    I had to cancel the bill 85002300, as once the billing document was saved, only one accounting document( only for excise, cess, ecess and cenvat suspence) was generated instead of two accounting documents.
    In cancellation document 90000174, I ckecked Account determination anaalysis, KOFI00, I found account determination took place for all the entries that were there in the billing document 85002466.
    Still no accounting document cant be seen, and nither can be released.
    Pls tell how to generate account document for cancellation document
    Thanks
    Sangeeta

  • Billing Document has different price to sales document

    Hi,
    we had an order which generated a billing document for £622 with a pricing date of the 8.02.2007.
    The customer returned the goods and a returns order was created for £622 with the same pricing date.
    The problem is that when the billing document was created using batch program RV60SBT1 the proce changed to £576 but the pricing date remained at the 8.02.2007.  When I look at the pricing conditions it picked up a promotion that was active from the 11.02.2007 - 25.02.2007..
    I cannot understand this as I thought the pricing conditions were determined by the pricing date?
    Am I wrong or is there some setup that needs changing.
    Any help appreciated.

    Hi,
    I've had a look and I have noticed that it is pricing date.  It appears that the pricing date of the billing document & sales document differ.
    We process these billing documents collectively and would like the billing document price date to be the same as the sales order pricing date.  It looks like it's defaulted to the billing date.
    Not sure how to change this.
    Thanks

  • Number of times a particular vendor has exceeded the threshold limit

    Hello,
    We wish to find the number of times a particular vendor invoice has exceeded tolerance limit.  Is there any table where this data gets updated or is their any standard report ?
    Regards
    Jayesh.

    Firstly note that you cannot 'exceed' the tolerance. Based on the tolerance, you can goods receipt a higher quantity than specified in the PO.
    Check vendor evaluation report ME6H, it provides scores to vendors on quantity reliability. You can use this if you have vendor evaluation configured for your Pur org.
    If you are thinking for a Z logic, for each PO line item for the vendor, search in MSEG and total the quantity receipted. If this exceeds the quantity order in the PO item, increase your counter.

  • Number of times the record to be printed in Oracle reports

    I have a requirement to print each record in specified number of times based on one of the field of
    the record.
    For Ex: Each record has the following fields and I need to print each record based on Quantity
    Cust PO Number Item Number Quantity
    PO1234          1P1 20
    PO3456          1P2 15
    I need to print the first record 20 times and second record 15 times.
    Can you please suggest if we can set any parameter or printer option before each record to direct it to be printed in specified number of times?
    Thanks,
    Rakesh

    WITH DATA AS (SELECT 'PO1234' CUST_PO_NUMBER, '1P1' ITEM_NUMBER, 20 QUANTITY FROM DUAL
                  UNION ALL
                  SELECT 'PO3456' CUST_PO_NUMBER, '1P2' ITEM_NUMBER, 15 QUANTITY FROM DUAL
         COUNTER AS (SELECT LEVEL LVL FROM DUAL CONNECT BY LEVEL<1000)
    SELECT * FROM DATA, COUNTER WHERE LVL<=QUANTITYreplace the first with-path (data) with your table

  • Number of Times the table has been accessed

    Hi,
    How to find the number of the times the table has been accessed or read ?
    Regards,

    You can do it with 9i
    http://www.mpi-inf.mpg.de/departments/d5/teaching/ss05/is05/oracle/server.920/a96521/audit.htm
    Kamran Agayev A. (10g OCP)
    http://kamranagayev.wordpress.com

  • HT201077 My Iphone 4s was replaced by the Apple store today. I previously backed everything up to Icloud. I'm downloading everything from Icloud onto the new phone. The pictures seem to have stalled on number 215 for the past hour or so.

    I had my I phone 4s replaced today at the Apple store. I previously backed it up on ICloud. I'm downloading from ICloud to the new phone. The pictures have been stuck on number  215 for an hour now. I've turned the phone off and on several times, but it won't progress in downloading the pictures. This happened the last time the phone was replaced and there was something I could do to get things moving, but I don't remember what?

    Then you'll have to decide when you think it's hung and unlikely to restart.  At that point, you'll probably have to reset it (by holding the power and home buttons at the same time until you see the Apple logo, then release) and try restoring the backup again.
    The only "solution" I've seen posted on photos that fail to restore from a backup that seems to have worked for others, is the on posted by ezjules here: https://discussions.apple.com/message/19518589#19518589.  If you restore the backup again, you could give it a try and see if it works for you.

  • Are there any 16gb iphone 6 plus space grey models shipping? I ordered mine within the first hour

    Thanks!

    No.  I got my order in at at 12:24:22 AM.  My ship date still says "No information available."  I just got off the phone with cs and they said anyone in the "first block" of preorders for the 6+ will ship by 10/14.  I think the only way to get a 6+ in the month of September is to buy one in a store.

  • Priority in queue based on the number of times the caller has called

    Hi,
    One of my customer has requirement to to prioritize the call from caller if the same caller has called thrice within 24 hours.
    UCCX version is 7.0. It is standalone.
    Please let me know if it can be achieved?
    Thanks,
    Vinay

    Hi
    Yes - I've done this on CCX7.0.
    I basically just queried the contactcalldetail table after validating the CLI is sensible for calls from the same number in the last few days.
    I added a new DSN to point at the CRA DB. You would need a Premium UCCX license.
    Aaron
    Please rate helpful posts..

  • Can I find the number of times the recorded meeting has been viewed?

    In Adobe Connect is it possible to find the number of views after a recorded meeting is made public? Under meeting dashboard it keeps track of these views for 30 days but I can not seem to find anywhere under the reports where this information is located.

    If you move the recordings to the Content Library, then you can pull the standard content reports for it, which will tell you number of views.

  • How can I run a counter by number of times the script is run

    So I've created a script for disabling exchange mailboxes and moving them to a disabled OU in AD.  I currently have this set to run once a week via scheduled tasks but instead would like to kick it up to nightly and improve on the logging.
    Right now, the only items I record are the name of the person and the OU they were originally in.  I'd also like to include the groups they were a member of.  I could easily enough include all the groups they were a member of in the email but here
    is the twist.
    Since we are going to a nightly run of this script, we would want to keep at least a weeks worth of logs in a text file as a just in case.  After a week, the log would be cleared.  I know that would be a counter but I can't even wrap my mind around
    how that would work.  Is it even possible?
    #Finds all users who have the AD attributes
    # wWWHomePage = Updated_by_GroupID
    # msExchHideFromAddressLists = True
    # msExchHomeServerName not empty
    # emailaddress contains @MyDomain.com
    # useraccountcontrol = 514 (disabled)
    Import-Module ActiveDirectory
    add-pssnapin Microsoft.Exchange.Management.PowerShell.E2010
    #Declare Variables
    $users = $null
    $ADgroups = $null
    $username = $null
    $user = $null
    $LogFile = "C:\Scripts\TerminateUsersLogFile.txt"
    $LogFile2 = "C:\Scripts\UserNamesMovedtoDisabledOU.txt"
    $EmailLogTo = "[email protected]"
    #Generates log file
    Start-Transcript -path $LogFile
    #Performs search for all users in AD filtering only AD user with wWWWHomePage = Updated_by_GroupID, msExchHideFromAddressLists = True, msExchHomeServerName not empty and emailaddress contains @MyDomain.com
    $users = Get-ADUser -properties name, emailaddress -Filter {(HomePage -eq "Updated_by_GroupID") -and (msExchHideFromAddressLists -eq $true) -and (emailaddress -like "*@MyDomain.com") -and (msExchHomeServerName -ne "$null") -and (useraccountcontrol -eq "514")}
    $users.name -Replace '^cn=([^,]+).+$','$1'
    #loops through all users
    foreach ($user in $users){
    $user.name -Replace '^cn=([^,]+).+$','$1'
    #Copies the current OU into the Notes field in the AD User Object.
    $newvar = ($user).distinguishedname
    set-aduser $user -replace @{info="$newvar"}
    # Removes user from all AD groups except Domain Users.
    $ADgroups = Get-ADPrincipalGroupMembership -Identity $user | where {$_.Name -ne "Domain Users"}
    Remove-ADPrincipalGroupMembership -Identity "$($user)" -MemberOf $ADgroups -Confirm:$false
    #Disables their Exchange Mailbox.
    Disable-Mailbox -Identity $user.EmailAddress -Confirm:$False
    #Moves their AD user object to disabled OU.
    Move-ADObject -Identity "$($user.DistinguishedName)" -TargetPath "Disabled Users OU" -Confirm:$false
    Write-Output $user.name >> C:\Scripts\UserNamesMovedtoDisabledOU.txt
    Stop-Transcript
    # Email the log file
    $emailFrom = "[email protected]"
    $emailTo = $EmailLogTo
    $subject = "Terminated Users Cleaned in AD"
    $content = Get-Content $LogFile2 | ForEach-Object {$_.Split("`r`n")}
    $body = [string]::Join("`r`n",$content)
    $smtpServer = "SMTP.MyDomain.com"
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $smtp.Send($emailFrom, $emailTo, $subject, $body)
    clear-content C:\Scripts\UserNamesMovedtoDisabledOU.txt

    I apologize for the long delay in replying.  I thank everyone for their help but I'm still running into issues with the script.  Below is the script as it is right now.  I'm having issues with logging as the groups the associate is a member
    of are not logging correctly.
    #Finds all users who have the AD attributes
    # wWWHomePage = Updated_by_GroupID
    # msExchHideFromAddressLists = True
    # msExchHomeServerName not empty
    # emailaddress contains @MyDomain.com
    # useraccountcontrol = 514 (disabled)
    Import-Module ActiveDirectory
    add-pssnapin Microsoft.Exchange.Management.PowerShell.E2010
    #Declare Variables
    $users = $null
    $ADgroups = $null
    $username = $null
    $user = $null
    $LogFile = "C:\Scripts\CleanUpTermedUsers\TerminateUsersLogFile.log"
    $LogFile2 = "C:\Scripts\CleanUpTermedUsers\UserNamesMovedtoDisabledOU.txt"
    $EmailLogTo = "[email protected]"
    #Generates log file
    Start-Transcript -path $LogFile
    #Performs search for all users in AD filtering only AD user with wWWWHomePage = Updated_by_GroupID, msExchHideFromAddressLists = True, msExchHomeServerName not empty and emailaddress contains @mydomain.com
    $users = Get-ADUser -properties name, emailaddress -Filter {(HomePage -eq "Updated_by_GroupID") -and (msExchHideFromAddressLists -eq $true) -and (emailaddress -like "*@mydomain.com") -and (msExchHomeServerName -ne "$null") -and (useraccountcontrol -eq "514")}
    $users.name -Replace '^cn=([^,]+).+$','$1'
    #loops through all users
    foreach ($user in $users){
    $user.name -Replace '^cn=([^,]+).+$','$1'
    #Copies the current OU into the Notes field in the AD User Object.
    $UserOU = ($user).distinguishedname
    set-aduser $user -replace @{info="$UserOU"}
    # Removes user from all AD groups except Domain Users.
    $ADgroups = Get-ADPrincipalGroupMembership -Identity $user | where {$_.Name -ne "Domain Users"}
    Write-Output $user.name >> C:\Scripts\CleanUpTermedUsers\UserNamesMovedtoDisabledOU.txt
    write-output $ADgroups.name >> C:\Scripts\CleanUpTermedUsers\UserNamesMovedtoDisabledOU.txt
    echo $ADgroups.name
    Remove-ADPrincipalGroupMembership -Identity "$($user)" -MemberOf $ADgroups -Confirm:$false
    #Disables their Exchange Mailbox.
    Disable-Mailbox -Identity $user.EmailAddress -Confirm:$False
    #Moves their AD user object to disabled OU.
    Move-ADObject -Identity "$($user.DistinguishedName)" -TargetPath "Disabled OU" -Confirm:$false
    Stop-Transcript
    # Email the log file
    $emailFrom = "[email protected]"
    $emailTo = $EmailLogTo
    $subject = "Terminated Users Cleaned in AD"
    $content = Get-Content $LogFile2 | ForEach-Object {$_.Split("`r`n")}
    $body = [string]::Join("`r`n",$content)
    $smtpServer = "smtp.mydomain.com"
    $smtp = new-object Net.Mail.SmtpClient($smtpServer)
    $smtp.Send($emailFrom, $emailTo, $subject, $body)
    Get-ChildItem -Path C:\Scripts\CleanUpTermedUsers\* -Include *.log | where-object { $_.LastWriteTime -lt $((Get-date).Adddays(-7))} | clear-content C:\Scripts\CleanUpTermedUsers\TerminateUsersLogFile.log
    Clear-Content c:\Scripts\CleanUpTermedUsers\UserNamesMovedtoDisabledOU.txt

Maybe you are looking for

  • Lion is a step backwards

    Lion is a step backwards that appears to indicate a philosophical switch towards dumbing down. I realize there's lots of Mac newbies coming from iPads, iPhones, and iPods. I have no problem simplifying things for the masses, but why make the Mac OS l

  • How to ensure Premiere Pro saves nothing to my computer's hard drive

    I recently installed CS5 on my MacBook Air. I have a 1TB Time Capsule (wireless external hard drive) and I want Premiere Pro to save exclusively to that drive and not to my computer's hard drive. I have all of my source files for my project (audio, v

  • Why does VISA show that a non-present device is still present?

    I have NI VISA 5.4 installed and I'm using LabVIEW 2012 SP1 to control a USB HID devices using USB RAW. My computer is running Windows 7 Ultimate 64-bit. Using the VISA driver wizard, I created custom INF files that I have installed on my machine and

  • A Cool iPhone Story Thank You Apple.

    All Apple: We have a great story about a iPhone used by our one of our online instructors (tech savy mom with two kids) using her iphone to respond to online questions, check homework, and to manage students WHILE walking the kids in the stroller, co

  • I can't see a way to manually add an image to 'contacts' on my Mac after Mountian Lion upgrade

    When I click 'edit' on the image on a conact card I only see 'Defualts, Recent, Camera' as options, whereas you used to be able to choose your own image from the comptuer or from iPhoto 'faces'. I can add an image on my iPhone that syncs to iCloud, b