Proxy to FILE/RFC Interface

Hi Experts,
Recently your ECC is upgrade, My Scenario is PROXY - > PI -> FILE/RFC, There are 2 issues for the same interface.
Getting CCMS Alerts as below. When I check in SMQ2, i dont see any messages are stucked in the queue, but we are receiving this alerts frequently from after upgrade.
Issue 1:-
ALERT for MIP \ Transactional RFC and Queued RFC \ Int. Server Outbound Messages (XBQO*) \ Blocked queues: Client 001 at 20140801 101549 ( Time in UTC ) RED CCMS alert for monitored object Blocked queues: Client 001 Alert Text:Blocked inbound queue: Client 001 Q name XBQO0___XI_SERIALIZE0068 status RETRY dest CHGVA-SAP-MIP_MIP_14 System:MIP
Segment:SAP_CCMS_CHGVA-SAP-MIP_MIP_14
MTE:MIP\Transactional RFC and Queued RFC\Int. Server Outbound Messages (XBQO*)\Blocked queues: Client 001
Client:000
User:SAPSYS
Severity:       50
Issue 2:-
The messages is getting successful in message monitoring when going into details Audit log is showing the below error. Once is successfully delivered the message the message Id is trying to deliver the same message ID and getting the below error.
This is also comming after upgrade.
Putting message into receive queue failed, due to: com.sap.aii.af.ra.ms.api.DuplicateMessageException: Message ID e4196a30-56ac-59f1-a2e0-0050569a0002(INBOUND) already exists in database: com.sap.sql.DuplicateKeyException: Violation of PRIMARY KEY constraint 'PK__XI_AF_MS__99C1915D08BFA0D4'. Cannot insert duplicate key in object 'SAPMIPDB.XI_AF_MSG'..
Can any one help me out from this both issues.
Thanks in Advance for your responces
G V Anil

Hi  Sarojkanta,
Its a Production issue, The messages comming form ECC as a scheduled background job.
We upgraded our ECC system to 6.0 EHP6 from EHP5 and now all asynchronous. Sender PROXY Interfaces hits PI and go immediately into RETRY status and the messages are getting successful to teh receiver. but its trying second time with the same Message ID and then we are facing this issue as show in the above screen shot.
When checked in MONI for this interface all the messages are showing as below.
Call Adapter is getting failed and trying second time.
Thanks
G V Anil

