ABAP Client Proxy Issue..

Hi Folks,
I am trying to push the data from R3 to RDBMS ...using proxies..
I am able to push single line item but when i am not able to push multiple line item.
<b>I want to know how to handle table type inside a stucture..? sample code will help me in this regard..
Any suggestions..?</b>
Regards

Hi Santosh,
To send multiple items from proxy..
Did you create the fields inside a structure in your data type.
I mean like this..
Records
   field1
   field2
   field3
Now suppose your Message Type name is MT_TEST.
Then in your abap code you can access records like this..
OUTPUT-MT_TEST-Records[].
Best options is create your proxy and then see in debugging mode. You will figure out yourself.
Regards,
Sumit

Similar Messages

  • ABAP Client Proxy from ECC 6.0 to XI message irregular recieving

    Hi Gurus
    Any one has come across issue whereby the ECC 6 system trigger ABAP Client proxy to SAP PI 7.0. The first time the PI is able to recieve it in the SXI_MONITOR. But subsequent trigger from the ECC 6.0 system the SAP ABAP program to trigger the Client Proxy, the PI seem to lost connectivity and did not recieve any message. This is pretty strange and hopefully someone in SDN and enlighten me.
    Thanks
    Regards
    On behalf of malcolm

    Hi Santosh
    I went to SMQR and register the queue, but it still did not reflect the locked queue when i trigger the ECC 6 to SAP PI 7.0. The green flag - schedule still appear in the SXMB_MONI queue. But i am quite puzzle as why the ABAP client proxy after sending message the first time and second time, the third time it stuck? And also it is not practical to everytime go to the SMQ1 or SMQ2 to unlock the queue. I don't think it a good solution for solving my problem, it is just a temporary solution.

  • How does ABAP client proxy determine the sender business system

    When we use ABAP client proxy to send a message in XI-SOAP format to the integration engine, how does the client proxy determine what is the sender business system, i.e. how does it know what value it should insert in the sender service field in the SOAP envelop.
    For example, at first, the business system X8A_105 corresponds to the technical system X8A_105, so when the client proxy sends out a message, the sender service is X8A_105. Then I delete the business system X8A_105 in the SLD, and create a new business system that is associated with the technical system X8A_105.when the client proxy sends out a message, the sender_service is still X8A_105, why?

    Hi Annie,
    Execute the following function module in your business system and see what name it returns..
    LCR_GET_OWN_BUSINESS_SYSTEM.
    You can always debug the code inside the above FM to find out how it gets the business system name...
    I think the issue should be related to cache. I would also suggest you to logoff from your business system and then login again.
    Regards,
    Sumit
    Message was edited by:
            Sumit Khetawat

  • ABAP Client Proxy to SOAP

    Hi all,
    I am working on ABAP client proxy to SOAP Asynchronous scenario.  when iam sending the data from r/3 system data sent to webservice.
    but PI sending this same data  3 more to the third parth system.  when i checked in runtime workbench it is showing number of retrys 3
    how to resolve this issue.  please explain in detail
    Thanks
    Anil

    Anil,
    That's the default setting for Async SOAP communication...this can occur if the receiver is overloaded and cannot take any more feed and sometimes time out in the middle of the hand off...this would lead to re-try in PI...so you would see 3 entries of same data...refresh or clear the data from the receiver could solve the issue...
    Thanks,
    Srini
    Edited by: Srinivas Davuluri on Sep 9, 2010 1:51 PM

  • ABAP Client proxy message not reaching AAE

    Hi Experts,
    I am facing a strange issue in one of my proxy interfaces. ABAP client Proxy is used to post message to AAE in SAP PI 7.3. The messages are being generated and pushed out of ECC successfully. I can see them in the SXMB_MONI t-code with checkered flag. These messages are reaching the Integartion Engine instaed of the Adapter Engine.
    I have configured the following:
    1. Sender / Receiver ID  in SXMSIF:
    2. Configured the corresponding Runtime parameter in SXMB_ADM
    I have few other such ABAp client proxy i/f's which work fine and their message are being sent to the Adapter engine. Howveere, only this one interface is posing a problem. What can be the issue?
    Please advice.
    Thanks in advance.
    Elizabeth.

    Hi Elizabeth,
    It will be great if you could please let me know all the user profile configured in userID of Logon&Security tab of SM59 for connecting ECC system to post the message via AAE.
    I have used
    SAP_XI_APPL_SERV_USER
    SAP_XI_DEVELOPER_J2EE and
    SAP_XI_IS_SERV_USER
    profiles in my UserID for Basic authentication.
    Currently I am doing the same scenario what you have done with integrated configuration.The message is getting failed in ECC with 403 Forbidden error.
    Please help me.
    Thanks
    Ray...

  • About ABAP Client proxy

    Hi Experts,
    Through ABAP client proxy I am sending data to PI system, when i execute the calling program then it executes fine, but data is not going to PI system.
    I couldn't find any message sent from R/3 in the SXMB_MONI (R/3 system).
    R/3 to PI connection is fine.
    Regards
    Ramesh

    I couldn't find any message sent from R/3 in the SXMB_MONI (R/3 system).  -
    > hope u r not checking in the R3 system for message !!!
    Few of our shadow resources, they had similar kind of issue...they configured sender as business service....
    so when they run the report program... it was not displayed in MONI..... the reason is agreements as sender business service.... as it cant find the proper receiver, and the proxy comes with Business system details...message wont be processed and cant see in MONI...
    so just have look...have u configured like this?

  • ABAP Clinet Proxy issue

    Hi Frnds,
    I am working on ABAP Client proxy , when i am sending data to PI getting error message in ECC moni
    <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>401</SAP:P1>
      <SAP:P2>Unauthorized</SAP:P2>
    <SAP:Stack>HTTP response contains status code 401 with the description Unauthorized Authorization error while sending by HTTP (error code: 401, error text: Unauthorized)</SAP:Stack>
    did any one experieced this type of issue??
    i have used service user in RFC destinations.
    thanks,
    Raj

    Hi Frnds,
    Thanks for your valuable inputs.
    SLD check working for my user id, but my id does not have SAP_XI_IS_SERV_ROLE, I used other user id(XI_RFC)which has all roles. but when I use this one sld check not working.
    In RFC destination in ECC I have used XI_RFC, connection test working fine.
    I donu2019t why this problem coming. Do I need to uses PIAPPLUSER in RFC destination??it is mandatory?? Because PIAPPLUSER maintained as a user name for Integration server in exchange Profile.
    Regards,
    Raj

  • Error With ABAP Client proxy

    Hi All,
       I am trying to use ABAP Client Proxy(Sync). I am getting the error.
    1. Message from SXMB_ADMIN on Business system.
    <b>  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <SAP:ErrorHeader xmlns:SAP="http://sap.com/exchange/MessageFormat">
      <SAP:Context />
      <SAP:Code p1="400" p2="ICM_HTTP_CONNECTION_FAILED" p3="" p4="">HTTP.HTTP_CLIENT_RECEIVE_FAILED</SAP:Code>
      <SAP:Text language="EN">Error during http receive: Error code: 400 Error text: ICM_HTTP_CONNECTION_FAILED</SAP:Text>
      </SAP:ErrorHeader></b>
    2. No message On XI server.
    3.Went through the Ravikumar Allampallam's blog
    on ABAP ClientProxy .
    4. Went through the  vijaya kumari's " How do you activate ABAP Proxies?"
    5. created connections (sld)and one http connections in SM59. Tested the connections.
    6. Went throught the Forms.
    Any help would be appriaciated.
    Thank you
    Ganges Leaves.

    Vijaya Kumari,
       1. I have checked it. For XI server these are the values.
        Business System Role  : Integration Server.
        Pipe Line url : http://server:8000/sap/xi/engine?type=entry.
    8000 is the http port which i see in the SMICM+shift F1.
    Thank you
    Ganges Leaves

  • 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 ABAP Client Proxy

    Hai All,
    I am working on ABAP Client Proxy to RFC.
    Here i generated the proxies and wen i execute it i am able to see in sxmb_moni but its showing in Green color which is still in process.but i was unable to find the the receiver business system and receiver interface.
    I hope some HTTP connection problem.
    Can anyone explain me in detail how to create the http connection as i confused here.
    Lets say XI(sender) to R3(Receievr)
    where proxy is been created in XI system itself and also generated in XI system only.
    Can anyone suggets me here as this interface is totally asynchronous.
    Thanks,
    Kalyan.

    Hai Seshagiri,
    Thanks a lot.
    Am giving you points buddy.Its working.
    Cud u plz give me ur Email id.
    This is fine but i want implement this interface to further there i am getting errors.So that i can send u the screenshots of those.
    Thanks,
    Kalyan.
    Please read the Forum's Rules of Engagement,
    i.e.,
    [/thread/117188 [original link is broken];
    and refrain from using email correspondence as the main objective of the Forums is to share knowledge.
    SDN PI/XI Forum Moderator

  • Outbound ABAP Client Proxy

    Hi,
    Scenario - Client Proxy to JDBC.
    I am getting Purchase order details out of Client proxy which goes and updates multiple tables at JDBC. I am doing this via single service interface to update multiple tables ( multiple statement element in JDBC target structure ).
    Client Proxy
    PO HEADER
    PO DETAIL
    PO TEXT
    PO ITEM
    JDBC tables
    tbl_HEADER
    tbl_DETAIL
    tbl_TEXT
    tbl_ITEM
    Detail and ITEM tables from SAP has too many entries. When I tested in development for 14 PO header it had 1500 detaills, 500 text and 800 items.  So i am thinking of breaking down of these PO headers in abap client proxy to trigger the abap proxy for every 50 PO header. So that it would not end up with huge PO details and text.
    I am thinking of modifyin the abap code to send 50 PO header each time in client proxy.
    loop on PO headers.
    if lv_counter is 50.
    call method to send via client proxy.
    then next 50 records. so that we are sending in chunks. 
    PI would receive in multiple messages with consisting of 50 PO header and many item details. Does update/insert on JDBC table would affect. what precautions shd i take in PI considering update on JDBC
    Kindly suggest with any inputs. 
    Thanks in advance.

    Hi,
          You can use the update_insert option of the receiver jdbc canonical structure.
    This would ensure that rows already existing would be updated and only the delta would be inserted into the tables.
    Regards

  • Fault message handling in abap client proxy

    Hi experts,
    i have scenario like this SAPECC---XI---WEBservice
    i was decided to using the ABAP CLIENT proxy in sender side and soap adapter communication in receiver side
    i will be get the wsdl file form client
    problem is i am in bit of confusion like  am i need to create fault message for this asychronous scenario?
      how can i create the fault message for this scenario(that WSDL) and how the abaperwill  handle those error
    thanks in advance

    Hi.
    You can use fault message but it won´t return a error to your ABAP Proxy because your interface is ASSYNC. The fault message generated will stop in Adapter Engine.
    If you need a return of the error, you have to change your interface to Sync mode.
    To get more information, follow the link below:
    Fault Message Type
    http://help.sap.com/saphelp_nwpi711/helpdata/en/dd/b7623c6369f454e10000000a114084/frameset.htm
    Best Regards.
    Bruno

  • ABAP client proxy from WSDL

    I have 2 problems in creating abap client proxies using wsdl
    1.when i try to create client proxy by giving RPC style wsdl(generated by SAP itself for a RFC) the system throws an error and not allowing to create the proxy
    2.The client proxy which i have created for a wsdl(either SAP created document type/any wsdl from commercial websites) gives an error "No receiver could be found"
    could somebody please clarify and help me to solve the problem.
    Thanks in advance.
    Vasanth.

    Hi Vasanth,
    There are many threads and blogs on this topic.
    Choose the search Forum on the Forum page and select "All categories" in the Category field and enter your topic "ABAP client proxy from WSDL" in the search field.
    Rgds,
    Sam Raju

  • ABAP Client Proxy without Commit

    Hi everyone,
    we want to implement a web service call using an ABAP Client Proxy. The Problem is, that this call is in the middle of a transaction and we may not execute an implicit COMMIT WORK by using the proxy class.
    Does anyone know how to prevent such a COMMIT?
    Thank you for feedback

    Hi Julio
    I understand the situation.
    Ask basis if the PI system is configured as Integration server. even you can check this but basis can confirm on this. In that case you need to have another client which can work as R/3 for you. Then you can proceed with ABAP proxies on the client.
    Now coming back to what i can think of a work around. When a target system fails PI will retry and end up as System failure. This system failure can be retrieved from SXMB_MONI tables. Now if you create a ABAP report which pics all records with Status = "SYS_FAIL" and reprocess (which is a inbuilt functionality) then you can make RFC call to this report which can end up reprocessing and can give response for Success for Failure or any reprocess. This you can use in BPM.
    Make sense ..
    Thanks
    Gaurav

  • ABAP client proxy With Receiver JDBC Adapter

    Hello Experts,
    I am working on a scenerio ABAP client proxy With Receiver JDBC Adapter.
    The client proxy program will fetch the master data related to equipment in plant maintenance module and  will update the sql database through Receiver JDBC Adapter .
    my requirement is if the equipement is created in sap then the  scheduled job has to trigger the client proxy program and send the message with status 'created'  to sql data base.
    if the equipment is modified in sap then the scheduled job has to trigger the client proxy program and send the message with status 'modify' to sql data base.
    please let me know how can i write the logic/code for this scenerio in client proxy program.
    Tables for equipment master i am using  is EQUI and fields are   ERDAT and AEDAT which is created date and modified date.
    fields for scheduling start date is tbtcp-sdldate.
    Thanks in advance.
    Ram.

    Hello Ram,
       Here you can check if updated date field is not empty then send status as created and if this field is not blank then send status as modified record.
    Monica

Maybe you are looking for

  • How to disable a Copy Trans Button in Crmd-order

    Hi All,          I am trying to figure out what is controling my Copy transaction button in <b>Crmd_ Order</b>. Even if I remove Copy Control Config, its still working and creating a copy of transaction. Please give your input. Appreciate ur help. Re

  • How to Read excel or .csv files in java

    I am writing a program which takes input as excel or .csv file. How to read these files. Any API's are existed or need to use the third party jar. Please suggest me. Thanks & Regards

  • EasyDMS : Function module to define allowed document types

    Hello together, I am working on EasyDMS 6.00 and have implemented the function module "Z_EASYDMS_GETDOCTYPES" to have a filtered list of allowed document types for creating folders and documents in EasyDMS. But this FM does not seem to work, the list

  • How can memory leaks occur?

    Hi, I was just wondering how a memory leak can occur in Java. The garbage collector is supposed to free up all unused variables, so under what circumstances can it happen?

  • Cs6 trial error

    i've download the cs6 trial and cannot use any of it's features,,,,help!