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

Similar Messages

  • User-exit/BADI during outbound ABAP proxy call

    Hello,
    I want to introduce certain check during outbound ABAP proxy calls to PI. This is a generic check, failure of which would stop the proxy call to proceed and raise an exception.
    I would like to place this at the generic place which is called for all the outbound ABAP proxy calls, rather than coding this in each and every outbound proxy class as the check is generic.
    Is there some user-exit/BADI where i can introduce this? Maybe within class CL_PROXY_OUTBOUND or somewhere else where i can introduce this check.
    Any help in this regard would be appreciated.
    Best Regards,
    Gajendra.

    Dear Gajendra ,
    i agree with sabrish, you must be having a z report on the application system that must be calling that outbound proxy...may be if the check is generic it may not be related to a proxy so you can code a FM and then call it before you call that proxy in the z report
    Giving points is another way to say thanks

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

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

  • Exception handling in outbound ABAP proxy

    Hi All,
    i need to catch exception in outbound abap proxy in two cases:
    1. if RFC dest in R3 which is pinging to XI goes down.
    2. IF xi server is down.
    in both the cases i need to catch the exceptions.
    now i written the code in this way:
    DATA: v_exceptions TYPE REF TO cx_ai_system_fault.
    TRY.
    CALL METHOD zirco_o_msg_if_as_req_details=>execute_asynchronous
    EXPORTING
    output = s_reference.
    COMMIT WORK.
    CATCH cx_ai_system_fault INTO v_exceptions.
    WRITE: 'Exception CX_AI_SYSTEM_FAULT caught'.
    WRITE: / v_exceptions->errortext.
    WRITE: / v_exceptions->code.
    but this code is not working.
    can anybody tell me how can i acheive this?

    Hi All,
    I need to log the error when receiver syatem is down.
    Its like this:
    Outbound proxy >>>XI>>>File adapter..
    Now if xi goes down....means message is succussefully sent from ISD and get stuck in XI then i need to catch this exception in ISD.
    Is it possible?? if yes then how??
    Kunaal

  • 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

  • CX_BGRFC_INVALID_DESTINATION during outbound abap proxy call on 7.1

    Hi guys,
    I'm trying to set up a scenario with outbound abap proxy call using the new WS adapter and when I execute the report with the proxy call I'm getting the CX_BGRFC_INVALID_DESTINATION exception.
    I've generated proxy w/o problems, I've set up everything in SOAMANAGER.
    Have you experienced this issue?
    Thanks for your help,
    Olian

    Hi guys,
    so my connection to SLD works fine now and I'm still getting the error. Any other ideas?
    Just in case:  this is my proxy code. Is this correct for using with 7.1 and WS adapter?
    REPORT  Z_PI_PROXYTEST.
    data sender_object type ref to ZCO_PROXYTEST_OUT.
    data out type ZMT_PROXYTEST_OUT.
    data lo_sys_exception  TYPE REF TO cx_ai_system_fault.
    data err_result type string.
    out-ZMT_PROXYTEST_OUT-data = 'sample'.
    try.
        create object sender_object
          EXPORTING
            logical_port_name = 'PROXYTEST'.
        call method sender_object->PROXYTEST_OUT
          EXPORTING
            output = out.
        commit work.
      catch cx_ai_system_fault into lo_sys_exception.
        call method lo_sys_exception->IF_MESSAGE~GET_TEXT
          RECEIVING
            result = err_result.
        write err_result.
    endtry.
    write 'Data has been sent to PI'.
    Thanks for your help, Olian

  • 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

  • Can we edit SOAP Header for an Outbound ABAP Proxy message?

    Hi,
    Can we add some information such as dynamic configuration to the SOAP header for the outbound ABAP Proxy from ABAP report in SAP Application System?
    Regards,
    Praveen Gujjeti.

    Hi Praveen, have you found soulution for this? Can you share it with me?
    From here http://help.sap.com/saphelp_nw70/helpdata/EN/d6/49543b1e49bc1fe10000000a114084/content.htm
    The help described that:
    Set logging in the message header. This means that this message is logged even if logging is deactivated explicitly in the configuration. The logging information is part of the message header:
    ¡        <SAP:Logging>1</SAP:Logging>
    Activates logging explicitly.
    ¡        <SAP:Logging>0</SAP:Logging>
    Deactivates logging explicitly.
    So it means that we can edit SOAP header for outbound ABAP proxy. But i haven't find the correct method to do that.

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

  • 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

  • How to trigger Outbound ABAP proxy from PI

    Hi Guru's,
    We have one scenario in which we want interface to be run at 5 minute interval in PI but it has to get data from R/3 via RFC or ABAP Proxy (No file interface). Is there any way to trigger PI interface to get data from R/3 and after mapping send it via AS2.
    Thanks in Advance.

    Hi Gyaneshwar,
    What Phani said is correct. Better you go with ABAP proxy, where you can validate the data with the condition, if fails you can raise an alert mail.
    The code something looks like:
    CALL FUNCTION 'Z_UTL_SENDMAIL'
            EXPORTING
              i_email       = gv_sender
              i_toemail     = ''
              i_subject     = gv_subject
            IMPORTING
              e_return_code = gv_subrc
            TABLES
              it_text       = git_text
              it_emails     = git_emails.
        ENDIF.
      ENDIF.
    There is no option to do it from PI.
    Thanks,
    Edited by: Hareenkumar on Feb 24, 2011 10:08 AM

  • Outbound ABAP proxy stops working

    Hello experts,
    We have an interface, which sends data from SAP to PI via outbound proxy. It worked before and at some point it stopped working in dev. But it still works in QA and production. I tried to make sure that the related objects in IR and the ABAP sender program are the same between DEV and QA and regenerated the proxy in SPROXY. However it did not work. No message could be found in SXMB_MONI and in the debugging mode, the exception of CX_INVALID_TRANSFORMATION raised when calling EXECUTE_ASYNCHRONOUS.
    The attribute INTERNAL_SOURCE_POS showed red in variable L_TRANSFORMATION_ERROR, which references to cx_transformation_error.
    Some of the called methods are listed below.
    outbound_handler_execut -> CALL_EXECUTE_OUT -> xi_call_outbound( ) -> xi_process_payload( ) -> CALL METHOD cl_ws_payload_handler=>data_render
    It is appreciated if you could shed some lights on this.
    Thanks in advance for your help,
    Shawn

    Hi.
    When you execute Proxy program check in ECC any message created in SXMB_MONI in ECC, of messages were found then shcek the status.
    if no messages then problem with Proxy program , take help from Abaper.
    Regards,
    Raj