Similar Messages

  • 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

  • Getting  error when testing Proxy to File interface

    Hi Guru's,
    While I am testing a Proxy to File Interface, using SPROXY transaction i am sending a message from  R/3 to PI.
    the message showing successful in R/3 Moni,but in PI moni I am getting the following Error..
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Determination
      -->
    - <SAP:Error SOAP:mustUnderstand="" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    In this inreface, I am suppose to send the mesasage to only one Target system(ftp server) . i have checked in ID part also,
    every thing is clear in ID. Can any body please tell where the mistake might exists...
    Thanks in advance..
    Regards
    Raj

    Hi,
    No receiver could be found means Check your Receiver Determination. Activate and update cache. Asysnchronous messages can be manually restarted.
    have you seen this threads,
    NO_RECEIVER_CASE_ASYNC
    No receiver could be determined
    regards,
    ganesh.

  • Proxy to file interface , need to have field name aslo in the file

    Hi , i ahve done a interface from Proxy to file , in which , i have to give a label name of all the fields in the top of the file which acts as header in my fields , is there ant option in the XI to give header or label
    please help me in this
    thanking you
    sridhar

    Hi Sridhar,
    This link might be helpful:[http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm|http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm]
    Regards
    Bhanu
    Intelligroup.

  • File - xi - bw   without proxy  but with RFC

    Hallo
    Is it possible data to BW over XI to send on by RFC without one proxy to use, and if how?
    Thanks
    yves

    Hi Yves,
    there is an SAP how to available giving details on how to integrate BW. what they describe there is to use a SOAP data source (as of BW 3.5) for which BW will automatically create an RFC function. However it is pretty much recommended to encapsulate this RFC into a proxy because the proxy can handle exactly once in order processing which is important for BW data.
    I have implemented some scenarios like this and they work pretty well, so for me there is no reason to not go for proxy but use RFC. However if you have an older BW system, you might not be able to omitt RFC.
    best regards
    Christine

  • Record missing in file in Proxy to file interface

    I am using proxy to file , in which i am using i have header , header_tax, and line,
    everything is fine , even i have checked the mesage monitoriing and component monitoring , i am getting all the data. but in the file generated i am getting only one record that too of two fields
    may anyone help me in this please
    thanking you
    sridhar
    it is very urgent pelase

    you saying u can c payload correctly in MONI also..but this is not appearing in File.
    do onething check the logs in File adapter also for the particular message ..
    Regards
    Rao

  • Proxy to file communication prerequiste

    Hi,
    I have a scenario where i need to communicate SAP sytem with Non-Sap system We are using Proxy to file communication. Please let me know prerequiste to develop this scenario i.e. before proceeding with the design, configuration do i need to create any RFC destination or something?
    Also i created a msg interface for my outbound in XI. but I could not see the namepsace of Ob in R/3 system to generate proxy. Please guide me on this.

    Hi
    First activate the proxy using the following blog..
    How do you activate ABAP Proxies?
    and for sender proxy use  this blog..
    ABAP Proxies in XI(Client Proxy)
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    How to create proxy.
    if you have any kind issues let me know..
    Regards
    Vijay

  • Proxy to file scenario issue

    Hi,
    I am trying to configure a Proxy to file scenario.
    My sender service is ERP system and the my receiver is PI file system.
    These are the steps I followed:
    1. Created a sender business system for Web AS abap (my ERP system)
    2. Created a receiver business system for third party (my PI system)
    3. I created all the interface objects(datatype, message type, message interface etc) in Integration repository.
    4. In the ERP system , I configured http connection of type h to PI system and also configured lcrsaprfc, sapsldapi connections of type t. I followed this blog: How do you activate ABAP Proxies?
    5. I also configured the ERP system as local integration engine, by setting the role to application system in sxmb_adm (followed the above blog).
    5. Now I generated proxy in sproxy transaction for the outbound interface.
    6. Then I created the communication channel, receiver agreement, interface determination and receiver determination in Integration directory.
    7. I created a abap program to call the execute_asynchronous method.
    Now the issue is, when I execute my report, nothing happens. I can see the success xml message in sxmb_moni in ERP system. No message is seen on the PI's sxmb_moni. The file is not written either to ERP or PI systems.
    Since I am new to PI, I am not sure where to begin with.
    If anybody can help that would be great.
    Thanks
    MLS

    Hi
    Check the following
    1. RFC connection between R/3 and PI
    2. You said Business system of type third party (PI) is receiving it. Try Business system standalone Java. If PI system is already defined in Landscape as Integration server. It will not show any message output.
    3. message is shown in sxmb_moni in your ERP that measn proxy is able to receive all objects and passed it from there.
    4. Check in SMQ2 outbound queue of ERP as well as inbound queue for PI if message exist.
    5. While configuring in ID you dont need a sender agreement. Did you created one.
    Thanks
    Gaurav

  • SYNC/ASYNC - Proxy to File

    I have a sync proxy. It will sent a mesg. from R3 and I have to write it to a file and then from a diff file I have to read and sent a mesg. back to R3.
    So Sync Proxy -> XI -> File1 : File2 -> XI -> Sync Proxy
    Now I am sure a SYNC/ASYNC bridge will be used in BPM.
    How many Mesg. Interface will come in the picture ?
    1. sync outbound for the Proxy
    2. async outbound for the incoming file
    3. async inbound for out going file
    4. Now for the abstract interfaces;
       a. sync abs for proxy
        b. 2 more abstract async interfaces (but what sud it correspond to ? the proxy req/resp or file req/resp)
    My understanding is;
    1. SyncReceive – To Receive the payload synchronously from Proxy (open S/A Bridge)
    2. Send – To Send the request payload Asynchronously from BPM to the File system
    3. Receive – To receive the response Asynchronously from Legacy File system to BPM
    4. SyncSend – To Send the response Synchronously from BPM to Proxy (close S/A Bridge)
    My design;
    In SyncReceive – To Receive the payload synchronously from Proxy (open S/A Bridge)
    Sync Interface – abst. Sync proxy
    Message - Abs aysnc req. of proxy
    In Send – To Send the request payload Asynchronously from BPM to the File system
    Message – Abs aysnc req. of proxy
    In Receive – To receive the response Asynchronously from Legacy File system to BPM
    Message – Abs async resp. proxy
    In SyncSend – To Send the response Synchronously from BPM to Proxy (close S/A Bridge)
    Message - Abs async resp. proxy
    Can you confirm on this ? Kinda confused cos I havnt mentioned any mesg. interface pertaining to the file here

    well, now that the design is confirmed (can somebody tell me y we dont mention any of the file interface in BPM), where do i actually handle my mapping ?
    Cos i will have 2 mapping;
    ProxyReq -> File1
    File2 -> ProxyResp
    and how do i go onto create my Interface mapping ?
    Cos Proxy is a sync interface but file gets to be a Async.
    And yeah Udo, i do seriously doubt the performance ... but well at this point i will leave that concern away and get onto build up the scenario.
    Does is sound stupid ??? Well consider these questions to be be that of someone who encountered a  SYNC/ASYNC for the very first time
    Message was edited by: Shabarish Vijayakumar

  • Error in Proxy to File scenario

    Hello All,
    I m doing Client Proxy,  ABAP proxy to file scenario.
    I hv done all the configurations in IR & ID.
    I hv also created proxy in sender R3 system.
    But messages are not going successfully from R3.
    when i checkin SXMB_MONI of R3 i get following error
    <SAP:Stack>Error when receiving by HTTP (error code: 110, error text: )</SAP:Stack>
    Message is in SYSFAIL status in SMQ2.
    Any clues how it can be solved??
    Thanks in adv.
    Mahi

    Hi Maheshwari,
    Please try as mentioned below
    Option 1: Go to SXMB_ADM->Manage Queues and Deregister all the Queues.Use transaction SMQR or SMQ2 to reset the status of queues
    For this to initiate processing of messages stuck in the queue, make sure to set following IS configuration parameter
    MONITOR QRFC_RESTART_ALLOWED to value 1
    Option 2: Check the user associated with the RFC destination AI_RUNTIME_JCOSERVER in sm59 transaction. It is generally SAPJSF. Might be posisble the user password is expired or locked. Log on to j2ee admin tool on the server side and update the password and then see if it works.
    Thanks
    Amit
    Reward points if answer is helpful

  • Error on PROXY to FILE scenario

    Hi,
    I'm working on a Proxy to FIle Scenario. 1 Proxy is triggered and 7 files should be generated at the target side.
    Now when the proxy is triggered all the 7 files doesn't get generated. Instead randomly some 3-4 files are getting generated.
    Could not see the rest of the entries in MONI also.
    Can someone tell how to monitor this and where exactly to check for the error, as message doesn't reach the MONI and we don't have a sender channel beacuse its Proxy.
    Thanks,
    Vikas

    Vikas,
    Can someone tell how to monitor this and where exactly to check for the error, as message doesn't reach the MONI and we don't have a sender channel beacuse its Proxy.
    > how 7 files will generate ?
    From Proxy level @ ECC it don't seems logical/possible as whole data will be passed as a whole to proxy interface and on some condition basis only you would be creating 7...files . so definitely at SXMB_MONI of XI you can see this .
    Try to increase trace_level parameter to 3 (only in development box , as it will consume the server very fast) for better monitoring .
    Since the no. of files will be created by file adapter only so those many no. of receiver file adapter calls you can see at RWB.
    Regards,

  • Error in Proxy to File :no msg in sxmb_moni in application system

    Hi all
    i am doing a Proxy to file scenario.i have executed the scenario successfully and the file is created once. from next time i am executing the scenario it is picking the data in ECC and sending data to proxy method (checked through debugging),but it is not showing the message in sxmb_moni for the second time and is not reaching xi.It is only displaying the message processed for the first time.
    i have not done any changes in design but few modifications like changing the date format in abap pgm.
    plz provide the solution and can any one why there is no message in sxmb_moni?
    Regards
    satish

    Hi,
    Check the following
    1. RFC connection between R/3 and PI
    2. You said Business system of type third party (PI) is receiving it. Try Business system standalone Java. If PI system is already defined in Landscape as Integration server. It will not show any message output.
    3. message is shown in sxmb_moni in your ERP that measn proxy is able to receive all objects and passed it from there.
    4. Check in SMQ2 outbound queue of ERP as well as inbound queue for PI if message exist.
    5. While configuring in ID you dont need a sender agreement. Did you created one.
    and finally Check in SMQ2 transaction if the messages are waiting there. If yes, unlock and release queue.
    regards,
    Surya

  • ABAP client proxy to File scenario

    Hi,
    I am doing ABAP client proxy to File scenario.
    I have followed Ravikumar allampallam blog i.e https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1387. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    My abap proxy has successfully created 4 objects:
    1)ABAP Class ( ZCO_ MIOA_ABAP_PROXY).
    2. Structure for the message type in ABAP Data Dictionary (ZMT_PROXY).
    3. Structure for the data type in ABAP Data Dictionary (ZDT_PROXY_SRC).
    4) Table type (ZSTRING_TAB).
    can u tell me how can i fetch data from database table into structure?

    Hi,
    see first create the data type,msg type, msg interface and go to R3 instance of Xi and use SPROXY transaction , locate your SWCV,namespace, intreface ( outbound) and create the proxy , later give the name starts with z, later in ABAP program create the internal table of type of the Structure for the message type in ABAP Data Dictionary (ZBLOGEMP_PROFILE_MSG )
    so follow the code and explained about each ob, structure of Msg ..
    Regards
    Chilla

  • Problem in Proxy to FIle senario.

    Hi ,
    I have a simple proxy to file senario, which is working fine.
    The problem is that i have to put one more file on the FTP server which has some text of 7 characters that denotes that the Proxy was successful. This second file should only be created after the the first file is successfully created.
    One of the solutions is to create to create one more proxy and put the two proxies into a specific queue so they are triggered one after the another.
    Do you have any other solution expect this ??
    Thanks.
    Harpreet Daphu

    Harpreet.... You do not need two proxies.... Create one proxy with a flag
    the purpose of the flag is to indicate whether the record sent is the message payload or the last control record(success/Failure..).. Map the structure of the proxy according to your original msg and the control record.
    Use interface determination to specify both the mapping....Make sure that you specify the original fsg first and chk the maintain order option...so the control rec is posted only if the msg record is succesful
    Alternativbely make the proxy EOIO..
    here is a link to help you with Proxy EOIO -> /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
    You still need two mapping...but u dont need the maintain order option.
    I personallly would tryu the first option..
    regards
    Arvind R

  • Error messages while executing File - RFC - File.

    Hi,
    I am doing a File - RFC - File scenario from Raj's blog.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/xi/file-rfc-file%2528without+bpm%2529&
    I am getting series of error messages.
    Someone please drive me in the right way. I am following each and every step in the same way mentioned there.
    1. Everytime the file is picked up, i can see 3 messages in Moni. One from File - RFC. 2 messages from RFC - File. I changed the sender QOS with BE and EO and EOIO. but all the time it shows 3 messages. Why are 3 messages executing for this scenario? what should be QOS on the sender File CC?
    2.. It throws a error message in response message for WS - RFC as .... RFC Adapter application error.
    I re created CC, re imported RFC, searched for that erorr message in sdn and followed everything. no luck
    3. Of the other 2 messages in MONI (RFC - WS), one of them shows error messageg as 2 and the other one shows a error message that Interface mapping does not exist in run time cache.
    I re created IR objects again, I created MI for RFC which I dint do earlier, I re mapped, activated, did all cahce refreshes in SXI_Cache, CPA delta and full cache refresh.
    But still it shows up the same error message.
    Can you guys tell me whats bad going on with my scenario?
    Appreciate your help,
    Venkat.

    Hi Venkat,
    From this line:
    It throws a error message in response message for WS - RFC as .... RFC Adapter application error.
    It seems there might be a problem in RFC Adapter. Can you see the error in Communication channel Monitoring what error it is showing. Probably the communication between PI and SAP might be a problem. If you put the error here, somebody might be able to help you out.
    Regards,
    ---Satish

Maybe you are looking for

  • Not able to connect to database using Oracle ODBC Driver

    Hi, I have installed Oracle client on a system. there are 2 homes installed. When I check the ODBC administrator, I see that only one ODBC driver is present. There are Net 8 services configured in both the homes. When I try to connect to a database w

  • Recording for vehicles in maintenance order

    Hi how can i enter  in maintenancne order  counter-reading recording for vehicles like primary counter for miles  using screen O150 i am getting  License plante  using " Scenario: O150  Field name: LICENSE_NUM though SPRO setting " but not able to ge

  • How to open custom.pll in forms 10g

    dear all can you send steps to open custom.pll in forms10g

  • Downgrading from 8 to 7 and license transfer

    Hi guys i have a problem, I have installed windows 7 professional using boot camp (it created a usb disk to install etc.) afterwards I installed windows 8 upgrade, And now I am taking my RMBP to apple service and they're probably gonna replace it, I

  • How can i change my questions from my account?

    I wanted to buy a app on my macbook but now they ask me my apple id questions but I don't know them anymore how can i change them?