Abap Proxy to Send RFC  data  -- xi - File    ,   how to do - pls help  ?

Hi Friends ,
                       Our scenario is once in day an  RFC is to be triggered and create flat file .That RFC will return data .
   Using  below likns i have configured the RFC Sender adapter
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
/people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
First Activate the ABAP Proxy?
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
How to implement a Client Proxy?
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
My question is
<b>     1.    Is it possible to use ABAP Client proxy   to achive this ?
      2.   Then do we need to write RFC Call in side this proxy call ?
      3.      If we go for proxy do we need RFC Sender Adpater ?</b>
        I am little confused can you please explain , as how it works ?
<b>       Is there is any other way to trigger RFC to send data ?</b>
Regards.,
Shyam

Hi sabrish ,
                      Tahnks for ur reply. I was waiting for ur response . i have doubt
the foloowing code i got from ur blog .
REPORT Z_TEST_RFC_XI_WEBSERVICE.data: lv_distance type char10.CALL FUNCTION 'Z_WEBSERVICE_TEST_SHABZ' <b>destination 'Z_WEBSERVICE' </b> EXPORTING FROMZIP        = '12222' TOZIP          = '22222' IMPORTING  DISTANCE       = lv_distance.write : 'Distance is : ' , lv_distance.
  <b>           1. i have to generate proxy from Out bound interface right ? inside that proxy class whare i have to in clude the code to call rfc ?
              2. Can u please tell what is the Destination in that report.  What is z_webservice ?</b>
              3 . Do we need to use RFC Sender adapter ? It is not related to proxy right ?
Regards.,
Shyam
null

