Retry logic for TCPIP eway, when backend system is down

I am a newbie in JCAPS. My requirement is to read a text file and then send it contents through a socket connection to backend system. The stream retrieved back from backend system (via socket connection) is to be stored in Oracle DB.
My Approach:
I am using Batch eway to read file and then send the contents to a JCAPS queue. I then have a JCD which reads this Queue and establishes connection with socket, the read contents are then written to Oracle.
I have 2 questions:
1. Is this approach correct? Do you recommend any optimized/better way (considering the requirement)?
2. If the backened system is down, wont the messages in queue be lost? How can we make sure that messages are delivered whenever backend system comes up?
Thanks,

Rajan,
You need to pick up a local file and shove it into an oracle database??
For a reliable system, I would recommend a JCAPS project that consists of:
2 JCDs, one doing the batch file get and the other doing the Oracle insert
1 JMS queue between the two JCDs (if your database connection goes down, or if something else goes wrong, your messages will be safe in this JMS queue)
I can point you towards some tutorials from Sun if you need help on this.
--Adam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • PO Number range diffrent for diffrent comp code(backend system is same)

    Hi Experts,
    I have a requirement that
    Define PO number range (Diffrent) for diffrent company code
    In our SRM system we have three company codes and currently we have only one "number range"
    now our requirement is to define diffrent no range for individual comp code
    I can difine diffrent no range, but when i am going to define those no range in "Number Range Number for Purchase Orders in Backend System"
    System is not allowing
    Any idea
    Thx
    Jai

    Thanks Padhi:)
    Great Job...I have tested it in development and is working fine..but not sure how effectvely it will work in production system
    as many people talking about some Badi and coding.etc even sap also saying that
    "Unfortunately, I cannot give you a more positive answer about ECS"
    Any comments will be appreciated
    Rgds,
    Jai

  • Master data in SRM when backend system change

    Hi SRM Gurus,
    Our scenario is ECC5 as backend system integrated with SRM 4.0(  SSP scenario and  iwith Catalog CCM2.0) Tech Implementation scenario is Extended classic .
    Now our backend system will be changed to ECC6 from ECC 5.
    ECC6 is installed on separate server for implementing changes in FI  ( separate Dev, QA, Prod environment )
    Question is that when we integrate SRM4.0 with ECC6, all master data (product categories, products & vendor master) needs to be replicated from ECC6 to SRM4.0
    As SRM system will remain same what will happen to present master data in Production system.
    As deletion is not suggested what is the correct approach.
    We can delete this master data in SRM Dev and QA.
    Can we keep master data pertaining to ECC5 as it is in SRM.
    Any idea as to what type of impacts one can expect if backend system changed from ECC5 to ECC6? Is there a recommended approach for this?
    I already referred note SAP note 418886 /995771.
    Regards,
    Avinash

    Hi
    By changing to ECC6.0 you would be entering a new backend system. Since the master data in SRM is linked to the respective backend system, it should not impact you.The old master data would still be there but linked to old backend system. You can let the data remain as it is if you want.
    Regards
    Sanjeev

  • Maintaining transaction sequence when End system is down

    Dear All,
    <b>Maintaining transaction sequence when systems are down.</b>
    Scenario:
    SAP(IDocs)--> XI --> DB
    DB is up & running, so messages (msg1, msg2) sent by XI have been processed successfully by DB.
    At a particular instance, DB is down and the messages (msg3, msg4) failed at receiver Adapter. With SP15, we got the feature of restarting these messages after a specific period of time. (Let’s say after every 1hour).
    After 5 minutes the DB is up and messages (msg5, msg6) sent by XI have been successfully processed by DB.
    After 1 hour, the receiver adapter restarts the failed messages (msg3, msg4) and they get processed successfully.
    Now the order in which messages have been processed on the DB:
    Msg1, Msg2, Msg5, Msg6, Msg3,Msg4
    As messages have not been processed in the sequence they have come from the source system, this would lead to DB inconsistencies.
    Kindly suggest how we can overcome this in XI. I don't want to use another Message Oriented Middlware(MOM) like MSMQ, MQSI for this.
    Regards,
    Siva M

    Hi Siva,
    Please can you go through this blog which might help you resolve this issue
    /people/vasanthakumar.balasubramani2/blog/2005/12/21/complete-reference-for-idoc-queuing-and-monitoring
    Regards
    Vijaya

  • Hi i am using thunderbird in my system and i add subfolders in my local folder but some how when my system shuts down my all folders got ideal

    by some how my all folders got disappered while my system got shut and then when it restsrt i have to give path to local folders when they cam back by this problem my all emails come in inbox mot in my local folders pls resolve my problem.

    ''renuwali [[#question-1054698|said]]''
    <blockquote>
    by some how my all folders got disappered while my system got shut and then when it restsrt i have to give path to local folders when they cam back by this problem my all emails come in inbox mot in my local folders pls resolve my problem.
    </blockquote>

  • Impact on shopping cart due to change in backend system

    Hi All,
    Our client is changing the backend ECC5 system to ECC6 on new server (new logical sys) with FI restructring in ECC6.
    We have SRM4.0 system ( with CCM on same client) with Extended classic scenario.
    What will be impact on Shopping carts which are awaiting for approval or in Held status( used by client as template) .There is only product category and vendor and no material number in Shopping cart  from catalog.
    As the product categories and vendors are same in ECC6 also , during cutover can the shopping cart with held/open status  be posted after changing backend system, Or we need to upload it.
    Any thoughts on this please.
    Best regards,
    Avinash

    Hi Laurent,
    In ECC6 ,consolidation of many company codes  to single company code will happen, whereas in SRM as there is only one backend purchasing org we need to map this with new backend purchasing org of ECC6.0(which is unique for SRM)
    As per my understanding, as backend system change we need to replicate same product categories from ECC6 to SRM4.0 as SRM creates GUIDs for backend product categories and passes a sych GUID in ECC also.
    Will the existing shopping carts in Held/open condition get processed which had been already created with old Product categories and vendor details (which are replicated from ECC5) when backend system changed to ECC6
    Is this applicable for open purchase orders also as company code consolidates in ECC6. Do we need to close open PO or upload open with change data?
    Please suggest.
    Regards,
    Avinash

  • Shopping Cart Item wise PO or PR creation in backend system.

    HI Experts,
    I have one doubt in the shopping cart,can any one of you tell me the customizing setting for the same.
    Whenever we create shopping cart either PO or PR is created in backend system as per the requirement of client,there must be some customizing settings need to be done for the same.
    What is that customizing settings????reply for both PR as well as PO.
    Also when we have multiple line items in Shopping cart and if we want to create PO for one line item and PR for other line item in the back end system then how to change this setting for achieving item specific customizing?????
    Thanks in Advance,Please help.
    Thanks & Regards,
    Paresh Sojitra.

    Hi,
    1. Using Business Add-In BBP_CREATE_BE_RQ_NEW you can change all the data that is transferred to the backend system for generation of a requirement. This includes, for example, item data, account assignment data, and texts. You can access all the shopping cart data in the method FILL_RQ_INTERFACE for generation of the backend reservation via the BAPI BAPI_REQUISITION_CREATE
    2. Using the Business Add-In BBP_CREATE_BE_RS_NEW, you can change all the data that is transferred to the backend system for generation of a reservation. This includes header and item data.
    All the shopping cart data is available as input parameters.
    3. With Business Add-In BBP_CTR_BE_CREATE, you can replace or supplement existing contract data in SAP Enterprise Buyer with your own backend structures and tables. Enterprise Buyer calls this BAdI before it makes the RFC to the backend system to create a contract.
    For more details go through SE18 Badi documentation..
    Q Also in the the above case if i want to create Reservation for one item of shopping cart then what to do???????? and what to do for Contract creation in backend system????
    A. When you create SC for item, if the item was stock item in backend system automatically created reservation as mentioned in above settings.
    in classic scenario contracts are created in R/3 System.
    Thanks
    prasad.s

  • CCMS not sending e-mail when system is down

    I have installed solution manager 4.0 and configured it as a CEN to handle all CCMS alerts from our SAP systems (ECC5.0, BW, etc), these systems all have CCMS agents install and configured. The configurations work no problem. We get automatically notifications on a lots of events -- such as shortdumps, responses time, system log errors, etc. However, we never get e-mail notifications on following two situations:
    1. System down -- when one system is down, we can see it availability is going to 0% on solution manager but we did not get e-mail, I am using MTE class "Availability_SysPercent_ABAP",  it should send e-mail when it below 60%. But it never did even it's 0%. Also tried several other MTEs, but none of them work.  Is this because when system is down, CCMS not work any more or something else?
    2. Job cancel -- I am not what MTE class to use in order to send e-mail when some jobs are cancelled.
    Any help are greatly appreciated.
    Yujun Ran

    I don't know if this is correct but my Execution is "Any server" and it works.
    I assume you copied the same method for your central AR method. The person earlier who mentioned clients may have something. I don't use the CCMS_OnAlert_Email_V2 method so I'm not sure but I think the parameters need to have a user in 000 with an e-mail address in the user master in order to send. I don't think this is any different for the Central AR method which works for you so probably not the problem but double-check. I use the CCMS_Send_Alert_to_ALM_V2 method so my config will be a little different.
    Is SAP_CCMS_MONI_BATCH_DP scheduled in CEN? Mine is in the working client but again, not sure if it matters.
    Does the AR method you have assigned show up in RZ20>>Change mode>>View>>Method allocation?
    Is the send job in SAPCONNECT scheduled, I believe it behaves differently with local and central AR's.
    Message was edited by:
            David Hill

  • Search Help for Company Code from Backend

    Hi experts,
    How can I make a SH for company code from backend system? I already made a SH for account assigments from backend with USAGE_SH_F4  functioanality, but i don't know whether I can use it for Company code or not? And how?
    Best Regards,
    Mikhail.

    I need functionality where I will manually maintain backend system, and then I need bind search help for this backend system with my input field for web dynpro. For Account Assignment I use this: http://scn.sap.com/community/srm/blog/2014/01/08/standard-account-assignment-search-helps-in-custom-srm-developments
    But what should I use for company code?

  • What are the check points when SRM system is up after Basis maintenance

    All,
    When SRM system is down for Basis maintenance example down for Kernal upgrade.
    What are the things we need to check when SRM is back online to ensure that the system functions properly.
    Thanks,
    Ravi

    Build a Desktop Video Editing PC
    -3 price level ideas in http://www.pacifier.com/~jtsmith/ADOBE.HTM
    -what PC to build http://forums.adobe.com/thread/947698
    -2 how to build videos http://forums.adobe.com/thread/1104182
    -another video http://forums.adobe.com/thread/1145366
    -planning & Building http://ppbm7.com/index.php/intro-part-1
    -memory for LGA2011 http://forums.adobe.com/thread/1098759
    -an Adobe FAQ http://forums.adobe.com/thread/878520
    -http://www.shawnlam.ca/2012/premiere-pro-cs6-video-editing-computer-build/
    -http://www.videoguys.com/Guide/E/Videoguys+DIY9+Its+Time+for+Sandy+Bridge+E/0xe9b142f408a2 b03ab88144a434e88de7.aspx
    -several more links http://forums.adobe.com/thread/815798
    -build tuning http://ppbm7.com/index.php/final-results

  • IISPROXY & backend systems

    I’ve installed the iisproxy.dll and am able to access my EP 6.0 SP11.3 system. 
    The issue I have is I don’t know what I need to do to support access to my BW & CRM systems via the proxy.  My goal is to have all external traffic for the portal and backend systems pass through the proxy while permitting internal traffic to access the systems directly.
    Can someone point me in the right direction?
    Thanks,
    Greg

    Hi,
    Please check this url, it might help you to configure the IISPROXY.
    The Reverse Proxy Series -- Part 2: IIS as a reverse-proxy
    Regards,
    Sanjeev

  • After instailling iTunes 7.4.1 for Windows, my system slows down to a crawl

    After downloading and installing iTunes 7.4.1 for Windows XP Professional, my system slows down horribly, and I cannot seem to find out why. Rebooting before installing this version of iTunes did not take long at all, yet after installing iTunes, rebooting takes at least 4 times as long, and the system runs very slowly/poorly. What has caused this problem? I have other friends who have HP Pavilion laptops using Windows XP who are using iTunes and iPods with no problems at all. I have restored my system back to the state before installing iTunes in SAFE MODE, but now I am unable to use my iPod or iTunes. Anyone having this problem?

    In my experience iTunes has never been stable in a Windows operating system. If it's not one thing it's another. Right now I'm having video play back issues with tv shows on iTunes, good thing I have the iPhone now so I can watch them on there.

  • System Always Down - HORRIBLE Service

    My system constantly goes down. Sometimes the residential gateway reboots itself and I have no phone, internet and TV. Sometimes only one or two of those are down. Sometimes only the DVR goes down. Sometimes one of my two wireless boxes goes down while everything else works. I have yet to see anyone that has had this similar problem fixed. I've seen people that had the RG and/or tv boxes replaced. This alone should allow me to break my 1yr agreement. I try to record shows during the night. Many times when I play them back I get brakeups or pixleation. Sometimes I have 2 entries for a recording indicating the system went down while recording during the night. Had techs out last year and they changed a bunch of wires and put in 2 wireless boxes instead of the wired ones. They sent a newbe and he had to call for help and they were here for over 3 hrs. Yes, I unplugged the boxes, sometimes that's necessary to get one of the boxes to work after going down. Sometimes I get a message on the wireless box "system down(RG), restart" but everything else works, including another wireless box, phone & internet. I've logged at least 25 outages since January. In addition, they upped my bill even though I have a 1yr agreement. Someone from India told me everyone got a global increase in Feb and if I terminate early, I'll be charged a fee. Really, so I agree to a 1yr agreement, that if I break it I'm charged an early term fee but ATT is allowed to raise the rate I agreed to $10 a month?

    Hi ,
    I am so sorry about all the issues you are having with your service, but I will be glad to help. I will be sending you a private message to gather more information and work on getting this fixed for you.
    -ATTU-verseCare

  • Postqueue: fatal: Queue report unavailable - mail system is down

    I'm not sure what I did but for some reason my mail system is down. I do PHP development on my mac and have changed nothing.. all of a sudden my app stopped sending mail. So I went to check the mail queue using "mailq" and I get: *postqueue: fatal: Queue report unavailable - mail system is down* I know that the mail is working because it works on other developers machines on the project. Anyone have any idea what happened?

    Here is my postconf -n:
    alias_maps = hash:/etc/aliases,hash:/var/mailman/data/aliases
    command_directory = /usr/sbin
    config_directory = /etc/postfix
    content_filter = smtp-amavis:[127.0.0.1]:10024
    daemon_directory = /usr/libexec/postfix
    debugpeerlevel = 2
    delaywarningtime = 6h
    disablevrfycommand = yes
    enableserveroptions = yes
    html_directory = no
    inet_interfaces = localhost
    localrecipientmaps =
    luser_relay = quarantine
    mail_owner = _postfix
    mailboxsizelimit = 0
    mailbox_transport = cyrus
    mailq_path = /usr/bin/mailq
    manpage_directory = /usr/share/man
    maximalqueuelifetime = 2d
    messagesizelimit = 52428800
    mydestination = $myhostname,localhost.$mydomain,localhost,oneday.at,tilley.server,mxr.at
    mydomain = mxr.at
    mydomain_fallback = localhost
    myhostname = mxr.at
    mynetworks = 127.0.0.0/8,192.168.1.0/24
    newaliases_path = /usr/bin/newaliases
    ownerrequestspecial = no
    queue_directory = /private/var/spool/postfix
    readme_directory = /usr/share/doc/postfix
    recipient_delimiter = +
    sample_directory = /usr/share/doc/postfix/examples
    sendmail_path = /usr/sbin/sendmail
    setgid_group = _postdrop
    smtpdclientrestrictions = permitsaslauthenticated, permit_mynetworks, rejectrblclient zen.spamhaus.org, permit
    smtpddatarestrictions = permit_mynetworks, rejectunauthpipelining, permit
    smtpdenforcetls = no
    smtpdhelorequired = yes
    smtpdhelorestrictions = permitsaslauthenticated, permit_mynetworks, checkheloaccess hash:/etc/postfix/helo_access, rejectnon_fqdnhostname, rejectinvalidhostname, permit
    smtpdpw_server_securityoptions = cram-md5
    smtpdrecipientrestrictions = permitsasl_authenticated,permit_mynetworks,reject_unauthdestination,permit
    smtpdsasl_authenable = yes
    smtpdsenderrestrictions = permitsaslauthenticated, permit_mynetworks, rejectnon_fqdnsender, permit
    smtpdtls_certfile = /etc/certificates/Default.crt
    smtpdtls_keyfile = /etc/certificates/Default.key
    smtpdtlsloglevel = 0
    smtpduse_pwserver = yes
    smtpdusetls = yes
    unknownlocal_recipient_rejectcode = 550

  • BI SYSTEM UP/DOWN

    Hello,
    Where can I  find the BI 7.0 system down/up  information like when the system was down?
    When it restarted information?
    Thanks

    Hi Sachin,
    On your <sid>adm's home there should be the log files:
    stopsap_<hostname>_<system_number>.log
    startsap_<hostname>_<system_number>.log
    Additionally you can check the DB logs:
    $ORACLE_HOME\saptrace\background\alert_ORASID.log
    Hope this helps..
    Amit

Maybe you are looking for