ABAP Proxy generation from JAVA

Hi,
Is it possible to generate ABAP proxy classes from JAVA?
If possible then how do we call them during runtime from JAVA?
Here is what I am trying to do.
I have XSD  ( Open Travel  Standards schemas). I want to generate ABAP proxy classes for these XSDs.
So that I can call these ABAP proxy classes from JAVA during runtime. Real implementation of these methods will be implemented in ABAP.
Thanks,
Amara.

hi amara,
check this link
http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nwpi71/helpdata/en/3e/e3fb40f17af66fe10000000a1550b0/content.htm
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
let me know am i reach u r point
bvr

Similar Messages

  • ABAP Proxy generation terminated (WSDl choice element not supported)

    Hello
    Im trying to generate ABAP proxy from WSDL file (A valid XSD file has imported as External definitions in to XI Integration Repository and created Out bound Interface which gives WSDL file for Proxy generation in SPROXY).
    Unfortunately one of the WSDL file element "<choice>" not supported by ABAP Proxy Generation. it gives the following error.
    Proxy generation terminated: WSDL error (<choice> not supported)
    Message no. SPRX038
    Syntax of <choice> element code in WSDL file:
    <xsd:choice minOccurs='1' maxOccurs='1'>
    <xsd:element name='Employees' minOccurs='1' maxOccurs='1'>
    </xsd:element>
    </xsd:choice>
    Can some one please help if already come across this kind of problem.
    Please suggest me if there any alternate element for WSDL <choice>.
    Regards
    Rajesh

    Hi Aamir
    Thanks for your help...
    I have gone through attached thread.
    Does It means should i change <choice> element with any alternate element. If it is the case can u suggest me any alternate to <choice> element.
    Can u pls tell what are all changes i need to do in WSDL file to support ABAP proxy generation. 
    Regards
    Rajesh

  • 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

  • ABAP proxy object and JAVA proxy objects

    can anyone explain whether ABAP proxy object and JAVA proxy objects can communicate with each others?
    if yes then how???

    JCO connectors would be able to do the trick here i guess
    regards
    krishna

  • 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 to Call abap functn/program from java layer

    Hi all,
        I have to develop a program which has to call abap function/program from java side or how to call a abap program through java ..
    pls send me related links or explanations.. dont send unrelated answers..
    Regards,
    Arivarasu S

    Hi,
    You mean accessing ABAP functions from J2EE perspective, then I think we can do this by using SAP Java Resource Adapter and also through webservices.
    SAP Java Resource Adapter (SAP JRA) can be used as an add-on for the SAP JCo SAP JRA enables the implementation of standard interfaces from diverse J2EE servers to the SAP JCo in the SAP Web AS. The SAP JRA thus simplifies
    communication with ABAP within heterogeneous J2EE landscapes.
    Go through the following links which has Good documentation on how to achieve this
    Accessing BAPIs Using the SAP Java Resource Adapter
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ad09cd07-0a01-0010-93a9-933e247d3ba4]
    Connectivity and Interoperability
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/326d82e5-0601-0010-fca4-9caf27b89c26]
    Finally with WebServices. Accessing SAP Business Functions (ABAP) via Web Services
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/06adbf03-0a01-0010-f386-d8e45561a3c4]
    Regards
    Raghu

  • Just now i started learning ABAP and basically from JAVA background.

    hi,
    Just now i started learning ABAP and basically from JAVA background.Can anyone tell me how to implement(steps) java in sap(from where i have to start).
    regards,
    Venkat.

    Hi Venkat,
         if u know java very well, then u can take up EP. ABAP is also very easy one to read and understand, as ur basically from prgming background.
    To start with go thro the classical abap and then come to abapoo.
    u can find so many link when u search for doc in sdn.
    all the best,
    Regards
    Sathish

  • Server Proxy generation from WSDL in ABAP

    Hi ,
    I have  a WSDL file. Using transaction SPROXY i am abe to generate Cient proxy in ECC 6.0.
    Can i generate a erver Proxy also from the WSDL?
    Ifyes , then what is the approach , transaction etc to so, Any refeence document would be helpful.
    If no , then what should i use , to generate the Server Proxy.
    My scenario is that I have designing an Enterprise Service via Top - Down Approach . I have designed the Interface with operations and generated the Wsdl . now i need to generate the Server proxy  in ABAP SDL , so that i can write the implementation of the service in ABAP.
    Any help would be appriciated
    Thank You
    I

    Hoping to resurrect this thread. I have the exact same requirement. Anyone figured out how to do this?

  • Transporting ABAP proxy objects from one environment to another

    Hi
       I have  ABAP client proxy objects ( classes in ECC 5.0 and the corresponding XI message interfaces on the XI server ) - in my development environment.
    I need to move the ABAP proxy objects to the Qa environment. Two ways of doing this come to my mind.
    1) Move the proxy classes within the ECC 5.0 Dev --> QA using normal transport organizer in ABAP workbench. Parallely , move the XI SCVs - from dev to QA ( export/import ). After both are done, go to QA environment, setup basic ECC5.0 <-> XI connection and check whether my ABAP proxies work.
    2) As an alternate approach to no.1, move only the XI based SCVs from Dev -->QA , go to ECC 5.0 QA environment
    and regenerate the ABAP proxies there using SPROXY - perhaps this will not be allowed in the QA environment - since the client will not be setup for any object changes/creation.
    Any thoughts/links/weblogs on the above is appreciated.
    Thanks in advance for your time.

    Hi Kartik,
    We recently moved our outbound proxies from dev to QA and we followed the first approach and we did not face any issues with the approach.
    Also SAP suugests the same approach...
    "You create proxy objects in the development system by using the proxy generation functions. They are transported and shipped by using the tools in the development system. There are separate tools in the Integration Repository (see also: Software Logistics for XI Objects)."
    http://help.sap.com/saphelp_nw04/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
    Regards
    Anand
    Message was edited by: Anand Torgal

  • Error in ABAP Proxy generation?

    hai pals,
    my intention is to push the data from XI to SAPBWSEM system throgh an ABAP PROXY.
           but , here i got an error which i already mentioned in the forum, that is " no connection to integration builder(only local data visible) ".
            i went to the integration engine configuration in "SXMB_ADM" transaction in SAPBWSEM server.
            in sxmb_adm transaction ,the system ask for the "specific configuration data-catagory" like TUNNING , MONITOR,RUNTIME,TRACELOG,DEBUG and RFCADAPTER.
             im little bit confused in choosing the "catagory of configuration data".so can u pls help me in this error.
    with cheers.
    rajesh

    Did you create the RFC Destinations LCRSAPRFC and SAPSLDAPI to point your SLD ? If not do that.
    Then create RFC Dest INTEGRATION_DIRECTORY_HMI type H. Look at your XI box and make these 3 RFC Dests.
    Then use the following thread to fix your IFR_ADDRESS
    Values for table SPROXSET
    regards
    SKM

  • ABAP Proxy Generation

    Hi All,
    I trying to create the ABAP Proxy(OUTBOUND)
    I have created the message interface in XI and created outbound proxy in R/3 by using SPROXY Tcode.
    Created the ZProgram by calling class.
    and completed the Configuration steps in integration builder like (Receiver determination, Interface determination, Receiver Agreement and Receiver communication channel).
    When I trying to execute Zprogram in R/3 it is giving "Proxy creation do not transport" and I did not see any message in SXMB_MONI in XI and R/3 too.
    Is there any thing needs to be created in XI or R/3.
    any help how to trace this..
    Thanks
    M

    HEY MURALI,
    In short : these are development steps for ur proxy :
    1. generate the proxy based on a package of 4 layer strucutre.
    2. After generating the proxy , activate it.
    3. i will always test my proxy , at this level so that i can see its working and no issues w.rt. calling from z-program
    4. i will now go and check the working of z-program and activate and execute it. you can also check if the earlier steps were successful , w.r.t debugging ur program.
    5. Also check the settings/ configurations if anything missing.
    Hope this helps
    Vara
    [PLEASE REWARD FOR POSTING]

  • ABAP Proxy Generation on Interfaces with GDTs

    Hi all,
    I created an aggregated data type with references to data types listed under the SAP GLOBAL SWCV within the namespace for the GDTs.
    When I now try to generate an ABAP proxy in my backend system, I always get an error that these types cannot be generated because they have an other namespace.
    Well, this message sounds logical for me, because this GDTs have to reside within an other (super) package(?), but how do I have to proceed with that?
    From my point of view the GDTs delivered by SAP should already be generated within the ABAP Stack of the backend systems or they have to be automatically generated within a special package. When I try to generate it the system additionally wants to generate the GDT type references also with the custom prefix.
    Does anyone have a good explaination on that?
    Thanx
    Olli

    Hi Ollie.
    Have you got a link to somewhere where they mention this component?
    The problem I have with this is that there is business related content in the SAPGLOBAL SWCV. If you browse it you will see some Employee data types which relates to CRM systems. If you install this component on let say a SRM box what will it do with these "unrelated" business types.
    Will these types be generatable?
    Questions, questions...and finding answers is nearly impossible.
    Anyway, what we did is to develop a Custom Common component which contains only datatypes. All other SWC's has this component as a dependancy. When we developed a new interface we would look for the datatypes in the SAPGLOBAL SWC (or the catalog) and copy it to the Common component.
    We would then use the data types in the Common component to build the freeform data types in the other SWC's.
    This way you still have only one place to maintain the global data types (in the common component).
    Nice to share ideas.
    Rod

  • Problems in ABAP Proxy Generation

    Hi All,
    I tried to generate an ABAP proxy for outbound message interface "Interface_ABC", which is under software component "DEF".
    In our development system, I had successfully created ordinary function modules and structures under the package "/XYZ/UVW" using the prefix "/XYZ/".
    When I began the proxy generation, the system asked me to specify the package and prefix. So I specified the package to be "/XYZ/UVW" and prefix to be "/XYZ/".
    Then a warning window pops up. It reads "Package /XYZ/UVW does not belong to DEF". I clicked "OK". The "Create Proxy" screen shows up. Then I clicked the "Save" button. This time an error window pops up. It reads "Cannot extend package /XYZ/UVW". The action is thus cancelled by the system.
    Does anybody know what is the reason for this problem and how to solve it?
    Best Regards
    Jerome

    Please check the properties of the package in which you are tyring to save the PROXY.
    In your case it looks like the property PACKAGE NOT EXTENDABLE is switched on. Once you uncheck you should be able to save the proxy in that package.
    Regards,
    Ravi
    Note : Please reward points if you find the answer useful.

  • ABAP PROXY upgrade from XI 3.0 to PI 7.1

    Hi,
    We are planning to upgrade XI 3.0 to PI 7.1
    We have couple of interfaces with ABAP proxy, the SAP version is ECC Web AS 640.
    What factors do we need to take into account during this upgrade specific to Proxy development?
    Thanks
    Sachin K

    Hey,
    >We are planning to upgrade XI 3.0 to PI 7.1
    System  needs  64 bit OS for PI 7.1 , Will not support 32 bit OS
    Customer Adapters and Adapter modules have to be adjusted and redeployed
    Java Proxies have to be redeployed because JAVA JVM is installed during upgrade and JAVA JDK  not supported at all in PI 7.1
    >upgrade specific to Proxy development?
    For ABAP  Proxy Nothing, If the interfaces does not functions, The regeneration of proxy will do
    Cheers
    Agasthuri Doss

  • Duration of an Abap Function call from Java using Jco3

    Hi guys!
    I would like to use this discussion to get some refernces of the duration Timespan of an RFC call from Java to SAP. At the moment, i need at last about 200ms to call the Abap function. I'm just using one simple import and export parameter (so no deep structures). I think that the reason for my poor performance is, that the Java Tool and the SAP instance are not in the same network. So, i hope some of you have some data, how fast an RFC call from Java using Jco can be executed.
    greetings, Hannes

    Hi Hannes,
    I think you have already got the answer to your question - the network set-up you have is probably the bottleneck.  Whenever I've worked with Java <-> ABAP and they are in the same network, I've had no performance problems at all.
    Does your RFC contain any complex logic or business processes?  Are you able to try and call something that does nothing, say it just accepts an input string and returns it straight away as an export.  Do you have any scope for testing with your Java tool on the same network as the SAP system?
    Cheers,
    G.

Maybe you are looking for

  • Error when trying to open new query from Bex

    Hi guys, I m trying to open query designer from Bex explorer and i get the following error: The macro 'sapbex.xla!reponewquery'cannot be found. Can anyone please tell me how to rectify this? thanks in advance

  • Adding Bootcamp Partition, on SuperDrive failing Macbook 2011 Early

    I need to install my Windows License on my Macbook Pro 2011 Earyl, Lion. My SuperDrive began to fail nearly a month ago. My goal is to try install windows from an USB Windows 7 Bootable, helping me with rEFIt. Initiating process when trying to make m

  • Sharing 802.1x wifi connection via ethernet (to PS3 for example) - workarounds?

    The situation is this: my university network is 802.1x wireless, and I need to share the connection over Ethernet to a device that isn't compatible with 802.1x wireless. When I try to do this, Mavericks comes up with a message saying: Your Internet c

  • Framemaker 12 publishing error

    I am receiving a 'failed to import document' error when trying to publish to any format.  Is there a way to view a log or something to see what is going on?

  • ProvisionUsers Utility

    We used MSAD with shared services , MSAD user can login into workspace but not open planning application, we executed provisionusers.cmd utility to apply MSAD users sid into planning application, but we got an error as below in essbase server log, Si