Duplicate Outbound IDocs getting Triggered at the same time.

Hi Folks,
I have created custom outbound idoc and done all the configurations required like WE20, WE30, WE31, WE81, WE82, WE 41, WE57 etc.
Also I have written my code to populate segments and then call MASTER_IDOC_DISTRIBUTE in the custom function module which is assigned to the process code and also done the configurations like we57 etc. for the same.
Now when I trigger my output type from VL74 transaction, I noticed two entries in we02 resulting in two IDocs generated for 1 HU.
The difference in two IDocs is the first IDoc getting generated in error with status 29. While the second one as success with status 03.
The data records containing segments have same values for both the IDocs number.
Whether the configuration is a issue here or problem in code of custom fm?
Please help.

Hi Anil,
Appreciate your quick response.
In my custom FM I have populated an internal table it_master_idoc_data with two records of two segments, containing segment name in SEGNAM filed and segment data in SDATA field. 
Please let me know whether the data in this internal table of structure EDIDD sufficient for passing to MASTER_IDOC_DISTRIBUTE FM? Or do I need to populate any other field of EDIDD.
Also I am exporting a structure master_idoc_control containing values in this 5 fields.
MESTYP = Z message type, Z IDOCTP, partner and details in  RCVPOR, RCVPRN, RCVPRT fields.
I am not populating the internal table communication_idoc_control while calling FM MASTER_IDOC_DISTRIBUTE from my custom function module.
After executing MASTER_IDOC_DISTRIBUTE FM, when the control comes back to my custom FM there is one record in communication_idoc_control  internal table with IDoc number in DOCNUM field with status 29(error). Now when we check in WE02 there are two IDocs generated after this transaction's execution.
The first one in error which FM MASTER_IDOC_DISTRIBUTE returns and second one in success with status 03.
Please help....
Thanks,
Pravesh

