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,

Similar Messages

  • 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

  • How to call a ABAP proxy class from a BADI? Please help!

    hi Experts,
        I have a scenario where I have to call a ABAP proxy class from a BADI. How can I do this? Does anybody has sample code for the same?
    Please help.
    Thanks
    Gopal

    Hi Gopal,
    Check this out
    DATA: ref_obj    TYPE REF TO zmfg_production_ord.----> BADI
    * Instantiate the proxy class
        CREATE OBJECT ref_obj.
        TRY.
            CALL METHOD ref_obj->execute_asynchronous
              EXPORTING
                output = it_output.     "Output Structure
            COMMIT WORK.
          CATCH cx_ai_system_fault INTO ref_sysexception.
        ENDTRY.
        IF  ref_sysexception IS INITIAL.
          WRITE : / 'Error Message'.
        ENDIF.
    Edited by: Raj on May 28, 2008 4:52 PM

  • How can I call a ABAP proxy class from BADI? PLease help

    hi Experts,
        I have a scenario where I have to call a ABAP proxy class from a BADI. How can I do this? Does anybody has sample code for the same?
    Please help.
    Thanks
    Gopal

    Hi,
       You can call a method of a class from BADI. Here are the steps.
       1) In the BADI implementation create a object for the proxy class.
       2) Call the Execute_Synchronous method.
        You can define a BADI by using SE18 and you can implement it by using SE19.
    Sample code...
    ================================================
      METHOD ZIF_EX_VBADI~CONVERTUPPER.
      DATA: OBJ TYPE REF TO ZTESTCLASS.
      DATA: IT_DATA  TYPE ZIN_MT,
                IT_RES   TYPE ZOUT_MT,
                SEXCEPTION TYPE REF TO CX_AI_SYSTEM_FAULT.
      TRY.
          CREATE OBJECT OBJ
             EXPORTING
                 LOGICAL_PORT_NAME = 'TESTPORT'.
      CATCH CX_AI_SYSTEM_FAULT INTO SEXCEPTION.
      ENDTRY.
    ENDMETHOD.
    ================================================
    Thanks,
    Vivek LR

  • How to use CL_PROXY_BASIS instead of CL_PROXY_CLIENT your ABAP Proxy class?

    Hello experts,
    I have a scenario where a new basis release was done in my development and testing SAP boxes (Basis Release 710 I believe) which means from then on when generating an ABAP Proxy class the inheriting class will be used is CL_PROXY_CLIENT as opposed to the previous CL_PROXY_BASIS.
    This causes a problem though because the target date for the project, which uses this ABAP proxy, is supposed to be in the production system before the date when the basis release will be done in the production system.  Obviously this will cause delays in my project since if I were to move my objects to production before the basis release a dump/syntax error will occur in production because the class CL_PROXY_CLIENT is not expected be production yet.
    The next plan is to try to use CL_PROXY_BASIS instead of CL_PROXY_CLIENT, by editing my ABAP Proxy Class be force. My question is, what steps do I need to take so that I can change these classes so CL_PROXY_BASIS will be referenced/used instead of CL_PROXY_CLIENT ?
    I hope to hear from all of you soon.
    Regards

    >
    Rich Heilman wrote:
    > Bad idea.  Your dev and prod boxes should be at the same basis level at all times. 
    >
    Which release and SP level are you still on?

  • Recursion in abap proxy class

    Hi experts.
    I create an abap proxy class via SE80, because we won't use XI. After import a local WSDL file, I generated the proxy class. But my problem is I can't active it. I see there are many errors in warings tab, they are 'Item is part of recursion'.  Any one knows how to solve these problem?

    Hi,
    Kindly inspect wsdl and you will find data type which is referring to itself. Such recursion in my knowledge not yet supported. Possible workaround is to download wsdl and modify tags to remove recursive effect (may be create a copy of tag give another name and then refer it as data type).
    Regards,
    gourav

  • Error no. SPRX084 when create a ABAP proxy class

    Hy Guys,
    I create a Web Services on Axis and Tomcat machine, it's in document/literal Style format.
    When I try to import WSDL to create an ABAP proxy class, Proxy class generator, returm me an error number SPRX084 having said me that the message, in part TAG on element Attribute, uses a wrong or inexistent element.
    I've the same case from "http://www.thomas-bayer.com/axis2/services/BLZService?wsdl".
    There's a solution?
    Best Regards,
    Antonello

    i tried with this wsdl (http://www.thomas-bayer.com/axis2/services/BLZService?wsdl) and dont get the error you are mentioning.

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

  • Soapfaultcode:1 Error when consuming webservice through abap proxy class

    Hi All,
    I am facing a issue executing a proxy class created by consuming web service.
    I have consumed a web service which queries data from oracle server to process them in SAP.We have created a Proxy class and did the following configurations:
    1) Created a logical port using SOAMANAGER
    2) In SICF t-code we have selected No proxy setting for local server.
    But when we execute the proxy class it gives an error as "SoapFaultCode:1'.
    Regards,
    Madhu.

    Hi Madhu,
    Please tel us how u have solved it. I am also facing this problem.
    I am trying to understand this problem description 'SOAP ACTION name by definition of the logical port.' via the thread Re: Get error "SoapFaultCode:1"Consume web service in ABAP proxy - But couldn't able to understand how to do this.
    Thank You,
    Regards,
    Naresh.

  • ABAP Proxy Class - GET_BUSINESS_SYSTEM_ERROR

    I am using ABAP proxy in R/3 to send data to third party system thro' XI. In our development XI it works fine but in our QA-R/3 I am getting error "An error occurred when determining the business system (NO_BUSINESS_SYSTEM)".
    Does anyone has any idea where should I look to resolve this error. This program worked fine before few days in our QA-R/3 system also.
    Thanks in advance.
    Mrudula

    Hi,
    Run transaction SLDCHECK. If it throws up errors, check the transaction SLDAPICUST, and also the RFC destinations for the integration server in sm59.
    Also, it would't hurt to check the business system settings in the SLD.
    It could also be a user authorisation error.
    Cheers
    Manish

  • ABAP proxy transmit data to XI asynchronous,how to capture the status

    We are facing a problem when using ABAP proxy to transmit record asynchronous to XI system. Situation is we canu2019t capture the status in   XI system , as if XI failed to receive the record, in R3 we need to update the record as not successful received.
    Kindly let me know if you have this similar experience in your project.
    Thanks in advance.

    -Create object and suboject in SLG0 transaction
    - In program
    *Call function to create log
          CALL FUNCTION 'BAL_LOG_CREATE'
    *Call function to add messages
            CALL FUNCTION 'BAL_LOG_MSG_ADD'
    *Call function to save all the messages to database
            CALL FUNCTION 'BAL_DB_SAVE'
    -View the log in SLG1 transaction

  • Outbound abap proxy class

    Hi,
    I previously succeeded in importing a standard software component for e-recruitment into PI. I was then able to associate this with my own software component in the SLD and create datatype enhancements for the standard SWC in my SWC.
    After that I was able to re-generate a standard proxy class in the e-recruitment system to contain my datatype enhancements.
    I did this a while back and now I have some additional datatype enhancements I want to do and then re-generate the proxy class.
    Here the problem is: When I try to do this again, I get prompted for a SSCR key for the standard class.
    Any suggestions? I was previously able to do the datatype enhancements without any SSCR key needed.
    Thanks,
    Dan

    hi
    You might be trying to change some standard sap objects thats why sscr key is required.
    you can refer to SAP Note 33154 for sscr details.
    re: sap notes and sscr
    Re: how to get the access key
    regards,
    ujjwal kumar

  • Read proxy class data

    HI All ,
    there is webservice which is defined on j2ee (had logical port on lpconfig and proxy class ) and we need to read it in report how i can do it ?
    I am new for this topic
    Regards
    Chris
    Edited by: Chris Teb on Oct 8, 2009 11:08 AM

    Hi,
    You can go to transaction SPROXY and there you can see the namespaces created for the proxies.This will be done by XI people.You need to click on the one which is created in Service Interfaces and the double click on proxy name you can see the class methods inside which you can see class code.
    Subhashini

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

Maybe you are looking for

  • Deleting a payment proposal

    Hi All, The invoice is stuck in a payment proposal in AP. The payment run didn't go through because of a small problem. I modified the invoice and now wanst to create a new payment proposal with that. But system is still pointing to old payment propo

  • ICloud sign-in not working

    So I'm a litte stumped here with iCloud. (OSX Lion 10.7.2). The first time (a few days ago) I decided to setup iCloud on my computer and it prompted me to sign in, but I chose the create a new @me.com account option. After completing the account crea

  • File access/locking problems, most notably with AutoCAD

    A number of sporadic problems of AutoCAD users who've been working away suddenly not able to write to the file they've been working on. If multiple people try to use the same Xrefs, often some will get that the file is corrupted report by AutoCAD. Wh

  • Column expression @ dasboard level not divideing by correct totals.

    Having a problem with a column measure at dashboard level. I read a post regarding using a union to fix- but wasn't sure that was the right approach for this issue. We have columns 1, 2, A, B, C, values for A and C are within different Fact Dimension

  • Indicator when in update task

    Hi guys, is there a way to determine whether a process is in update task ? Simular to SY-BATCH, but for in update task. I haven't seen something like that. I have a problem in update task where a screen is called, and it is causing a dump. regards, H