Idoc to Proxy code..

Hi,
Currently, one of my client is using Idoc's to load data (from sender file) into R/3 but becuase of Idoc's we are facing some performance issues.
My question is that
1.  is it possible to convert the Idoc processing logic into a code, which can be used inside server proxy.
2. How much performance is going t improve using such a methodology.'
Thanks....

Hi,
What should be the basis to decide when to use proxies, RFC adapter and idoc adapter.
We have to first check for our scenario do we have the standard IDOC or not.If we have the IDOC then we have to go with the IDOC.
If client need some validation and need to add some fields. that can be done by extending the IDOC and we can copy the standard IDOC and we can modify the code in the funtion module.
Next we have to go with RFC when we require the responce back from the  target system. we have to check is there any standard BAPI or not.If u dont find then u can do customize RFC according to client requirement.
We have to go with Proxy if we dont find the Standard IDOC.
and if we have to RFC to be called at a time.
Suppoce if ur doing a scenario were u have to create a production order in this case we can go with RFC but after creating we have to  commit the BAPI that cant be done in one process. we have to go with BPM and again performance issue.
In this type of cases we go with proxy scenario.if cleint require any data validation we ca do it.
If we want to reporcess the error date we ca do it. we ca send an intimation mail from proxy to user. this all can be done in proxy scenario.
Thanks and regards,
Phani

