Outbound message in Near Real Time - in CC&B V2.1

Greetings,
In CC&B V2.1, I am trying to send an outbound message from CC&B to an external Webservice.
The process was as follows:
1-Configured a Business object based on F1-OUTMSG Maintenance Object
2-Create a new outbound message type based on the previous BO
3-Created a new XAI sender with based on "OUTMSGSNDR" XAI class with HTTP URL pointing to the external webservice
4-Created a new external system and linked the outbound message type to it.
5-Created a plug-in script to insert a record into table F1_OUTMSG after forming the XML message
Now when the records are inserted into F1_OUTMSG, the default XAI Receiver (F1OUTNNDMSG based on XAILOCAL executer ID) shipped with the system is failing with a "Null pointer exception".
I am supposing when a record is inserted into table F1_OUTMSG with Pending status, the receiver will pick it and send it to sender specified in the external system configuration.
Where did I go wrong in the above process?
Thanks in advance
AK

Hi,
Thanks for the response. I applied the change, but still same error happens when I refresh the Receiver.
Where could other configuration error be?
Thanks

Similar Messages

  • Best practice for Near Real time with Oracle

    Hi,
    We plan to run a scenario to demonstrate DS ability for real time or near real time scenario.
    We identified different solutions and we are trying to choose the most appropriate :
    - Oracle 11g + Sybase Replication server + Data Services
    - Oracle 11g + Data services : real time jobs ( xml messages )
    - Oracle 11g + Data Services : CDC scenario
    I need to load data into a SAP Sybase IQ database : is there any known issue with one of the previous solution ?
    The challenge is to load a set of 10 tables, for more than 5 millions rows,
    Thanks for your advices,
    Guillaume

    Hi!
    Didn't anyone have this requirement for migrations? I have tested with the mysql select into file clause. Seems to work for simple data types - we're now testing with blobs...
    Markus

  • Can JMSPriority be used to distinguish between real-time, near real-time workloads?

    IHAC that needs to throttle work passed to a backend system, i.e. limit
              the # of concurrent requests, as well as prioritize between different
              kinds of workloads including real-time, deferred real-time
              (asynchronous) and batch.
              I'm proposing to use a pool of MDBs reading of a single JMS queue. The
              max-free-beans-in-pool would be used to limit the concurrent access to
              the backend system.
              Can JMSPriority be used to distinguish between the different kinds of
              workloads? (real-time, near real-time and batch)
              How is the JMSPriority used when consuming messages from a queue in WLS
              JMS? Are messages dequeued in strict priority order or is there an
              algorithm to ensure lower priority messages are periodically consumed,
              i.e. to ensure they are not starved-out? Or do you have to create a
              message selector to dequeue based on priority?
              Is the an appropriate use of JMSPriority or should I set-up dedicated
              JMS queues for each of the different workload types?
              Cheers
              Simon
              

              Tom,
              How do you create custome connection factories in JMS? And also how can u
              change the MessageMaximum to 0? I thought the minimum is 1 and that u can only
              change in the config.xml file??
              Any code snippets on how to write custom connection factories would be helpful.
              Thank You,
              Sankas
              Tom Barnes <[email protected]> wrote:
              >Hi Simon,
              >
              >Answers in-line.
              >
              >Simon Pearce wrote:
              >
              >> IHAC that needs to throttle work passed to a backend system, i.e. limit
              >> the # of concurrent requests, as well as prioritize between different
              >> kinds of workloads including real-time, deferred real-time
              >> (asynchronous) and batch.
              >>
              >> I'm proposing to use a pool of MDBs reading of a single JMS queue.
              >The
              >> max-free-beans-in-pool would be used to limit the concurrent access
              >to
              >> the backend system.
              >>
              >> Can JMSPriority be used to distinguish between the different kinds
              >of
              >> workloads? (real-time, near real-time and batch)
              >>
              >> How is the JMSPriority used when consuming messages from a queue in
              >WLS
              >> JMS? Are messages dequeued in strict priority order or is there an
              >> algorithm to ensure lower priority messages are periodically consumed,
              >> i.e. to ensure they are not starved-out?
              >
              >To get priority sorting you must configure the destination to sort by
              >priority.
              >It sorts FIFO by default.
              >
              >In addition, you may want to tune-down the pipe-line size between
              >the JMS server and the MDB (create a custom connection factory, and
              >set MessagesMaximum to 0, default is 10), as the pipe-line is unsorted
              >and consequently messages will not "jump ahead" of each-other in the
              >pipe-line.
              >
              >> Or do you have to create a
              >> message selector to dequeue based on priority?
              >
              >No.
              >
              >>
              >>
              >> Is the an appropriate use of JMSPriority or should I set-up dedicated
              >> JMS queues for each of the different workload types?
              >
              >The latter, as long the app can tolerate concurrent execution of all
              >workload
              >types due to having an MDB per queue. The latter will perform better
              >than selectors,
              >and you won't have to worry about the unsorted pipe-line.
              >
              >>
              >>
              >>
              >> Cheers
              >>
              >> Simon
              >
              >Tom, BEA
              >
              

  • Build a message driven (HL7) real time data warehousing

    How far is practical to build a message driven (HL7) real time datawarehouse on a EAI,which can be used for BI , considering the issues of data cleansing, integrity that are relevent in Healthcare instead of a traditional datawarehouse ?

    Hi A.Lal,
    Since you have mentioned ECC5.0,Assuming that the client is generating the following reports in ECC,already:
    The Production report (ZPRD)
    Wastage Report (YWR)
    A Charge Register Report
    then brainstorm the PP functional consultant and try to pick the R3 Fields from the reports.Then its all about mapping them to the BW Info objects.
    If these reports are not maintained at ECC ,then you need to have sessions with the users/PP Consultant to decide whether u can go ahead with BC or get some customizing done..
    Goodluck

  • Best way to do near real-time ?

    Hello,
    What is the best way to do some near real-time to transfer data from:
    an Oracle DB to another Oracle DB: Streams, CDC + ETL, ... ?
    any DB to an Oracle DB ?
    The idea is to load a DWH in near real-time.
    Thanks in advance for your answers.

    DR Google
    http://www.orafaq.com/node/957
    1. Physical Standby Database
    Standby database is called “physical” if the physical structure of stand by exactly matches with stand by structure. Archived redo log transferred from primary database will be directly applied to the stand by database.
    2. Logical Standby Database
    Stand by database is called “logical”, the physical structure of both
    databases do not match and from the archived redo log we create SQL statements then these statements will be applied to stand by database.
    Basically your second database is a logical (ETL) copy of your main db updated via archive logs. it is not an easy thing to set up, but if you manage to get it right, its probably the least amount of maintenance over time.

  • Would MobiLink be the appropriate tool for syncing servers which collect near real-time data?

    I have a situation which appears to be similar to the some MobiLink configurations, but with only a few large clients.In my case, there would be 5 to 10 remote clients (each with SQL Anywhere) and a central database. Administration and configuration would be done mostly from the central database, but each client also includes a near real time data collection application. The customer would like to have that data available in the consolidated database. In the worst case, there could be about 50MB of data received from each client in a burst each 15 minutes. Fortunately the consolidated site doesn't have a tight time constraint, its data could be up to 15-30 minutes behind. The clients don't need (or want) to see each other's collected data.
    I would like to know if MobiLink would be a good choice for this situation. The only other viable alternative I've found so for is the keep the collected data at the remote clients and access it only on demand. And naturally, there's no money in the project for an enterprise level solution.
    FYI: My company has on OEM license for SQL Anywhere.  We usually just have an application with SQL Anywhere at each site to collect data from the local equipment. This project is for a Fortune 500 company that want's to be able to monitor everything from the corporate office.
    John

    Hi John,
    You should start writing down a few numbers including network speed and hardware specifications of client and server machines. In the worst scenario, you would have 15 clients synchronizing concurrently 750 MB of data in 15 minutes. And on top, there is your real time data collection application that could work while the synchronization is in progress.
    You should also workout, how many connections to the consolidated database you will have in addition to Mobilink server and if these connections can create contentions.
    The key factors influencing Mobilink performance are listed here DocCommentXchange
    and you can tune the performance (more details in the link below)
    DocCommentXchange
    DocCommentXchange
    Mirco

  • Can anyone send about ALE-MESSAGE CONTROL with real time scenario?

    hi friends,
    i have doubt on ALE-MESSAGE CONTROL METHOD.
    SO, anyone can explain with a real time example.
    If have a chance please send with screenshots or with navigations

    Check out this blog:
    Message Control (Output Control) for ALE
    Raja

  • How to carry out real-time or near real-time alerts?

    I just wonder when the source audit data transfer to audit vault server, does it done by Refreshing the Warehouse , or another process? Refreshing the Warehouse seems only normalize the raw audit data into the data warehouse. And can we control the frequency of transfering source audit data from soucre to audit valult server ?

    I was traced into transfering audit data from source to audit vault server, and found that it's very quickly to get the new audit data from source db into the audit vault server's table named avsys.av$rads_flat, it's almost realtime, but I have no idea about which process has done this, which process? how to control the frequecy ?
    Although the server has gotten the new audit data into the avsys.av$rads_flat, the warehouse still cann't get the new audit data whatever I refreshed the warehouse via Audit Vault Console or using command "avctl refresh_warehouse -wait" until 24 hours later. user579967 seems has the same problem, it really frustrated me. Is there anyone knows how ?

  • Real Time Job with no Message Target?

    Hi All.  I'm curious to know if anyone has built a real time job without an xml message target.  I thought that any message source 'getting' from a Topic does not require a response.  Well data services is not letting me get away with not having the message target. 
    The message I'm receiving is one that I want to insert into a table, it is not being used in a lookup to then send out a new record out to a message target.
    Real Time jobs are still a new concept to me.  Thanks in advance for your help.

    Hi,
    Try using a row generation transform, generate one row and pass a hard coded value as output message. You cannot do away with an output message in the case of real time.
    Regards,
    Suneer

  • Need Suggestion On Real Time Data Accees

    Hi,
    Our application (let say A) runs on * 8.1.7.4.0*
    Another Application (let say B) runs on *10.2.0.4.0*
    Both the application A and B exchange data through DB links.
    Both the application A and B perform select and DML on other tables.
    Application A has views (approx. 10 views) on application B 's table through DB links.
    Application B also has views (approx. 50 views) on application A 's table through DB links.
    Application A has store procedure (approx 10 SPs) through which it does insert/update on two of application B 's table approx 15K call of that procedure per day.
    Application B also calls some of the application A 's procedure to insert/update data in application A 's table.
    Currently both the application's data center are at the same place. But, there is a proposal/need to move application B's data center far away from the current location. Because of these we are in a assumption that DB Link over WAN will create performance issue and searching of probable replacement.
    After of couple of discussion we have identified approx five application A 's tables which are frequently accessed by application B and expect real time data.
    Similarly, Application A expect real time data from two application B 's table.
    'Golden Gate' mechanism came in our discussion, butt it's expensive,
    Can we replace this store procedure code/dml with web service call or so ??
    Can anyone suggest ... what kind of approach we should take here ?

    Views which are residing in application A 's side use many internal tables and one or two application B s table.
    I don't have idea on 'multi-master replication ' ... is it two way replication ..? ... you aware of any documentation I can refer ..? How costly it is (if you can give an idea) ?
    Also, among many tables we need near real time (2 mins interval) replication on 5 tables.
    MVs again have dependencies on DB link, which exactly what are trying to replace (assuming performance issue)
    With fast refresh (let say 2 minutes interval) method on MVs do you think it could cause performance issue specially when data center are at different location ?

  • Where to find Java Real-Time System Evaluation

    Hello,
    I tried to download an evaluation version of the Java Real-Time System from this page: http://www.oracle.com/technetwork/java/javase/tech/rts-142899.html
    But, when i try to download the "Java RTS 2.2 - Academic Developer Use" for Linux x86 32bit, i get the following message: "The Java Real-Time System evaluation program is closed at this time."
    Is the evaluation program expired? Where could i find an evaluation version of JRTS?
    Thank you all for your attention,
    Greetings.
    Andrea

    Determinism is an important issue in my application. That's why page locking should be active in my application. When I'm determining the ScopedMemory size via VM like:
    ... -XX:ScopedSize=500000000 ...Then page locking works with a size of 500 mb very well. But when I try to set the ScopedSize value to 1 gb, then the exception (unable to lock page...) is thrown. So it seems as if I had all the required rights, but the huge size is not supported.
    The System has about 6 gb of DDR2Ram and minimum 5 gb are free during starting the VM. So are there any other parameters except ScopedSize that I can change, to allow the VM to lock memory with a size of about 1 gb? Or where is the problem with locking such big sizes?
    Thanks,
    Gordon

  • "Waiting for real-time target (RT PXI target) to respond" error when the program waits interrupts

    Hi there,
    I have developed an application to detect interrupts generated by a electronic card and act in consequence. The program has been developed in labview but it calls a dll; that was created with labwindows. The dll is programmed to open the visa communication, enable events and install the interrupt handler and when an interrupt is detected, it reads the value of the different registers of the card and returns it to labview to visualize them. 
    The problem is that when the program waits for an interrupt, a prompt appears with the message "Waiting for real-time target (RT PXI target) to respond" and the only option I have is to click on the button to disconnect from the pxi or just wait. If I wait and I generate an interrupt, the prompt disappears and the application visualize the data like it was expected. 
    To wait for the interrupt the following code has been programmed in the function:
                    while (flag == 0)
                                    Sleep (1000);
    When an interrupt occurs, the value of flag changes to 1 and the function continue without any problem. I am not really sure, but probably here is the problem and probably this is not the best way to wait for an interrupt because the sleep function suspends the thread for the configured time, but at least the computing load in the PXI is between 0% and 1%. I was wondering if somebody knows how to wait for an interrupt without "lost" the communication with the PXI and if there is a better way to do it. 
    Any answer will be welcome and thanks for them,
    Jaime
    Solved!
    Go to Solution.

    Hello Naity,
    First of all, in which thread runs the waiting process? Is it scheduled in another thread than the function setting the flag?
    It scheduled in the same thread that I use to configure the communications and configure the card. Anyway, here is the pseudo code of the function interrupt that I programmed under labwindows,.
    char* interrupt(void)
    1. Open visa communications
    2.Install handler interrupt --> status = viInstallHandler (instr, VI_EVENT_PXI_INTR, IntrHandler, VI_NULL);   // the function IntrHandler will be called when an interrupt occurs
    3. Enable event PXI interrupt
    4. Wait
    while (flag == 0)
                  Sleep (1000);
    5. Visualize the data coming from the interrupt (registers and values measured with the card)
    6. Uninstall handler interrupt
    7. Close visa session
    The interrupt handler function IntrHandler is called immediately when an interrupt occurs and the pseudo code is like this
    ViStatus _VI_FUNCH IntrHandler(ViSession instr, ViEventType etype, ViEvent event, ViAddr userhandle)
    1. Disable some functions of the card to avoid damages. 
    2. Read registers and put them in a buffer
    3. Change the value of flag ---> flag = 1;
    In labview, I call the function interrupt with a call library function node (see the capture attached) and the program reads and saves the data from returned from the function.
    Secondly, I am not sure this method is the most elegant. You could for example register an event with the function and, insteand of setting a flag to 1, trigger the event and schedule it in another thread (if the function is thread safe). This could reduce your CPU Load even more and seem a bit cleaner to me.
    I've never used events before in labwindows but I will try to do it in this way. But anyway, I suppose that I should; somehow, wait the event to occurs in labview while the waiting for the event is programmed inside the dll...and probably the same prompt that i am trying to avoid is going to appear again, because I am not returning the "control" to labview (I mean, labview executes the dll and waits for the event to occur. Then the execution of the labview program is stopped in the call library function node executing the dll)
    Third point, which environment of development are you using?
    I am working with LV 2010 sp1 and Labwindows cv 10.0.1 and with the real time module.
    I did also another test, I divided the program in different functions, one to initialize the communication, another to wait until a interrupt has been detected and the other to obtain the data from the interrupt and close communications. With labview I call first with the call library function node the function to initialize, later I call inside a while loop the wait function like this
    int waitAseconds (double seconds, short stop_waiting)
    if(flag==1 || stop_waiting == 1)
    flag = 1; //to detect the stop_waiting button
    printf("flagAA =1 stop waiting = %d time = %d\n", stop_waiting, clock());
    return flag;
    else
    SleepUS(seconds*1000000);
    //a++;
    printf("flag a= %d stop waiting = %d time = %d\n", flag, stop_waiting, clock());
    return flag;
     and when the program detects an interrupt, the function returns to labview the flag and stops the loop. Finally, it reads the values and close communications. 
    In this way, the prompt appears but after running the application for 10 or 20 minutes and also i checked that there is a time gap between the executions in the loop.
    Thanks for your reply and your help,
    Jaime
    Attachments:
    capture.png ‏40 KB

  • Real-Time Enabled field and Generic extarctor

    Hey,
    We are using PI 2004_1_470 on our R/3 system, and I just noticed that there is a field called Real-Time Enabled on the generic delta screen.  This maps to ROOSOURCE-REALTIME.
    What is the field being used is? Is this some early release of the near real time function that will be part of BW 7.0, or can I use this with BW 3.5?
    Thanks Bill!

    Hi Mickey,
    in general:
    1.) you need a 7.0 DataSource (3.X DataSources cannot deliver Real-Time information)
    2.) you can only run a DataSource in one mode, either "Real-Time Data Acquistion" or "Standard", i.e. the same DataSource cannot be incorporated in the data flow in different modes.
    3.) Business Content DataSources are not delivered with the option "Real-Time Data Acquistion" at the current point in time. We are currently discussing which DataSources should be made available to start off with.
    If you have specific scenario in mind, please contact your Ramp-Up Coach in order to direct support by us.
       Cheers
         SAP NetWeaver2004s Ramp-Up BI Back Office

  • Real Time Clock Error - Check Date and Time settings, System CMOS Checksum bad

    Hello everybody,
    Can help anyone to resolve my problem.
    I have an Thinkpad W520 (42823FG), BIOS 8BET60WW 1.4        When I disconect AC power and remove battery and connect again, I see this message on screen:
    "Real Time Clock Error - Check Date and Time settings, System CMOS Checksum bad
    Press Esc to continue or F1 to enter Setup"
    Is this a system board problem or CMOS battery problem ?
    Thank you

    Hello and welcome,
    It's probably (hopefully) just the CMOS battery.  The easiest way to find out is to just replace that battery.
    Page 85 of the Hardware Maintenance Manual:
    Hardware Maintenance Manual
    Here's an example of the battery.  I'm not recommending (or not) this vendor:
    http://www.ebay.com/itm/New-Lenovo-ThinkPad-W500-W510-W520-W530-W700-W701-W701ds-CMOS-RTC-Backup-BAT...
    Z.
    The large print: please read the Community Participation Rules before posting. Include as much information as possible: model, machine type, operating system, and a descriptive subject line. Do not include personal information: serial number, telephone number, email address, etc.  The fine print: I do not work for, nor do I speak for Lenovo. Unsolicited private messages will be ignored. ... GeezBlog
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Real-Time Outbound Message Time-Out

    Hello,
    Could anyone give advice on how to properly handle Time-out errors when sending Real-time Outbound Messages?
    On the XAI Sender, I have set the HTTP Timeout context value to 30 (I'm assuming this is 30 seconds), but the server just keeps on retrying to send the message and eventually takes about 1-1.5 minutes before it eventually stops trying.
    Also, does anybody have any ideas on how to indicate the page is currently busy while trying to send the outbound message?

    hi andries
    can i know what type of invocation type you are using in external system
    If you use RTHTTPSNDR on xai sender then you must use invocation type as realtime on externalsystem( you can define xsl for both request and response)
    If you use HTTPSNDR then you must use invocation type as XAI (for which you can define a request xsl but not response xsl)
    so my advice is to go with RTHTTPSNDR and define both request and response xsl files
    MOST Important your xai sender never gets refreshed unless you restart your ccb server this is because invocation is REALTIME
    if you use HTTPSNDR then just by going to xai command you can refresh mpl refresh sender command
    I think its a bug in ccb 2.3.1 sender doesnt gets refreshed with new values
    Now for the purpose if you can post your request schema and then the request xsl and the response xsl ,ill clear your doubt happily.

Maybe you are looking for

  • I have two add-ons that are enabled AND working but they are their icons are not displaying.

    I have Firebug and Adblock-Plus on my Firefox browser that are not displaying their normal shortcut buttons next to the search bar of Firefox. They were displaying fine yesterday, now today they are not displaying at all. They are installed and enabl

  • Connecting to Lcd HD Tv, which connections etc?

    Thinking about getting this HD tv but wanted to know if it has the right connections so i can connect my macbook pro/ mac pro and display things on it etc. Here are the inputs: HDMI YES HDMI 2 YES PC Input (15pin D-Sub) + Audio In YES Component YES 4

  • IPhoto Sharing: intermittent, inconsistent, why?

    I'm not getting something here: MBA & MBP, both Leopard, both iLife08. Access to each other's iPhoto albums is a bit weird - sometimes the opposing Mac shows up as "Shared" in the iPhoto nav pane, sometimes not. Seems that it works if: both machines

  • USB ports have no power

    It first started happening on my Late 2012 model iMac 21.5" a couple weeks ago. What I found was that nothing seemed to work when connected directly to the iMac's USB ports. However, if you attach an externally powered USB hub, then all devices attac

  • Trim marks-Please help-time running out.

    Hi all. I know I have done this in the past...but I have CS3 on Windows XP and my document is an 8.75" x 11.25 giving the .125 bleed on each side. I would like to show the printers trim marks while saving to PDF (Acrobat 8 Pro). But it never places t