Refusal W/O doble created twice

Hi,
When the user is creating in base of billing document a return of goods,
The order is created TWICE.....for the same Item,customer,quantity ETC.
Its not normal.Is there In customizing any possibility to check,why is happening
or its already some Abap user exit failing?
Thanks in advance.
William

Hi,
When you create the Return order again system will through the warning message warning message V1499. The message type has been hardcoded in the program.
FV45EF0V_VBEP-WMENG_PRUEFEN_FO
IF da_mengev > 0.
   WRITE da_mengev TO da_mengec UNIT vbap-vrkme.
   SET CURSOR FIELD us_feldname LINE sy-stepl.
   MESSAGE ID 'V1' TYPE da_dia NUMBER 499
           WITH vbap-posnr da_mengec us_vrkme.
But you can not change it to Error message untill you modify the standard code.
Regards,
Murali

Similar Messages

  • Excise Invoice created twice for same billing document.

    Hi All
    Excise Invoice ( J1IIN ) has been created twice for same billing document in 1 or 2 cases.
    How is this possible,if possible what is the config  to restrict the same.
    Thanks in advance
    Samson

    I dont think its possible to EI twice wrt: single billing document.
    EI created wrt: Invoice which is created wrt: Delivery document. Then there will be only one material document with movement type 601. Through which qty will get updated in Rg1 register.
    This document once utilized, cant used again.
    re-check billing document, which billing document you are using & their settings in IMG.
    Regards,
    Reazuddin MD

  • Performance issue : itemRenderers created twice

    Hi,
    I have a big performance issue with my flex app.
    I have a repeater whose repeated items contain a Tree.
    I noticed every of those tree elements where created twice (I
    call a static incremental counter on their creationComplete event).
    Does that symptom make you think of any problem I could have
    in my code ?

    First, Repeater is not a good choice if you have many complex
    elements because it renderers all off the items. How many items are
    you repeating? (what is the length of your dataProivder?)
    Second, I suspect your methodology for analyzing the
    instantiations. I have not see such a behavior. You might post a
    sample app that demonstrates the problem.
    Tracy

  • Event created twice

    Good day Experts.
    I'm changing my bank details in ESS. During the save, the event CREATED for object BANKDETAIL is created twice. In SWEL, the time when both events are created is the same. I've also checked the SWEC and SWETYPV. The event is only activated in SWETYPV.
    This problem has been bothering us for a long time.
    Regards
    Makoro Manyathela

    Good day Rick.
    Yes. The event is triggered twice. When u activate the trace and display it you can see that the event is being triggered twice. The changing of bank details is done in ESS.
      See extract from the trace.
    Duration  Obj. name  Op.     Recs. RC     Statement
    1.402.174 ZAJNB0962  Server      1      0 ZAJNB0970 ZAJNB0962_ZED_12 Server HRXSS_PER_READ_P0009_ZA 928 255
      100.653 ZAJNB0962  Server      1      0 ZAJNB0970 ZAJNB0962_ZED_12 Server HRXSS_PER_EDIT_P0009_ZA 1.447 455
      870.759 ZAJNB0962  Server      1      0 ZAJNB0970 ZAJNB0962_ZED_12 Server HRXSS_PER_GET_F4_VALUES 36.166 417
      524.162 ZAJNB0962  Server      1      0 ZAJNB0970 ZAJNB0962_ZED_12 Server HRXSS_PER_MODIFY_P0009_ZA 1.836 1.481
          318 ZAJNB0962  Server      1      0 ZAJNB0970 ZAJNB0962_ZED_12 Server HRXSS_PER_CHECK 566 225
          399 ?          Client      1      0 ZAJNB0962_ZED_12 ? Client SWW_WI_CREATE_VIA_EVENT_IBF 5.366 6
          434 ?          Client      1      0 ZAJNB0962_ZED_12 ? Client SWW_WI_CREATE_VIA_EVENT_IBF 5.913 6
        3.901 ZAJNB0962  Client      1      0 ZAJNB0962_ZED_12 ZAJNB0962_ZED_12 Client ARFC_RUN_NOWAIT 1.427 697
        4.645 ZAJNB0962  Client      1      0 ZAJNB0962_ZED_12 ZAJNB0962_ZED_12 Client ARFC_RUN_NOWAIT 1.427 697
            0 ZAJNB0962  Server      2      0 ? ZAJNB0962_ZED_12 Server ? 0 0
    I'll wait for the response.

  • XML Attributes Created Twice in the XML after Saving in FM

    Hi All,
    I've built a structured application to read and write a custom XML. The file is opened just fine. However, when saving the XML in FM, some XML attributes appear in the XML twice. For example, in the original XML I have the following:
    <object_group doc_name="xxx" parsed_by_sym="false">
    </object_group>
    After I save the XML, it looks like this:
    <object_group doc_name="xxx" parsed_by_sym="false" doc_name="xxx" parsed_by_sym="false">
    </object_group>
    After the XML is saved, FM refuses to re-open it aborting the parsing. If I remove the doubled attributes manually in Notepad, then the XML is opened in FM again.
    Should I define anything in read/write rules? What am I doing wrong?
    I'm using an XSD, which I defined in structapp.fm.
    Thank you very much!

    Alex,
      Without looking at the application and document, I don't have any other ideas. To debug a situation like this, I would try variations such as the following, investigating any change that eliminates the doubled attribute:
    1) If you haven't already, shut your computer down and restart it.
    2) If the application uses a custom client or processing, remove them. If their absence makes a difference, the problem may originate in them.
    3) Simplify the test document as much as possible, probably in several steps. For example, remove all optional attributes and elements. Remove all non-containers (tables, xrefs, graphics, etc.) You may need to change the EDD or schema to create as short a document as you can that fails. The goal is to have a document with just a few elements and only one attribute that fails.
    4) Change the element and attribute names, which shouldn't make a difference, but may be worth testing.
    5) Simplify or eliminate the r/w rules.
    6) Simplify the EDD so that the only defined elements and attributes are the ones that appear in the small sample.
    7) Remove all format rules and autoinsertions from the EDD. The goal is to remove anything that should not be relevant.
    8) Simplify the schema in the same way.
    9) Remove the schema from the application. If doing so eliminates the duplicate, convert the schema to a DTD and see if using a DTD instead of the schema makes a difference.
    10) Make sure your have installed all updates to the version of FM you are using.
    11) If you have access to a different version of FM, see if it behaves the same way.
    Good luck and let us know when you find the problem.
         --Lynne

  • Same billing line created twice in the billing document ?

    Hi All,
    Can the same billing schema step (billing line) executed twice in the billing document ?
    There isnt any price change or other changes in the billing period. Still two same billing lines are being created in the billing document.
    Does any one have any idea regarding this issue?
    Thanks,
    Hrushikesh.

    Hi,
    The reason of the writing of the duplicate info lines can be "info lines". By generating of the info lines in the billing documents, for example using variant QUANTI01 you can switch on the writing of the info lines. In this case in the one line of the schema you will get two lines, first with the quantity and second with the valuation of this quantity. These lines are duplicated from the point of the schema step.
    I hope this answer will help you.
    Vlado

  • Updated to firefox 3.6.6 on laptop and now it can't acces the net "The proxy server is refusing connections" I've restarted twice. My other computer in home works fine. Just not laptop on Network/WiFi

    Can't access the web on lap. It's networked form main computer. The problem started just after I downloaded/updated to Firefox 3.6.6. That may be a coincidence. I get "The proxy server is refusing connections". Restarts don't help. My main computer is fine. I didn't update it.
    == This happened ==
    Just once or twice
    == just after an update to 3.6.6

    Firefox 3.6.6 made a change in prefs to use system proxy settings.
    Check your proxy / network setting in Windows and change it to No Proxy, if you don't use a proxy.
    Internet Options > Connections in the Windows Control Panel.

  • First item of itemrenderer created twice?

    I have a datagrid with an itemrenderer witch for every item
    created it adds an event listener to the parentdocument.But the
    first item(as sorted from the datagrid) always has two listeners so
    the handler insideot runs twice.anyone know What's is wrong?

    Flex itemRenderers are only created for the visible rows of a
    list control, plus one or two extra for recycle buffering. The
    itemRenderers are recycled as the user scrolls the list. For
    example, if you have 1000 items but only 10 rows visible, then only
    11 or 12 itemRenderers are created. At first they show records
    1-10. As the user scrolls, the data for record 1 scrolls out of
    view, but the itemRenderer that was showing that data is moved to
    the bottom of the list area and is given the data for row 11. The
    itemRenderers for records 2-10 are shifted upward.
    Sorting the list simply causes the itemRenderers to receive
    new data - they generally do get moved to new locations as the
    result of a sort of a filter.
    If you add event listeners on the parentDocument you may be
    getting very confused and mismatched data and events as the list is
    scrolled.

  • Access Refused when trying for Creating teh Webservice

    Hi,
    I am trying to create a webservcie for the salesorder create bapi in the Discovery system of ECC. After completion of all the steps at the complete stage, i am getting access refused error.
    Thought of access key related issue and got the access key from the basis guy but i am confused where to put this access key as i am not getting any pop up also for entering the access key.
    Would appreciate the needful.
    Thanks
    Ashok

    If you create a webservice this will be a new object, hence no object access key is necessary. I experienced a similar issue when trying to generate a webservice and it turned out that there were authorizations missing in my profile for the Web Application Server. It took basis a while to figure out what was needed, so you might want to check with them.
    Hope that helps,
    Michael

  • BPEL process instance getting created twice

    Hi,
    We have B2B - BPEL integration developed using AQ and we are using this for importing 850 Purchase Orders. It is a simple flow involving dequeuing 850 transaction message by the AQ adapter and processing the message through Receive, Transform and Invoke activities to invoke a PL/SQL procedure to insert data into the Order Management Open Interface tables.
    The issue we are facing is that the BPEL process instance is getting generated twice resulting in duplicate rows in the interface tables.
    Please if any one faced this kind of issue, let me know the solution.
    Regards,
    Balu

    This issue is closed. We were able to identify to cause for the issue. The EDI document came in with two POs which generated two separate messages.

  • Why the files my program create are created twice each file double ? And why sometimes the files size are too small ?

    My program is using Queue of type Uri to create Queue of urls and then i'm using webbrowser to navigate each Uri from the Queue in it's turn and get the url(html) source content and save it to the hard disk.
    The problem is sometimes the text files on the hard disk are small like 90KB or 60KB and sometimes they are as they are suppose to be 300KB or 200KB.
    This is a button click event where i'm calling two methods:
    private void toolStripButton3_Click(object sender, EventArgs e)
    GetHtmls();
    CheckQueue();
    This is the GetHtmls method code:
    private Queue<Uri> myUrls = new Queue<Uri>();
    private bool isBusy = false;
    private void GetHtmls()
    for (int i = 1; i < 49; i++)
    adrBarTextBox.Text = sourceUrl + i;
    targetHtmls = (combinedHtmlsDir + "\\Html" + i + ".txt");
    Uri targetUri = new Uri(sourceUrl + i);
    myUrls.Enqueue(targetUri);
    sourceUrl contain website address: http://www.tapuz.co.il/forums2008/forumpage.aspx?forumid=393&pagenumber=
    And i'm adding to it the numbers and create the pages.
    And add them to the Queue.
    THen the CheckQueue method:
    Uri uri;
    private void CheckQueue()
    if (isBusy)
    return; // We're downloading some page right now, don't disturb
    isBusy = true; // OK, let's get started
    if (myUrls.Count == 0) // No more pages to download, we're done
    isBusy = false;
    return;
    uri = myUrls.Dequeue(); // Get one URL from queue
    getCurrentBrowser().Navigate(uri);
    It suppose to Navigate to each Uri(html address) in the Queue.
    And the browser document completed event:
    private void Form1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
    // If page loaded completly then do something
    int urlnumber = uri.ToString().IndexOf("pagenumber=");
    string number = uri.ToString().Substring(urlnumber + 11);
    int num = Int32.Parse(number);
    targetHtmls = (combinedHtmlsDir + "\\Html" + num + ".txt");
    StreamWriter writer = File.CreateText(targetHtmls);
    writer.Write(getCurrentBrowser().DocumentText);
    writer.Close();
    isBusy = false; // We're done
    CheckQueue(); // Check next page in queue
    In the completed event i'm getting the page number and build the string for the text file then write the html source content to the text file.
    In the end i have on my hard disk 48 text files.
    The problems are:
    1. Sometimes it seems like it's not finishing navigating to the current uri or maybe some other reason maybe server side problem and creating small size files with source content inside but not all the source content. Sometimes the text files size are each
    file 99KB or 70KB and sometimes the size of them are about 300KB and 200KB and this is the right sizes 300KB 200KB.
    2. The text files on my hard disk suppose to be 48 different files each file should contain the source if the html page of the 48 pages. But on my hard disk the 48 text files are duplicated for some reason.
    This is the file on my hard disk:
    Some of the files are 205KB 350KB 175KB and some of the files sizes are 85KB 94KB 35KB 
    Why some of the files it didn't navigated to the end or maybe didn't got all the source ?
    And why it's making each second file the same like the one before ? It suppose to create 48 different files but i'm getting two identical files each navigation.

    I solved it now.
    This is what i did:
    It's a bit slow process since i'm waiting for each page to be loaded into the webbrowser but it does the work.
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Collections;
    using System.IO;
    using System.Net;
    namespace WindowsFormsApplication1
    public partial class Form1 : Form
    private string sourceUrl = "http://test.test";
    private string htmlsTargetDirectory = "Test Htmls";
    private string appDir = Path.GetDirectoryName(@"C:\Users\chocolade1972\AppData\Local\Test_Images\Test Images\Test Htmls");
    private string combinedHtmlsDir;
    private String targetHtmls;
    private int counter = 1;
    private StreamWriter w;
    private string uri;
    private bool htmlloaded = false;
    public Form1()
    InitializeComponent();
    webBrowser1.ScriptErrorsSuppressed = true;
    combinedHtmlsDir = Path.Combine(appDir, htmlsTargetDirectory);
    if (!Directory.Exists(combinedHtmlsDir))
    Directory.CreateDirectory(combinedHtmlsDir);
    private void Form1_Load(object sender, EventArgs e)
    GetHtmls();
    timer1.Enabled = true;
    private void GetHtmls()
    uri = sourceUrl + counter;
    targetHtmls = (combinedHtmlsDir + "\\Html" + counter + ".txt");
    webBrowser1.Navigate(uri);
    private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
    if (e.Url.ToString() == uri)
    targetHtmls = (combinedHtmlsDir + "\\Html" + counter + ".txt");
    htmlloaded = true;
    StreamWriter writer = File.CreateText(targetHtmls);
    writer.Write(webBrowser1.DocumentText);
    writer.Close();
    FileInfo fi = new FileInfo(targetHtmls);
    var size = fi.Length;
    w = new StreamWriter(combinedHtmlsDir + "\\test.txt", true);
    w.WriteLine("File Size " + size);
    w.Close();
    private void timer1_Tick(object sender, EventArgs e)
    if (htmlloaded == true)
    uri = sourceUrl + counter;
    myurls.Add(uri);
    webBrowser1.Navigate(uri);
    htmlloaded = false;
    counter += 1;

  • Can create twice billing document for the same delivery in STO

    Hi experts,
    I donot have problems in Standard Sales order when I create billing doc via VF01. When I try to create another billing doc in VF01 for the same delivery it says error, as the item is already invoiced.
    This is correct. 
    But while creating invoice for STO order, system allows me to create more than 1 billing document for the same delivery. If we accidentally or purposefully create it allows to create many.
    Could you let me know where in SPRO (IMG) I can control this?
    Thanks,
    Pri

    Hi
    STO billing if it is intercompany STO followed by IV billing type you can create only once
    No special settings reqd to achieve this as you bill  (IV billing type) the delivery the first time, the delivery status gets completed
    If Intracompany, the billing type is proforma invoice F8  and this can be created as many times as you wish as proforma doesnot update accounting
    if your issue is this
    Even this also if you want to restrict only once then try with copying requirenments 311 at item level (i hope standard item category NLN is used) in VTFL between header NL to F8
    Regards
    Raja

  • SSIS log file created twice, would someone please try this

    I started off trying to explain the behavior, but it got too long and wasn't sure if people would follow it. So rather then trying to explain it, I would like to ask someone to try the following to see if they can dumplicate this odd behavior I am seeing on my side.
    Please follow these steps, and let me know what you get.
    (1) Take any simple working package, and create an SSIS log.
    (2) Use the following for the expression to set the connection string for the log file's connection manager. For simplicity, let's say the file goes in a folder called "C:\SSIS_log\". For you it could be somewhere else.
    Expression:
    "C:\\SSIS_log\\"
    + "logfile_"
    + (DT_STR,4,1252)DATEPART( "yyyy" , @[System::StartTime]   )
    + RIGHT("0" + (DT_STR,4,1252)DATEPART( "mm" ,  @[System::StartTime]  ), 2)
    + RIGHT("0" + (DT_STR,4,1252)DATEPART( "dd" , @[System::StartTime]   ), 2)
    + RIGHT("0" + (DT_STR,4,1252)DATEPART( "hh" , @[System::StartTime]   ), 2)
    + RIGHT("0" + (DT_STR,4,1252)DATEPART( "mi" ,  @[System::StartTime]  ), 2)
    + RIGHT("0" + (DT_STR,4,1252)DATEPART( "ss" , @[System::StartTime]   ), 2)
    + ".txt"
    When you evaluate this expression, you should see that it appends a time stamp that goes down to the minute and second of the package start time.
    (3) Delete any existing files in the log directory.
    (4) Run the package.
    Make the following observations.
    (A) How many log files do you get?
    (B) And what do you see in the log file(s)?
    (C) What time stamp do you have in name of the log file(s)?

    Jia Li said:
    Okay, my take is this: when you execute package in BIDS, BIDS first validate the package and then a new package object is instantiated and executed. The package object used for validation is the same as long as the package is not reopened, so the first log file has the same name. Because the execution phase load package from xml again, it is using a new pakcage object, so expression get re-evaluated and the second log file gets renamed every time.
    Duane Douglas said:
    Jia Li said:
    The @StartTime of the first file is evaluated when you open the package in BIDS. So if you close the package, re-open it and execute, you will get two files again.
    i just remembered that someone else here experienced a similar issue with the starttime variable.  i understand why it needs an intial value when a package is created or opened.  but i don't understand why this value isn't replaced at run-time?  can you please shed some light on this?
    thanks
    Duane Douglas, MCAD | http://www.ssisbi.com | Please mark the post(s) that answered your question.
    ok.  but if i'm not mistaken,  the execution phase doesn't change the value of @starttime to reflect the current system time.  after validation, the execution phase should change the value of @starttime to the current system time.  no?Duane Douglas, MCAD | http://www.ssisbi.com | Please mark the post(s) that answered your question.

  • Asset Master created twice and reversals of Depreciation

    Hi Experts,
    I have got an issue where my users have Acquired Assets Through ABZON since April 2009.The Deprecations for the Asset have also been calculated since April 2009 til September 2009,Now the users want to reverse the depreciation and reverse the Asset as well in October 2009.
    Please advice at an earliest how do i go ahead with the same.
    Regards,
    Rahul

    Hi Rahul,
    There is no standard functionality to reverse the depreciation so you will have to write the depreciation in order to gain the right effect.
    For asset if you don't want further the you can delete it using transaction using AS06 or block the asset with AS05.
    If asset has a balance then make sure you are making zero balance on asset by scrapping it.
    Regards,
    Chintan Joshi.

  • Workflow event bus1022-created triggered twice with ME21Nu200F

    Hi everybody
    The explanation to my problem is as follow: Initially I was using the Tcode AS01, ME21N, ABUMN to create fixed assets and every asset created triggers the event BUS1022-CREATED, but then I set the system to synchronizing assets with equipments (SPRO -> Financial accounting->Assets accounting->Master Data->Automatic creation of equipment master recordsu2026u2026) but the event BUS1022-CREATED didn´t triggered any more so I create the new entry in SWEC with ANLA as objet of modification and the OBJ BUS1022 and the event CREATED for the creation for any new record; It works but now the problem is that this event  is being created twice with the Tcode ME21N.
    Any suggestion?
    Thanks a lot.
    Felipe Uribe

    Hello Felipe,
    a check on the TCode during the event coupling seems to be the most effective way here. However, only checking on sy-tcode will not help you much, as you don't know the source (change document / application event).
    So what you need to round up your work-around is a flag in the event container that tells you, if the event was created through the SWEC, and if yes, by which transaction code.
    - To do so, create a subtype of BUS1022 with a system wide delegation.
    - Create two new additional event parameters: TransactionCode  (type syst-tcode) and ByChangeDocument  (type boole-boole)
    - Create a function module Z_SWEC_CONTAINER_BUS1022 copied from SWE_CD_TEMPLATE_CONTAINER_FB (or SWE_CD_TEMPLATE_CONTAINER_FB_2 depending on your ABAP OO experiences) and enter this function module under "Event container" in the maintenance entry of SWEC/BUS1022/CREATED
    - Within that event container function module, you just set the two event container elements using the value of SY-TCODE for the field TransactionCode and a fixed 'X' for the value of the field ByChangeDocument
    - Create a new check function module (or workflow start condition) -- as described earlier in this thread -- that checks on:
    ( ByChangeDocument = 'X' AND TransactionCode = 'ME21N' ) OR ( ByChangeDocument = ' ' ).
    This way you'll sort out the doubled events through the change document for all other transactions than ME21N.
    Good luck,
    Florin

Maybe you are looking for