Maybe you are looking for

  • How do I Identify Lead and Lag in consecutive dates with multiple values?

    I am using: Oracle SQL Developer (3.0.04) Build MAin-04.34 Oracle Database 11g Enterprise Edition 11.2.0.1.0 - 64bit Production I would like to identify the Lead and Lags based on two groups. The groupping is that multiple C_ID can be found in a Sing

  • Can't Get CS5 to work on new computer?

    Old computer crashed and shop installed Photoshop CS 5 on new computer but only Bridge will work.  When I click on CS 5 icon I get  the message 'Some Application Components are missing from the Applications directory.  Please reinstall the applicatio

  • DELETE Performance

    We are running Oracle 9i on Solaris 9. I have a delete statement that's taking too long. Can somebody please advice what to do reduce the run time? Here is that: delete materal_table where material_id = (select material_id from materials where name =

  • When adding soundtracks it creates a gap in the video

    There are times when adding music to the soundtrack that it causes other media such as photos, audio, narration to be pushed out on the timeline so there is a gap between the video.  I do a delete and close gaps.  I re-try to upload the music to the

  • Unit Conversion to KM

    Hello Experts! I have a requirement in reporting to display a quantity values in KM(Kilo Meter), NOs(Number). There is already conversion done into KG for the same quantity field. could any 1 explain me step wise on how to convert the the quantity va