Two idocs are created for one output message type

hi all,
we are communicating our sap idocs to external system using ALE.It is working smoothly.
Our problem raises here,
.idocs are creating at the time of output type attachment for purchase orders.But rarely,two idocs are creating for one message type.It means two idocs are created for same Purchase order.It makes complications for the external system.
anyone can help me pls?
thnks in advance..........

thanks jurgen for ur reply,
jurgen, the second idoc is not an "ORDCHG",It is the replica of first idoc.This one has also "ORDERS" message type.The only difference between these idocs are the time.It means the difference between the time field segments of these idocs have only three(3)seconds difference.We think that its from the system error.If it is not from the system error pls give me the explanation.
thanks in advance.......

Similar Messages

  • Two different invoices created for  one order for two different lines

    Hi All,
    I have an order with four line items that was shipped on the same day, invoiced on the same day and all lines have the same delivery number yet two inovices were created for this order..one for the first three lines and one for the last line.
    Can anyone please explain what can cause this to happen?
    Thanks
    A/A

    Hi Asgar,
    If a single order has been split into two invoices, you should check the values of the mandatory columns. During Autoinvoice, the grouping is based on the madatory columns and also your grouping rules. If any of the mandatory column has a different value, it will split into different invoice.
    Please refer the following metalink note for further details
    Subject: How Autoinvoice Grouping Works
    Doc ID: 98772.1
    Hope that helps.
    Thanks,
    Anil

  • Change flag deactivaion for PO output message type during change mode

    Hello All,
    WE are using automatic message output determination functionality for PO output type. This output type has been configured for creation and change mode under Fine tuning.
    Two output type are configured, for example ZAAA is output type for ALE and output type ZBBB for  archiving.
    Here  archiving functionality is used to transfer attachment from ERP system to SUS supplier portal as a pdf file. This is done via enhancement and the attachment transfer is working fine.
    During creation mode both the output types are determined and successfully processed and as a result attachment is transferred to supplier portal which is absolutely correct. In the attachment all PO line item can be seen which works well.
    Now I change the PO and add a new PO line item, system automatically default both the output type for change mode and upon saving both the output type are successfully processed.
    Now here is the problem in change mode only the added PO line item is sent as an attachment to the supplier portal. Here the requirement is see all the PO line items including the once which were newly added.
    Solution is if we uncheck the change flag for output type ZBBB during change mode then all the PO line item can be seen under the new attachment with new version.
    Please let us know how this functionality can be acheived ... is there an user exit available.
    We have a work around where we are running a background job every 3 mins and based on the last successfully processed message for output type ZAAA we are attaching first output type ZBBBfor archiving the changes and then ZAAA for sending the changes along with attachment to Supplier portal.However this solution is a temporary one , we need a concrete solution for this.
    Please advise.
    Thanks,
    Yatin

    Hello All,
    Thanks for the reply,
    But we cannot modify the existing print program as this print program is being used in different countries also.
    We already know a solution that during change mode if we remove the change flag from output type ZBBB then all the PO line items along with the recent changes can be seen under the attachment under supplier portal.
    The question comes now, how do we automate this processu2026 Is there any standard progam or user exit available.
    Manually, if you add a message type ZBBB in ME22N tranasction for creation mode then all PO line item with recent changes get transferred but we need to automate this process for create and change PO transaction.
    Thanks,
    Yatendra

  • Two calculations are required for a single condition type

    Hello Experts,
    I have a requirement to calculate the VAT conditon type in a pricing procedure...like in one case  ( If TAX Indicator  set to "0,1,2" at sales order header level) tax should be calculate on PR00 & 3 other condition types....in second case (  If TAX Indicator set to " 3 " at sales order header level) tax should be calculate on 3 other condition types except PR00.    But make sure that TAX Indicator  "3" always set by user manually during the creation of sales order.
    Another hurdle is if user set the indicator as 3 manually during the creation of Sales order then price will not be redetermine automatically, So I need this to be happend automatically.
    Let me know how should I proceed further to fix the requirement.
    Appriciate quick response.
    Regards,
    Chandu

    Hi Sudir,
    Somehow my edit did not get saved:
    This is suppoed to read
    Set up your pricing as follows:
    10 PR00
    20 Z001
    30 Z002
    40 Z003
    100 Subtotal #1 = Sum of 10 through 40
    110 ZSUB = Discount condition with condition record for 100% for Tax indicator = '3' (otherwise 0)  with base = line 10 (PR00)
    200 Tax base = 100 through 110
    In other words:
    For tax indicators = 0,1 or 2
    Tax base (Line 200) = PR00 + Z001 + Z002 + Z003
    For tax indcator = 3
    Tax base = PR00 + Z001 + Z002 + Z003 - (100% x PR00)  =  Z001 + Z002 + Z003
    Yiou will probably aneed to put some code in one of the sales order user exits to trigger repiricing if you change this manually.

  • Creation Output Message Type for Scheduling Aggrement

    Hi,
    Please share the detail configuration for the Output message type for scheduling aggrement, i need to use ALE IDoc so that i can send this SA to SRM system.
    Regards,
    Pankaj

    Hi,
    Output determination process for Scheduling aggrement.
    SPRO-IMG-Material Management-Purchasing-Messages-Output Control-
    1)First create condition table based which becomes condition record for accessing the data.
    2)Create access sequence to access the data or search the based on the conditoin record in sequence  of the condition table.
    3)Define your message type like print,fax etc.
    Maintain the conditon record for the MN07 for the output type which new one you created.
    Regards
    Ravi Shankar.

  • PREC: two spools are created

    We are having a problem when we run tcode PREC in 6.0 version.
    When we run it in background, we see that two spools are created but in
    4.6C version we only had one. Besides, we don´t see the trip number nor the
    emplyee number in the second spool.
    Currently this is only happening when "invalid event" error is
    populated but we don´t know if there are another errors that bring
    about the same.
    So, the questions are:
    Why two spools are being generated?
    what other errors could cause the two spools to be created?
    what is the second spool for?
    Is there a posibility to show all the information in one spool?

    Hello Emiliano,
    This is not an error.
    If you run the RPRTEC00 not in background mode, you will get      
    the error for the Rejected Trip in the first screen. If you press the    
    back button you will get the additional information "Invalid event       
    (status 2)" in the second screen. This is the reason why in the job      
    it created  two spools. Nevertheless the "Invalid Event" message will    
    not help with the error because the important one is in the first        
    screen already, the rejected trips.                                                                               
    This is a standard behaviour rather than an error.  
    Regards,
    Raynard

  • Emergent!! Two alternative material number for one same real material???

    Hi Experts
    In our company,for some specail requirement,we want to have two material numbers for one same real
    material,that means this two materials are substitute for each other. In every transaction, we can
    use this both two material numbers.
    For example,material number "A123 " and "B456" , these two material numbers are for one real
    material, In every transaction we can use "A123 " or "B456".For exmaple ,we can create and release
    a production order to produce"A123",and when doing goods receive for this produciton order with
    MB31,we could use"B456" for the same production order. And also when we view the stock for "A123" in SAP,we could get the the sum stock of "A123" and "B456".
    Is it possible in SAP? How to achieve it that one real material have two different material number??
    And how to manage these two different material number??
    Thanks for any reply!!

    Fei,
    The requirement can't be absolutely mapped in SAP.
    The reason is the logic behind this is wrong.
    May we know why do you want to maintain two separate codes for one real material?
    We have option of batch management as well as split valuation to take care of your requirement.
    Evaluate these things.
    Hope this helps you.
    SmanS

  • IDOCS get created  After one day?

    Hello all,
    the outbound idocs are get created after one day delay,
    After uploading the materials the idocs have to generated through program RBDMIDOC and need to be posted immediately .
    RBDMIDOC-scheduled at 10 mints .
    but in our scenario the idocs are generated after one day delay..
    what could be the reason?.
    it's urgent .
    Warm regards
    Nandan
    Edited by: Nandan ND on Feb 19, 2008 12:47 PM
    Edited by: Nandan ND on Feb 19, 2008 1:35 PM
    Edited by: Nandan ND on Feb 19, 2008 1:36 PM

    Hi,
    Check whether program   RBDMIDOC is scheduled only once? If it is running only once then you this will happen.
    And also schedule the job to execute only after your upload process is over.
    Regards,
    Ashok

  • Maintenance orders are created for FL/equipment only ?

    Hi all,
    "maintenance orders are created for FL/equipment only".
    How can i to understander this sentence, i use t-code: iw31 to create a maintenance order, and the 'Assembly' field can be entered. so how can i to create a maintenance order just for FL/equipment only ?
    Thanks and best regards,
    Ivy Lu

    Hi Praveen,
    It's not a message. i got this sentence from the following information:
    Q7: When you maintain an assembly in a piece of equipment, is it possible to get maintenance history of the assembly? Do you have to create it as a piece of equipment?
    A7: As maintenance orders are created for FL/equipment only, maintenance history can only be tracked at that level, not at assembly level.  Assemblies are mere structuring devices to have spare parts linked to an equipment in a structured manner. However, in PM orders, you can mention the assembly along with the FL/Eq. Depending on your reporting needs, an ABAPer could use the 'PM Assembly' field in PM orders.
    Best regards,
    Ivy Lu

  • Two table maintenance generator for one table

    Can we created two table maintenance generator for one ztable. if yes then what will be the steps.

    Hi Prem,
    Why you need two table maintenance generator for a single table?
    We can generate only single table maintenance  generator for a single table.
    you can add modification event in  inside table maintenance if you need anything to change or validate in insde your table maintenance generator.
    Regards,
    Prasenjit

  • Two shipments getting created by one delivery

    Hi,
    I have a problem in which 2 shipments are getting created for one Delivery document, whereas only 1 Shipment document should be there. When I analysed the shipment documents, I found that the shipment route and forwarding agent are different in both the documents.
    Any idea why this is happening? Also, want to know-
    1. Is it possible to combine deliveries of different Routes and Fwd agents into one shipment document (VT01N) ?
    Thanks.

    hello, friend.
    it is possible to have 2 or more routes and 2 or more agents in a collective shipment.  in this case, there is a main route and the sub-routes become stages.  it is possible that each stage could have a different agent.
    in your case as originally stated, you may not combine more than 1 route or agent in an individual shipment.  if your items in the delivery document have different routes or agents, then these items will be split into different shipments.
    regards.

  • Parallel processing for one large message

    I have some troubles from messaging performance perspective.
    Sender:ABAP Proxy
    Receiver:File Adapter
    I'd like use parallel processing for one large message.
    And the file for receiver is needed to be one file.
    Could you let me know how to set them ?
    Best regards,
    Koji Nagai

    Hi
    Can you elaborate your requirement more?
    How are you trying to achieve parallel processing in XI.
    Since you mentioned that the source is Proxy, there should be some trigger mechanism say selection screen, you restrict the values here and use append strategy in File and can execute the same.
    REgards
    Krish

  • How many SECONDARY INDEXES are created for CLUSTER TABLES?

    how many SECONDARY INDEXES are created for CLUSTER TABLES?
    please explain.

    There seems to be some kind of misunderstanding here. You cannot create a secondary index on a cluster table. A cluster table does not exist as a separate physical table in the database; it is part of a "physical cluster". In the case of BSEG for instance, the physical cluster is RFBLG. The only fields of the cluster table that also exist as fields of the physical cluster are the leading fields of the primary key. Taking again BSEG as the example, the primary key includes the fields MANDT, BUKRS, BELNR, GJAHR, BUZEI. If you look at the structure of the RFBLG table, you will see that it has primary key fields MANDT, BUKRS, BELNR, GJAHR, PAGENO. The first four fields are those that all cluster tables inside BSEG have in common. The fifth field, PAGENO, is a "technical" field giving the sequence number of the current record in the series of cluster records sharing the same primary key.
    All the "functional" fields of the cluster table (for BSEG this is field BUZEI and everything beyond that) exist only inside a raw binary object. The database does not know about these fields, it only sees the raw object (the field VARDATA of the physical cluster). Since the field does not exist in the database, it is impossible to create a secondary index on it. If you try to create a secondary index on a cluster table in transaction SE11, you will therefore rightly get the error "Index maintenance only possible for transparent tables".
    Theoretically you could get around this by converting the cluster table to a transparent table. You can do this in the SAP dictionary. However, in practice this is almost never a good solution. The table becomes much larger (clusters are compressed) and you lose the advantage that related records are stored close to each other (the main reason for having cluster tables in the first place). Apart from the performance and disk space hit, converting a big cluster table like BSEG to transparent would take extremely long.
    In cases where "indexing" of fields of a cluster table is worthwhile, SAP has constructed "indexing tables" around the cluster. For example, around BSEG there are transparent tables like BSIS, BSAS, etc. Other clusters normally do not have this, but that simply means there is no reason for having it. I have worked with the SAP dictionary for over 12 years and I have never met a single case where it was necessary to convert a cluster to transparent.
    If you try to select on specific values of a non-transparent field in a cluster without also specifying selections for the primary key, then the database will have to do a serial read of the whole physical cluster (and the ABAP DB interface will have to decompress every single record to extract the fields). The performance of that is monstrous -- maybe that was the reason of your question. However, the solution then is (in the case of BSEG) to query via one of the index tables (where you are free to create secondary indexes since those tables are transparent).

  • Open two GUI( JFrame) simultaneously for one application

    Can we open two GUI( JFrame) simultaneously for one application at tha same time.if yes why ?and if no why?

    OK, its really simple, basically, you need a desktop frame to stor all the other frames and then you just pop them in, from a new class each time.
    Here's the code from the demo I learnt it from:
    (The demo itself)
    import javax.swing.JInternalFrame;
    import javax.swing.JDesktopPane;
    import javax.swing.JMenu;
    import javax.swing.JMenuItem;
    import javax.swing.JMenuBar;
    import javax.swing.JFrame;
    import javax.swing.KeyStroke;
    import java.awt.event.*;
    import java.awt.*;
    * InternalFrameDemo.java requires:
    * MyInternalFrame.java
    public class InternalFrameDemo extends JFrame
    implements ActionListener {
    JDesktopPane desktop;
    public InternalFrameDemo() {
    super("InternalFrameDemo");
    //Make the big window be indented 50 pixels from each edge
    //of the screen.
    int inset = 50;
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    setBounds(inset, inset,
    screenSize.width - inset*2,
    screenSize.height - inset*2);
    //Set up the GUI.
    desktop = new JDesktopPane(); //a specialized layered pane
    createFrame(); //create first "window"
    setContentPane(desktop);
    setJMenuBar(createMenuBar());
    //Make dragging a little faster but perhaps uglier.
    desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
    protected JMenuBar createMenuBar() {
    JMenuBar menuBar = new JMenuBar();
    //Set up the lone menu.
    JMenu menu = new JMenu("File");
    menu.setMnemonic(KeyEvent.VK_D);
    menuBar.add(menu);
    //Set up the first menu item.
    JMenuItem menuItem = new JMenuItem("New");
    menuItem.setMnemonic(KeyEvent.VK_N);
    menuItem.setAccelerator(KeyStroke.getKeyStroke(
    KeyEvent.VK_N, ActionEvent.ALT_MASK));
    menuItem.setActionCommand("New");
    menuItem.addActionListener(this);
    menu.add(menuItem);
    //Set up the second menu item.
    menuItem = new JMenuItem("Quit");
    menuItem.setMnemonic(KeyEvent.VK_Q);
    menuItem.setAccelerator(KeyStroke.getKeyStroke(
    KeyEvent.VK_Q, ActionEvent.ALT_MASK));
    menuItem.setActionCommand("Quit");
    menuItem.addActionListener(this);
    menu.add(menuItem);
    return menuBar;
    //React to menu selections.
    public void actionPerformed(ActionEvent e) {
    if ("New".equals(e.getActionCommand())) { //new
    createFrame();
    } else { //quit
    quit();
    //Create a new internal frame.
    protected void createFrame() {
    MyInternalFrame frame = new MyInternalFrame();
    frame.setVisible(true); //necessary as of 1.3
    desktop.add(frame);
    try {
    frame.setSelected(true);
    } catch (java.beans.PropertyVetoException e) {}
    //Quit the application.
    protected void quit() {
    System.exit(0);
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    private static void createAndShowGUI() {
    //Make sure we have nice window decorations.
    JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    InternalFrameDemo frame = new InternalFrameDemo();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //Display the window.
    frame.setVisible(true);
    public static void main(String[] args) {
    //Schedule a job for the event-dispatching thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    Myinternalframe.java:
    import javax.swing.JInternalFrame;
    import java.awt.event.*;
    import java.awt.*;
    public class MyInternalFrame extends JInternalFrame {
    static int openFrameCount = 0;
    static final int xOffset = 30, yOffset = 30;
    public MyInternalFrame() {
    super("Document #" + (++openFrameCount),
    true, //resizable
    true, //closable
    true, //maximizable
    true);//iconifiable
    //...Create the GUI and put it in the window...
    //...Then set the window size or call pack...
    setSize(300,300);
    //Set the window's location.
    setLocation(xOffset*openFrameCount, yOffset*openFrameCount);
    You should be able to tell from that

  • Where to see activities, which are created for the campaign with target group

    Hi
    I have created a Communication Method in SPRO -> CRM -> Marketing -> Marketing Planning & Campaign Management -> Campaign Executtion - Define Communication Method : Activity has been configured
    Activities are not appearing after creation of campaign with target group.
    Where to see activities, which are created for the campaign with target group?
    Regards
    Hamid

    Hello,
    alternatively to check  table CRMD_ORDERADM_H directly you can use the related transactions search for the campaign:
    This should bring all activities generated by the campaign. If this is empty first check the job log of the campaign execution job again:
    This gives information if any target group members have business transactions created. If the log does not contain the required information you can debug from SM37. The business transactions (activities, leads, sales orders) are generated from function module CRM_MKTTGGRP_PROC_CREATE.
    best regards,
    Johannes

Maybe you are looking for

  • Since i upgraded to iOS7, 3G no longer works.

    Ever since I upgraded to the new software, my 3G no longer works. Yes, I have 3G on my plan. it has always worked great but ever since the update, i have nothing, even when the screen says full service and 3G. any ideas??

  • My phone is missing

    My phone is missing & the person who found it is asking 7k from me or he will change my phone's mother board. I decided to destroy it totally so nobody can use it. What should I do? Pls help me!

  • Advise on EP, XI, or BI/BW.

    Hi all, I am an abapper. I would like to shift to a new technology, I do not know Java, got some 2 yrs experience in ABAP. I would like to learn either EP, XI, or BI/BW. Please advise me on which would be better for me. Please help me figure out.. Re

  • Add an icon in JBuilder

    how can i add an icon to a button in JBuilder 4. the icon property for a button allways show <none>.

  • Mov file or mp4 file

    I am creating a DVD and made some home movies (VHS) into .mov files. I was thinking that if I converted them into mp4 files, they would be a lot smaller. I converted one of them already and it seemed to degrade the quality a little.......I guess due