How to Debug & Test inbound PI PROXIES34.pdf

Embed Size (px)

Citation preview

  • 7/28/2014 How to Debug & Test inbound PI PROXIES

    http://www.saptechnical.com/Tutorials/XI/Debug/Index.htm 1/3

    Search

    Home Tra inings Quiz Tips Tutoria ls Functiona l Cert Q's Inte rview Q's Jobs Testimonia ls Advertise Contact Us

    Corporate Trainings

    Document Categories:

    ABAPTM

    Adobe Forms

    ABAP-HR

    ALE & IDocs

    ALV

    BAPI

    BASIS

    BSP

    Business Objects

    Business Workflow

    CRM NEW

    LSMW

    SAP Script/Smart Forms

    BI/BW

    eXchange Infrastructure (XI)

    Enterprise Portals (EP)

    eCATT

    Object Oriented Programming

    SAP Query

    Userexits/BADIs

    WebDynpro for Java/ABAPTM

    Others

    What's New?

    Inserting data from Internal

    Table into the step Send Mail

    Display GL Account long text

    using enhancement

    framework

    Differences between

    polymorphism in JAVA and

    ABAP

    Passing multiline parameters

    from an ABAP Class event to a

    Workflow container

    Concept of Re-evaluate agents

    for active work items in SAP

    Workflow

    Dynamic creation of

    component usage in ABAP

    WebDynpro

    Adobe Forms: Display symbols

    like copyright and others

    Deactivate Hold functionality in

    Purchase order (ME21N)

    Quiz on OOABAP

    Add fields in FBL5N using

    BADIs

    Tutorial on Wide casting

    Defining a Range in Module

    Pool Program

    Copy fields from one

    structure/table into another

    structure/table

    Side Panel Usage in NWBC

    Introduction to SAP Event

    Management

    Display Statistical Report using

    Function Module

    Adding Explicit Enhancement

    to custom program

    Display data dynamically using

    Field Symbols

    SAP BODS - Beginners guide

    Display text vertically (Rotate

    text) in Adobe Form

    Sending email with multiple

    tabs of excel as a single

    attachment

    Copying Sales Order

    attachments to the invoice

    Contribute?

    How to Debug & Test inbound PI PROXIES

    By Shweta Chavan, Hitachi Consulting

    Introduction

    This article will elaborate you the step by step procedure to debug & Test the inbound PI proxy. Normally insupport project, when you have bug for which you have to debug the proxy method. There are normally twoways to test your proxy. You will find them in this article. Before you start debugging, you have to ask the PIperson to provide you input data in XML format. They can easily give you input XML.

    Steps:1. Go to transaction SPROXY. Search and select the required inbound proxy. Double click on interface.

    Interface and its associated class data will get displayed on right hand side of the window.

    2. Double click on Provider Class. It will take you to SE24 Class Builder. Select the method which youwant to debug. Put a breakpoint inside method.

    In case of custom proxies, the class will be custom ones. You have written your custom code inside anymethod of class. Till the time you implement proxy, it will remain as interface.

    This step is optional as you can also set the debug option while running proxy. but if you do this then youwould directly go at required breakpoint. 3. Now come back to original SPROXY screen. Select menu proxy Test Interface. Or you can press F8.

    SAP Training forMBAatos.net/SAP-Training-for-MBA

    SAP Training from the globalpowerhouse in SAP, Enquirenow!

    Dermatology Coursecosmetology courses.in/Dermatology

    Join Top Institute ForDermatology Course.Training By Professionals.

    Bloomberg Indiabloomberg.in

    Analyze India F & O MarketContact us for a Demo today!

    Free Microsoft OfficeDownloadwebcrawler.com

    Search multiple engines forfree microsoft officedownload

    TCS is Hiring (Urgent)roundone.in

    0-9 yrs exp; 1.9-9.9 LakhsSalary Apply Now!

    ERP Training in Jaipurtransweav e.com

    B-2, Krishna Marg, C-Scheme, Jaipur9672641000,9829058068

    300 lakhIT jobs*aptech-educatio

    Get a globalcareer throughAptech Careerbuilding ACCPPro Course

  • 7/28/2014 How to Debug & Test inbound PI PROXIES

    http://www.saptechnical.com/Tutorials/XI/Debug/Index.htm 2/3

    Sample Specs

    What's Hot?

    Web Dynpro for ABAP Tutorials

    Join the Mailing List

    Enter name and email address below :

    Name:

    Email:

    Subscribe Unsubscribe

    GO 4. In the popup set the flag for debug method and Generate initial Template data.

    5. In the next window you can change the generated payload. In the screen there are two possibilities for

    uploading data/files:

    1. Upload the XML file using button. give the file path which you received from PI persons

    2. You can also manually enter data using XML editor. Click on button and enter manuallydata as like below:

    6. Save the data. it will ask for proper description.

  • 7/28/2014 How to Debug & Test inbound PI PROXIES

    http://www.saptechnical.com/Tutorials/XI/Debug/Index.htm 3/3

    7. Now Press F8 to execute the call. In the results it will take you to debugging screen where you put your

    breakpoint.

    At the end you can check if the call could be processed without error or not.

    Please send us your feedback/suggestions at [email protected]

    Home Contribute About Us Privacy Terms Of Use Disclaimer Safe Companies: Advertise on SAPTechnical.COM | Post Job Contact Us

    2006-2007 SAPTechnical.COM. All rights reserved.All product names are trademarks of their respective companies. SAPTechnical.COM is in no way affi l iated with SAP AG.

    SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver, and and any other SAP trademarks are registered trademarks of SAP AG in Germany and in several other countries.Every effort is made to ensure content integrity. Use information on this site at your own risk.

    Graphic Design by Round the Bend Wizards

    USA Proxy IPAddress Freeproxyrental.net/USA-Proxy-IP-Addres

    Hide Real Location ON USAProxies NOW Free - InstallWindows Software

    9 people like this.Like Share

    Facebook social plugin

    Add a comment...

    Comment using...