File to Proxy Scenario

download File to Proxy Scenario

of 4

Transcript of File to Proxy Scenario

  • 8/11/2019 File to Proxy Scenario

    1/4

    9/11/2014 File to Proxy scenario | SCN

    http://scn.sap.com/thread/1291692 1/4

    Getting Started Newsletters Store

    Products Services & Support About SCN Downloads

    Indust ries Training & Education Partnership Developer Center

    Lines of Business University Alliances Events & Webinars Innovation

    Log On Join UsHi, Guest Search the Community

    Activity Communications Actions

    Browse

    0 Tweet 0

    5 Rep lies Latest reply : Nov 13, 2009 8:34 AM by veer kumar

    Share 0Like

    2480 Views

    Average User Rating

    (0 ratings)

    File to Proxy scenarioThis question is Assumed Answered.

    Hi Experts, I am working on File to a proxy scenario.Anyone,Pls send me the detailed scenario step by step.It would be a great help fr me.I have searched in SDN but i cud not find anything related to this. ThanksVeeru

    veer kumar Apr 1, 2009 8:09 AM

    Re: File to Pro xy scenario

    Hello, Check out the below link, [ SAP PI 7 Sample Scenarios ;

    Like (0)

    Siddhesh Pathak Apr 1, 2009 8:15 AM (in response to veer kumar)

    Re: File to Proxy scenario

    /people/siva.maranani/blog/2005/04/03/abap-server-proxies - ref this

    Like (0)

    Shabarish Vijayakumar Apr 1, 2009 8:15 AM (in response to veer kumar)

    Re: File to Proxy scenario

    Hi! Viru, Apart from the blog given by vijay I would like to add some detailed inputs.. WHAT ARE PROXIES? --> Proxies are nothing but interfaces, which will directly communicate with the Integration Server without any adapter.--> In some of the real-time scenarios, itu2019s not always a particular type of business system

    Amar Srinivas Eli Apr 1, 2009 12:07 PM (in response to Shabarish Vijayakumar)

    http://scn.sap.com/people/amarsrinivas.eli2http://scn.sap.com/people/shabarish.vijayakumarhttp://scn.sap.com/welcomehttp://scn.sap.com/community/downloadshttp://scn.sap.com/people/amarsrinivas.eli2http://scn.sap.com/people/amarsrinivas.eli2http://scn.sap.com/message/7300237#7300237http://-/?-http://scn.sap.com/people/shabarish.vijayakumarhttp://scn.sap.com/people/shabarish.vijayakumarhttp://scn.sap.com/message/7298138#7298138http://-/?-http://scn.sap.com/people/siddhesh.pathak4http://scn.sap.com/people/siddhesh.pathak4http://scn.sap.com/thread/1276128http://scn.sap.com/message/7298128#7298128http://scn.sap.com/people/viru.srivastavahttp://scn.sap.com/people/viru.srivastavahttp://scn.sap.com/message/7298082#7298082http://scn.sap.com/community/feeds/messages?thread=1291692http://twitter.com/search?q=http%3A%2F%2Fscn.sap.com%2Fthread%2F1291692https://twitter.com/intent/tweet?hashtags=scn&original_referer=http%3A%2F%2Fscn.sap.com%2Fthread%2F1291692&text=File%20to%20Proxy%20scenario&tw_p=tweetbutton&url=http%3A%2F%2Fscn.sap.com%2Fthread%2F1291692&via=SAPCommNethttp://scn.sap.com/contenthttp://scn.sap.com/actionshttp://scn.sap.com/communicationshttp://scn.sap.com/activityhttp://scn.sap.com/login.jspahttp://scn.sap.com/thread/login.jspahttp://scn.sap.com/community/uachttp://scn.sap.com/community/developer-centerhttp://scn.sap.com/community/downloadshttp://scn.sap.com/welcomehttp://www.sapstore.com/http://scn.sap.com/community/newslettershttp://scn.sap.com/community/getting-started
  • 8/11/2019 File to Proxy Scenario

    2/4

    9/11/2014 File to Proxy scenario | SCN

    http://scn.sap.com/thread/1291692 2/4

    that has to send/receive messages with SAP XI; it can also be an application like ABAP or Java. To cater to these needs, SAP XI provides different ways to generate interfaces in ABAP and JAVA u2013and these interfaces are known as proxies.--> Proxies are interfaces which will get executed in the Local Integration Engine of the ApplicationSystem. Types of Proxies based on Category:1. Client Proxy u2013Proxy generated for Outbound Interface.2. Server Proxy u2013Proxy generated for Inbound Interface.

    *HOW CAN WE GENERATE PROXIES IN SAP XI? * --> Proxies are generated from the WSDL description of the interface objects.--> Message interfaces are the basis for proxy generation. --> Proxy will have the same attributes as that of the message interface like inbound/outbound and synchronous/asynchronous.--> Same concepts apply for ABAP and JAVA but procedures differ. PRE-REQUISITES: 1) CREATE RFC DESTINATION OF TYPE HTTP IN THE ECC SYSTEM FOR CONNECTINGECC SYSTEM TO SAP XI. 2) CONFIGURING APPLICATION SYSTEMS LOCAL INTEGRATION ENGINE.

    Go to Transaction SXMB_ADM Choose Edit ? Change Global Configuration Data. Select Role of Business System: Application system Corresponding Integration Server: dest: XXXXXXXXXXXXXXXXX 3) CONFIGURATION OF THE INTEGRATION ENGINE: Connection between Business System and System Landscape Directory: Create RFC destination (TCP/IP) LCRSAPRFC and SAPSLDAPI for the SLD connection.

    NEW FEATURES IN PI 7.1 AND ECC6 SYSTEMS:When we create proxies, previously the proxy class would generate default methods by nameEXECUTE ASYNCHRONOUS/EXECUTESYNCHRONOUS depending upon our scenario. But inthe ECC6 system the default method generated is with the same name as that of our ServiceInterface. Now about your Scenario::

    Since yoru Scenario is File to Proxy:

    In this scenario we are sending an XML message using a File adapter at sender side andinserting

    the details in a data base table in an ECC6 system at receiver side. For this scenario we needto create two business systems, which are used as sender and receiver business systems. Thesender business system should be of type third-party and receiver business system is of type AS

    ABAP. ENTERPRISE SERVICES REPOSITORY (ESR): At ESR create sender and receiver Data Types, corresponding Message Types and Service Interfaces, necessary Message Mapping and Interface Mapping.

    a) Create Message Types (sender_mt and receiver_mt) for corresponding Data Types

    andone Outbound Service Interface and one Inbound Service Interface for corresponding

    Message Types. b) Create Message Mapping program between sender and receiver message types. INTEGRATION DIRECTORY (ID): Once we complete the design phase we need to configure the scenario in Integration Directory.Create a Configuration scenario and assign all the configured components to it.

    a) Assign Sender and Receiver business systems at Integration Directory and create sender and receiver communication channels. In our example we need to chooseFile Adapter at sender side and XI Adapter at receiver side.

    b) Create Sender File Commuinication Channel and Receiver Communication Channelas XI

  • 8/11/2019 File to Proxy Scenario

    3/4

    9/11/2014 File to Proxy scenario | SCN

    http://scn.sap.com/thread/1291692 3/4

    Re: File to Proxy scenario

    Hi, Please check the following links :File to R/3 via ABAP Proxy/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

    Activate ABAP Proxies SAP system/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies Hope this helps.Regards,Divya Edited by: Divya Nambiar on Apr 1, 2009 12:14 PM

    Like (0)

    Divya Nambiar Apr 1, 2009 12:14 PM (in response to veer kumar)

    Re: File to Proxy scenario

    ok

    Like (0)

    veer kumar Nov 13, 2009 8:34 AM (in response to veer kumar)

    which is a defalut CC. c) Create Sender Agreement, Receiver Determination, Interface Determination andReceiver Agreement in a normal way. PROXY PART:: 1) Login to the ECC6 system (receiver). Run transaction u2018SPROXYu2019. 2) Select your interface (outbound or inbound) in our case inbound, right click and create proxy.Then save and activate proxy. The generated proxy creates a proxy class for Example :: ZCL_RECEIVER_SI where you need to implement the business logic.

    3) Also CREATE A DATABASE TABLE (ZXXXXXXXX) IN SE11. 4) GO TO SE37 CREATES FUNCTION MODULE (XXXXXX): Mention table name ZXXXXXXXXXand table parameter WA in changing tab of Function module. 5) Mention table name ZXXXXXXXXX and table parameter WA in changing tab of Functionmodule. 6) In Source code tab the function for inserting data into table is written.

    *7) Finally, save and activate the function module * NOW EXECUTING THE SERVER PROXY SCENARIO:

    Based on the Poll interval time the file will be picked. Now check for the output in the databasetable ZXXXXX in SE11.

    I hope this will be helpful to you very much. Regards::

    Amar Srinivas Eli Edited by: Amar Srinivas Eli on Apr 1, 2009 3:30 PM Edited by: Amar Srinivas Eli on Apr 1, 2009 3:35 PM

    Like (1)

    http://-/?-http://scn.sap.com/people/viru.srivastavahttp://scn.sap.com/people/viru.srivastavahttp://scn.sap.com/message/8408182#8408182http://-/?-http://scn.sap.com/people/divya.nambiarhttp://scn.sap.com/people/divya.nambiarhttp://scn.sap.com/message/7300367#7300367
  • 8/11/2019 File to Proxy Scenario

    4/4

    9/11/2014 File to Proxy scenario | SCN

    http://scn.sap.com/thread/1291692 4/4

    Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosure Copyright

    0 Tweet 0Share 0Like

    http://twitter.com/search?q=http%3A%2F%2Fscn.sap.com%2Fthread%2F1291692https://twitter.com/intent/tweet?hashtags=scn&original_referer=http%3A%2F%2Fscn.sap.com%2Fthread%2F1291692&text=File%20to%20Proxy%20scenario&tw_p=tweetbutton&url=http%3A%2F%2Fscn.sap.com%2Fthread%2F1291692&via=SAPCommNethttp://www.sap.com/corporate-en/our-company/legal/copyright/index.epxhttp://www.sap.com/corporate-en/our-company/legal/impressum.epxhttp://www.sdn.sap.com/irj/scn/policyhttp://www.sdn.sap.com/irj/scn/policy?view=PPhttp://help.sap.com/http://scn.sap.com/docs/DOC-18476http://scn.sap.com/docs/DOC-19361http://spr.ly/SCNgoogleplushttp://bit.ly/SCNLnIhttp://bit.ly/SCNyouThttp://bit.ly/SCNFBhttp://bit.ly/SCNTwR