Similar Messages

  • How to create a proxy that accept requestes get/post in the same time?

    Hi everybody,
    I have two questions with Service Bus 11gR1.
    I have to create a proxy in https that accept request get/post in the same time, also this proxy should be able to recognize the common name of the certificate.
    Is it possibile?
    Thanks a lot.
    Ettore

    The approach I mentioned is part of correctly configuring client cert authentication. For client cert authentication to succeed weblogic expects the user derived from the certificate by the user name mapper class to exist ( just exist , it wont check the password) in its security realm. The problem you have mentioned is common for any type of 'authentication' and not just specific to this approach.
    The user name mapper class can be configured to accept any attribute in the certificate DN as the mapped user. Since the thread starter is interested in CN, then he has to set CN as the mapping attribute.
    Edited by: atheek1 on Nov 10, 2010 1:33 AM

  • Search Incremental Crawl is not getting triggered at the scheduled time.

    Hello All,
    Since 1 week i am observing that the incremental crawl is not getting triggered on the scheduled day & time but the next schedule is moving to next day. Let me put down in a detail.
    Content Incremental crawl is scheduled to run daily at 5.00 PM CST. Last 3 days i checked at 5.30 PM CST and found that the incremental crawl is not triggered and the status is Idle. But i noticed that the Next incremental crawl date is moved to next day
    at the same time.
    Can some one help me out how to get out of this issue. Thank You!

    Hi,
    Did you check the crawl logs? Please post here any error message that you come across in Crawl logs.
    Also, does crawl operations are performed when you crawl manually?If yes, have a look at steps below:
    Possible Cause:
    Folder %WinDir%\Tasks is not added with SharePoint Local group WSS_WPG Where Indexer is Running
    Resulution:
    1. Login to the SharePoint Indexer machine with account which has Administrative previlages
    2. Open Command prompt and run the command attrib –s %windir%\tasks.
    %Windir% is the Default installation of Windows
    3. Open Windows Explorer and go to the %Windir%\Tasks folder And open the properties of the Tasks folder
    4. Click the Security tab and Check whether we have WSS_WPG, If it is not there Add the Group with Full Read and Write permissions
    5. Now Open IIS Manager and restrat IIS or at the command prompt Type IISRESET so that the Chages will take place.
    6. From the command prompt Run the command attrib +s %windir%\tasks so that the view goes back to default
    7. Do the above Steps on all the SharePoint servers in the Farm
    Ref: http://blogs.msdn.com/b/vrajas/archive/2012/02/08/moss-2007-schedule-crawls-are-not-starting-automatically.aspx
    Hope it helps!
    Thanks,
    Avni Bhatt
    If this helped you resolve your issue, please mark it Answered

  • How do i open 2 tabs at the same time, whenever i want to open a new tab, the other one disappears and i cant get both at the same time

    opening 2 tabs at the same time

    Hello Sandy.
    Although possibly not related to your problem, I have to remind you that the version of Firefox you are using at the moment has been discontinued and is no longer supported. On top of this, it has known unpatched bugs and security problems. I urge you to update to the latest version of Firefox, for maximum security, stability, performance and usability. You can get it for free, as always, at [http://www.getfirefox.com getfirefox.com].
    As for your problem, make sure your instructing Firefox to open the link in a new tab. For example, middle-clicking (pressing the mouse wheel or the central button of the mouse) the link will open it in a new tab.
    If that doesn't help, it's possible that you are having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    Whenever you have a problem with Firefox, whatever it is, you should make sure it's not caused by one (or more than one) of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] (don't forget to select ''Disable all add-ons'' when you start safe mode). If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and theme and [https://support.mozilla.com/en-US/kb/Troubleshooting+plugins this one] for plugins.
    If you need support for one of your add-ons, you'll have to contact its author.

  • Milestones with different statuses triggering at the same time

    Hi Experts,
    I have created a Project with 1 WBS Element and 1 Network.
    Under Network i have created 1 activity and within that activity there are 2 Milestones.
    1) First Milestone has status 'REL' and a Workflow assigned to it
    2) Second Milestone had a status 'CNF' and a diff Workflow assigned to it.
    i have used BO MLST_NETW as start conditions in both thw workflows.
    I want the 1st milestone to trigger when the Network is release and the second when an activity is confirmed.
    My problem is when i change the status to Release both the milestones/workflows are getting triggered.
    Please let me know where i am going wrong .
    Thank You,
    Radhika.

    Problem solved by using conditions .

  • Suddenly I cannot select just one file in a folder, all of them get selected at the same time.  Happens in Lightroom also when scrolling through the filmstrip. what did I do?

    My Mac Pro is acting wonky all of a sudden. This all began after someone in my family spilled water on the keyboard and tried to clean it up while still turned on. I bought a new keyboard but now I cannot select just one file in a folder, all get selected. Same thing happens in Lightroom 3 when editing in the filmstrip mode, I cannot just select one photo, they all get selected. Plus, after awhile I cannot type in small letters either, just capitals. If I restart it is ok for about 15 minutes then the problems start. I did a reinstall of the OS but it is still happening. I zapped the pram, fixed permissions, etc but no luck. I am on a 2x2.4 GHz Quad-Core Intel Xeon machine with 900 gigs unused. Any suggestions? 

    Try also resetting smc.
    Also check your keyboard preferences.  And just to possibly reset some keyboard related caches and prefs you might go through the "Change Keyboard Type..." (Keyboard tab in the Keyboard preferences).

  • Release Strategy- two levels getting released at the same time

    I have created PR release startegy using 4 levels of $$.
    The first level (L0)is $0.00 to 1.00
    The second level ( L1) goes from 1.01 to 500.00 etc
    The level2 and 3 work fine but the problem I am running into is when I release level L0 the system automatically releasaes level L1 along with L0.
    Has anyone seen this before? what am I doing wrong.
    (my original system had L1, L2 and L3 and that worked fine but I had to add in L0 for buyre review so I created lower level dollar limit and I am now running into this dual release problem)
    Need ideas/ help thanks
    Raj

    Hi,
    Please check settings for release prerequisite in PO release strategy for L0 & L1.
    Regards,
    Manish

  • How to avoid triggering of a workflow multiple times at the same time?

    Hello Workflow Gurus,
      This is the situation.
    I have a Notify requisition creator workflow. This workflow is triggered only when a PO is completely released(this Po is created with respect to a purchase req). I have implemented multiple release strategy in my PO workflow. Meaning, if a PO is created for 5 million, 4 entries are created in the release strategy(P0, P2, P3 and P4). Some approvers have authorization to approve P0 and some have authorization to release P2 etc. Before an approver can release P4, P0, P2 and P3 shuould be approved first.
    My problem is when a approver has auth to release both P3 and P4, and if he hits the SAVE button, it is completely released and  2 notify req workflows are being triggered. I use the release indicator = 'C' (completely released) to trigger thos notify req creator workflow. In this case both workflows are triggered at the same time and date. I somehow have to say if this is triggered at the same date and time, complete one workflow.
    BTW, I am not using any user exit to trigger this. This notify req creator WF is triggering event is "RELEASED'. When pO is completely released, 'RELEASED' event gets triggered which caused the notify req creator WF trigger.
    How can I accomplish this?
    Thanks
    Rachana

    Hi Rachana,
    Another way you could acheive this is to use start conditions for your workflow. You could specify that your workflow should get triggered only for release codes = XX or release strategy = XX, etc.. This way even after 1 stage of approval, when the approver clicks on SAVE, the release codes change and because there is start conditions in the workflow that would prevent another instance of the workflow from getting triggered.
    For example, in your case, I presume PO, P1, P2, etc are your release codes.
    You can have a start condition in your workflow wherein you specify that the workflow should get only triggered for release code = P2 [assuming release code P2 is always the 1st stage of approval]. So, once the approver for P2 has completed and Saved, since there is a start condition, there wouldnt be any other workflow instance started. By this way, any stages of approval wouldnt cause another workflow to initiate.
    Hope this is what you have been looking for ?
    Satish

  • Is it possible to get 2-ch signals from TDS2012 oscilloscope at the same time with LabVIEW "7.0"?

    Hi, everyone.
    I've been trying to get the signals from 2-ch of Tektronix TDS2012 oscilloscope at the same time using IVI connection with LabVIEW "7.0"
    I've already searched this developer zone for the answer.
    I've tried the famous example: "IviScope - Acq Dual Wfm Edge Triggered.vi"
    and it gave me the error message like:
    Error -1074110451 occurred at IviScope Initialize With Options.vi
    Possible reason(s):
    Driver Status:  (Hex 0xBFFA600D) Primary Error: (Hex 0xBFFA600D) The Config Server module is not present on the system.
    I think I've installed all~ the required softwares for IVI. For example, ICP 2.2, IVI engine 2.0.46, and tktds1k2k ivi (instrument driver for tds2012, in fact this one is for LabVIEW "7.1"... :-P)
    TDS2012 and my computer is connected through HPIB(GPIB) and it is shown on the MAX (a GPIB instrument as well as an IVI hardware asset)
    I've tried GPIB connection but it gives me asynchronous signals...
    Is it possible to get 2 signals at the same time with LabVIEW 7.0(not 7.1 or higher) by any means?
    What in the earth is the "Config Server" in this case?
    I don't need to sticking to IVI and any method to achieve my goal will be welcome.
    Could anyone give me the hint for this problem, plz?

    I think your problem is that the instrument specific driver is version 7.1 and you are using the class driver with 7.0. You can create your own 7.0 driver by downloading the LabWindows driver and using the Import CVI Instrument Driver under the Tools>Instrumentation menu.
    Since you don't seem to have a good reason to use IVI, why don't you try the native LabVIEW driver at http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=E3B19B3E9139659CE034080020E748.... I believe you have all of the functions to setup each channel and then when you trigger the scope, both channels will be captured. You would then transfer each waveform separately. The data is always read sequentially but that's not important as long as both channels are triggered at the same time.

  • Azure connections drop exactly at the same time everyday.

    Hi Guys,
    I wonder why all my connections to email server and NOC portal gets disconnected at the same time everyday. The connection drops and my retry logic would not get the connection back. However, the connection will be re-established after a while. 
    What could be the problem here. Any pointers to debug this issue will be highly appreciated.
    Thank you,
    AA

    Hi,
    Would you please share the detailed configuration of your deployment?
    Did you create a VPN connection? Is that email server a on-premise server?
    If it is related to Azure VPN connection, it would be better for you to contact
    Azure support by submitting a billing ticket to better analyze the reason.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • I have 2 accounts in my family and would like to purchase some of the same songs for both accounts, however when I try to purchase a duplicate song from the second account the song says play instead of purchase. How can I get some of the same songs?

    I have 2 accounts in my family and would like to purchase some of the same songs for both accounts, however when I try to purchase a duplicate song from the second account the song says play instead of purchase. How can I get some of the same songs?

    Drrhythm2 wrote:
    What's the best solution for this? I
    Copy the entire /Music/iTunes/ folder from her old compouter to /Music/ in her account on this new computer.

  • I use a gmail account for my mail.  When I send an email I sometimes get multiple duplicates (up to 10-12) of the same sent message saved in my sent file.  help

    I use a gmail account for my mail.  When I send an email I sometimes get multiple duplicates (up to 10-12) of the same sent message saved in my sent file.  help

    Did you check your user name and password in Settings>Mail,Contacts,Calendars...tap your email account, tap SMTP, then tap the primary server name.  Make sure the settings there are correct.

  • Count for item records reaches 999 the second idoc gets triggered!

    Hi Experts,
         I have an issue. Sender is file and receiver is idoc with a header and item  level records. Only one header and n number of records can be there.
    Now we want to make  this way that as soon as the count for item records reaches 999 the second idoc gets triggered.
      Hints / Solutions Pls.
    Regards,
    Arnab .

    incorporate mapping logic such that for every 999 item records create new IDoc node
    check with this UDF for IDoc node mapping, item records will be input to UDF
    int count = a.length;
    int k=999;
    result.addValue("");
    for(int i=0;i<count;i++)
          if (i>=k){
              result.addValue(""); // if records > 999, add IDoc node
              k=k+999;     
    Do rest of the mapping accordingly

  • How can I get one audio file to stop once another is triggered on the same page in EPUB?

    I have multiple audio files on one page and am able to trigger each separately with their own control panels. Unfortunately, these can all be played over one another. Is there a solution within InDesign to stop the first active audio file once another audio button is triggered on the same page?
    WIll this have to be done through Javascript?

    Use buttons. They can have have more than one action. Set a button to stop the first audio, and start the second.

  • TS3899 I send an e-mail message from my iPhone 5c and it shows up in Sent folder as a duplicate, 2 of the same e-mail messages sent at the same time.

    I send an e-mail message from my iPhone 5c and it shows up in Sent folder as a duplicate message. 2 identical messages sent at the same time. What's up with this? Tried Apple Support by phone, and did a couple of troubleshoots, then my connection with Apple Support was cut off. Issue not resolved yet.

    Did the mail get sent? Is the only issue the fact that it appears twice in the Sent folder?

Maybe you are looking for