ABAP Proxy creation doubt   -  Pls Help

Hi Friends ,
                      I have referred the following blog for abap proxy creation
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
                  as per the previous replies , <b>we have to generate proxiy from R3 syetm</b> . <b>But</b> in this weblog they are <b>generating from XI server</b> ?
                      The  have doubt  in the following passges
1.
<i>We use two clients of XI here. <b>Client 100 acts as XI server</b> .<b>Client 105 acts as a client ABAP proxy</b> which sends employee information as a message to XI which routes the info to a file. Logical flow is depicted as shown below. Note that conversion of sending system format to XI specific format is not done at the outbound side of the XI server.</i>
<b>
           a.  i have webAS 6.40 . i have  R3 6 . So i can generate proxy from R3 it self right ? then how to procedd further .
            b. So Proxy and report to call proxy also from R3 SIDE ?
            c. If No sender agreement  required then in IR only receiver determination and receiver agreement is enough ? 
            d. Then in receiver Detrmination , do i need to give Business system as sender service ?
              </b>
        <b>    can u please explain this a little bit more ?</b>
Regards.,
Shyam

Hi Shyam,
<b>we have to generate proxiy from R3 syetm . But in this weblog they are generating from XI server ?</b>
   In this blog, Ravi has taken two different clients in the same system. As the abap code is client independent so it can be generated anywhere irrespective of clients. But while executing the report we cannot do it from the same client as of the IS.So we need to trigger the report from the client 105 which is considered as the client proxy.
  check Triggering ABAP PROXY in the blog.
<b>c. If No sender agreement required then in IR only receiver determination and receiver agreement is enough ?</b>
   Yes.
<b>d. Then in receiver Detrmination , do i need to give Business system as sender service ?</b> 
You can create business system for the R/3 and use it in RD.But the business system dont have any sender communication channel and no need of sender agreement as the data will directly hit the IE of XI.
Regards,
Prasanthi.

