Regarding Error handling and customisation in RFC, Idocs and Proxy

Hi,
I wanted to compare RFC, Proxy and Idocs on the basis of the amount of customisation required in ECC when sending data from ECC to XI using the above stated means and also the error handling provided in these methods.
Please let me know in detail if possible.
Regards,
Sampada

Hi ,
Check this blog to know when to use which adapter:
  /people/ravikumar.allampallam/blog/2005/08/14/choose-the-right-adapter-to-integrate-with-sap-systems
we use proxy in sap 6.0 version or higher.
Basically used for adapter less communication
& very high volume of data has to be transfered.
Step for Configuration fo IDOC in R/3
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (IDX1)
a) Select create new button
b) Enter the port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Load Meta Data for IDOC (IDX2)
a) Create new
b) IDOC Message Type
c) Enter port created in IDX1.
SAP R/3
1) RFC Destination (SM59)
a) Choose create.
b) Specify the name of the RFC destination
c) Select connection type as 3 and save
d) In the technical settings tab enter the details SAP SID/URL and system number#.
e) Enter the Gateway host as same details above SID/URL.
f) Gateway service is 3300+system number#.
g) In the Logon /Security tab, enter the client user & Password details of Destination system.
h) Test the connection and remote logon.
2) Create Port (We21)
a) First Select Transactional RFC and then click create button
b) Enter the destination port name as SAP+SID (The starting char should be SAP)
c) Enter the destination client.
d) Enter the RFC Destination created in SAP R/3 towards other system.
e) Save
3) Create Partner Profile (WE20)
a) Create New
b) Create the Partner no. name as same the logical system name of the destination system.
c) Select Partner type LS
d) Enter details for Type: US/USER, Agent, and Lang.
e) Click on the + button to select the message type.
f) Select Partner no. and LS which ever create above.
g) Select Message type
h) Select Process code related to the Message type.
I) save.
In SLD – System Landscape Directory
TS for R/3 (Logical system):-Assign the client name created in R/3 as Logical system Name.
Ts for Third Party (Logical system):-
BS for SAP R/3 (Logical system):- Assign the client name created in R/3 as Logical system Name.
BS for Third Party (Logical system):-Enter the XI logical system name.
In Transaction SALE
Define and Assign the logical system name.
                                                                                Regards,
                                                                                Vinod.

