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

Similar Messages

  • 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,

  • 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 : 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. 

  • 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.

  • 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 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>

  • SAP PI CSV to Proxy Structure

    Hi All,
    I have scenario wherein I will be getting data from external PI system to my PI system through XI adapter so at external PI end receiver adapter will be XI adapter and at my end sender adapter will be XI adapter.
    Now through XI adapter i will be getting CSV data in single field which i have to update in my SAP. For this I flow would be as follow
    External PI to MY PI , my PI to my SAP ECC.
    Since data coming through XI adapter would be in single field and of CSV format, I will have to convert this data into a structure say ABC having 30 odd fields. I have made inbound and outbound interface for same. Now once i have xml structure i will like to map this xml structure to my proxy structure which will hit my SAP ECC. Now the issue I am facing is there are 2 scenarios now 1st  Converting CSV data to XML structure using Java/ABAP mapping and second is XML structure mapping to proxy structure. Both these interfaces are independent of each other. Whereas I want that once I have got CSV data field it should be converted into xml and then proxy structure.
    Please suggest how this could be achieved? Also if i will use ABAP mapping can i call second outbound interface inside it?

    Hello,
    Both these interfaces are independent of each other. Whereas I want that once I have got CSV data field it should be converted into xml and then proxy structure.
    I'm not sure if I get your question correctly. You can actually link these two in your operation mapping:
    1. Specify the csv structure as your Source Interface
    2. Specify the proxy structure as your Target Interface
    3. Use two mappings in this order: Java/ABAP Mapping, then normal message mapping. Take note that in your operation mapping ,you can add additional mappings by clicking the add icon.
    Hope this helps,
    Mark

  • 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

  • ABAP proxy exception to SOAP fault and vice versa not getting mapped

    Hi there,
    I have these scenario's: ABAP proxy to SOAP (AXIS framework) and the other way around, synchronous, using AAE.
    When declaring the Synchronous Service interfaces we also defined error message types in order to pass system and application exceptions back to the service consumers.
    The behavior we are observing is as follows;
    When an exception is generated on the ABAP proxy, the error message type is correct generated and filled with the corresponding values in the ABAP proxy runtime. However, when the response arrives at the service consumer, it only contains a SOAP fault filled with some kind of generic PI mapping exception information.
    1. Why is the original ABAP proxy exception not mapped/passed into the SOAP response?
    2. What can we do in order to change that situation?
    3. Does it has to do with the use of the AAE - Advanced Adapter Engine or the AXIS framework?
    PS: We have performed a test of the Operation Mapping - OM using the ABAP exception as input and it did work correctly, so the error structure seems to be Ok.
    Many thanks for your replies.
    Edited by: Roberto Viana on Jul 26, 2010 8:30 PM

    Problem was caused by some differences in namespaces between source and target.

  • ABAP Proxy

    Hi,
    I need to make a change on a data structure which is proxy generated. When i tried changing it, I got (change using transaction SPROXY) I did that, went to SPROXY and traced where the proxy was. The interface showed DataTypes, Messagetypes, Service Interfaces, and Orphaned Objects. The change was for me to add additional fields to the proxy structure. I'm new to abap proxies and have no idea how to make the change. What would be the steps in adding new fields to this particular Proxy Structure?
    It currently shows:
    CustomerGroup1
    CustomerGroup2
    I need to make a third one to show:
    CustomerGroup1
    CustomerGroup2
    CustomerGroup3
    Edited by: JustinL on Sep 5, 2011 10:24 AM

    Hi,
    step 1. The extra field needs to add the PI/XI guys first they will activate the structure in PI system.
    Step2: They will access ECC system tcode SPROXY to activate the same proxy so that new field will be added in your structures.

Maybe you are looking for

  • Query engine : Can not find DSN in Connection String

    DearSir/Madam, Opearating System Windows 7 Professional(32-bit). I am using Application, which is developed : Visual basic 6.0(32-bit), Report Writer : Crystal Report 9.2.693(32-bit) and database: Oracle 9.2.0.10(32-bit). ODBC Data source : System DS

  • Date Variable not working on Query

    I have a query that is working just fine and returns the correct values. The problem is that no matter what dates I put in, it always returns all records, not the ones from the variable. Can anyone take a look and see what it is I am doing wrong, or

  • Can't download firefox [on iPad]

    == Issue == I have another kind of problem with Firefox == Description == Try to download firefox but get error safari will not download file is there something that needs to be changed ? == This happened == Just once or twice == Trying to download f

  • How to recover pictures from macbook pro 10.6.8

    how to recover deleted pictures from old macbook pro 2006 10.6.8

  • Unable to open any website due to The proxy server is refusing connections, why?

    Firefox is opened, but unable to open any website. The message says, "The proxy server is refusing connections" & "Firefox is configured to use a proxy server that is refusing connections". I installed the version 8.0.1 again. But there was the same