Similar Messages

  • Idoc to proxy scenario with an acknowledgment

    Hi ;
    I have to implement a IDoc to abapProxy scenario but an application acknowledgment must be return so IDOC status will be set.
    How can i understand whether an application error exists while abapProxy is executing or not in status of IDOC?
    Do I need to create and sent back new IDOC to the sender system in abapProxy code?
    Thanks.

    Hi,
    See if you just want the ack for your IDOC coming from r/3 to XI, then you can use ALEAUD01 IDOC and you can configure it by running report IDX_NOALE in XI system..........
    But if you want status change for appl error occuring in ABAP proxy system, then i think you will have to use a BPM for it.........you will have a recive step for getting your IDOC, then a transforamtion step for IDOC to proxy mapping, then a synch send step for sending proxy req and getting proxy response, then a transformaton step for mapping the proxy response to SYSTAT01 IDOC in r/3 for changing the IDOC status depending on success or error for your proxy response, then a send step to send this IDOC to r/3 system...............keep teh IDOC number in proxy req and proxy response so that you can use it in SYSTAT01 IDOC for sending it to r/3 and changing your IDOC status.
    Regards,
    Rajeev Gupta

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

  • How to debug XI--- R/3 (abap server proxy) code,  SYSFAIL in SMQ2

    Hi
    i have a XI (BPM) to R/3 (ABAP server proxy) scenario,
    when the data goes from XI to R/3, it is getting stuck at R/3 inbound queue (SMQ2), with status : SYSFAIL and error text: "No roll storage space of length
    3391496 available for internal storage",
    we tried activating the queue/ reexecute the LUW, but it still shows the same error status after running for some time,
    how can i debug the ABAP server proxy,
    pls tell me how can i debug the ABAP proxy code in the R/3
    very critical issue

    Have a look at SAP Note 17965 - No storage space available
    Regards,
    Prateek

  • Debugging ABAP Proxy code

    Hi,
    I have problem in ABAP Proxy. When i upload a XML and test the ABAP Proxy code it is working fine, but when i trigger the change from sender, its updating the wrong value in the database.
    I checked the incoming and the converted XML, everything is correct and there is no prob in the XI.
    Please tell me is there any way to debug the ABAP Proxy during the actual proccessing i,e. when the change is triggered from the sender.
    Thanks and Regards,
    Arunsri

    I've had the same problem before...everything seemed fine but the xml was not updating the desired values - you have 2 choices - 1. Enable the debugging, but if you have a high volume scenario, then it may cause some issues. Also, I am not sure if you plan to do this in production - as you know, debugging in production is a big No-No.
    Option 2 is to just take the stream and store it as a file in the OS. This is what we followed and we were able to figure out the issue with the xml. Make sure you write it in such a way that you can turn it off immediately. In our case, it worked fine for all suppliers but one and this one supplier was sending a double spaced character in between, which was causing the issue.
    Regards,
    Srini

  • Why is a sender communication channel not required for IDOC and PROXY ?

    Hello,
    In case of IDOCs, metadata will be available in PI for the IDOCs used both at inbound and outbound.
    Why is a sender communication channel is not required in case of IDOC and PROXY outbound scenarios (i.e. IDOC to File or PROXY to file ..)  when a receiver channel is required for scenarios like file to IDOC or file to PROXY.
    Though this might be a regular question, I am not able to find a proper reason.
    Please let me know the reason for the above request.
    Thanks & Regards.

    You will create RFC destination in ECC , it will have details about PI system details, when ever you send IDoc, ECC will use Port and RFC destination to connect PI Integratiion engine to deliver data to PI.
    But when receiver side you will create RFC destination in PI with ECC details, but to call RFC destination and Port we need medium that was the reason we create IDoc communication channel.
    Even the same case for Proxy also, but HTTP deastination establish the conection between ECC and PI, but receiver side you have to create XI channel with PI integratioin engine adress to post data.
    Regards,
    Raj

  • Consuming WebServices in ABAP WebDynPro via webservice proxy code

    Hi,
    My requirement is to consume a webservice using WSDL(basic authentication) in WebDynPro ABAP. then based on the SOAP response I need to show a pop up message whether the response valid or not.?
    I first tested the webservice by creating LPCONFIG Logical Port and generated WebService Proxy class.
    It got response correctly with basic authentication enabled each time I send a request.
    Secondly I generated webservice proxy code using service calls on creating webdynpro test application with some UI elements. Service call created Nodes,attributes and method correctly.
    it's giving me error when it tries to invoke webservice method through generated code.
    Question is that How do we code authentication to the webservice method via WebDynPro ABAP code.
    I appreciate anyone who worked on this area and taken basic authentication via coding. or worked successfully through coding.
    Thanks
    Praveen

    hi
    Refer this:
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/6066fbe8-edc4-2910-9584-a9601649747d
    It might be usefull for u.
    Regards
    Vivekananthan.S

  • Please provide the Message type ,IDOC TYPE , PROCESS CODE for Edi 990 ,214

    Hi friends,
    Please provide the Message type ,IDOC TYPE , PROCESS CODE for Edi 990 (Response to a Load Tender)., 214 (Shipment Status )
    For shipement status i got trxstc01 for idoc type .. but its only before 4.6 version ..for 4.7 its not there .. please give the alternate for that ...
    Thanks in Advance ....
    If any one is provide exact answer i will give Max marks ..
    Edited by: ajay KOLLA on Aug 6, 2009 8:04 AM

    Hi,
    Have you resolved this issue. If yes, can you please let me know. Im actually looking for same for EDI 867 (guess it is for summary report and need to know message type, Idoc type associated with this).
    Rgds
    Sudhanshu

  • Message type ,IDOC TYPE , PROCESS CODE for Edi 990

    Hi ,
    Please provide the Message type ,IDOC TYPE , PROCESS CODE for Edi 990 (Response to a Load Tender).
    Thanks in Advance.
    Ajay Kolla

    Hi
    Pls check the below links
    1. http://www.erpgenie.com/sap/sapedi/ansi.htm
    2. http://www.erpgenie.com/sap-technical/ale-edi-b2b/master-data-message-types-idoc-types
    Hope this may helps you.
    Regards
    Sirigiri

  • Idoc Vs Proxy

    Hi Experts,
    I have a scenario like i want to transfer the Idoc data from One sap system to another sap system through XI. So What is the best option to do this useing IDoc or Proxy?
    Can you please breiefly explain me above Adavantage & Disadvanctage of these ways and Which one is best for me in this scenario.
    Thanks in Advance,
    Points rewared for each valuable answers.
    Best Regards,
    Vijay

    Hi,
    It all depends upon the business Scenerio..
    Proxies can be used  when data is  huge and  it is quite fast  in action and you can trigger when ever you want...
    Assume  if the data has to be updated  immediately to the receiver  system in that case  IDOC is fine...once the Idoc  is created we  can trigger it  by settings or thru by back ground job and by Tcode we02 we can find the status of the IDOC
    Regards
    Agasthuri Doss

  • Inbound IDOC error - status code 52- application document not fully posted

    Hi,
       In Inbound IDOC, the status code is 52 ---> Application document is not fully posted(satus of the inbound idoc is in yello colour). I want to reprocess this idoc in BD87 t.code in order to convert the yellow colour to green colour. Before reprocessing the IDOC, i need to rectify the problem and then reprocess the idoc in bd87. am i correct? if yes, what i need to do to solve the error --->application document not fully posted. Please guide me friends.
    Thanks in advance.
    Regards,
    Sri

    HI
    If you are FM to process the inbound  IDOC,
    possibilities are like below .
    Reason 1 :
    In partner profiles, check is it trigger immediately or not ? for particular partner profile which u r using .
    reason 2 :
    If you are using BDC code to update the data .if any screen contains error then also you will get the status in yellow .
    reason 3 :
    Have you tried with  TCODE  BD87 ,  might be it is processing error also .
    i have worked on same probelm so  if u r not solved with the issue after trying above 3 reasons .
    reply me back .

  • Deep XSD's structure not reflecting in ECC - Proxy code

    Dear forum members,
    Deep XSD's structure not reflecting in ECC - Proxy code. any suggestion please..
    With the help of XSD able to create service Interface - Outbound in PI, the complete structure is visible in PI but in ECC ( Tcode - Sproxy ) unable to view complete structure, top two nodes are visible remaining not reflecting in the ECC system.
    Cheers
    Rocky

    Hi Rocky ,
    Regenerate proxy in ECC and check again , structure will reflect.
    Note : Whenever we make changes(adding new fields or deletion of existing fields) to Data type / ED in PI . You have to generate the proxy structure (outbound or Inbound) in ECC and activate. Then changes will be reflected in Proxy also.
    Thanks
    Hari.

  • How to do idoc to proxy scenario

    Hi There,
    As per requirement i am doing IDOC TO PROXY scenario. Can any one Pls help me how to do this configuration briefly.
    with regards,
    Naresh.K

    Hi,
    This is a Server Proxy Scenario.
    To trigger the IDoc maintain necessary configuraions in R/3 and XI like.
    1) RFC Destination (SM59) [XI & R/3]
    2) Create Port (IDX1) [XI]
    3) Load Meta Data for IDOC (IDX2) [XI]
    3) Create Partner Profile (WE20) [R/3]
    2) Create Port (We21) [R/3]
    Also go thru this blog....<a href="/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi Configuration for Pushing IDOC's from SAP to XI</a> by Swaroopa Vishwanath
    There is no need to create sender IDoc communication channel and Sender Aggrement...
    Go thru this blog for creating <a href="/people/siva.maranani/blog/2005/04/03/abap-server-proxies Server Proxies</a> by Siva Maranani
    Regards
    Santhosh
    Remember to set the thread to solved when you have received a solution
    [url=Use a Good Subject Line, One Question Per Posting - Award Points;  Use a Good Subject Line, One Question Per Posting - Award Points[/url]

  • ABAP proxy code

    Hi,
    i need to write a report program to trigger client proxy
    input parameters for the report company code and based on company code FM extract information which is defined in tables option.
    how do i map the proxy table to FM table.
    below mentioed are reference details.
    class: ZSVCO_FILE_BR_OUT_ASYNC
    Message Type: ZSVFILE_BR
    proxy Table: BR_DETAILS
    i am following the blog by ravikumar .
    REPORT  Z_BR_RECON                              .
    DATA prxy TYPE REF TO ZSVCO_FILE_BR_OUT_ASYNC.
    CREATE OBJECT prxy.
    DATA it TYPE  ZSVFILE_BR.
    TRY.
        it-BR_DETAILS-field1= map to functoin module table
        it-BR_DETAILS-field1= map to functoin module table
        it-BR_DETAILS-field3= map to functoin module table
        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.

    Hi-
    Check out this blogs,hope its helpful to you...
    ABAP Proxy
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    Client Proxy
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
    Server Proxy
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies
    Proxy code
    /people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies

  • Proxy Code

    Hi
    This is an SRM to ECC through PI. The target end, at ECC we are using XI Adapter.  Its done by downloading standard XI Content. I don't see proxy interfaces in SPROXY at ECC. Do we need proxy code for this XI Adapter ? I mean, Server Proxy
    Regards

    Shabarish,
    I am very confused about this scenario. Its SRM 7.0 to ECC 6.04 through XI 7.1. And some say that you don't need proxy code as XI adapter will take care of that. Some say it's needed. I am not able to get a correct answer by searching in sdn also.
    The scenario was not done by me, by functional consultanats and now am trying to fix the error that happens at receiver end. Yeah, there is no interface in SPROXY at ECC. But I am not even sure whether the scenario was done without using proxy code or by using it.
    As per my limited knowledge , at server proxy to connect to ECC we need proxy code. But this is a case of downloading standard content, so am not sure whether the code comes along with standard content or not
    // if so make sure that your ABAP proxy connectivity between PI and SRM is correctly configured. //
    Its coming from SRM and reaching XI correctly. It's not reaching ECC
    Regards

Maybe you are looking for

  • Link on a report to Activity

    Hi, I would like to create a report based on appointments. I woudl like to have a link to open the record when user click on the subject or another field. I succeed to do it with opportunity but it doesn't work for activities. Can you correct my link

  • Unable to communicate with 4235

    I am having trouble with one of our sensors. For quite some time it has been unaccessible although it continued sending alerts to security monitor. I recently went to the location of the IDS and powered it down and then back up at which point I was o

  • Two elements in single cell

    Hello All, Is it possible to put an image and a text view into the same column? Thanks

  • Finding the manufacture date on an access point via software

    I'd like to determine the manufacture date of our access points because we plan on converting to LWAPP? Can someone tell me the what CLI command to use and which field has the answer. thanks.

  • Reconciliation vs. Synchronization

    Can anyone explain the difference between reconciliation and synchronization in IDM? I realize active synch is a form of synchronization but is reconcilation just what is done up front before you go live with an IDM deployment or is there more to it?