Similar Messages

  • When to use RFC ,Idoc and proxies

    When to use the RFC,IDoc and proxies.
    What is the difference in using RFC,Idoc and proxies.
    I want the therotical explanation of it.
    I gone through some of the links.
    i want the explanation which is there in simple words
    and which is easily understand by the bigginers
    those dont know more about adapters.

    hi,
    You use all these three things when the sender or receiver for XI is R/3 system.
    You use proxy in sap 6.0 version or higher.
    you use that when you dont want to use an adapter.
    or very high volume of data has to be transfered.
    you go for rfc which can be synchronous as well as asynchronous
    http://help.sap.com/saphelp_nw04/helpdata/en/22/042a3e488911d189490000e829fbbd/frameset.htm
    refer for idoc:
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b828943d711d1893e0000e8323c4f/frameset.htm
    regards,
    ujjwal kumar

  • General Inquiry Regarding Error Handling with System Exec.vi

    I have a sub vi that uses the System Exec.vi to send SMS messages when triggered. I am confused as to how the error handling works and why all of the errors seem to go to the "standard error" vs the "Error out". The reason I am interested is because I am trying to interrupt the error out of another script to execute a command if error=true.
    I have intentionally created an error to test this, however it does not seem that the signal is ever being sent to the error out, only to the standard error.
    Any help/explanation as to how this works would be greatly appreciated.

    The Facebook discussion board is just a pilot and that functionality is not available yet (as to my knowledge). You will have to use the actual forum thread to add attachments. You can click the arrow just to the right of thread topic in the Facebook thread and that will take you to the ni.com/forums thread. Or you can navigate here:
    http://forums.ni.com/t5/LabVIEW/General-Inquiry-Regarding-Error-Handling-with-System-Exec-vi/m-p/246...
    Having a look at your VI would help to clarify the error handling issue.
    Daniel K | NI Applications Engineer | Certified LabVIEW Developer

  • Error Handling in File to Multiple IDOC Scenario?

    Hello Experts,
    My scenario is file with Multiple records and I want to send it to SAP system.If there will be 10 Records in my file I need to create 10 IDOC in Target system.
    I can use below of the two options.
    1) File to Multiple Idoc (1.N Mapping)
    2) Using BPM
    3)Directly place the file in SAP application server and process it via ABAP Program.
    However I am not clear in which option error handling will be more effective.Please suggest.
    Basically I want to handle If out of 10 records 9 are correct and 1 record is not correct then I should be able to report within PI without affecting 9 correct records.Is it possible 9 records will be sent to SAP system and PI will only show error for 1 incorrect record.
    Also I will be doing this scenrio for transaction data with huge size (1 Million Records).Which approach will be more effective in this case.
    Thanks,
    Pushkar

    Hi Patel,
    I want to handle If out of 10 records 9 are correct and 1 record is not correct then I should be able to report within PI without affecting 9 correct records.Is it possible 9 records will be sent to SAP system and PI will only show error for 1 incorrect record.
    when working on graphical mapping, the target structure is created when there are no errors in all records of source structure.
    suppose if we have validation error in 9th and 10th record, then we can not process the first eight records and inturn we can not store the two error records in XI for further.
    i suggest you the third option, you can directly place the file in SAP application server and process it via ABAP Program.
    this is far better because you can do more customizations as you have to deal with millions of records.
    Regards,
    Pradeep A.

  • RFC, IDOC and secure connection

    Hello
    Does RFC/IDOC support secure connection like HTTPS?
    How the data can be encrypted?

    Hi,
    As Moorthy  Quoted  RFC will help you,
    This will be help you for encrypying the data.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b2cce390-0201-0010-5a9f-cca08c75b6ea
    /people/kathirvel.balakrishnan2/blog/2006/06/13/sap-php-together-a-simple-base64-encoding-and-decoding
    Encrypting data
    Regards
    Agasthuri Doss

  • Regarding error handling in jsp

    how can i handle error in jsp page.That means i want to write error or exceptions
    in a file if an exception occurs.that meas i want to log that exception with time and date in a log file.how will i do?

    There is a logger taglib available (on Jakarta) which works with log4j. You can make use of that.
    xH4x0r

  • Regarding Error handling in Mass Upload of Organizational Structures Using RHALTD00

    Hi all,
    I am using standard program RHALTD00 for mass uploading of Organizational objects into SAP system. But incase if our input file has any error records, how can we track such errors? Can you please share your inputs.
    Thanks,
    Cs

    Hi Sirisha,
    Report RHALTD00 imports the records from the file and creates a batch input
    session, which you can process either directly or using batch input
    processing:
    Batch input processing: When ever you will run the report in this way, error records handled in a session.
    Direct processing:
    Requirements to run this report is :-
    The dataset must contain all of the records of infotype 1000. Only then can
    other information be imported in any order that is required.
    The dataset must not contain records with workflow infotypes (infotype
    numbers from 1200 to 1299). Such records are not included in processing.
    Thanks,
    Sreeram

  • Regarding Error handling

    Hi Experts,
    We have an Issue. where and Error messages comes in the Shopping Cart where that error messages is not coming from  "Check" Badi.
    I've checked the ET_MESSAGES of the Signature of BADI there this error messages does not exist but once the Shopping cart is displayed its showing up this message.
    I would like to know is there any other way were we can show up the error messages in SC other than  using ET_MESSAGES in Check badi.
    My issue is similar to the issue mentioned in the below thread
    SRM Error - Budget Almost Exhausted - Availability Control
    Hi,
    Please deselect check box ' Display Back-End messages as Errors' in the following path,
    SPRO> SAP Supplier Relationship Management>SRM Server> Cross application basic settings>Activate Extended Classic Scenario.
    With the above setting, back end messages won't display in SRM.
    Regards,
    Chandolu Ramesh
    But, the when I tryed to see the solution as mentioned in that that configuration doesn't exist in SPRO.
    Waiting for your reply,
    Amar
    Edited by: amarnath g on Oct 28, 2009 7:11 PM

    Hi,
    It looks your SP level is low. Please check the note mentioned in the thread.
    SRM Error - Budget Almost Exhausted - Availability Control
    Regards,
    Masa

  • Error in parameters assignment between rfc call and xi message

    Hi all
    In  a sender rfc scenario, i am exporting a table.
    The table structure is
    field name           type          length
    resourceno         numc          10
    shipmentno  -      numc         10
    startdate             dats
    I have imported the rfc definition in xi design too.
    The data i gave in rfc is 1234567890 , 1234567890 , 11112004 ,
    But in xi, the message i m getting from the rfc adapter is
    <?xml version="1.0" encoding="UTF-8" ?>
    - <rfc:Z_UPDATE_FMS xmlns:rfc="urn:sap-com:document:sap:rfc:functions">
    - <RESOURCEINFO>
    - <item>
      <RESOURCENO>1234567890</RESOURCENO>
      <SHIPMENTNO>2004111112</SHIPMENTNO>
      <STARTDATE>0000-00-00</STARTDATE>
        </item>
      </RESOURCEINFO>
      </rfc:Z_UPDATE_FMS>
    The third parameter date (of 8 characters) is assigned to shipment field and the first 2 characters of shipmentno field is concatenated with that.
    Any idea what could have gone wrong?

    Aarthi,
    Did you checked the source under Inbound Message--->Payloads?
    How come <SHIPMENTNO>2004111112</SHIPMENTNO>  segment has 2004111112 as per your input it should come as 1111200412 isn't it?
    raj.

  • Regarding Error Handling  by using VBA code

    I want to skip the "Server Error in '/' Application" in one page( page 5), and goback to previews worked page (page 4) , continue to next page( page 6).
    If errNumber = -1 Then
    RSWApp.GoBack
    RSWApp.GotoPage (6)
    End If
    but it didn't go back.

    Then try adding the code for GoBack in the Before Play event of Page 5.
    If errNumber = -1 Then
    blnPg5Err = True
    RSWApp.GoBack
    End If
    Also add a boolean so when you go back to Page 4, you know that the reason you are there is because of error on Page 5. And in the code for Page 4, add validation like
    If blnPg5Err = True then
    'whatever you need to do
    rswapp.gotopage(6)
    end if
    You will have to declare blnPg5Err in the Shared Module
    Public blnPg5Err as boolean.
    Hope this works for you.

  • Regarding idocs error handling

    HI . i want to learn idoc error handling on sap xi side because  my current project is in PRODUCTION They implemented lot of idocs so is there any documents(guides ) regarding error handling of idocs  for both sender and receiver side.

    Hi
    Please refer File to IDOC Scenario..
    the 2nd post (Troubleshooting IDOC scenario) from Swarup Sawant  , you will get a very good understanding
    as lots of reference links are attached with different scenarios.
    Regards,
    Srinivas

  • Error handling limitations in XI3.0 SP11 when using IDOC's

    Backround: Sending IDOC's from XI to a 6.20 SAP system with ALEAUD turned on.
    We have found a couple of limitations with XI 3.0 SP11 regarding error handling and are wondering what other XI Developers are doing to work around them:
    1) Unable to generate Alerts from global Alert Rules (PMI) in a BPM
    2) Unable to handle IDOC negative acknowledgments in a BPM
    3) Unable to generate Alerts from Alert Rules (PMI) for negative IDOC acks when NOT using a BPM
    So far we are designing around these issues by using deadline monitoring steps in BPM's to handle IDOC posting errors and raising an Alert (the beauty of this workaround is that the BPM will automatically continue when the IDOC data is corrected and posted), and for non-BPM interfaces the errors must be handled in the receiving SAP system.
    We have sent these issues in to OSS but the replies have come back stating that it is 'by design'.
    Thx,
    Jason.

    Did you get any better solution now?
    Regards
    Mike

  • Flex and Coldfusion error handling

    Hello! I was wondering if someone could point me in the right direction regarding error handling in a Flex app thats using an HTTPSERVICE RPC to a Coldfusion component.
    If a user is entering form data in Flex and clicks submit... the data is sent via the HTTPSERVICE send method as XML to the CFC. But what if there is a Coldfusion SQL insert statement error? Say a user enters a character in a number field (now i know the best thing to do would be to have actionscript ensure that the values entered are numbers but lets keep that aside just for this example). How could I alert the user to let them know the CFC encountered a SQL error? Or better yet... alert them that everything went "A" ok and their data was successfully submitted.
    I originally thought to put CFTRY and CFCATCH around the CFC code. I could do that fine, but had trouble passing back a message string so that FLEX could use it in an Alert.Show window.
    Thanks!
    -BosDog

    Hey Mike,
    Sorry after I posted I thought "this may be a question for CF guys as well".
    I definitely use and love RemoteObjects. Its great for binding to datagrids and to run SQL to return data from the server back to Flex. I've struggled with successfully passing variables from Flex to CF using RemoteObject though. Say a dataform with 5 text fields & 2 combo box dropdowns.
    I think you may have forgotten to post the link to the article for me to read... i didnt see it in your last post?
    Thanks!

  • Question on IDoc and RFC

    Hi Folks,
      I have few questions on SAP XI.
    1) For IDoc and RFC, why we need to import the metadata again even though we import RFC and IDoc in intergration Repository?
    2) Why we don't need to create Message interface and Message type for IDoc and RFC?
    3) Why RFC and IDoc comes in different namesapce, not in the namespace in which they are impoeted?
    4) For IDoc we need to import metada in tran IDX2. Why the same is not in case of RFC? In case of RFC we need to specify metadata repository parametes in Communication Channels.
    Thanks,
    Punit

    Answer 1) IDoc (Intermediate Document) metadata comprises structures for the corresponding IDoc types that are required by the IDoc adapter to convert these IDocs to IDoc XML format and the other way around
    Answer 4) The adapters are configured in the configuration part of the Integration Builder, or in the configuration part of the PCK. You use the SAP Java Connector (JCo), which enables you to manage metadata. This in turn enables you to map RFC data generically to RFC XML and the other way around.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/33/c6e63b60c25767e10000000a11402f/content.htm.
    Regards
    Abhishek Mahajan
    **Reward points if helpful**

  • JMS adapters and error handling

    Dear all,
    1. I have a scenario in which XI will be getting messages from Two JMS servers located in different locations. The messages from the two servers have no relation but XI has to check if messages are present in any of the servers and poll them. So can anyone suggest me a better approach. I can use two sender adapters and use a BPM. Is there any other way to do it avoiding BPM?
    2. How do I delete the message from the JMS Queue once it is processed?
    3. In the Reciever side I have to send messages to two different target systems based on a condition. From the sender side a field (value) is passed which will check these conditions. If the value contains one of the target system names, the message has to go to that particular system and if the value contains both the target system names, the message has to go to both the target systems. I think this can be done in BPM but please recommend an approach for this.
    4. I need to do error handling both in the adapter side and in mapping level. Kindly give suggestions for the same.
    Expecting your replies soon,
    Harikumar. S

    Hi ,
    Refer to following blogs ,
    JMS Adapter
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cd/d85a9d6fab7d4dbb7ae421f710626c/content.htm
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f02d12a7-0201-0010-5780-8bfc7d12f891
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/how%20to%20use%20the%20content%20conversion%20module%20with%20the%20xi%203%20j2ee%20jms%20adapter
    /thread/217893 [original link is broken]
    JMS adapter -Message format pre-requisites
    /people/alessandro.guarneri/blog/2006/01/04/jms-sender-adapter-handling-too-short-lines
    /people/william.li/blog/2006/11/13/how-to-use-saps-webas-j2ees-jms-queue-in-exchange-infrastructure
    Thanks ,
    Suvarna
    Award pts if ans helps .

Maybe you are looking for

  • Why can't I get Email to work in my quiz

    I have created a quiz in captivate with the scoring output as an email. I have tested it by previewing in captivate and the email worked fine. I then published it and nothing seems to happen when I press emial. I have checked the settings and also pu

  • Changing payment info in account - new credit card and new billing country

    Hello, My iTunes account is set to Italy as that is the billing country of the credit card I associated with it when I started the account. Yet, I know live in Belgium and have a credit card with billing address in Belgium. I have tried to update the

  • After signing into itunes nothing happens!

    Hi, first time post. Have been looking on here for a solution to my problem since getting my ipod nano for Chritmas. I can access Music Store, sign in, name appears in "Account", but bar at top keeps saying "ACCESSING MUSIC STORE", this will go on fo

  • Initial settings on CRM to set up Client proxy in SE80

    Hi Experts, I tried to create a client proxy on the CRM system for a web service URL (where the WSDL exists), in the transaction SE80. When I tried creating this, the proxy creation halted at a point, stating that the HTTP not found. When I checked t

  • Image accesibility

    I have a sequence of images that appear and then fade through out a slide. Other than describing them in the properties within the narration script (description) as they come up, is there another option? Am I 508 compliant doing it this way? I am use