ABAP Proxy and DynamicConfiguration

I'm working on a proxy.
Is there a way to create a FileName attribute in the Dynamic Configuration in an ABAP proxy?
Daniel

If you're using mapping, notice you can still do it in an ABAP mapping:
/people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping
It's not about the language, it's just that proxy runtime won't support dynamic config.
Best regards,
Henrique.

Similar Messages

  • How do ABAP Proxy and XI adapter work?

    Hi everybody,
    I have a general question about the ABAP proxy and XI adapter.
    In order to use the ABAP proxy and XI adapter, I must configure the HTTP Destination between the R/3 system and the XI server. I must also maintain the SLD.
    After several hours configurations with our administrator, it failed. At least the HTTP Destinations on both servers don't work correctly. We got always HTTP error message. But a scenario with an ABAP Receiver proxy works! It is really strange and laughable. We're very happy about that but don't know why and what happened. Today we tested the ABAP Sender proxy, it doesn't work.
    So we decide to ask the XI experts in this forum to give us a general lessen about the ABAP proxy: how it works, why we should create the HTTP destinations, how do the destinations work and so on.
    Thanks a lot in advance!
    With best regards
    Xiang

    Hi
    Once you create the interface in XI, you generate the proxies on your R3 system.
    Client Proxies -->
    This is done for outbound interfaces. You generate the proxy and then write a report that fills in the proxy class with the data and pushes it to XI.
    Server proxies -->
    Generated for inbound interfaces. Generate the proxy and write the implementation for the exectue method that deals with the data sent from XI to the R3 system
    Abap Proxy
    ABAP Proxies in XI(Client Proxy)
    Smarter Approach for coding ABAP Proxies
    The specified item was not found.
    ABAP Proxy - XML to ABAP Transformation
    http://help.sap.com/saphelp_nw04/helpdata/en/ba/f21a403233dd5fe10000000a155106/frameset.htm
    why we should create the HTTP destinations, how do the destinations work and so on.
    we create http destiantio because in proxies , adapter is not use so who is goin to send the message to integration server ...by creating http destinatio we create integration engine which send messg to IS . then messg is routed .and all
    error in HTTP to file scenario http to file
    hope this help's  you
    Regard's,
    Chetan Ahuja

  • How to extract attachment from ABAP proxy and store in archive link....

    Hi Experts,
    I need to consume an incoming email attachment in the ABAP Proxy program (POP Mail  --> PI --> ABAP Proxy) and then store this file in the IBM content management server through the Archvie Link connection.
    Any idea how to implement this piece of code in ABAP?
    Regards,
    Shobhit

    Hi Shobhit
    You can get the files from Sender Mail adapter. In proxy implement the method of protocol IF_WSPROTOCOL_ATTACHMENTS as said above.
    Archive Link supports HTTP, RFC etc depends on the system you are going to use for archiving. For your case you have IBM server i think you have to do HTTP synchronous. This will be like an interface again for you.
    Why are you using ERP system in middle. I think you can directly dump data to IBM server.
    Thanks
    Gaurav

  • Coding for ABAP Proxy and mapping

    Hi XI Ds
    which one need coding neither ABAP Proxy nor ABAP Mapping
    Thanks

    Hi Kushee  ,
    We need coding for both ABAP Proxy and mapping. We need to know some OO(Object Oreinted) ABAP concepts.
    We can also import JAVA CODE for certain functionality.
    Check the following websites for clarity:
    how to create a flat file out of an IDoc-XML by means of an ABAP mapping program and the J2EE File Adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    cheers!
    gyanaraj

  • Abap proxy and java proxy

    Hi
    Could you plz tell me when should we select ABAP Proxy and when should java proxy ?? Is it like that in SAP systems we use ABAP proxy and non-sap systems we use JAVA proxy ??
    Thanks
    Kumar

    To connect to SAP system with WAS >= 6.4, ABAP proxy is used.
    <i>
    Is it like that in SAP systems we use ABAP proxy and non-sap systems we use JAVA proxy ?? </i>
    Not always. As i mentioned the limitation of ABAP proxy.
    Also, Java Proxies cannot be used for any non-SAP application. it is generally used for communication with Java Application
    Regards,
    Prateek

  • Wheh to use abap proxy and when to use idoc

    Hi All,
    Please provide some clarifications for the below points :
    What is Sproxy?
    2.     Why we are using Sproxy instead of Idocs
    3.   When we are going Proxy ?
    4.   What are the types of proxy ?
    5.   How to Create to Proxy ?
    6.   What the Difference between SProxy  and Idocs
       7.   What is SOAP file? When we are using SOAP file ?
    Thank you.
    Regards,
    Bharat

    Hi Bharat,
    You seem to have a range of Questions. I will try and answer as many as possible.
    What is Sproxy?
    SPROXY is a transaction [T-Code] on the SAP ECC/CRM etc side where you can see the objects designed in SAP PI ESR and develop its corresponding ABAP code. SPROXY T-Code displays the Service Interface. You can read more about it in the following site:
    **************** - XI - ABAP Proxy communication
      2.     Why we are using Sproxy instead of Idocs
    For Certain implementations Standard IDocs may not be available and it is quite tedious to create a Z- IDoC and therefore it is advantageous to use Proxy. You can read more about this doubt in the following links:
    Choosing to use IDOC standard or ABAP Proxy?
    IDOC vs Proxy
    ABAP Proxy Vs IDOC
    3. When we are going Proxy ?
    When there are no Standard IDocs available. Please refer above links to get an answer for this.
    4.   What are the types of proxy ?
    5.   How to Create to Proxy ?
    Again the following link has the answers for both these questions:
    **************** - XI - ABAP Proxy communication
    6.   What the Difference between SProxy  and Idocs
    Difference is in the way the communication happens. Standard Idocs are already provided and you can use them directly while Proxy you will require to write the code on ECC side. You can refer the following link to understand more:
    Advantage of ABAP proxy over BAPI
    7. What is SOAP file? When we are using SOAP file ?
    I have not heard of anything called SOAP file. SOAP is a protocol used for communication and you can send files as attachment in your SOAP to Any(file/idoc/Soap etc) or vice Versa Interfaces. Infact Proxy itself is SOAP based communication with XI 3.0 Protocol.
    Please explore SCN to know more about the various scenarios. There are endless possibilities in SAP PI.
    Hope this Helps.
    Thanks &  Regards,
    Tejas Bisen

  • Direct Connection ABAP Proxy and Java Proxy possible ????

    Hi Folks ,
    As i read as direct connection possible between 2 SAP systems only ..
    and also i read as WS Direct Connection u2013 (Java) ..
    What it means ?? is it ABAP Proxy to Java Proxy using Direct connection ??  Like Java Client Proxy and ABAP Server proxy
    I am not clear on this.. Could you please explain or help me on this . ??
    Siva..

    Hi ,
    +You can do both for java proxies as well Abap proxies.+
    As per the following points
    1. Point-to-point connection is a new capability available with SAP NW PI 7.1. It allows applications or systems to send messages using WS-RM without going through a middleware, e.g. PI, but still using a centralized tool to design and
    configure the interfaces and connection properties.
    2. SAP XI 3.0/PI 7.00 or higher releases can be licensed based on the total volume of messages in
    gigabytes (GB) that is processed per month. The size of the payload is determined in the integration
    server. The information is then aggregated according to sender and receiver system.
    Question :
    1. If Message exchange between 2 SAP applications using direct connection .. Then dont we need to consider about licencing cost for volume of messages per month ?
    2. So if i use ABAP Client Proxy to Java Server proxy  scenario.. can i use direct connection  ? Eg., SAP ECC to java application ?
    In both the cases PI Runtime is not required  .. Am i right ?
    Please clarify..
    Siva..

  • ABAP Proxy and commit issue

    Hi,
    I want to send data using an ABAP proxy from SAP ECC to PI.
    The location where I call the method is in MV50AFZ1 Form uxerexit_delete_document
    In my opinion it is not wise to execute a commit work statement in this location. The proxy however needs a commit work to send the data.
    I also tried using a CALL FUNCTION ... IN UPDATE TASK. This also doesn't trigger the proxy to send the data.
    (and it is not allowed te execute a commit in update task .. .because it's already a "commit".
    Is there a way to get this thing working in this way? Or do you always have to program a separate program for sending the data with a proxy??
    Thanks
    Ron

    Hi Ron,
    Try submitting a report as a background job from the user exit...and inside this report you can write the code to call the proxy + commit.
    *Submit report as job(i.e. in background)
    data: jobname like tbtcjob-jobname value
    ' TRANSFER TRANSLATION'.
    data: jobcount like tbtcjob-jobcount,
    host like msxxlist-host.
    data: begin of starttime.
    include structure tbtcstrt.
    data: end of starttime.
    data: starttimeimmediate like btch0000-char1.
    Job open
    call function 'JOB_OPEN'
    exporting
    delanfrep = ' '
    jobgroup = ' '
    jobname = jobname
    sdlstrtdt = sy-datum
    sdlstrttm = sy-uzeit
    importing
    jobcount = jobcount
    exceptions
    cant_create_job = 01
    invalid_job_data = 02
    jobname_missing = 03.
    if sy-subrc ne 0.
    "error processing
    endif.
    Insert process into job
    SUBMIT zreport and return
    with p_param1 = 'value'
    with p_param2 = 'value'
    user sy-uname
    via job jobname
    number jobcount.
    if sy-subrc > 0.
    "error processing
    endif.
    Close job
    starttime-sdlstrtdt = sy-datum + 1.
    starttime-sdlstrttm = '220000'.
    call function 'JOB_CLOSE'
    exporting
    event_id = starttime-eventid
    event_param = starttime-eventparm
    event_periodic = starttime-periodic
    jobcount = jobcount
    jobname = jobname
    laststrtdt = starttime-laststrtdt
    laststrttm = starttime-laststrttm
    prddays = 1
    prdhours = 0
    prdmins = 0
    prdmonths = 0
    prdweeks = 0
    sdlstrtdt = starttime-sdlstrtdt
    sdlstrttm = starttime-sdlstrttm
    strtimmed = starttimeimmediate
    targetsystem = host
    exceptions
    cant_start_immediate = 01
    invalid_startdate = 02
    jobname_missing = 03
    job_close_failed = 04
    job_nosteps = 05
    job_notex = 06
    lock_failed = 07
    others = 99.
    if sy-subrc eq 0.
    "error processing
    endif.

  • ABAP Proxy and BPM with message maping

    Hi all,
    I have a scenario like :
    ABAP Client Proxy ( synch )
    ->    BPM  ( to retriggr SOAP call and raise alerts with error and reponse back to Abap client )              
    -> message mapping
    -> SOAP ( synch )
    1. What can be the issues with this scenario ?
    2. How can I return response and excetion back to ABAP client from BPM ?

    >
    > As per design guidelines for consistent processes -
    > we need to do all the error handling and alerts in
    > BPM.
    You mean you are planning to use a BPM for all Interfaces just because someone told so? Why use a BPM when there is no need for it. If you have a Business Process that demands a BPm then yes use it, but for this sceanrio, you can use Fault messages to propaggate the error back to the R3 system, and use the Xi alerts ( without BPM ) if a runtime error occurs etc.
    Is there some Business Process Involved here? What is the exact requirement?
    Regards
    Bhavesh

  • ABAP Proxy and fault messages

    I am calling a Outbound proxy (Asynchronous) from R/3. Should I catch fault after the call?
    When I don't catch fault, I get the following warning message. What should i do about these warning message?
    <i>The exception CX_AI_SYSTEM_FAULT is neither caught nor is it declared     in the RAISING clause of "EXECUTE_ASYNCHRONOUS".          </i>
    Any ideas?

    Hi SSG,
    Check this
    Proxy framework: Catch CX_AI_SYSTEM_FAULT
    cheers
    Prashanth
    P.S Please mark helpful answers

  • Receive mail with PDF attachment into XI and send to ABAP proxy

    Hi,
    I have a scenario where I need to receive a mail into XI that has a PDF attachment. This attachment needs to be retained as ultimately I need to send the message into CRM via an ABAP proxy and read the attachment and load against a business partner.
    However, as I am only on SP13 I do not have the parameters such "Keep Attachments" available to use.
    So I have two questions:
    1. How do I receive the mail into XI with the PDF attachment ?
    2. How do I read the attachment in an ABAP proxy ?
    Any guidance in either question would be appreciated.
    Cheers
    Colin.

    hi,
    you say that there's no keep attachment
    indicator but does the XI store the attachment or not?
    maybe it stores all attachmens
    (I work with sp16 and I don't remember how it worked with sp13)
    but try maybe it accepts attachments by default
    then it would be quite easy
    if you use then use the attachement in abap proxy
    (like I said you won't have to use any java)
    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>

  • 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

  • Receive CSV attachment via Mail Adapter and process into ABAP proxy

    Hi,
    I have the following scenario:
    1. Receive e-mail with CSV attachment
    2. Process through Mail adapter (KeepAttachments = Yes in order to retain the CSV attachment)
    3. Receive into ABAP proxy (with CSV attachment)
    The next step is to read the attachment in the ABAP proxy and process the CSV attachment data into CRM.
    The CSV attachment contains the data I wish to process - the body of the e-mail will not contain this information.
    The problem I have is reading the attachment data in the proxy - not sure of the methods/class to call - anyone got any ideas ?
    Another question is this the best way to do this and process the CSV attachment data ?
    I know I could use the PayloadSwapBean to switch the payload to the attachment but then I am stumped with how the attachment is processed through PI 7.1 - how do you transform the CSV format payload into XML so PI will be able to process it through mapping.
    Either option is viable - an answer to either question would be great.
    1. How do you read the attachment data in an inbound ABAP proxy ?
    2. How do you transform the CSV attachment data after the PayloadSwapBean from CSV to XML ?
    Kind regards
    Colin.

    Hi Colin
    As you are not interested in processing the body of email. Swap the payload to the attachment using the PayloadSwapBean
    Change the content from CSV to XML using MessageTransformBean. Now pass this information to Proxy. You dont need to deal with attachments in proxy.
    It is not possible to read attachment in server proxy because the class and interface you create will not have data type which can refer to an attachment processing interface in ABAP.
    Thanks
    Gaurav

  • ABAP Proxy sender possible in integrated configuration AAE with PI 7.11

    Hi guys,
    we are running PI 7.11.
    We have serveral scenarios where the senderis an ABAP proxy and the receiver is reached by a jave adapter.
    With Ehp1 the SOAP adapter offers the possibilty to chose XI 3.0 as message protocol.
    We use this feature already in scenarios where ABAP proxy is receiver.
    But is it also possible to use it at sender side?
    Kind regards
    Jochen

    Hi Volker,
    thanks for your help.
    You could also use ABAP proxy at sender side during integrated configuration.
    Prerequisite is to implement SAP note  1349125 and use following url for acessing the PI from SAP backends.
    http://<host>:<port>/XISOAPAdapter/MessageServlet?ximessage=true
    With this URL you could ABAP proxies in normal scenarios where integration server is involved as well as  in integrated configurations.
    Kind regards
    Jochen

  • 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

  • Unable to synch itune movie to my ipod classic

    Hello - I recently bought an ipod classic, but it will not sync my purchased movie. I've noticed the movie has an exclamation mark beside it. When I checked my itunes file; the movie downloaded to a "Downloads Folder", is there something wrong?

  • Access DMS document throgh CRM

    Dear Gurus, Is it possible to access DMS document throgh CRM. Is there any object available for CRM like customer compalints, Solution provided Excetra..., Can any one share the doc for CRM-DMS object config. Thanks in advance.

  • Adobe Ilustratir cc and cs6 crash on boot windows 8

    I installed adobe illustrator cc on my pc ( running windows 8.1 pro x64 ) and after installation when i open it stay for some seconds then it auto extit ( crash ) without giving any error or stopped working , so i installed adobe illustrator cs6 but

  • Has anyone had trouble getting deposit check?

    I have been waiting for my deposit check for almost 14 weeks and Verizon told me the other day they have sent my check out again for the 3rd time and it will be another 2 to 3 weeks......Also just found out today that my check is for only half of wha

  • BIAR File error: Error in opening zip file

    Hello BO Gurus, We are using Import wizard to deploy updated universe and reports from Dev to testing and production environment. I imported universe and reports to BIAR file in Development. But when I am trying to deploy the universe and reports to