ABAP Proxy : Modification in Structure 2

Hi,
I try to modify a structure but i can not do that, because is "Proxy Structure (generated)", I excute the transaction SPROXY in order to modify this structure but i don't know how to find it
Pls help , how to find the structure in this transaction, and  how modify.
Omar.

Hi,
  You have to re-create the web service.  There are lots of ways to generate ABAP web service.  Ask the person who is responsible for (or the person who created) the web service for instructions. 
  For example, if the web service is created by SAP Duet Enterprise, I will not use any tools other than SAP Duet Enterprise to change it.  If the web service is created from a RFC, I will change the RFC and re-generate the web service. 

Similar Messages

  • ABAP Proxy : Modification in Structure

    Hi Experts,
    I have one query in ABAP Proxy. I had one customized table type as declared
    DATA: ITAB TYPE ZABCD.
    It is having line type as ZABCD_LINE.
    This is just line type. Now I wanted to add 2 fields in same line type.
    While using SE11 whenever I am trying to change the line type of it it, i am getting status message "Change using transaction SPROXY".
    I am totally new in ABAP proxy. Can anybody will suggest me using SPROXY step by step how I can add the req. field in that line type?
    Thanks,
    Neha

    Hello Neha,
    SPROXY is the ABAP proxy generation transaction where you can create proxy class for any function module.
    This structure is linked to proxy parameter so if you want to change anything you need to go to SPROXY and then change parameter over there as per your requirement and that will change the internal used structure.
    In message interface you can select particular and double click that will take you to transaction where you can edit that object.
    Hope this helps,
    Thanks,
    Augustin.

  • SAP ABAP Proxy - recursive data structure problem

    Hi,
    For our customer we try to bind SAP with GW Calendar using GW Web Services. We tried to generate ABAP Proxy from groupwise.wsdl file but there are problems: GW uses recursive data structures what ABAP Proxy can not use. Is there any simple solution to this problem?
    Best regards
    Pawel

    At least I don't have a clue about ABAP Proxy.
    You are pretty much on your own unless someone
    else has tried it.
    Preston
    >>> On Tuesday, August 03, 2010 at 8:26 AM,
    pawelnowicki<[email protected]> wrote:
    > Hi,
    >
    > For our customer we try to bind SAP with GW Calendar using GW Web
    > Services. We tried to generate ABAP Proxy from groupwise.wsdl file but
    > there are problems: GW uses recursive data structures what ABAP Proxy
    > can not use. Is there any simple solution to this problem?
    >
    > Best regards
    > Pawel

  • ABAP proxy class - data structure

    I generated a ABAP Proxy Class and the data structure I want to use is put automatically under item structure which has 0...unbounded type.
    1. How can I get rid of this item structure as it will create another unnecessary level for my mapping
    2. If my source structure has only 3 level, and the target structure has more than 3 (including item), how to map it?
    e.g.
    Source structure: Level 1(occurrence 1) > Level 2(1)> Level 3(0..1)
    Target structure: Level 1(1])--> Level 2(0...1) --> item (0..unbounded) ---> Level 4(0..1)
    I need to map level 3 from my source to level 4 in target, but it didn't seem to work.
    Thanks.

    --->1. How can I get rid of this item structure as it will create another unnecessary level for my mapping
    You can delete the proxy at Application Server.....make necessary changes at XI Message Interface and again generate the proxy...
    -->Source structure: Level 1(occurrence 1) > Level 2(1)> Level 3(0..1)
    Target structure: Level 1(1])--> Level 2(0...1) --> item (0..unbounded) ---> Level 4(0..1)
    For this you need to make use of context change features of XI Mapping.
    Regards,

  • ABAP proxy code using internal table

    Hi XI guru's,
    Good Afternoon,
    My Scenario is ABAP Proxy to file using ztable.
    i am getting data from Sap R/3 data base as Ztable. using this Ztable i have to write ABAP Proxy code. I generated ABAP Proxy and mentioned all below.Please send me ABAP Proxy code using this details. This is very urgent. Please help me.
    ABAP proxy class:   zco_mioa_tata
    structure              :   zmt_tata
    structure                :   zdt_tata
    structure                :   zdt_tata_employee
    Table                :   zdt_tata_employee_tab
    Ztable                :   zcnu_proxy_table
    outbound structure:
    mt_tata
        employee
    thanks and regards
    sai

    Sai,
    I guess this will help you.
    1. Proxies can be a server proxy or client proxy. In our scenarios we require proxies to send or upload the data from/into SAP system.
    2. One more thing proxies can be used if your WAS &#8805; 6.2.
    3. Use Tcode SPROXY into R/3 system for proxy use.
    4. To send the data from R/3 system we use OUTBOUND PROXY. In Outbound proxy you will simply write an abap code to fetch the data from R/3 tables and then send it to XI. Below is the sample code to send the data from R/3 to XI.
    REPORT zblog_abap_proxy.
    DATA prxy TYPE REF TO zblogco_proxy_interface_ob.
    CREATE OBJECT prxy.
    DATA it TYPE zblogemp_profile_msg.
    TRY.
    it-emp_profile_msg-emp_name = 'Sarvesh'.
    it-emp_profile_msg-empno = '01212'.
    it-emp_profile_msg-DEPARTMENT_NAME = 'NetWeaver'.
    CALL METHOD prxy->execute_asynchronous
    EXPORTING
    output = it.
    commit work.
    CATCH cx_ai_system_fault .
    DATA fault TYPE REF TO cx_ai_system_fault .
    CREATE OBJECT fault.
    WRITE :/ fault->errortext.
    ENDTRY.
    Receiver adapter configurations should be done in the integration directory and the necessary sender/receiver binding should be appropriately configured. We need not do any sender adapter configurations as we are using proxies.
    5. To receive data into R/3 system we use INBOUND PROXY. In this case data is picked up by XI and send it to R/3 system via XI adapter into proxy class. Inside the inbound proxy we careate an internal table to take the data from XI and then simply by using the ABAP code we update the data inot R/3 table. BAPI can also be used inside the proxy to update the data into r/3.
    I hope this will clear few doubts in proxy.
    Just go through these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    ABAP Server Proxies By Siva Maranani
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    File to R/3 via ABAP Proxy with good example
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
    Generating java proxies..
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    Synchronous Proxies:
    Outbound Synchronous Proxy
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
    Inbound Synchronous Proxy
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation
    Regards,
    Sarvesh

  • 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 inbound proxy 0:unbounded structure

    Hello Folks
    In ABAP proxy, how can I read a structure like this and process it for passing to a BAPI.
    <Material>
      <Material No/>
       <Mat desc/>
       <UOM/>
    </Material>
    Here Material is of type 0:unbounded and generates a table type in Proxy.
    The input structure in proxy has only one material record eventhough I am reading 2 or more material records.Why is this?.Can anyone please send me the code to read 0:unbounded structure in proxy.
    Thanks
    Ricky

    I am not talking about how to read the material records from internal table. Here, I am not getting two records of material in the input->ZMT->Material[ ] table in the proxy eventhough I am sending two records of material in the xml inbound.
    What would be the reason? I put a break-point in proxy and displayed the input structure which is deep and found out that there is only one material record instead of two.
    Thanks

  • What is package structure for Client ABAP Proxy?

    1.     What is the package structure need to be  followed for creating abap client proxy.
    2.     I read some where in the form, it need to be 4 levels. Why is it?
    Thank you
    Ganges Leaves

    Hi
    U hav to create a 4 level package structure for client ABAP proxy.
    U can create ur on packages
    1st level-structure package.
    2nd level-main package.
    3rd and 4th level-sub packages.
    To the 4th level only u hav to create proxy.
    The classes and code wil be automatically generated at the time of proxy creation.
    I think the 4 level structure bcz while in r/3 everythin in integration builder like software component version and all wil be takin as different levels.
    Also u can go through the weblogs in the above replies u got.
    Regards
    Victoria.

  • Creation of package structure for ABAP proxy scenario

    Hi All,
    I have a doubt on package structure used for ABAP proxy scenario. What is the specific reason to create a four level package structure? Can some one please explain? Thanks in advance.
    Regards,
    Sudheer.

    Hi Sudheer,
    Can you pls clarify what do you mean by 'four level package structure' ?
    Are you referring to the ABAP structures that get created during creating the proxy by SPROXY transaction ? These structures get automatically created. We simply have to write the code using these structures.
    Or do you mean the 'package' which is mandatory to create a transportable ABAP object ? i.e. transport from Development to Staging and then Production.
    Regards,

  • ABAP Proxy Import Structure

    ok. Guys and gals I have limited ABAP expierence and have a simple question around loops. I have an ABAP proxy setup that receives an XML file and stores the contents in the INPUT method. The two structures under Item I am working with are I_HEADER and I_ITEM.
    I can access the values in I_HEADER with something like the following:
    CLEAR w_header.
    w_header-guid = v_header_guid.
    w_header-description = input-I_HEADER-DESCRIPTION.
    w_header-process_type = input-I_HEADER-PROCESS_TYPE.
    w_header-posting_date = sy-datum.
    now I currently have been testing the proxy with the following for my i_item structure. This is hard coded but I would like to import from the INPUT structure.
    CLEAR w_item.
    w_item-guid = v_item_guid.
    w_item-parent = v_header_guid.
    w_item-product = '00000000000000000000000000000000'.
    w_item-description = 'Test Item Description'.
    APPEND w_item TO i_item.
    How would I setup my loop to read the I_ITEM-ITEM table and populate with the imported values instead of hard coded. For instance using this example I would need the values from I_ITEM-ITEM-DESCRIPTION and I_ITEM-ITEM-PRODUCT?
    Thank You.

    Hi Joe,
    You have to use to loops one for header and another for Item details in that header something like this
    loop at it_header into wa_header
         loop at it_item into wa_tem
          endloop.
    endloop.

  • Proxy structures not getting populated in receiver ABAP proxy

    hello
    i am having HTTP-ABAP Proxy scenario where i am entering sales order information from HTTP and sending it to SAP CRM system. I am using ABAP receiver Proxy for getting the message.
    But when i debugged the code of receiver proxy i couldn't found the structures being filled by the data. i checked in SXMB_MONI of CRM which was containing data into its payload but no data into the structures. actually i have generated proxy of the interface which uses external definitions as data type.
    has anyone faced such problem before?
    thanks in advance.
    Regards
    Rajeev

    Hi Rajeev,
    There should not be any problem due to XSD u have used.Ur proxy is created sucessfully i guess?? There may be some discrepancy in ur code..
    check the server proxy....may be helpful for u..
    Server Proxy (Receiver Proxy)-
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    File to ABAP Proxy
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
    check the threads also...
    problem in proxy?
    Re: coding of Server proxy
    Re: coding of Server proxy
    regards
    BILL

  • Number of structures in package for ABAP proxy

    Hey guys,
    do we need 4 levels of structures in package for a simple ABAP proxy to file scenario,isn't there any inbuilt package which can be used(cant we jst use $TMP as it is )?
    thanx
    ahmad

    hi,
    they (those structures) look like the messages interface that you created in the Integration repository
    have a look at the data type (on which message interface is based on)
    and this weblog
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    the structure will have all the fields from the
    data type
    is it clearer now ?
    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>

  • Choice Between IDOC and ABAP Proxy

    Hello All,
    We are building a Bi Directional Interface for Business partners between a third Party ERP, XI and SAP CRM.
    We are looking for some advise on the best way to go forward between the two options below:
    a) Do an ABAP Proxy Call on Fn Module CRMXIF_PARTNER_SAVE  from XI
    b) Create and IDOC in CRM
       ( Message Type CRMXIF_PARTNER_SAVE_M )
    Not being an XI consultant, my understanding is as follows
    Option A  : Gives me the flexibility to format my response in the manner we like. But this is a synchronous call. Also this is a generated RFC. So changes in the XIF layer of CRM could be an issue.
    Option B : Response can be achieved only through the ALE Audit Functionality, which has a predefined message structure. For Eg: If I wanted to send the response in the same format as the incoming message with an added segment for the error, this is not possible. Ofcourse, I get all the functionalities of monitoring and Handling IDOCs in this option.
    Any thoughts on the advantages and disadvantages of each option would be greatly appreciated.
    Thanks
    Anoop

    Anoop,
    I probably should have mentioned in the BLOG, that IDOC is good if its a standard IDOC, so that you don't have under go the pain doing the modifications for the custom one.
    In your case, PROXY might make more sense as you are saying that you have to do some custom processing as well. So, you can call the BAPI / Function for the standard processing and then do the custom processing in your Proxy code. And more over, if you have want to have a Synch interface, then you cannot use IDOC.
    So, the options in this case boil down to PROXY / RFC.
    PROXY will definitely have the advantage as its going to bypass the adapter engine and directly interact with the Integration server. And moreover, even if you already have a RFC, you can always call that inside your PROXY. However, the only flip side here compared to IDOC, is that you will have to create all your IR objects manually.
    Hope this helps you in making your decision.
    regards,
    Ravi
    Note : Please mark the helpful answers.

  • Error while create abap proxy

    Hi,
    I need to create abap proxy in sap system to push the data from sap system to XI.
    when i create ABAP PROXY in sap system in Tcode SPROXY,System displays a error
    "objects from other name spaces missing" .
    So i am not able to activate the abap proxy.
    kindly let me know how to solve this error.
    Regards,
    Ganesh

    Are you using the message type created in external system?
    Are any of your Data type element refer structure to other namespace.
    Error mention that it does not find the detail structure of any of Datatype element. Check all link are available properly.
    Gaurav Jain
    Points if answer is helpful

  • Error while usinjg the JDBC to ABAP Proxy Scenario

    Hello Rocks,
    This is my scenario like JDBC --- Pi --- ABAP Proxy
    while i am given a sender side jdbc XSD structure is like this
    VWENTITYAGGREMENT
      Row             1-unbound  occurence
          POOL_ID   0-1 occurence
          CUST_ID
          AGREEMENT
           PRODUCT_ID
            CONTRACT_TYPE
            CONTRACT_TYPE_DESCR
            AGRMNT_STATUS
            STATUS_DESCR
              EFFDT
             TERMINATION_DT
             ADD_DT
             ADD_TM
    while i am writing a select query in Sender JDBC CC is like this
    SELECT POOL_ID,CUST_ID,AGREEMENT,PRODUCT_ID,CONTRACT_TYPE,CONTRACT_TYPE_DESCR,AGRMNT_STATUS,STATUS_DESCR,EFFDT,TERMINATION_DT,ADD_DT,ADD_TM FROM vwEntityAgreement.
    Here i am getting this Error message like this :
    Error Description: Database-level error reported by JDBC driver while executing statement 'SELECT POOL_ID,CUST_ID,AGREEMENT,PRODUCT_ID,CONTRACT_TYPE,CONTRACT_TYPE_DESCR,AGRMNT_STATUS,STATUS_DESCR,EFFDT,TERMINATION_DT,ADD_DT,ADD_TM FROM vwEntityAgreement'. The JDBC driver returned the following error message: 'com.microsoft.sqlserver.jdbc.SQLServerException: Invalid column name 'POOL_ID'.'. For details, contact your database server vendor.
    So please give me your valuable inputs !
    Regards,
    Ravi.

    Invalid column name 'POOL_ID'.'. For details, contact your database server vendor.
    Did you confirmed the name POOL_ID as suggested?
    Why is the tablename different (check the case) in the query that you make and in the XSD structure that you mentioned......check if this is causing the problem.
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Jun 4, 2010 10:24 AM

Maybe you are looking for