Help me on Triggers ?

I want to write a trigger on view which depends on tables emp.
emp
empno
name
dept
desig
dob
basic
hra
da
create or replace view empview
as
select * from emp;
1) Will to insert bulk of records to the view as
insert into empview select * from emplot where dept = 'sales';
2) Delete records which are not available in emp table,insert new records into emp, update existing records

I found there is no other way than trigger. But let me know any other suggestion
Constraints are
1) Should not delete all records in emp and reinsert, because it is linked in a front-end. If we delete all, it will affect remote users who are looking at it
2) if record exists in emp table Insert/update one by one record in emp
3) records non exist in emplot and exists in emp table should be removed.
4) Emplot contains blob data and extraction is using different way.
Please let me know whether we can
Compare data’s in emp table with the incoming data’s and finally remove non available from emp?
We will get the data to emp table exactly as below
insert into empview select * from table(extract_data(emplot,’sales’));

Similar Messages

  • Search help is not triggering second time in interactive form

    Hi,
    I have online interactive form in WDABAP. And I have few search helps in the form, If i click on any search help it is opening and I can select the value and the same is populated to the field. But if i click it again search help is not opening.
    Only one time it is triggering and also after I clicked one serach help, other search helps also dont work.
    Can some one guide me? Is it something to do with scripting or any other configuration?
    Now Im using ALD7.1 and Reader version is 8.1.0.
    did any one faced this problem? Really appreciate if some one can help me on this.
    Regards,
    Ravi

    hi,
    The following code is generated in the preopen event of the valuehelp.
    // DO NOT MODIFY THE CODE BEYOND THIS POINT - 710.20061129084151.349066.349066 - ValueHelpDropDown.xfo
                       var processingValueHelp = ContainerFoundation_JS.getGlobalValue(event.target, "processingValueHelp");
                       if(processingValueHelp == false) {
                           ContainerFoundation_JS.setGlobalValue(event.target, "processingValueHelp", true);
                           this.rawValue = "";
                           this.clearItems();
                           ContainerFoundation_JS.SendMessageToContainer(event.target,
                                                                         "valueHelp",
                                                                         this.dataNode.somExpression.replace(/(xfa.?\.)(datasets.?\.)(data.*?\.)/, ""),
                                                                         this.rawValue,
                                                                         event.target.mouseX,
                                                                      event.target.mouseY);
                       // END OF DO NOT MODIFY
    I have tried placing this code in click event instead of preopen.But still no use. Can we make changes to this code? Can some one give me some idea what changes need to be done..
    Regards,
    Ravi

  • Help required in triggering concept for sending mails automatically

    I am developing an application in which i had to develop an Auto Responder application. For this application i need to send different mails to different customers automatically on different days. Though i got the concept of using timers and the scheduling process from some of the developers, I think it is not suitable for our application because it is a standalone program and it needs to be executed seperately. I am not much sure of this mail application using timers and scheduling concept.
    So i need a different application where i can be using triggers in database so that it runs embedded in the application.. As per my idea i will be having two variables x and y in the database. X will be a fixed value which contains the no. of days after which a mail has to be sent to the customer.Y is a counter variable which is initialised to 0 and will be incremented daily(For this i wrote a trigger). Once x and y are equal mail should be sent automatically. But the problem is that i need to monitor this application continously. I don't know how to monitor this application. Therefore i request your help in this regard and tell me whether my idea is correct. If it is correct plz tell me how to do it and if possible send me an example.
    Thank you,

    I am developing an application in which i had to develop an Auto Responder application. For this application i need to send different mails to different customers automatically on different days. Though i got the concept of using timers and the scheduling process from some of the developers, I think it is not suitable for our application because it is a standalone program and it needs to be executed seperately. I am not much sure of this mail application using timers and scheduling concept.
    So i need a different application where i can be using triggers in database so that it runs embedded in the application.. As per my idea i will be having two variables x and y in the database. X will be a fixed value which contains the no. of days after which a mail has to be sent to the customer.Y is a counter variable which is initialised to 0 and will be incremented daily(For this i wrote a trigger). Once x and y are equal mail should be sent automatically. But the problem is that i need to monitor this application continously. I don't know how to monitor this application. Therefore i request your help in this regard and tell me whether my idea is correct. If it is correct plz tell me how to do it and if possible send me an example.
    Thank you,

  • Very Urgent-Pls help*Process chain triggered automatically when transported

    Hi All,
    We have got some issue.
    We have a Process chain, started set to immediate becuase its used in meta chain.
    When ever we transport the Chain, its getting triggerred in the Target Client automatically.
    We can prevent this, by keeping the process chain starter as "Event Based". But, as its a local process chain, it must be set to Immediate.
    Please help.
    Cheers,
    Nisha

    Hi Siggi,
    Thanks for this reply.
    Scheduling the Local chain to run in future and then changing it after import, i think, is a work around.
    Iam sure, there must be some thing to stop this trigger.
    And, We have tried Changing the Chains to run Via Meta chain, but, the problem is after the Transport, the local chain can't be triggered on its own using "immediatly". If we try to change it, it'll prompt for a Transport.
    Please help.
    Cheers,
    Nisha

  • Help with Port Triggering

    Okay, I have look around for many guide but I can't seem to get the port trigginger to work my Wireless N Router. I have 2 xbox 360s in the house so I'm not able to use port forwarding. I've tried to do port triggering on my own but every guide is to a none verizion type router. Nothing in the guides match the interface I'm giving with. I dont' know what I'm suppose to do. Please, does anyone know how to port trigger for the xbox live with a verizon router?

    http://www.pcwintech.com/port-triggering-actiontec-mi424-wr-verizon-firmware
    Step 1.
    Open your favorite web browser and input your routers ip address in the address bar.
    Please note that you must have the http:// in order to connect to your router/modem properly.
    Need help finding you router IP address? Click here
    Step 2.
    Enter your username and password and click 'OK'
    Click To View Full Picture
    If you don't know it you can check our list of default router and modem password list here.
    If you have changed it and don't remember it you may have to reset your device to factory default using the reset button on most routers.
    Step 3.
    Once logged into your router click on "Firewall Settings"
    Set the firewall to 'Minimum Security' to allow Inbound connections.
    Now Click 'Apply'
    When the page is done reloading click on 'Port Triggering'
    Click To View Full Picture
    Step 4.
    Click 'Add'
    Click To View Full Picture
    Step 5.
    For 'Outgoing Trigger Ports' click on 'New Trigger Ports'
    Click To View Full Picture
    Step 6.
    For 'Protocol' choose your protocol, normally TCP or UDP.
    For 'Source Ports' choose 'Any'
    For 'Destination Ports' Choose either 'Range' or 'Single' then enter the ports to be used as the trigger.
    Example: 2100 or 2100 - 2105
    Click 'Apply'
    Click To View Full Picture
    Step 7.
    For 'Incoming Ports to Open' click on 'New Opened Ports'
    Click To View Full Picture
    Step 8.
    For 'Protocol' choose your protocol, normally TCP or UDP.
    For 'Source Ports' choose 'Any'
    For 'Destination Ports' Choose either 'Range' or 'Single' then enter the ports to be forwared.
    Example: 2100 or 2100 - 2105
    Click 'Apply'
    Click To View Full Picture
    Step 9.
    If you have more ports to add repeat steps 7 & 8.
    Once all ports have been added give the service a name.
    For 'Service Name' give your entry a unique name.
    Now click 'Apply'
    Click To View Full Picture
    All done!

  • Help on DML Triggers On Schema

    All,
    We are in the process of implementing audit table for specific schemas:(user1 120 tables)
    I was successfully able to create DDL Triggers on the Schema with ----- DDL ON SCHEMA
    but for tracking DML operations on each table by different users in user1 schema... do i need to create individual trigger for each table...
    BEFORE INSERT OR UPDATE OR DELETE ON <TABLE_NAME>
    is this the only way...
    Any Ideas?
    Regards,
    ~Ora

    Hi,
    as you said in your first post, for DDL operations you can use SCHEMA a level trigger, but for DLM operations you will have to stick with one trigger per Table.
    Here is some piece of code to generate the triggers for you.
    drop type line_tt;
    create or replace type line_t as object (x varchar2(4000));
    create or replace type line_tt as table of line_t;
    create or replace function generate_audit_triggers return line_tt pipelined
    is
           cursor my_tables is
                  select user as owner, table_name from user_tables where temporary = 'N';
           cursor my_table_cols(tablename in varchar2) is
                  select column_name from user_tab_columns where table_name = tablename order by column_name;
           sqlstatement varchar2(4000);      
           wherestatement varchar2(4000);
    begin
         for r_table in my_tables loop
             -- generate code for insert trigger
             pipe row(line_t('create or replace trigger ' || r_table.owner || '.' || substr('SPYI_' || r_table.table_name, 1, 30)));
             pipe row(line_t('before insert on ' || r_table.owner || '.' || r_table.table_name));
             pipe row(line_t('for each row'));
             pipe row(line_t('begin'));
             pipe row(line_t('insert into AUDIT_DATA(sqlstatement) values('));
             sqlstatement := '''insert into ' || r_table.owner || '.' || r_table.table_name || '(';
             for r_column in my_table_cols(r_table.table_name) loop
                 sqlstatement := sqlstatement || r_column.column_name;
                 sqlstatement := sqlstatement || ',';
             end loop;
             sqlstatement := substr(sqlstatement, 1, length(sqlstatement) - 1);
             sqlstatement := sqlstatement || ') values ('''''' || ';
             for r_column in my_table_cols(r_table.table_name) loop
                 sqlstatement := sqlstatement || ':new.' || r_column.column_name;
                 sqlstatement := sqlstatement || ' || '''''','''''' || ';
             end loop;
             sqlstatement := substr(sqlstatement, 1, length(sqlstatement) - 10);
             sqlstatement := sqlstatement || ''''');''';
             pipe row(line_t(sqlstatement));
             pipe row(line_t(');'));
             pipe row(line_t('end;'));
             pipe row(line_t('/'));
             -- generate code for update trigger
             pipe row(line_t('create or replace trigger ' || r_table.owner || '.' || substr('SPYU_' || r_table.table_name, 1, 30)));
             pipe row(line_t('before update on ' || r_table.owner || '.' || r_table.table_name));
             pipe row(line_t('for each row'));
             pipe row(line_t('begin'));
             sqlstatement := 'if (';
             for r_column in my_table_cols(r_table.table_name) loop
                 sqlstatement := sqlstatement || '''a''|| ' || ':old.' || r_column.column_name || ' <> ''a''|| :new.' || r_column.column_name || ' or ';
             end loop;
             sqlstatement := substr(sqlstatement, 1, length(sqlstatement) - 4);
             sqlstatement := sqlstatement || ') then';
             pipe row(line_t(sqlstatement));
             pipe row(line_t('insert into AUDIT_DATA(sqlstatement) values('));
             sqlstatement := '''update ' || r_table.owner || '.' || r_table.table_name || ' set ';           
             wherestatement := ' where ';
             for r_column in my_table_cols(r_table.table_name) loop
                 sqlstatement := sqlstatement || r_column.column_name || '=''''' || ''' || :new.' || r_column.column_name || ' || '''''',';
                 wherestatement := wherestatement || '''''a''''||' || r_column.column_name || '=''''a''''||''''' || ''' || :old.' || r_column.column_name || ' || '''''' and ';
             end loop;
             sqlstatement := substr(sqlstatement, 1, length(sqlstatement) - 1);
             wherestatement := substr(wherestatement, 1, length(wherestatement) - 5);
             sqlstatement := sqlstatement || wherestatement || ';''';
             pipe row(line_t(sqlstatement));
             pipe row(line_t(');'));
             pipe row(line_t('end if;'));
             pipe row(line_t('end;'));
             pipe row(line_t('/'));
         end loop;
    end;
    show err
    drop table audit_data;
    create table audit_data (
           sqlstatement varchar2(4000)
    spool tmp.sql
    set head off
    set linesize 500
    set echo off
    select x from table(generate_audit_triggers);
    spool offHope this helps,
    Francois

  • Urgent Help Required in Triggers

    i have a problem. i created a table total_rows which has tow columns
    1) table_name 2) num_rows. this table stores table name and their corrsponding total no of rows of a particualr schema. to create this table first i analyzed the schema using dba_stats and then queried the dba_tables to get the required data.
    now i want to write a trigger that will dynamically update the value of column num_rows based on insert and deltion that are being done against the table name present in table_name,. for examle suppose i have emp table as a value in table_name and table emp has 1000 rows. suppose 10 employees are deleted then the num_rows should show 990 and if 10 employees are inserted then it should show 1010.
    the problem is that i can write the trigger for a single table but how do i do it for all the table whose name are in table_name columns?
    please help me out. its very urgent?
    regards,
    amrit

    Set heading off;
    Set echo off;
    Set verify off;
    Spool c:\create_views.sql;
    Select 'CREATE OR REPLACE VIEW '||table_name||'_cnt_view As Select table_name, Count(*) num_rows '||
           'From all_tables'
      From all_tables;
    Spool off;
    Set verify on;
    Set echo on;
    Set heading on;

  • Help regarding workflow triggering

    hi
    i am working on WLI using weblogic 8.1
    i have designed very simple workflow using some simple nodes.
    as given in the tutorial i am able to run my workflow using test browser.
    .its pefectly working.
    i would like to know the ways of triggering the workflow from java clients.
    Is subscribing to message broker is the only way or we have some other simpler
    ways?
    thanx

    Thats correct for Weblogic Integration 7.0 and before but in Weblogic
    Integration 8.1 there is no default queue with the name
    "com.bea.wli.bpm.EventQueue" configured. Weblogic Platform 7.0 uses the
    Message Oriented Middleware (MOM) aproach and Weblogic Platform 8.1 uses the
    Service Oriented Architecture (SOA).
    There is a good article about Weblogic Workshop Internals on dev2dev [1] and
    in the documentation there is a page about writing clients for web services
    [2] (in Weblogic Platform 8.1 workflows are web services).
    If you create your workflow with Weblogic Workshop then you can access the
    workflow over the URL
    http://yourhost:7001/yourApplication/processes/yourProcess.jpd with SOAP. In
    the test browser under the overview tab you can generate a WSDL, a Java
    Control, a Service Broker Control and a Java Proxy (which needs the Proxy
    Support Jar). With this components you can access your workflow. If you
    wanna see the SOAP message use the test browser there is the html form which
    uses http for triggering the workflow, for example:
    <table cellspacing=0 cellpadding=0 border=0 width="100%">
    <form NAME="placeOrder"
    METHOD="POST"
    ACTION=http://localhost:7001/AvitekWeb/processes/orderProcessing/placeOrder.
    jpd>
    <tr><td colspan=2 class=methname><A
    NAME="placeOrder"></A>placeOrder</td></tr>
    <tr><td colspan=2 class=methdesc><!-- do comments
    correctly --><!--docString--></td></tr>
    <tr>
    <td class=namcol><nobr><b>SOAP body:</b> </nobr></td>
    <td class=inpcol>
    <TEXTAREA class="xmlbox" name=".SOAPMESSAGE" COLS=50 ROWS=10 ><placeOrder
    xmlns="http://www.openuri.org/"
    xmlns:eval="http://www.beasys.com/evalguide">
    <eval:Order>
    <eval:CustomerID>3</eval:CustomerID>
    <eval:OrderPriority>string</eval:OrderPriority>
    <eval:CustomerType>string</eval:CustomerType>
    <eval:LineItems>
    <!--1 or more repetitions:-->
    <eval:Item>
    <eval:Name>string</eval:Name>
    <eval:SKU>3</eval:SKU>
    <eval:Description>string</eval:Description>
    <eval:Price>1.5E2</eval:Price>
    <eval:Quantity>3</eval:Quantity>
    </eval:Item>
    </eval:LineItems>
    <eval:OrderID>3</eval:OrderID>
    <eval:TotalAmount>1.051732E7</eval:TotalAmount>
    <eval:OrderDate>2008-09-29</eval:OrderDate>
    <eval:OrderStatus>string</eval:OrderStatus>
    </eval:Order>
    </placeOrder>
    </TEXTAREA></td></tr>
    <tr><td><img alt="" height=6 width=0
    src="http://localhost:7001/AvitekWeb/processes/orderProcessing/placeOrder.jp
    d?.RESOURCE=blank.gif">
    </td></tr><tr><td> </td><td class=inpcol><input TYPE=submit
    class=inpbut VALUE="placeOrder"> starts a conversation<input TYPE=HIDDEN
    NAME=.EXPLOREOVERRIDE value=".TESTXML"><input TYPE=hidden NAME=.EXPLORE
    VALUE=.INVOKE><INPUT TYPE=hidden NAME=.CONVERSATIONID VALUE=_ID_><INPUT
    TYPE=HIDDEN NAME=".CONVPHASE" VALUE=".START"><p></td></tr></form>
    I think in this code is all what you need to start a workflow.
    mfg
    Daniel
    [1] http://www.dev2dev.com/products/wlworkshop81/articles/wlw_internals.jsp
    [2] http://e-docs.bea.com/wls/docs81/webserv/client.html
    "Raj" <[email protected]> schrieb im Newsbeitrag
    news:[email protected]...
    >
    Hi Swati,
    You can write JMS program to post an XML to a Queue and configure thestart node
    to event.The Quename for this client program should be"com.bea.wli.bpm.EventQueue",
    else you have to configure an MDB listener. Let me know if you havefurther doubts....
    >
    Regards
    Raj
    "swati" <[email protected]> wrote:
    hi
    i am working on WLI using weblogic 8.1
    i have designed very simple workflow using some simple nodes.
    as given in the tutorial i am able to run my workflow using test browser.
    .its pefectly working.
    i would like to know the ways of triggering the workflow from java
    clients.
    Is subscribing to message broker is the only way or we have some other
    simpler
    ways?
    thanx

  • Help on creating Triggers on POR1

    Hi,
    I have a trigger on POR1 table, which updates a UDF field when Insert/Update is done on POR1 lines.
    If PO has a single line, it works great.
    But, if there is more than one line, I'm getting the error message : 'Invalid Cursor' while trying to update PO.
    I have stripped down the trigger, so that it is in its simplest form.
    Still I'm getting the invalid cursor error.
    Simplest form of Trigger:
    Create Trigger AIT_FWA_POR ON POR1
    AFTER INSERT
    AS
    Begin
    Update POR1 Set U_ShipCost = '10'     
    FROM POR1,Inserted where POR1.DocEntry = Inserted.DocEntry
    End
    If I see what happens in SQL profiler, it appears that SAP is deleting the POR1 rows (and reinserts?).
    Please let me know how I can fix it, or more details about the internal functionality.
    Your valuable inputs in fixing the problem will be highly appreciated.
    Thanks in advance.
    Regards,
    Geetha

    Hi Geetha,
    Unfortunately, SAP do not support triggers on their tables and do not support updating UDFs directly through SQL on system tables so I can't offer a solution for this.
    For a solution that fits within SAP's rules, I'd recommend you have an addon that traps the event of the user clicking on the Add/Update button on the purchase order screen and then populate your UDF value through the UI API before the document is added.
    Kind Regards,
    Owen

  • Help with learning Triggers

    Hello,
    I'm afraid this is a very basic question from someone just learning Oracle.
    I have downloaded 10g onto my work Windows XP laptop.
    When trying to create a trigger through sql*plus, I keep getting 'trigger created with compilation errors'
    When going to EM, I keep getting :
    "SQL Error
    Failed to commit: ORA-04072: invalid trigger type"
    This happens with any combination of before/after update,insert,delete - and it's stumping me. i was just working my through an easy example in a book.
    here's the trigger body from the EM:
    after insert or update on integers #no matter what combination i use , i get the same
    for each row
    begin
    end;
    That error:
    Oracle Error :: ORA-04072
    Specify either INSERT, UPDATE or DELETE.
    Am i making some obvious typo that i just can't see????
    Thanks for any help, it's appreciated....

    it's just the most basic learning example.........
    the table........
    SQL> select * from integers;
    C1 C2
    1 odd
    2 even
    3 odd
    4 even
    5 odd
    7 odd
    7 even
    7 rows selected.
    and as for the trigger, as i posted above, i took out everythinng from the body eventually as i tried every combination of before/after insert/update/delete and still kept getting the same error (with or wihtout anything in the body).
    trigger:
    create or replace trigger tg
    after insert or update on integers
    for each row
    begin
    end;
    thanks!

  • Help, CCX7 not triggered from outside, codec problem.

    Good Day..
    Here we have a scenario that is, a customer upgraded from CUCM4.2 and IPCC4 to CUCM7.0 and CCX7.0, in the old deployment, he used codec G.729 on IPCC and for sure for the voice prompts, and it used to work fine, now, after the upgrade, and using the same script, prompts and choosing G.729 to run on CCX, we are only able to listen to prompts and go into the AA menu options internally, but when calling from outside, nothing, it keeps ringing.
    I changed the codec back to G.711 from CCX’s service parameter, and called from outside, the CCX opens the script yes, but not playing any prompts…
    Although the gateway used to work with IPCC normally, I had configured codec G.729 and ran it under a special dial-peer dedicated for CCX trigger DN, still nothing changed..
    Any guides please.
    AT

    Does not matter if you are using MGCP or H323 the same rule applies for xcoding needs.  The bigger question is what has changed as part of the upgrade as there should be no changes from operations point of view.
    I would suggest checking if there are media resources such as Xcoder that for some reason did not register after the upgrade.  Also, is the site with the GW experiencing the issues remote from the UCCX server?  If you want to use G729 for calls into the GW simple change the region assigned to the GW's DP to use G729 between itself and the UCCX cti ports.
    HTH,
    Chris

  • Help with some PL/SQL Triggers

    hello there, I'm totally new using PL/SQL so I need your help with two triggers.
    For instance
    1. Compare two dates, and verify that there are different, you must send a message Error
    2. When I insert a new record, a trigger must obtain data from other tables and add it (on a new record)
    Maybe not the answers, maybe the way to go!
    Thks!

    Hi,
    Welcome to the forum
    1. Compare two dates, and verify that there are different, you must send a message Errorwhy trigger ?
    Trigger is Only for when DML Performed :)
    try 1st one in procedure..
    create or replace procedure testing(p_date in date)
    is
    v_date date;
    begin
    select to_date(hiredate,'mm-dd-rr') into v_date
    from emp
    where to_date(hiredate,'mm-dd-rr')=to_date(p_date,'mm-dd-rr');
    dbms_output.put_line(v_date);
    exception
    when others then
    dbms_output.put_line('No Data Found');
    end;
    2. When I insert a new record, a trigger must obtain data from other tables and add it (on a new record)i didn't understand can you please explain me in detail ?
    Thanks
    Venkadesh

  • Custom search help tab for "Material" in ME21N...

    Experts,
    I have a requirement to create a separate tab in the standard collective search help that is triggered in F4 at the Material field in PO items for ME21N to add an additional search criterion for Materials by Material Group, there by reducing the number of material groups displayed.
    Ex: ME21N -> F4 on Material -> Just like the tab "Material by Mat Group" on the collective search help, there has to be an extra tab for "Materials by non-taxable Material Groups".
    Please advice on how I go about it. Using Exits/BADIs?
    Thanks in advance
    NW

    Hi,
    GO TO SE11. Under Search help radio button enter the standard search help name MAT1.
    From menu clicke on "Append Search Help (F5)" and enter a name ZAMAT1 (Match Code by Material and Material Group)
    Enter field names as follows:
    Srch Help parameter                   Data element     Def.value
    MATNR               MATNR                         
    WERKS               WERKS_D     WRK
    MATNR_B               MATNR                         
    PLNTY               PLNTY                         
    PLNNR               PLNNR                         
    PLNAL               PLNAL                         
    MATNR_HTN          EMATN                         
    VKORG               VKORG                    VKO
    VTWEG               VTWEG          VTW
    Regards,
    Subramanian

  • How to distinguish the field on which event is triggered? (ABAP Web Dynpro)

    I have an application where there are multiple input fields in the layout. After the user clicks search help for the input field and selects a value, some action has to be performed for each input field. Currently, I am coding the required action in "WDDOMODIFYVIEW" method. This method will be called whenever there is any action on any input field (as its name says), but how can I distinguish on which input field the method is triggered? or How can I know on which field the search help has been triggered?
    or I would be happy to implement any other solution if available.

    HI Deepak Dakshinadi  ,
    You can implement OVS in your input field.
    In the event ON_OVS you will get the value of the attribute  OVS_CONTEXT_ATTRIBUTE which can give you the id of the input field in which OVS is implemented.
    I think by using this you can distinguished among your input field and based on which you can do your particular coding.
    Check the link for implementing OVS.
    http://wiki.sdn.sap.com/wiki/display/WDABAP/ABAPWDObjectValueSelector(OVS)
    and check the forum to get the id of the field of that particular search help triggered.
    Re: More than 1 OVS in 1 View

  • ALE-IDOC- Multiple IDOCs gets triggered with only one output exists

    Dear Gurus,
    We need you help to resolve the issue being faced with IDOC in our system.
    From Sales order , an EDI output ZF40 gets trigggered which is a order confirmation. This is being sent to a Logical system
    (Partner type LS in IDOC) which is F4F (Partner no.)
    Now the issue is at sales order level, only one output line with ZF40 is triggered and in processing log one IDOC no. is showing.
    We have received complaint from the external party F4F that for a same sales order , multiple IDOCs (around 500 IDOC's each in 3min interval )are being received at their end. We have checked in SAP ,  all these IDOC's were triggered from SAP only. All IDOC's are in green in SAP. But from where these IDOC's got originated is not known.
    We have checked the batch jobs and not seems to be triggered from there.
    Is there any other way that IDOC can originate automatically.? Please advise your valuable inputs as it will help to stop triggering of IDOC's (around 11,000 so far) in SAP and in receiving system.
    Regards
    Anand MOhanasundaram.

    In t.code V/30, go to the output details. Here uncheck the box for multiple issuing and check again.
    Regards,

Maybe you are looking for