Similar Messages

  • Reg:Abap proxy creation

    Hi All,
             I am  trying to create proxy in R/3 system using SPROXY TC but it pops out a message as "No connection to Integration Builder" what does it mean and how to proceed with that.
    Thanks in advance
    B.Lavanya

    Hi
    Are you configured the necessary settings in R/3 and XI side.
    Please check the following links.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies. [original link is broken]
    Clarifications on How to Activate ABAP Proxies?
    First verify if your proxy is properly communicating with XI Integration server. Goto SPROXy transaction and see if the replica of IR is available.
    Then just refresh and reactivate the proxy that you are calling.
    Please refer below links
    Debug your ABAP proxy
    /people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
    SPROXY not working:
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f83deb90-0201-0010-189c-8d3ff87572f8
    ABAP Proxy configuration:
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm

  • ABAP Code for Inbound ABAP PROXY Creation

    Hi,
    Can anybody help me to create Inbound ABAP proxy programee, by using PRoxy.
    As interface is between PI and ECC.
    Through RFc setting i hv to accomplish it.
    If u provide psuedo code that would we be grateful.
    Regards
    Vivek

    Hi,
    Can anybody help me to create Inbound ABAP proxy programee, by using PRoxy.
    As i hv to fetch data from Pi/Xi, by using proxy,
    then i have to send it to SAP tables.
    If u provide psuedo code that would we be grateful.
    Regards
    Vivek

  • ABAP Proxy creation in BI system

    Hi
    I am trying to PUSH data from BI to PI , In which I am using ABAP Proxy.
    To activate this I am following the below blog
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    In this they are trying to change the setting which are critical where the pipeline address is assiged to the IS_URL . see the below setting from the blog.
    "2. Configuration Business system as local Integration Engine.
    1. Goto Transaction SXMB_ADM
    2. Choose Edit --> Change Global Configuration Data.
    3. Select Role of Business System: Application system
    4. Corresponding Integration server: dest://<HTTPDESTINATION>. Here <HTTPDESTINATION> SAPISU_XID created in step 1. Dest://SAPISU_XID.
    5. Under Specific Configuration Data you can specify additional configuration data
       1.Select the relevant category under Specific Configuration Data.
       2.Choose Change Specific Configuration Data.
       For ABAP Proxies, Add the following configuration:
         1.Category RUNTIME
         2.Parameters: IS_URL
         3.Current Value: dest://SAPISU_XID
    I am afraid will this effect any problem if I change any standard setting.
    Please confirm this if any one had already done this,
    Regards
    Shurk..

    Hi,
    I have done this and there is no problem at all.
    Just go ahead.
    Just make sure RFC connection which you have created in step 1 is working fine.
    Regards,
    Sarvesh

  • ABAP Proxy creation

    Hi Experts,
    I am doing a file to proxy scenario. Now, while creating the proxy of inbound interface I am going to the SAP R/3 Server but finding out that an error is coming "No Connection to Integration Builder(only generic data visible).
    Please let me know what maybe the issue or is their any configurations required for this.
    Regards,
    Aniruddha

    Hi ,
    Proxy objects implement message interfaces from Integration Repository. Proxies are executable interfaces, which converts non-language-specific interface descriptions into WSDL. i.e., you use proxies to implement the actual message exchange that is described in the Integration Builder
    ABAP proxy generation gets the WSDL description for message interfaces from the Integration Repository (WSDL Web Service Description Language) by using http. In WSDL, data that is transferred using messages is described using XSD (XML Schema Definition Language).
    Yours is Server proxy .
    Configuration to be done in Business System  For E.g,  ECC/CRM/BI etc.,
    1.     SM59 : Create RFC Destination Type : H  , to establish the HTTP connection to PI system
    Target Host          : System name
          Service Number          : HTTP Port name
    PathPrefix          :/sap/XI/engine/?type=entry
    name : PI_IR_CONNECTION
    2.     Configuration Business system as local Integration Engine.
    i.          Go to Transaction SXMB_ADM
         ii.            Choose Edit --> Change Global Configuration Data.
         iii.      Select Role of Business System: Application system
         iv.     Corresponding Integration server: dest://<HTTPDESTINATION>. Here <HTTPDESTINATION> XI_XIR_CONNECTION created in step 1. Dest://PI_IR_CONNECTION.
         v.       Under Specific Configuration Data you can specify additional configuration data
    u2022     Select the relevant category under Specific Configuration Data.
    u2022     Choose Change Specific Configuration Data.
    u2022     For ABAP Proxies, Add the following configuration:
    1.Category     :     RUNTIME
    2.Parameters     :     IS_URL
    3.CurrentValue     :     dest://PI_IR_CONNECTION
    3.     Connection between Business System and System Landscape Directory
    u2022     Check/ Create RFC destination TYPE-  (TCP/IP) LCRSAPRFC and SAPSLDAPI for the SLD connection.
    4.     Maintain SLD access details in Transaction SLDAPICUST
    5.     Check SLDCHECK works fine
    6.     Checks all queue are registered and activated .Else go and activate in sxmb_adm  -->  Manage Queue
    Regards.,
    V.Rangarajan

  • ABAP proxy Creation error

    Hi All,
    I'm trying to create a synchronous ABAP proxy out of my outbound interface. When I do that I get an error saying that
    <b>Cannot generate proxy (object <attributename="type"> missing in WSDL, see long text)</b>
    Now when I remove the reponse message from the interface and make it asynchronous, I'm able to create it without any trouble. So the trouble lies in the reponse message which is a XSD file imported as an external definition. Request message is also an external definition.
    The reponse WSDL is as follows:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" targetNamespace="urn:ebay:api:PayPalAPI">
         <wsdl:types>
              <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:ebay:api:PayPalAPI" targetNamespace="urn:ebay:api:PayPalAPI" elementFormDefault="qualified">
                   <xsd:import namespace="http://schemas.xmlsoap.org/soap/envelope/" schemaLocation="DoDirectResponse.xsd" />
                   <xsd:import namespace="http://schemas.xmlsoap.org/ws/2002/12/secext" schemaLocation="wsse.xsd" />
                   <xsd:import namespace="http://www.w3.org/1999/XMLSchema-instance" schemaLocation="xsi.xsd" />
                   <xsd:import namespace="urn:ebay:apis:eBLBaseComponents" schemaLocation="ebl.xsd" />
                   <xsd:element xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" name="RequesterCredentials">
                        <xsd:complexType>
                             <xsd:sequence>
                                  <xsd:element ref="ebl:Credentials" />
                             </xsd:sequence>
                             <xsd:attribute ref="xsi:type" use="required" />
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:element xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" name="DoDirectPaymentResponse">
                        <xsd:complexType>
                             <xsd:sequence>
                                  <xsd:element ref="ebl:Timestamp" />
                                  <xsd:element ref="ebl:Ack" />
                                  <xsd:element ref="ebl:Version" />
                                  <xsd:element ref="ebl:Build" />
                                  <xsd:element ref="Amount" />
                                  <xsd:element ref="AVSCode" />
                                  <xsd:element ref="CVV2Code" />
                                  <xsd:element ref="TransactionID" />
                             </xsd:sequence>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:element xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" name="Amount">
                        <xsd:complexType>
                             <xsd:simpleContent>
                                  <xsd:extension base="xsd:decimal">
                                       <xsd:attribute name="currencyID" type="xsd:NCName" use="required" />
                                       <xsd:attribute ref="xsi:type" use="required" />
                                  </xsd:extension>
                             </xsd:simpleContent>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:element xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" name="AVSCode">
                        <xsd:complexType>
                             <xsd:simpleContent>
                                  <xsd:extension base="xsd:NCName">
                                       <xsd:attribute ref="xsi:type" use="required" />
                                  </xsd:extension>
                             </xsd:simpleContent>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:element xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" name="CVV2Code">
                        <xsd:complexType>
                             <xsd:simpleContent>
                                  <xsd:extension base="xsd:NCName">
                                       <xsd:attribute ref="xsi:type" use="required" />
                                  </xsd:extension>
                             </xsd:simpleContent>
                        </xsd:complexType>
                   </xsd:element>
                   <xsd:element xmlns:ebl="urn:ebay:apis:eBLBaseComponents" xmlns:xsi="http://www.w3.org/1999/XMLSchema-instance" name="TransactionID" type="xsd:NMTOKEN" />
              </xsd:schema>
         </wsdl:types>
         <wsdl:message name="RequesterCredentials">
              <wsdl:part xmlns:generateduniqueprefix15="urn:ebay:api:PayPalAPI" name="RequesterCredentials" element="generateduniqueprefix15:RequesterCredentials" />
         </wsdl:message>
         <wsdl:message name="DoDirectPaymentResponse">
              <wsdl:part xmlns:generateduniqueprefix16="urn:ebay:api:PayPalAPI" name="DoDirectPaymentResponse" element="generateduniqueprefix16:DoDirectPaymentResponse" />
         </wsdl:message>
         <wsdl:message name="Amount">
              <wsdl:part xmlns:generateduniqueprefix17="urn:ebay:api:PayPalAPI" name="Amount" element="generateduniqueprefix17:Amount" />
         </wsdl:message>
         <wsdl:message name="AVSCode">
              <wsdl:part xmlns:generateduniqueprefix18="urn:ebay:api:PayPalAPI" name="AVSCode" element="generateduniqueprefix18:AVSCode" />
         </wsdl:message>
         <wsdl:message name="CVV2Code">
              <wsdl:part xmlns:generateduniqueprefix19="urn:ebay:api:PayPalAPI" name="CVV2Code" element="generateduniqueprefix19:CVV2Code" />
         </wsdl:message>
         <wsdl:message name="TransactionID">
              <wsdl:part xmlns:generateduniqueprefix20="urn:ebay:api:PayPalAPI" name="TransactionID" element="generateduniqueprefix20:TransactionID" />
         </wsdl:message>
    </wsdl:definitions>
    I would be really grateful if I could get a resolution as I'm badly stuck because of this issue.
    Thanks
    Arvind

    Hi Arvind,
    Check the following,
    1. The tag <part name="" type=""> is not supported with ABAP Proxies.
    Cannot generate proxy
    2. Check for recursion - Cannot generate ABAP proxy
    3. keep in mind tht ur application system is based on 6.40 or higher versions.
    Regards,
    Prateek

  • Urgent doubt :: pls help

    i want the output html of a jsp page redirected as an excel sheet. how is it to be done. pls. help.
    advance thanks,
    Prabhu.V.C

    Also, be sure to put 'tabs' - \t not spaces between the columns you want to create. Otherwise, each line will be formatted into one column.
    G.

  • ABAP Proxy, WEB SERVICE and RFC

    Hi
    I have to pull the data from XI.
    I have the PDFdocument of how to integrate XI with BI.
    But i am not clear what is abap proxy and web service.
    Could anyone let me know basic of what is abap proxy and webservice.
    Is abap proxy and webservice are present in both the systems XI&BI ?
    REgards
    annie

    Hi,
    ABAP proxy is a  connection between SAP XI & BI . For all the connections need to chk  in SM59, and SICF .
    proxies are a replacemet for adapters whereas webservices(WSDL) are replacements for data typesYou generate proxies from an interface description in WSDL (Web Service Description Language) by using ABAP proxy generation.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/46d6c25d-0b01-0010-06a9-8e8218753c02
    The SOAP adapter enables you to exchange SOAP messages between remote clients or Web service servers and the Integration Server. Also you can use the axis framework with SOAP adapter. Check this help:
    http://help.sap.com/saphelp_nw04/helpdata/en/45/a4f8bbdfdc0d36e10000000a114a6b/content.htm
    We can Communicate between SAP System & Webservice Using Proxies. Check this weblog for some information on this:
    /people/siva.maranani/blog/2005/05/23/communication-between-sap-system-webservice-using-proxies
    ABAP Proxy -> XI -> Webservice :
    pls chk this links;
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    http://www.webservicex.net/WS/WSDetails.aspx?CATID=4&WSID=59
    /people/thomas.jung3/blog/2004/11/17/bsp-a-developers-journal-part-xiv--consuming-webservices-with-abap
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/3022- [original link is broken] [original link is broken] [original link is broken] 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/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Hope this helps,
    Regards
    CSM Reddy

  • Abap Proxy to Send RFC  data  -- xi - File    ,   how to do - pls help  ?

    Hi Friends ,
                           Our scenario is once in day an  RFC is to be triggered and create flat file .That RFC will return data .
       Using  below likns i have configured the RFC Sender adapter
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    First Activate the ABAP Proxy?
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    How to implement a Client Proxy?
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    My question is
    <b>     1.    Is it possible to use ABAP Client proxy   to achive this ?
          2.   Then do we need to write RFC Call in side this proxy call ?
          3.      If we go for proxy do we need RFC Sender Adpater ?</b>
            I am little confused can you please explain , as how it works ?
    <b>       Is there is any other way to trigger RFC to send data ?</b>
    Regards.,
    Shyam

    Hi sabrish ,
                          Tahnks for ur reply. I was waiting for ur response . i have doubt
    the foloowing code i got from ur blog .
    REPORT Z_TEST_RFC_XI_WEBSERVICE.data: lv_distance type char10.CALL FUNCTION 'Z_WEBSERVICE_TEST_SHABZ' <b>destination 'Z_WEBSERVICE' </b> EXPORTING FROMZIP        = '12222' TOZIP          = '22222' IMPORTING  DISTANCE       = lv_distance.write : 'Distance is : ' , lv_distance.
      <b>           1. i have to generate proxy from Out bound interface right ? inside that proxy class whare i have to in clude the code to call rfc ?
                  2. Can u please tell what is the Destination in that report.  What is z_webservice ?</b>
                  3 . Do we need to use RFC Sender adapter ? It is not related to proxy right ?
    Regards.,
    Shyam
    null

  • Doubt in ABAP proxy

    Hi friends,
    I am working on ABAP Proxies in XI(Client Proxy)
    After creating the Message interface in Integration Repository ,
    I went to the ABAP proxy generation,using SPROXY.
    And went to he Message Interface (Outbound) .There its displaying
    "Proxy_intfc_OB" (this is  the message interface defined in IR)
    But when Right click on the out bound interface and press " create" .Its asking me
    "Specifications for Objects to be generated"
    under it
    Package :
    Prefix :
    whats these two and what I have to give here ....
    pls help me...

    Hello,
    When I right click  on the message Interface (OB) in SPROXY.
    I created a Package and prefix and entered.
    It showing a pop up window
    with title : Add Developer.
    Message : You are not registered as a developer .Please register in the online service system(OSS) in the OSS you will recieve an access key .
    Key
    User Name : sap1user2     
    Access key :
    Installation :  "Installation number "

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

  • Doubts about my ABAP proxy scenario

    Hi everyone.
    I have this scenario. I think is simple but don't know how to do that. I have many questions for the forum.
    An abap proxy has to start a process in the XI Server.
    Data is stored in a R3 Backend and must be sent to XI Backend via ABAP proxy.
    Both backends are different machines.
    My doubts come here : how can data travel from R3 Backend to XI Backend ?
    Do i have to define something so ABAP Proxies know where to send the data (url, ip .. )?
    How can i define a ABAP proxy in a R3 Backend if integration repository definitions are in other machine?
    Another doubt is ... why i don't have to make a receiver determination or sender channel in XI? because XI is listening in an url that has been defined in R3 Backend?
    Regards.
    Inigo.

    HI,
    Suppose if you are creating ABAP proxy with the ta SPROXY in ABAP stack of R3.
    this is not backend.
    see the below links
    /people/siva.maranani/blog/2005/04/03/abap-server-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
    /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
    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
    regards
    Chilla

  • 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

  • I want to learn HR ABAP Pls help

    Hi all
    I want to learn hr abap but sites like sap-img and sap.com and atomhr doesnt help to start .Once we know basic concepts then we can continue But to kicj off its difficult.Tried all main sites but no use
    Pls help if you have any good material.
    is it called HR abap or SAP hr?
    is info types starting with 0001 or is it with p0002???
    which is the one?
    George

    Hi,
    Chek these links:
    Re: Find Storage location with respect to Plant
    http://help.sap.com/saphelp_47x200/helpdata/en/4f/d5275f575e11d189270000e8322f96/content.htm
    http://www.sapdevelopment.co.uk/hr/hrhome.htm
    http://www.sap-img.com/human/hr-faq.htm
    http://www.hernangn.com.ar/sap.htm
    http://www.planetsap.com/hr_abap_main_page.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/25/37e0343734cf72e10000009b38f83b/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/8c/38e0343734cf72e10000009b38f83b/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/d4/6afde6358e11d6b48900010220c65f/frameset.htm
    http://www.sap-img.com/human/hr-faq.htm
    http://www.hernangn.com.ar/sap.htm
    http://www.sapgenie.com/mysap/mysap_hr.htm
    Best Regards,
    Anjali

  • 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

Maybe you are looking for