Similar Messages

  • I have download iLife for free in ipad air but I deleted imovies ...after dat I try to install it agine n giving message like u already purchased it will be download for free.....after dat it agine coming cloud symbol.pls help in downloading iMovie .

    I am new to apple family.on new year I brought this amazing devise .I have download iLife for free in ipad air but I deleted imovies ...after dat I try to install it agine n giving message like u already purchased it will be download for free.....after dat it agine coming cloud symbol.pls help in downloading iMovie .

    I am new to apple family.on new year I brought this amazing devise .I have download iLife for free in ipad air but I deleted imovies ...after dat I try to install it agine n giving message like u already purchased it will be download for free.....after dat it agine coming cloud symbol.pls help in downloading iMovie .

  • I have download iLife for free in ipad airbut I deleted imovies ...after dat I try to install it agine n giving message like u already purchased it will be download for free.....after dat it agine coming cloud symbol.pls help in downloading iMovie .

    I have download iLife for free in ipad air but I deleted imovies ...after dat I try to install it agine n giving message like u already purchased it will be download for free.....after dat it agine coming cloud symbol.pls help in downloading iMovie .

    I have download iLife for free in ipad air but I deleted imovies ...after dat I try to install it agine n giving message like u already purchased it will be download for free.....after dat it agine coming cloud symbol.pls help in downloading iMovie .

  • ABAP proxy client sending to XI   and Receive the data back from the DB

    Hi
    I am new to XI need a clarification on the following scenario
    I have a scenarion where ABAP Proxy (Clinet) from ECC will be sending the data to Data base server via XI,  and needs to return the values back to ECC
    ECC -
    > XI/PI -
    > Remote server  (Database)
          <-- XI/PI <--
    Can anyone give idea how can I develop this scenario.
    I am sure I would be using the Proxy BADI to send the data from ECC to XI in Asyscrounous mode,
    Thanks
    PR

    Hi,
    As you said the data will be sent asynchronously from BAPI to XI which means you will have to split up the scenario into two.
    First One -
    Sender Proxy - XI - Receiver JDBC.
    Second -
    Sender JDBC - XI - Receiver Proxy.
    You can set a flag to"1" when you insert data into table. the run a query on the database which will fetch record whose flay is set to "1" and also simultaneously rest the flag to "0" to indicate that this record is already send to SAP.You can make use of stored procedures too.
    Please award points if the reply is useful.
    Regards,
    Pragati

  • Advantages and disadvantages of ABAP Proxy vs. RFC call on XI target..

    Hi guys!
    We have a scenarion, when we send a message to XI and need to write data to SAP as the target system.
    Do you have experience, what would be better? RFC adapter or ABAP Proxy? And why?
    Thanx for answer!
    Peter

    hi,
    ABAP proxy if you can:
    1. /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    2. error handling with proxies is better
    3. RFC adapter (sender) is sometimes causing problems
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • ABAP Proxies to send the data to PI

    I have a scenario to send some data from ECC to Legacy system in flatfile format. I would like to use ABAP client proxies on the ECC side and File receiver adapter to tranmit the data to Legacy system.
    I tried various sample scenarios and know how to send simple data using ABAP report program(which triggers the client proxy from ECC).
    But the question is if I have to read SAP data files and send the data conditionally based on certain criteria to the other Legacy system. How do we write the ABAP code with in the ABAP Proxie program?  Can any body share the real time coding procedure to achieve this. I am not good at ABAP.
    I absolutely have good idea how we can configure on the receiver side.
    Thanks in advance.

    Hi
    If I want to transfer only specific data from various SAP database files from ECC and then triggering the ABAP client proxy in the ABAP report program
    There are various ways to do this. Create a class that can call reports(forms) for various legacy system say L1, L2 and L3. now create 3 reports each for the systems .
    In XI create a generic structure which can satisfy L1, L2 & L3 and generate the proxy for this structure.
    now in reports for L1 pass the data from ERP tables specific to L1 and use the client proxy report to pass the data to XI and deliver the flat file. Similarly for others you can do
    now at XI you do conditional receiver determination. Identify the condition from the payload that can distinguish L1, L2 & L3. based on this you can pass the data to defined receiver.
    Hope this helps.
    Thanks
    Gaurav

  • Sender RFC Adapter-- XI-- File Receiver Adapter ?

    Dear Expert,
            we are on PI 7.0 & R/3 system 4.7E WAS < 6.20.  We have a scenario where in there are some huge downloads are required from R/3 to FTP File Location. For such scenarios Normally Poxy is suggested but Due to WAs Version limitation we cannot use Proxy. The other alternative is to use SENDER RFc adapter using RFC destination with XI. we have configured the RFC destination it is working fine.
    I am able to receive the message also in XI. But whenever i am running this RFC in R/3 it is giving me the shot dump as follows. :
    <b>call to messaging system failed: com.sap.aii.af.ra.ms.api.DeliveryException:</b>
    The File is also getting written to the destination properly. But in XI also i get the following error.
    <b>  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
      <SAP:P1>http://Test/Zbilldwd ZBILLDWD_FILE_IM</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Interface mapping http://Test/Zbilldwd ZBILLDWD_FILE_IM does not exist in runtime cache</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error></b>
    What could be the reason of this.? As well i am geting 3 error messages in XI.
    I have defined this interface as Inbound / Async Message interface with input message as output file structure. ( Is this configuration is OKAY ?)
    pl. help me to solve this error.
    Regards,
    Umesh

    HI,
    Check your configuration from the message it states that it can not find out the mapping program.
    Check the configuration Receiver and interface determination whether you are using the same which is designed in repository.
    Thanks and Regards,
    Chirag Gohil

  • ABAP proxy client sending to XI   by using the WEB Service

    Hi
    I have scenario where ABAP Proxy need to send the data by calling a web service middleware as SAP XI/PI,
    Can anyone please provide the details of the scenarion that ABAP Proxy calls the webservice to send the data and receive it back the response, (Synchronous communication)
    Thanks
    PR

    Hi PR
    My understanding of your requirement is like
    Proxy <-> XI <-> SOAP.
    Steps.
    1. Create Client proxy to send data to XI
    2. Import the WSDL provided by receiver system in XI
    3. Do IR steps
    4. ID - SA is not required
    5. Configure Receiver SOAP adapter using the URL and Soap Action from the WSDL you received.
    Thanks
    Gaurav

  • Problem: ABAP Proxy Client Sending to XI - Message lost

    Hi all,
    I got a problem, concerning ABAP Proxy Client.
    I have done the following:
    1. Created an outbound interface in XI 3.0, sp14
    2. Created Proxy for this in ABAP using sproxy
    3. Created ABAP pgm to call this proxy
    4. Maintained SM59 http destination to XI
       (RFC Dest:INTEGRATIONSERVER TYPE H)
    5. Sender r/3 system is WAS 640
    6. I also did sxmb_adm in Sender System to have Integration Engine URL pointing to XI System.
    7. I registered/ activated queues in SXMB_ADM.
    8. SICF service is active for defalt/xi/engine in both Sender and target systems.
    I allready have ABAP Proxy Server running...
    My Proxy Client seems to run.., running my report (based on the ABAP Proxy Client Weblog from SDN)I get a sy-subrc 0 and no error, bot I can't see no message in XI. Neither in SXMB_MONI, nor in RWB checking Message-Monitoring
    Can someone please tell me what is going wrong and where I could check for my messages?
    Thanks in advance, Daniel

    Hi Daniel -
    Looks like you've done the major tasks for this to work. A couple of things however...
    For proxies, Type H is the correct RFC Dest type.  However, don't know if it's a typo, but the 'Dest:INTEGRATIONSERVER' should have '//' like 'Dest://INTEGRATIONSERVER'.
    Also, confirm that your are using the correct port in your destination.  You should use the integration server's ICM port, not the J2EE server port.  You can confirm this in SMICM, then Goto-->Services.  You may already have this; I just didn't see it specified in your description.
    Regards,
    Jin

  • Java proxy to send binary data

    Hi guys,
    I needed a small clarification.
    I'm using java proxy sender and file receiver in a scenario. I want to pick up binary files (i.e. the file could be of any format text,zip,pdf, image etc) using jakarta commons api to connect to ftp and then call the proxy to send this file data via proxy.
    I'm not clear on how this requirement can be achieved or it can be achieved or not.

    Hi Stefan,
    I'm referring to the comments given by Michal in the below blog.
    [How to send any data (even binary) through XI, without using the Integration Repository|How to send any data (even binary) through XI, without using the Integration Repository]

  • ABAP Proxy response not showing data in SXMB_MONI

    hi all,
    We have a scenario of web service to abap proxy,synchronous.
    when the response comes back from ABAP,the xml in SXMB_MONI is not coming fully.Only the top level xml node and the Message type node are being dispalyed.the data nodes are not coming into xi.
    when the proxy is executed in R/3,the xml is generating correctly.but after coming into xi,only the top nodes are visible with no data.
    wht could be the reason?
    Regards,
    Anu.

    Hi,
    Also set the Parameters in SXMB_ADM to see the Sync Messages in MONI
    Configuration of a Central Integration Server
    REgards
    Seshagiri

  • Send mail OK but get mail no OK.Pls help me!!!!!!!!!!!!!!!!

    hi,all
    Mailbox of my user can only send message but can't recieve message. My server is installed by Netscape Messaging Server 4.2.
    -I used the command reconstruct this mail box but no OK.
    -After I delete user on DS by console
    -and then mboxutil -d user/muoitv/INBOX
    -And the last I create a new user which have the same userid . but the result is bad, it 's the same (no OK to get mail)
    -Especialy is if I create the difference userid . This Mail box is OK and if I create the same userid =muoitv .It ' s not OK.
    Why?
    The error when you send mail to this account :
    This Message was undeliverable due to the following reason:
    The following destination addresses were unknown (please check
    the addresses and re-mail the message):
    SMTP <[email protected]>
    Please reply to <[email protected]>
    if you feel this message to be in error.
    - when I check the DS .I see this user.
    Pls help me,it very important to me.I haven't found the solution yet now.
    Wait for your replies

    Log smtp
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: 20031217080554:SMTP-Router:ProcessAddresses():Multiple LDAP Entries:
    User-From: <[email protected]>
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Notice: Error-Handler:HQ0LPU01.003:<>:1949:<[email protected]>
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Error-Handler:Logging Error:HQ0LPU01.003:Error-Handler:BadReturn
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Message-Id: HQ0LPU01.003
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Parent: 0
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Header-Size: 401
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Body-Size: 1546
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Header-Flush: 0
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Function: Error-Handler
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Control-Type: Mail
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Priority: 1
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Error-Msg-Type: ReturnMessage
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Host-From: mess-hcm.vnn.vn [127.0.0.1]
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Submitted-Date: Wed, 17 Dec 2003 08:05:54 +0700
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Submitted-Via: Error-Handler SMTP <[email protected]>
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: User-From: SMTP<>
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: MIME-Encoding:
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: MTA-Hops: 0
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Trace: Error-Handler
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Trace: Account-Handler
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Trace: SMTP-Router
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Trace: Error-Handler
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Channel-To: SMTP <[email protected]>
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: RCPT-Exts:
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Diagnostic-Code: 551 User unknown
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Error: SMTP-Router:UnknownAccounts (WriteUnknownAcct)
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Error-Text: SMTP <[email protected]>
    [17/Dec/200:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Error-Token: mtalocal:DBT_SMTPRtrUnknownAccounts_
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Action: failed
    [17/Dec/2003:08:05:54 +0700] mess-hcm smtpd[16043]: General Error: Info: NOTICE: BadReturn. Unable to deliver or return to sender.

  • My iMessage is not working!!! i can send n rcv msgs from myself but i cant send n rcv msgs from others...pls help me!

    pls help me make my iMessage work...cant send and rcv msgs from others but can send n rcv msgs from myself...

    are the people you are sending messages to people that have ios 5 and imessage set up?  imessages only work between ios users
    hope this helps,
    brian

  • ABAP Client Proxy not sending the data to XI ?

    Hi Guys,
    My scenario is proxy - soap asynchronus process.
    when i execute the report on the R/3 side, i am able to see message in sxmb_moni in R/3 with the proper sender service but i could not see the receiver side.
    There is proper HTTP connection defined and it works properly with the proxy- soap synchronus scenario for another interface.
    The data is not coming into XI only for the asynchronus scenrio. I could not find any messages in XI under sxmb_moni or in RWB.
    any help would be really appreciated
    Thanks,
    srini

    Hi Emile,
    In this program there is a Bapi calls which performs the activity. I did not find any commit work. I am able to see the xml out of the proxy and in the trace i am seeing the following error
    Trace level="1" type="T">Get definition of external pipeline = SENDER</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID" />
      <Trace level="1" type="T">Get definition of internal pipeline = SAP_SENDER</Trace>
      <Trace level="1" type="T">Queue name : XBTS0007</Trace>
      <Trace level="1" type="T">Generated prefixed queue name = XBTS0007</Trace>
      <Trace level="1" type="T">Schedule message in qRFC environment</Trace>
      <Trace level="1" type="T">Setup qRFC Scheduler OK!</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="T">Going to persist message</Trace>
      <Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>
      <Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>
      <Trace level="1" type="T">- Exit CALL_PIPELINE_ASYNC</Trace>
      <Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">--start sender interface action determination</Trace>
      <Trace level="1" type="T">select interface ClearingHousePaymentOrderRequest_Out*</Trace>
      <Trace level="1" type="T">select interface namespace http://sap.com/xi/APPL/SE/Global</Trace>
      <Trace level="1" type="T">no interface found</Trace>
      </SAP:Trace>
      </SOAP:Header>
    - <SOAP:Body>
    - <SAP:Manifest xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:wsu="http://www.docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="wsuid-manifest-5CABE13F5C59AB7FE10000000A1551F7">
    - <SAP:Payload xlink:href="cid:[email protected]">
      <SAP:Name>MainDocument</SAP:Name>
      <SAP:Description />
      <SAP:Type>Application</SAP:Type>
      </SAP:Payload>
      </SAP:Manifest>
      </SOAP:Body>
      </SOAP:Envelope>

  • ABAP proxy client sending to XI

    We have created an outbound interface in XI and generated the proxy in ABAP using SPROXY.  When we test the call of the proxy,  we get the following error in SXMB_MONI..
    HTTP response contains status code 401 with the description Unauthorized
    Any advice on how to troubleshoot and resolve would be appreciated.

    Thanks for all the suggestions,  I have checked most of what has been suggested (SM59 HTTP, SXMB_ADM Int Eng Cnf, SLDCHECK, and SPROXY Connection Test) and these appear ok. 
    I can provide further info that may help...
    In SXMB_MONI there appear to be two high level steps involved in the processing.  The first is "Inbound Message (SENDER)" which has a green flag.  The next is "Call Integration Server", which has a Red flag.  When I look at the Trace section of the SOAP Header IT is giving the following information..
    Anmeldung fehlgeschlagen
    Was ist passiert ?
    Der Aufruf der URL http://acadnt12:8000/sap/xi/engine wurde aufgrund fehlerhafter Anmeldedaten abgebrochen.
    Hinweis
    Die Anmeldung wurde im System E60 ausgef?Hierbei wurden keine Anmeldedaten bereitgestellt.
    Was k?n Sie tun ?
    Falls Sie noch ?eine Benutzerkennung verf?so wenden Sie sich an Ihren Systemadministrator.
    Fehlercode: ICF-LE-http-c:800-l:-T:-C:6-U:-P:-L:6
    HTTP 401 - Unauthorized
    Ihr SAP Internet Communication Framework Team
    Which I was able to roughly translate to...
    Registration missed What happened? The call of the URL http://acadnt12:8000/sap/xi/engine was broken off due to incorrect dates of registration. Reference The registration became in the system E60 ausgef? Here no dates of registration were made available. Which k? n you do? If it still? a user identification verf? thus you turn to your system administrator. Error code: ICF LE HTTP C: 800-l: - T: - C: 6-U: - P: - L: 6 HTTP 401 - Unauthorized Its SAP Internet Communication Framework team

Maybe you are looking for