Message Send from ABAP Proxy implemented in XI Server ABAP Stack

Hello everyone,
I have a question and I'm not sure of this is an ABAP question but I'll try here and try to find some information on ABAP forums and weblogs, I need to send a XML message to the XI pipeline from an ABAP Server Proxy implemented in the same XI ABAP Stack Server, why I need this? well actually I can't find a way to do it in a BPM so I'm going to try to set the logic for this message send in the ABAP Stack, so do you know like a Function Module so I can send a message to the pipeline but I need the message to be set as Scheduled, I'll try ABAP Forums and Weblogs too, thanks in advance.
regards,
julio

Hi
You can schedule your program as a background Job SM36. Please check the transaction. You will have to set your ABAP program as the job STEP (if you probably have selection screen for your report then you will also need a variant for your report).
Do schedule your program as a 'Periodic Job' and your personal period (daily/hourly).
After you save your settings you can also monitor your job (ABAP Program) from the same transaction or even from CCMS if you like.
Thanks
Gaurav

Similar Messages

  • Why can i not get my email to send from my mac? the outgoing server keeps saying its offline?!

    why can i not get my email to send from my mac? the outgoing server keeps saying its offline?! any help would be greatly appreciated

    markwmsn wrote:
    To each his own. I own Outlook, but I avoid using it like the plague. The only Mac mail software I have liked better than Apple's Mail was Qualcomm's Eudora, which is no longer updated or even available, won't run without Rosetta, and unfortunately never quite got the hang of IMAP.
    Check out this post regarding this user's continuing use of Eudora on his Lion MacBook:
    Shield Eudora from Lion's Claws
    A thousand thanks and kudos to Michael for this fabulously excellent thread!
    Eudora's now happy in her new Snow Leopard VM home on my Lion ModBook!
    Appears essential to keep resource-forked data off Lion disk:
    First attempt with Eudora on SL VM was sharing data on Lion disk. Error messages on open like "can't find Table of Contents" suggest Lion ate resource forks crucial to Eudora.
    Found success by transferring data from SL Mac to thumb drive, then mounted drive in SL VM so Lion couldn't touch.
    While Michael warns against storing data in VM, appears there's no choice with Eudora. At least She's enthroned on a mirrored RAID.
    There is Nothing like Eudora! (to tune of "There is Nothing Like a Dame" from South Pacific -- Oops! my gray hair is showing!)
    (It's amazing Parallels can force Lion to store taboo resource forks. Thank God for code warriors!)
    B
    http://forums.macrumors.com/showpost.php?p=16496788&postcount=355

  • Missing parameter in abap proxy implementing class

    we have a XI 3.0 (DR0) and a XI 7.0 (DR8) systems. We have exported a
    message interface from system DR0 and imported in DR8, then we have
    generated the abap proxy. The problem is in differences between abap
    proxy generated in XI 3.0 and the one generated in XI 7.0. The most
    sostantial difference is in parameters of implementing class where, how
    you can see from attached document, the CONTROLLER parameter is missing.Please, we need a support for this issue.

    maybe this field is not inlcuded in the version u are using (XI 7.0). but this shud not be a show stopper. u can go to the class editor and check out if the req strucutres and fields are present WRT to the I/B and O/B interface.

  • Controlled messages send from WLC to Syslog

    Customer' WLC4402 S/W is 4.1.0171
    they do not uncontrolled messages send to their Syslog.I already set messages log level=critical failure, but uncontrolled messages is still received on the Syslog.

    You can always try each one. Here is a link
    http://www.cisco.com/en/US/products/ps6307/products_configuration_example09186a00809a2d76.shtml
    Local 7 is default
    Sent from Cisco Technical Support iPhone App

  • ABAP Proxy implementation in R/3.

    Hi,
    I will develop an interface R/3 - XI using ABAP Proxy. XI should trigger the execution of a process in R / 3. This process can take much, so I am concerned about time-out parameters.
    1. It is possible to run in background mode a ABAP proxy and asynchronously?
    2. If the ABAP Proxy runs asynchronously, SAP can generate a time-out because the program takes too long?
    Thanks in advance.

    Hi,
    I guess ABAP proxy always runs in the backgound  mode as long as you are not executing it manually using SPROXY transaction. and the time out parameters in SAP will decide proxy time out.

  • Abap proxy for 2 PI server with 1 ERP server

    Hi expert,
    I have 2 production PI server that require abap proxy and RFC adapter communication with 1 production ERP server. In the ERP server sxmb_adm integration server configuration only 1 rfc destination that possible but i have 2 PI server. Is that anyway to set 2 rfc destination?
    Thanks..

    Hi
    If you want to connect by proxies, then it will not be possible to connect 1 ECC to 2 PI systems.
    Pls check replies from Mark Smyth  & Amir from the following thread.
    XI and PI
    Regards
    Abhijit

  • Initiative message sending from server to MIDP client.

    Hi, guys,
    I wanna build a c/s application using CLDC and MIDP, the problem is the expected system should have a capability of making server and client could communicate in demand, i.e. let either server or client send initiative messages to the opposite side.
    But currently, HTTP support couldn't match such requirement, so anybody could raise a good idea?
    Thanks a lot!

    [xiaxing],
    You might find this feature that you are looking for in the next MIDP 2.0 specification when it supports "Push Architecture". This feature allows the MIDlet to request the handset to listen for certain data or connections and launch the MIDlet or give it connection when listener receives the correct data or connection.
    You can access the details of the JSR for the MIDP 2.0 specification from:
    http://jcp.org/jsr/detail/118.jsp
    HTH.
    Rgds,
    Allen Lai
    Developer Technical Support
    Sun Microsystems
    http://access1.sun.com

  • Reporting of SMS messages send from SBWP

    Hi Experts
    All users are currently able to send sms messages from SBWP using Pager function.  I am in need of a report or table were I can determine who and how many sms messages are being send.
    Regards

    Hi,
    Try with tcode SOST.
    Regards,
    Eduardo

  • How to extract attachment from ABAP proxy and store in archive link....

    Hi Experts,
    I need to consume an incoming email attachment in the ABAP Proxy program (POP Mail  --> PI --> ABAP Proxy) and then store this file in the IBM content management server through the Archvie Link connection.
    Any idea how to implement this piece of code in ABAP?
    Regards,
    Shobhit

    Hi Shobhit
    You can get the files from Sender Mail adapter. In proxy implement the method of protocol IF_WSPROTOCOL_ATTACHMENTS as said above.
    Archive Link supports HTTP, RFC etc depends on the system you are going to use for archiving. For your case you have IBM server i think you have to do HTTP synchronous. This will be like an interface again for you.
    Why are you using ERP system in middle. I think you can directly dump data to IBM server.
    Thanks
    Gaurav

  • Integration Engine Message Id in ABAP Proxy

    Hi,
    I have a scenario sending to XI from CRM using an ABAP Proxy.
    I need to get the message id generated in the local Integration Engine when a message is sent via the ABAP Proxy or received into the ABAP Proxy.
    I see there is a way of doing this in XI and also thought I had found a way of getting it in the proxy in CRM but this does not seem to work correctly even though i can see the message ID being created in the proxy call to XI.
    I am trying to get the message id immediately after the proxy call to XI.
    Kind regards
    Colin.

    Hi Colin,
    as far as I know, it is possible. Have a look at the online help on abap proxies and check out the determination of message id:
    http://help.sap.com/saphelp_nw04/helpdata/en/a1/082589fc4246f09793039d5fb01a17/content.htm
    Hope that helps,
    regards, jaime

  • Application ERROR - Fault message Error in Inbound ABAP Proxy !!

    Hi Folks,
    I have got application error while doing in Inbound proxy scenario. This inbound message is ProductActivityNotification, this message has got fault message. This message is triggering for faults. How to control this fault message or how to divert this error as an alert to RWB. Please give me your ideas step by step. Error as follows:
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!-- Call Inbound Proxy
    -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
    <SAP:Category>Application</SAP:Category>
    <SAP:Code area="ABAP">APPLICATION_ERROR</SAP:Code>
    <SAP:P1 />
    <SAP:P2 />
    <SAP:P3 />
    <SAP:P4 />
    <SAP:AdditionalText />
    <SAP:ApplicationFaultMessage namespace="http://sap.com/xi/SAPGlobal20/Global">ProductActivityNotificationFault</SAP:ApplicationFaultMessage>
    <SAP:Stack>Application has thrown an exception</SAP:Stack>
    <SAP:Retry>M</SAP:Retry>
    </SAP:Error>
    Please find the fault message has got following values
    <?xml version="1.0" encoding="utf-8" ?>
    - <n0:ProductActivityNotificationFault xmlns:n0="http://sap.com/xi/SAPGlobal20/Global" xmlns:prx="urn:sap.com:proxy:RAS:/1SAI/TAS653D9A9CCD9A8EF3AF9B:701:2009/02/10">
    - <standard>
    <faultText>Proxy Class (Generated)</faultText>
    - <faultDetail>
    <severity>information</severity>
    <text>Start of inbound processing: ProductActivityNotification (ID )</text>
    <id>000(/SCA/BIF_PROACT)</id>
    </faultDetail>
    - <faultDetail>
    <severity>error</severity>
    <text>Message ID is missing</text>
    <id>032(/SCA/BIF_MI)</id>
    </faultDetail>
    </standard>
    </n0:ProductActivityNotificationFault>
    Will you please focus bit light on this error message please?
    Regards
    San

    Hi,
    Check your Source data is correct or not..beofr executing your scenario execute your inboud Proxy with valid data ,
    check below blog...
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    Regards,
    Raj

  • XI map Message ID from Proxy

    Hello,
    I need to map the Message ID from a Proxy to my outbound documents.  I have one Proxy from R/3 that branches in XI to send out two documents.  I want to map the Proxy's message id in both documents.
    I have tried the UDF method mentioned in these forums using StreamTransformationConstant(MESSAGE_ID) but this returns the message id of each outgoing document, I need the message id from the original message.
    Any ideas?
    Thanks,
    Matt

    Hi
      That deals with DB look-up, but what you need is RFC look-up
    you may need to create a java code, which does the work, compile & have them in your imported archives.
    then add it to import section of your UDF & call its method to get the value.
    you can have look at this for example
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/user-defined%252bmapping%252bfunction%252bfor%252brfc%252blookup
    you can try to use RFC_READ_TABLE FM for your requirement
    other pointers are here
    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action%3fpageid=79955426
    Regards
    Vishnu

  • ABAP Proxy Structure

    Hi,
    I have SAP server at sender side, XI is my middleware and  two 3rd partyservers on the receiver side.
    So,from SAP side data  comes through proxy,I would generate a structure which contains the fields required to send the data to both the receivers.But few fields would used to send the data to one server and some fields to another server.
    So, once the data is filled,there would be a segreation process internally writeen in proxy to segregate the data.
    So, Now can i use the same structure for all the proxies i generate to send the data or should I generate different structures for each and every interface.
    Thank you,
    Kishore J.

    hi,
    check the below links, so that u will get complete concept in abap  proxies:
    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - ABAP Proxy
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/41e08c90-0201-0010-9197-d8774336ea78
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0ae9874-109c-2910-f48a-e91f0cdd1c81
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    reward points if helpful
    regards
    sreeni

  • ABAP Proxy Exception

    Hello everybody i have this error in my sxmb_moni of xi for a abap proxy server receiver:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Inbound Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIProxy</SAP:Category>
      <SAP:Code area="ABAP">DYNAMIC_CALL_FAILURE</SAP:Code>
      <SAP:P1>UNCAUGHT_EXCEPTION</SAP:P1>
      <SAP:P2>ZFUS_CL_MI_FMGOB_CAT_FONDOS_C1</SAP:P2>
      <SAP:P3>EXECUTE_SYNCHRONOUS</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText>Unable to execute the dynamic application call (kernel error ID UNCAUGHT_EXCEPTION, class ZFUS_CL_MI_FMGOB_CAT_FONDOS_C1, method EXECUTE_SYNCHRONOUS)</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    any suggestions?
    Regards,
    Julio Cesar

    Hi
    Below is the full details of above links
    For link 4196517?
    Q) Hi All,
    I have got a requirement to raise an exception from existing ABAP Proxy depending on condition. XI consultant created a fault messge type and attached to the inbound interface message type. I have regenerated the ABAP proxy but I cant find any thing in excpetion tab to raise exception.
    Please let me know the solution for this.
    Answers : 1) Go to Sproxy .
    Select the message interface for which you generated the proxy.
    Click on the Structure tab. Do you see any Exception Class generated for fault message ?
    2) Just follow all the steps defined in the below Blog and you will find the solution.
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    3) I can't find any exception class there in 'Structure' tab. what might be the problem.
    4) In SProxy ..under the Message Interface you will see Fault Message Type.
    Click on Fault Message Type and check if you can see the fault message type created by xi consultant.
    Also ask your xi team to login to IR and re-activate the interface.
    5) I can't find any fault message type under Fault Message Type. I will ask my XI consultant to reactivate the interface.
    Is this the only problem for this or is htere any other reason for not finding this fault message type in SPROXY.
    6) Ideally the fault message type should be visible unless he has defined Software Dependencies and using MT from some other SC.
    Even if the fault message type is not visible everything could be all right.
    Ask him to check if he selected the fault message type while activating the interface.
    Do update us when you get a reply from ur xi team.
    7) I have checked with XI admin, he said that he created fault message types in Development Xi but R/3 Development refers to Production XI system in exchange profiles. He asked me to change it to XI development in exhange profile settings. So I am searching info on how to set exchange profiles.
    8) The following link will guide you ..
    http://help.sap.com/saphelp_nw04s/helpdata/en/c9/7a1041ebf0f06fe10000000a1550b0/frameset.htm
    I dont think we need to do any changes in Exchange Profile for proxy communication.
    Changing the RFC Destinations (in your R/3 system)- LCRSAPRFC & SAPSLDAPI should solve your problem.
    II) For Link :4147406?
    Q) Hi All,
    We have an ABAP Proxy implemented for posting goods movement and it is calling BAPI function module to post good movement. We have got a requirement that if BAPI returns any error, this error message send back to SAP XI.
    data call proxy
    Legacy -
    > XI -
    > SAP R/3(call bapi)
    <----
    error message
    Please let me know how to send the message back to XI.
    Answers: 1) Refer the following
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
    2) you can utilize the fault messages for such an usage -
    Ref:
    Fault messages -
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    Handling Web Service SOAP Fault Responses in SAP NetWeaver XI -
    /people/jin.shin/blog/2007/05/21/handling-web-service-soap-fault-responses-in-sap-netweaver-xi
    3) You have to do Fault message implementation in this case...
    A no. of exception will be there.For any error proxy will catch the exception and will write it in the fault message...so....from r/3 response will go to Xi as Fault message response in case any error/exception occours......
    have look here...
    Fault message implementation.
    /people/shabarish.vijayakumar/blog/2006/11/02/fault-message-types--a-demo-part-1
    4) Please go through it is very useful.
    /people/krishna.moorthyp/blog/2005/12/23/monitoring-for-processed-xml-messages-in-abap-proxy --Monitoring for Processed XML messages in ABAP Proxy
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy --ABAP Proxies in XI(Client Proxy)
    /people/sap.user72/blog/2005/12/29/service-enable-your-sap-application-component --- Service Enable Your SAP Application Component
    5) the file adapter can work only asynchronous, so you cant have a response. You should build two asynchronous messages. File -> proxy inbound and after the bapi call an outbound proxy is called which is sending a second messge to the file adapter.
    6) you can define a synchronous scenario which will include request/response messages.
    send the response back to XI.
    the file adapter supports BE QoS.
    http://help.sap.com/saphelp_nw04s/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    7)I have an interface Z_stock_move(message interface(inbound)) and class z_STOCK_MOVE in that. I have clicked exception tab but not able to add exception there as its not enabled for change.
    Please let me know how to add the exception to an existing abap proxy.so that i can raise an exception when bapi call to goods movenment returns errors.
    Might be useful to U.

  • Java Proxy and ABAP Proxy

    hi,
    can any one send me some documents on Java Proxy and ABBAP Proxy
    regards,
    John

    hi,
    Proxies are nothing but a mechanism to shift the application logic from the XI server onto the sender or reciever system so as to reduce the effort on the side of XI.Depending upon where the proxies are generated ,it is differentiated as client proxy ( sender ) and server proxy ( receiver ) .In R3 system having WAS 6.2 and above its already has an inbuilt small IE so the proxy generation is favoured and possilbe,for more on this please go thru the following links
    Proxies: are interfaces which will get executed in the application system. They can be created only in the system from message interfaces using the proxy generation functions.
    The biggest advantage of the proxy is that it always by passes the Adapter Engine and will directly interact with the application system and Integration engine - so it will and should give us a better performance.
    The literal definition of a proxy is an object / process authorized to act for another; an agent or a substitute. In simpler terms, proxies in the XI context are objects used to encapsulate the creation (from a sender system) or parsing of XML (at a receiver system) as well as the communication with the relevant runtime components required to send or receive those messages. The Proxy Runtime controls these objects / processes, and can itself be controlled by the applications it communicates with.
    The Proxy currently has the following components available:
    1. ABAP Proxy – Communication using XI or Web Services
    2. Java Proxy– Communication using XI (J2EE)
    For further reference, visit the following sites,
    To test a connection - /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Client Proxy - /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy - /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Testing proxy - /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    JAVA Proxies:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    ABAP Proxies:
    /people/sap.user72/blog/2005/12/13/integration-builders-through-proxy-server-part--2
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    ON SDN TV
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=abap%20proxy%20xi&cat=sdn_all&start=11#

Maybe you are looking for