Event driven messaging in XI

Hi All,
We are using event driven messaging configuration in SXMB_ADM transaction to send IDOC in package to R/3.
I have tried to create multiple Msg filters for the same sender and receiver which in turn creates multiple job IDs.
But when we run the test, i see that the first Job execute and the msgs are assigned to the first Job but not all the Job IDs created.
Does XI not allow for multiple filters to be created for same sender and receivers.
pls help!
regards,
tony

Hi All,
We are using event driven messaging configuration in SXMB_ADM transaction to send IDOC in package to R/3.
I have tried to create multiple Msg filters for the same sender and receiver which in turn creates multiple job IDs.
But when we run the test, i see that the first Job execute and the msgs are assigned to the first Job but not all the Job IDs created.
Does XI not allow for multiple filters to be created for same sender and receivers.
pls help!
regards,
tony

Similar Messages

  • IDoc Packaging on Event Driven Message Processing Message Filter

    Hi Experts,
    I am testing IDoc Packaging on Event Driven Message Processing and I got struck at scheduling the job.
    My scenario is IDoc to File. I have created sender and receiver id with coresponding interfaces. While creating the message filter I have selected outbound channel --> IDoc Packaging Option n I have took 10 as Package Size in Messages. In SM 36 I have created JOB and in the step I have selected SXMS_START_JOBS.
    Now my problem is while creating the JOB in SM36 what condition should I select? How do I test this event driven message processing with IDoc packaging??
    Please guide me...
    Regards
    SAPTOTAL

    in the event, you should also have a job for RSEOUT00 scheduled so that the IDocs are send out as a package

  • Event Driven Message Processing in AAE

    Hi SDNers,
    I wanted to know if PI 7.1 EhP1 supports event driven message processing on AAE, means can I bypass ABAP engine by configuring the scenario with ICo (Integrated Configation) and still use the event driven message processing of PI?
    Regards,
    Gautam Purohit

    Hi Gautam Purohit,
    "Event-Driven Message Processing" is concept related to Integration Engine. So if your are using AAE (skipping IE), you cannot use it. [Link1|http://help.sap.com/saphelp_nwpi711/helpdata/en/7a/00143f011f4b2ee10000000a114084/frameset.htm]
    I think "Event-Driven Message Processing" and ccBPM are not related.
    Regards,
    Raghu_Vamsee

  • Prioritized Messages in combination with Event-Driven Message Processing

    Hi,
    our Scenario (EO): Sender A sends large IDocs to Receivers X and Y (> Split)
    1.
    What we did first:
    Prioritized Message Processing
    Sender A sends large Messages, therefore we prioritzied Messages in the IE with EO_MSG_SIZE_LIMIT > 4000.
    This works fine: Messages are queued in XBTL and XBTM and afterwards they are send to Receiver X and Y.
    2.
    What we did next:
    Event-Driven Message Processing
    Now we want to send the Message from Sender A to Receiver X directly and to Receiver Y at night time.
    We add Event-Driven Message Processing, Sender- and ReceiverID for A and Y,Job and so on...
    On it's own (without Prioritized Message Processing), this works fine: The messages are send at night time.
    But in combination (Event-Driven + Prioritized Message Processing) the messages only passes the Prioritized Message Processing and the Event-Driven is ignored.
    Our "Hop-List" for Split A to Y was:
    1. XBTL
    2. XBTJ2008...
    3. XBTM
    But actually all Messages passes:
    1.XBTL
    2.XBTM
    Why are the messages not filtered for the Event-Driven Message Processing (in combination with the Prioritized Message Processing)?

    It was an error in the SourceCode and is now corrected by SAP:
    Hinweis 1295746 - XI Runtime: Fehler in Ereignisgesteuerte Messageverarbeitung
    Olaf

  • Packaging required for event-driven message processing

    Hi,
    Could you pls. let me know whether message packaging is required for using event-driven message processing in Integration Server (PI).
    Also can we use event-driven message processing in Integration Server (PI) for outbound HTTP adapter interface.
    Thanks.
    Best Regards,
    Gajendra.

    What is your scenario and why exactly your are looking for event-based message processing?
    Normally those are background jobs which triggers the services(inbuilt ) and makes the process designed by us to run.
    In case ofR/3 its possible to do so i.e to trigger messages based on event like incase of proxt to PI can be done through Event-based
    Rajesh

  • New LabHSM Toolkit - Agile development of complex event-driven maintainable LabVIEW applications with active objects / actors based on a universal Hierarchical State Machine / statechart template.

    Dear Fellow LabVIEW programmers:
    Most of the systems you deal with are reactive. It means that their
    primary function is constant interaction with their environment by
    sending and receiving events. But most likely, they can have something
    happening inside them too, even when they are not processing messages
    received from outside. So, such systems have to continuosly react to
    external and internal stimuli. Right? Moreover, most likely, they
    consist of subsystems that are reactive too and, in turn, can have
    their own "life", to an extent independent from other parts (with
    which they still communicate, of course). Reactive (event-driven)
    systems are more naturally modeled with active objects. So, why then
    should we try to model and code them with GOOP and its passive
    ("dead"!) objects?
    "Flat" State Machines have been known for decades to have severe
    limitations. It's been more than 20 years since Dr. Harel invented
    Hierarchical State Machines (statecharts) to fight those limitations.
    Then why does NI still tout the same old good Moore FSM as the
    ultimate tool for event-driven programming in LabVIEW in its $995
    State Diagram KIt?
    The LabHSM toolkit we are happy to present, makes it possible to
    easily create and then maintain complex event-driven applications in
    LabVIEW as a collection of HSM-driven active object VIs using a higher
    level of abstraction and agile software development methodologies.
    These active object VIs are created based on a universal Hierarchical
    State Machine ( HSM or statechart ) template. So. all your code looks
    similar regardless of its functionality!
    We all love just jump to code, right? However, to be good boys, we
    need to do design first. Then implement it in code. If the logic is
    modified we need to redo the design first and then redo the code. When
    using LabHSM where behavior information is abstracted into a separate
    HSM data file editable with a supplied editor, there is no need for
    coding separate from design any more. The modified behavior becomes
    code automatically as soon as the HSM file is saved. Design is code!
    The implementation basically follows Dr. Samek's Quantum Programming
    paradigm. (see http://www.quantum-leaps.com). However, as already
    mentioned, LabHSM stores the behavior information in a file separate
    from the code itself. It also adds state dependent priorities to
    events, a separate queue for public events/messages, and, of course,
    some LabVIEW specific code like capturing front panel user events and
    putting them into the private Events queue. Communication and
    instantiation functions are also rather specific for LabVIEW.
    It is available for UNLIMITED PERIOD trial. Please visit
    http://www.labhsm.com for details and download. The site also contains
    references which you may want to check to learn more about
    hierarchical state machines and active object computing.
    Since this is our debut we will appreciate any comments and
    suggestions. Our contact information is available on our site, of
    course.
    Have a G'day!

    Symtx is currently hiring the following position. Please contact me if interested.
    Amy Cable
    Symtx, HR
    [email protected]
    Symtx, the leading supplier of functional test equipment, hires the brightest & most talented engineering professionals to design & manufacture complex custom electronic systems for advanced technology leaders in the defense, aerospace, communications, medical, transportation & semiconductor industries. Symtx’ challenging & dynamic work environment seeks to fill openings with highly qualified electronic engineering design professionals.The ideal candidate will be responsible for defining the requirements, software design and code development, and integration of test control software for custom functional test systems. Candidate should be familiar with data acquisition concepts, instrument control, complex test, measurement and calibration algorithm development and definition and implementation of control interfaces to hardware. Prefer familiarity with instrument control via GPIB, VXI, MXI, RS-232 desirable. Requires BS/MSEE and 3 -7+ yrs of experience in one or several of the following test applications in a Windows NT/2000/XP environment using Labwindows CVI, TestStand, Labview, Visual Basic, C++ and knowledge of RF systems is a plus. Job responsibilities will include software design, development, integration, team leadership, and interfacing with customers( includes PDR’s & CDR’s).

  • Do we have any Event Driven functionality in Biztalk

    Hi,
    Do we have any in-build event driven functionality in Biztalk? time-bound like.
    Few scenarios:
    1. If orchestration is running more then 5 mints then it should be alerted to admin.
    2. Alert need to be raised if bulk of messages are suspended.
    Thanks

    Hi Narasaiah,
    If you don't have resource to go for SCOM/BizTalk360, then
    You can consider using some operation scripts using WMI/Operations DL/SQL query which can be executed periodically using a schedule task (or as service).
    This script can check for the condition as you have specified and send a notification.
    Following scripts can give you some idea. Note: These scripts are just to give you an idea and get started, they are not tested.
    WMI for an orchestration which is Active state for 5 minutes:
    strComputer = "."
    Dim dtCurretTime, dt5Mins
    dtCurretTime = Now ()
    dt5Mins = DateAdd("h",-5,dtCurretTime)
    Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\MicrosoftBizTalkServer")
    Set colItems = objWMIService.ExecQuery( _
    "SELECT * FROM MSBTS_ServiceInstance WHERE ServiceStatus = 4 AND ActivationTime >= dt5Mins",,48)
    If colItems.Count >0
    Wscript.Echo "Instance" & colItems.ServiceName" has been in Active state"
    End If
    Here the "MSBTS_ServiceInstance" would give you the details about the orchestration
    And SQL query to get the count of suspended message:
    SELECT
    count(InstancesSuspended.)uidInstanceID
    FROM InstancesSuspended
    LEFT OUTER JOIN [Services]
    on InstancesSuspended.uidServiceID = [Services].uidServiceID
    LEFT OUTER JOIN Modules
    on Modules.nModuleID = [Services].nModuleID
    LEFT OUTER JOIN Instances
    on Instances.uidInstanceId = InstancesSuspended.uidInstanceID
    WHERE InstancesSuspended.DtCreated between DATEADD(dd,-7,GETUTCDATE()) and GETUTCDATE()
    and InstancesSuspended.nErrorCategory=0
    Instances.nState = 4 or Instances.nState = 32
    //Instances.nState as State -- 4 = Suspended (resumable), 32 = Suspended (not resumable)
    ORDER BY InstancesSuspended.dtCreated desc
    As mentioned, fine-tune these scripts, run them in periodically and send notification if the condition matches.
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Version 1.1.1 of LabHSM Toolkit for Complex Event-Driven Development in LabVIEW – Small Corrections and Huge Changes in Licensing.

    A new version of the unique toolkit is now available for download. As announced earlier, LabHSM makes it possible to easily create and then maintain complex event-driven applications in LabVIEW as a collection of HSM-driven active object VIs using a higher level of abstraction and agile software development methodologies. These active object VIs are created based on a universal Hierarchical State Machine ( HSM or statechart ) template. Therefore, all your code looks similar regardless of its functionality!
    So, what’s new in version 1.1.1?
    The code (made in LabVIEW 7.0 for Windows) now comes complete with block diagrams (password protected).
    Simpler debugging code in the full template.
    Extra menu items in the editor to open VIs as well as HSM files - nice to have when the LabHSM editor is the only VI open.
    Copying of default actions is now implemented correctly.
    No more run-time licenses! Just buy a developer's license once and distribute as many applications as you like!
    The "Demo_" prefix is no longer required for VIs created in the trial version.
    No more nag messages while running your HSMs!
    As before, the LabHSM toolkit is available for UNLIMITED PERIOD trial. Please visit http://www.labhsm.com for details and download. The site also contains references which you may want to check to learn more about hierarchical state machines and active object computing.
    Stanislav Rumega
    NI Certified LabVIEW Architect
    H View Labs

    Symtx is currently hiring the following position. Please contact me if interested.
    Amy Cable
    Symtx, HR
    [email protected]
    Symtx, the leading supplier of functional test equipment, hires the brightest & most talented engineering professionals to design & manufacture complex custom electronic systems for advanced technology leaders in the defense, aerospace, communications, medical, transportation & semiconductor industries. Symtx’ challenging & dynamic work environment seeks to fill openings with highly qualified electronic engineering design professionals.The ideal candidate will be responsible for defining the requirements, software design and code development, and integration of test control software for custom functional test systems. Candidate should be familiar with data acquisition concepts, instrument control, complex test, measurement and calibration algorithm development and definition and implementation of control interfaces to hardware. Prefer familiarity with instrument control via GPIB, VXI, MXI, RS-232 desirable. Requires BS/MSEE and 3 -7+ yrs of experience in one or several of the following test applications in a Windows NT/2000/XP environment using Labwindows CVI, TestStand, Labview, Visual Basic, C++ and knowledge of RF systems is a plus. Job responsibilities will include software design, development, integration, team leadership, and interfacing with customers( includes PDR’s & CDR’s).

  • New version of the LabHSM Toolkit for Complex Event-Driven Development is Now Available!

    A new version of the unique toolkit is now available for download. As announced earlier, LabHSM makes it possible to easily create and then maintain complex event-driven applications in LabVIEW as a collection of HSM-driven active object VIs using a higher level of abstraction and agile software development methodologies. These active object VIs are created based on a universal Hierarchical State Machine ( HSM or statechart ) template. Therefore, all your code looks similar regardless of its functionality!
    So, what’s new in version 1.1?
    • "No hands" block diagram modifications! Version 1.1 actually creates, renames, and removes actions on the block diagram as you define, rename, and remove them in the editor! (No, it can't fill in all the details for you, but it can do some, if you think ahead, by replicating similar actions.)
    • Two new screens, Events Usage and Actions Usage, (available in licensed copies only) clearly show where (in which state(s)/transition(s)) and how (is it an entry action, exit action or event handling action?) a particular event or action is used. Moreover, if after selecting an instance on the list, the Go To button is pressed, it makes the main screen jump to respective location in the HSM structure. In the case of Actions Usage screen, the respective action is also displayed on the block diagram. Thus, these screens provide two more different cross-sections of the HSM data set and two additional ways to navigate it – now along the Actions and Events dimensions too instead of just the state tree in the first version.
    • Version 1.1 can duplicate events or actions, which helps when you've got several that are similar. Changes in the events and actions lists are reflected immediately on the main screen and on the block diagram (which solves the previous problem of deleting a renamed event or action when it's still in use).
    • The Events and Actions List Editors are no longer modal and neither are the Events and Actions Usage screens, so you can have all the panels and the block diagram visible and move freely among them as you build your HSM (a good argument for an even larger monitor).
    • When you save an HSM file, version 1.1 automatically adds the .hsm extension if you leave it out and it remembers the last directory you used.
    • The Loaded VIs utility now can open and close block diagrams (if they are not protected with a password) and display only VIs with modal front panels, if desired—useful for quickly finding and closing accidentally opened (e.g., from the hierarchy window) modal VIs. Make a modal version of this utility and keep it on the Desktop for this purpose.
    • A new example of a simple hierarchical state machine and two more excellent tutorials from Paul F. Sullivan (SULLutions.com) are included into the package. The tutorials are also available online. The overview article has also been extended.
    As before, the LabHSM toolkit is available for UNLIMITED PERIOD trial. Please visit http://www.labhsm.com for details and download. The site also contains references which you may want to check to learn more about hierarchical state machines and active object computing.
    Stanislav Rumega
    NI Certified LabVIEW Developer
    H View Labs
    http://www.labhsm.com
    [email protected]
    US Toll-Free Phone/Fax: 877-570-8684

    I am not really sure if Azure support this but its worth to make your configuration file to support .NET 4.0
    $PShome\PowerShell_ISE.CONFIG and $PSHOME\PowerShell.exe.config will be not existing.
    So you can make an entry in configuration to support .NET framework 4.0
    like shown below
    $config_text = @"
    <?xml version="1.0"?>
    <configuration>
    <startup useLegacyV2RuntimeActivationPolicy="true">
    <supportedRuntime version="v4.0.30319"/>
    <supportedRuntime version="v2.0.50727"/>
    </startup>
    </configuration>
    $config_text| Out-File $pshome\powershell.exe.config
    $config_text| Out-File $pshome\powershell_ise.exe.config
    Close PowerShell Console and open as administrator.
    Try loading the modules back and let me know.
    Regards Chen V [MCTS SharePoint 2010]

  • Homehub 3.0 Wireless Event Log messages

    Hello,
    Can anyone tell me what event log messages like the following mean?
    3 consecutive beacons have not been transmitted
    I'm getting these about once every 20 minutes.  Smart Wireless is enabled.
    A couple of days ago Wireless became unstable, devices connecting and reconnecting repeatedly. The Wireless light was randomly flashing on and off (Blue) every few seconds.  I had to restart the homehub (which I didn't really want to do, as I was still within my first 10 days, with Infinity).  But after the restart, the admin password had changed.  I assumed it was reset to the original one, but that was also not recognised.  I had to do a password override to get access.
    Ever since then Wireless has been behaving itself but I'm still left with these strange event log messages - google comes up with nothing.
    Any ideas?

    Hi BRunner and welcome
    Although I've not had opportunity to obtain one of these hubs (BT are you listening), as I'm still on the hub 2, I'll try to help you out with this...
    It looks like the hub is reporting that it can't transmit the wireless signal on the chosen channels, why, I'm not too sure
    (this might be due to the design (how 'Smart Wifi' works), or dare I say it, the hub could be faulty!!!!!)
    Firstly, download either inSSIDer2 (Windows) or istumbler (MAC) - take care when installing, uncheck any 'additional freebies' as they're not needed.
    Either will show all the wireless SSIDs in your area. As I use inSSIDer2, I'll explain what to do using this one, I guess itsumbler would be similar (not a MAC man, yet!)
    Disconnect from your own hub, run inSSIDer and monitor any SSIDs, I recently noticed that 2 of my neighbours (VM) routers appears to grab channel 1 upto channel 7!
    This keeps changing and they keep fighting with each other. As this was affecting me, I've moved to channel 8. This can be manually set via the hub manager, but you'd probably need to switch off 'Smart Wifi'
    Ideally, take a screenshot of the results BUT remove ANY wireless SSID's, it's the channels in use that's important.
    -+-No longer a forum member-+-

  • IOS - Create Event from Messages in Calendar doesn't observe default Alert settings

    I have discovered a bug in the iOS Calendar app. If one gets a text message with a time and uses the underlined link (in Messages) to "Create Event," the newly created calendar item (Event) does not set the alert as defined in Calendar settings.
    For example, my alerts are set (in Settings) to 1 hour, but when using "Create Event" from Messages, the alert is pre-set to none. When creating a new event strictly in Calendar however, the 1 hour alert is set properly for the new event.
    Is this just me, or can others confirm this?
    And does anyone have suggestion for a fix?

    You can send Apple Feedback here: http://www.apple.com/feedback/

  • Help Needed-bt home hub 2.0 event log messages

    Hi, Please can someone have a look at the event log messages below. Is someone trying to hack me? there are loads more of these messages i've only copy and pasted a few of them.
    many thanks in advance.
    12:32:02 30 Sep
    VOIP: [2.0A] [guest1] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [guest] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [guest] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [office12345] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [office12345] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [office1234] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [office1234] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [office123] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [office123] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [office12] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [office12] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [office1] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [office1] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [office] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [office] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [admin12345] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [admin12345] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [admin1234] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [admin1234] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [admin123] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [admin123] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [admin12] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [admin12] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [admin1] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [admin1] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [admin] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [admin] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [administrator] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [administrator] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [4260011834] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [4260011834] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [Administrator] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [Administrator] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [3942121793] [] 501 Not Implemented - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [3942121793] [-] REGISTER - SIP message received
    12:32:02 30 Sep
    VOIP: [2.0A] [100] [] 404 Not Found - SIP message sent
    12:32:02 30 Sep
    VOIP: [2.0A] [100] [-] OPTIONS - SIP message received
    12:32:01 30 Sep
    SNTP Synchronised to server: 213.123.26.170
    11:45:07 30 Sep
    VOIP: [2.0A] [100] [] 404 Not Found - SIP message sent
    11:45:07 30 Sep
    VOIP: [2.0A] [100] [-] OPTIONS - SIP message received
    11:32:01 30 Sep
    SNTP Synchronised to server: 213.123.20.170
    11:28:34 30 Sep
    VOIP: [2.0A] [100] [] 404 Not Found - SIP message sent
    11:28:34 30 Sep
    VOIP: [2.0A] [100] [-] OPTIONS - SIP message received
    Solved!
    Go to Solution.

    Hi JM7HUB and welcome,
    No, you're not being hacked. It's to do with BTHub phone (Broadband Talk - BBT) and the hub, in your case the hub 2A.
    It's a test that BT seem to carry out, normally (IIRC) after a reboot of the hub or possibly at random times - it's been a long time since I used BBT. I'll guess there are some random names mentioned on some of the other VOIP events?
    If you don't use a BBT, you can turn this off by entering the hub manager - type bthomehub.home or 192.164.1.254 in to your browser, click settings, advanced settings, continue to adavnced settings, telephony - there should be an option there to turn it off. This should then stop the events.
    edit. The telephone light on the hub will go out, but any registered hub phone should still operate as a 'normal' phone using your landline number.
    -+-No longer a forum member-+-

  • Problem in Event driven report

    Dear Gurus...I created the following procedure to implement Event Driven Reporting:
    CREATE OR REPLACE procedure ABC.eve_drv_rep as
    myPlist system.SRW_PARAMLIST;
    myIdent system.SRW.Job_Ident;
    BEGIN
    myPlist := system.SRW_PARAMLIST(system.SRW_PARAMETER('',''));
    system.srw.add_parameter(myPlist,'GATEWAY','http://192.168.1.133/reports/rwservlet);
    system.srw.add_parameter(myPlist,'SERVER','rep_appsrv_frhome1');
    system.srw.add_parameter(myPlist,'REPORT','y:\02\02\Gry_02_01.rep');
    system.srw.add_parameter(myPlist,'USERID','def/xyz@nml');
    system.srw.add_parameter(myPlist,'DESTYPE','email');
    system.srw.add_parameter(myPlist,'DESFORMAT','PDF');
    system.srw.add_parameter(myPlist,'DESNAME','[email protected]');
    myIdent := system.srw.run_report(myPlist);
    EXCEPTION
    when others then
    raise_application_error(-20001,'Error sending email.Error: '||sqlerrm);
    --Dbms_Put.Put_Line('Error sending email.Error: '||dbms_util.get_detailed_sqlerrm);
    END;
    Procedure is created successfully but when I execute this procedure, I get the following error:
    ORA-20001'Error sending email.Error: ORA-20999
    ORA-06512: at "Nml.Eve_Drv_Rep", line 17
    ORA-06512: at line 1
    Can u guess where is the problem?
    2ndly I want to know that whether I should give IP address or Application Server Machine Name in GATEWAY parameter?
    And in SERVER parameter either I should give the Application Server Machine Name or Report Server name installed on Application Server Machine?
    Lastly from where I can get the complete list of Parameters to be added in SRW.Add_Parameter like SERVER, GATEWAY etc.
    Please note that we r using Database 10g Rel.2 and Forms and Reports services on Application Services and the report being called was developed in Reports 10g.

    Hi,
    Consider this corrected code.
    REPORT zztest
    NO STANDARD PAGE HEADING
    LINE-COUNT 36(3)
    LINE-SIZE 250.
    DATA: BEGIN OF itab OCCURS 0,
    carrid TYPE sbook-carrid,
    connid TYPE sbook-connid,
    fldate TYPE sbook-fldate,
    custtype TYPE sbook-custtype,
    class TYPE sbook-class,
    bookid TYPE sbook-bookid,
    END OF itab.
    DATA a TYPE i.
    SELECT carrid connid fldate custtype class bookid
    FROM sbook INTO CORRESPONDING FIELDS OF TABLE itab.
    SORT itab.
    ULINE.
    WRITE :1 'CARRID', 20'BOOK ID', 37'CLASS'.
    ULINE.
    LOOP AT itab .
    <b>  AT NEW carrid.
        WRITE: 1 itab-carrid.
      ENDAT.
      WRITE : 20 itab-bookid.
      WRITE : 40 itab-class.</b>
      AT END OF carrid.
        ULINE.
      ENDAT.
    ENDLOOP.
    <b>Your problem was.</b>
      AT NEW carrid.
        WRITE: 1 itab-carrid.
      ENDAT.
      WRITE : <b>/</b>20 itab-bookid. "New Line <b>/</b>
      WRITE : 40 itab-class.
    Regards,
    Arun Sambargi.

  • Periodic reading data with event driven programming

    Hi all
    I want to read data from a device periodically, for example every 2 seconds.
    but I want to use event driven programming in order to response user events.
    now I don't know how to do this......!!
    maybe I should use timed loop or timed sequence structure
    if I use this structures, should I use then inside the while loop or outside the while loop( I mean the while loop that contains the event cases)?
    please help me and accept my thanks....

    You ned to run these in two separate loops. Look at the Producer/Consumer template. Put a two second time-out on the Dequeue Element and you have a loop that will run every two seconds. The loop should also handle information from the event structure.
    Separate loops is the best way of handling this.
    Rob

  • Error in event driven reporting

    Dear Gurus...I created the following procedure to implement Event Driven Reporting:
    CREATE OR REPLACE procedure ABC.eve_drv_rep as
    myPlist system.SRW_PARAMLIST;
    myIdent system.SRW.Job_Ident;
    BEGIN
    myPlist := system.SRW_PARAMLIST(system.SRW_PARAMETER('',''));
    system.srw.add_parameter(myPlist,'GATEWAY','http://192.168.1.133/reports/rwservlet);
    system.srw.add_parameter(myPlist,'SERVER','rep_appsrv_frhome1');
    system.srw.add_parameter(myPlist,'REPORT','y:\02\02\Gry_02_01.rep');
    system.srw.add_parameter(myPlist,'USERID','def/xyz@nml');
    system.srw.add_parameter(myPlist,'DESTYPE','email');
    system.srw.add_parameter(myPlist,'DESFORMAT','PDF');
    system.srw.add_parameter(myPlist,'DESNAME','[email protected]');
    myIdent := system.srw.run_report(myPlist);
    EXCEPTION
    when others then
    raise_application_error(-20001,'Error sending email.Error: '||sqlerrm);
    --Dbms_Put.Put_Line('Error sending email.Error: '||dbms_util.get_detailed_sqlerrm);
    END;
    Procedure is created successfully but when I execute this procedure, I get the following error:
    ORA-20001'Error sending email.Error: ORA-20999
    ORA-06512: at "Nml.Eve_Drv_Rep", line 17
    ORA-06512: at line 1
    Can u guess where is the problem?
    2ndly I want to know that whether I should give IP address or Application Server Machine Name in GATEWAY parameter?
    And in SERVER parameter either I should give the Application Server Machine Name or Report Server name installed on Application Server Machine?
    Lastly from where I can get the complete list of Parameters to be added in SRW.Add_Parameter like SERVER, GATEWAY etc.
    Please note that we r using Database 10g Rel.2 and Forms and Reports services on Application Server on Widows Server-2003 platform and the report being called was developed in Reports 10g.

    A few remarks:
    Remove the exception handler, since it masks the exact error.
    Turn on debugging, because it will give you better information about the error.
    srw.start_debugging;
    srw.stop_debugging;Did you configure an smtp server in server_name.conf?
    Are you able to run the report directly from your browser with the same URL?
    where I can get the complete list of Parameters to be added in SRW.Add_Parameter like SERVER, GATEWAY etc.Oracle has manuals for everything.
    http://download.oracle.com/docs/cd/E12839_01/bi.1111/b32121/pbr_evnt001.htm#i1007523

Maybe you are looking for

  • No Auto-concatenated strings in a (For / While) Loop ?

    I saw that "auto-concatenated" was added to the Tunnel-mode of a For Loop.  I was positively surprised as it looked very convenient to put it directly into use.  However, the string characters I wanted to concatenate caused an error.  Upon looking cl

  • SYS.SYSNTJ6LP..... table names in Oracle 10g R2 database

    Can anyone inform me as to what / where the following tables came from - and also why a developer would us == in a table name? SYS.SYSNTJ6LPx94kVxXgRAAAAAAAAA== SYS.SYSNTJ6LPx94mVxXgRAAAAAAAAA== SYS.SYSNTJ6LPx94oVxXgRAAAAAAAAA== Thank you in advance,

  • Is OAM 10.1.4.2  not support oracle db server version 10.2.0.1 ?

    Identity and Common Administration Guide tell me about that But in my company project I must use OAM 10.1.4.2 and oracle db server version 10.2.0.1 for store auditing Is there any patch or solution to solve my problem ? Please let me know.

  • Need suggestions in upgrading server and software

    Hi, We are about to upgrade our database to 10g from 8.0.6 on windows 2003 server. we have around 85GB of data in healthcare environment. I would like to know 1) If linux/windows is the best option for our server. 2) Will it be possible to directly u

  • How can delete my all Google?

    My Google account back time is delete