How to debug adapter module in PI 7.1

Hello all,
I am trying to figure out how to debug adapter module in PI 7.1.
I guess runtime debugging ( switch AS java in debug mode and attach NWDS to the AS Java to debug as module is being executed) is not possible with adapter module. Please let me know if this is indeed possible and how to enable it.
The only option is to send debug information to log file. So in the module code like:
audit.addAuditLogEntry(key, status, message);
location.debugT(SIGNATURE, message);
I've read that for PI 7.0, you need to add log-configuration.xml to meta-inf. Is this still required for PI 7.1?
My next question is how to read the log in audit log and in location. I've read that the audit log can be read in .../MessagingSystem/monitor/monitor.jsp, under which section of the page I can read the audit log? I can't see any of my log there.
For log in location, I guess I need to go to NWA, can you please share the path (navigation) in NWA to see the location?
Thanks
Jayson

> I guess runtime debugging ( switch AS java in debug mode and attach NWDS to the AS Java to debug as module is being executed) is not possible with adapter module. Please let me know if this is indeed possible and how to enable it.
It is possible for adapter modules as well. I know this from our developers
It should work like this:
/people/christian.drumm/blog/2008/09/30/debugging-java-mappings-using-sap-netweaver-developer-studio
> The only option is to send debug information to log file. So in the module code like:
> audit.addAuditLogEntry(key, status, message);
> location.debugT(SIGNATURE, message);
> My next question is how to read the log in audit log and in location. I've read that the audit log can be read in .../MessagingSystem/monitor/monitor.jsp, under which section of the page I can read the audit log?
In the RWB under Message Monitoring for Adapter, or try the shortcut
http://server:port/mdt

Similar Messages

  • How to Debug Functional Module called via RFC?

    Hi Experts,
         Please, can someone explain to me how to debug functional module that is called via RFC? Thanks in advance.
      Best Regards,
    Aleksandar

    Hi Laxman,
       First of all thank you very much for giving attention to my post. Ok, I am trying to debug function module in RM-CA (FICA), function module is called by CRM system (via RFC) and in addition all this chain is triggered by WebClient.
         I have user that can login on the CRM as well as on RM-CA (ECC 6.0) system, but those users are different (unfortunately I do not have administration permission so I can’t change profiles of my users but I can ask for it). I can without any problem debug calls that come from WebClient, so setting an external break point in CRM system I can catch whatever I want but when process comes to point where actually call to back-end (RM-CA) takes place I simply can’t get into functional module, that resides on RM-CA side. Actually what happens is that processing continues as was chosen ‘NEXT STEP’ (F6).
         To resume, two systems and two different users. Where XCM user should be created? (on RM-CA system or CRM). Should I change something in Menu option Utilities -> Settings -> ABAP Editor tab -> Debugging tab, in field users?  If you need any additional info please tell me.
      Thanks again for your support.
    Aleksandar

  • How to create Adapter modules

    hi experts,
    May i know how to create adapter modules..
    Thanks & Regards
    guna

    Hi,
    Start with basics:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7bf6e190-0201-0010-83b7-cc557eb76abe
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
    Some good Examples to start with :
    Rename Attachment Adapter Module
    Copy a file with same filename using XI
    Customized Adapter Module
    Regards

  • How to write adapter module to convert the xml to pdf file

    Hi all,
      how to write adapter module to convert the xml to pdf file.
    Please any body assist step by step procedure.

    PI 7.1 XML to PDF transformation
    have you seen below links:
    http://forums.sdn.sap.com/thread.jspa?threadID=1212478
    http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14363

  • How to deploy adapter module -------  in XI

    hi forum,
    i have developed a ejb adapter module from a blog,
    i developed it in the NWDS,
    i now want to deploy it,  how should i deploy it,
    i dont know anything about Visual Admin or SDM, pls help me out
    Message was edited by:
            sudeep dhar

    Hi,
    Refer to these links may be useful to you
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3a83c242-0801-0010-dc95-d496cf6dba9d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3c95e290-0201-0010-d492-c4333f0d83b7
    Web Service Wizards crash with java.lang.StackOverflowError
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/1b651014-0301-0010-c39a-98d7cd057847
    /people/riyaz.sayyad/blog/2006/05/10/consuming-xi-web-services-using-web-dynpro-150-ui-design-part-iii
    Regards,
    Kumar

  • How to test Adapter Module

    Hi
    My Scenario is File - to - File
    I have written one adapter module and i have deployed in J2ee Engine as well. In sender communication channel i have given the JNDI name like
    <b>"localejbs/<JNDI Name>"</b>.I have tested the my file to file scenario by placing a file in source directory which i have mentioned in Communication channel Source Directory and File Name.But i didnt find any difference in target file.
    I have used the following blog
    <b>
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/da5675d1-0301-0010-9584-f6cb18c04805</b>
    1.How to test the adapter module.
    2.How to configure my communication channel.
    Please help me its very urgent
    Best Regards
    Ravi Shankar B

    Hi,
    check JNDI service in visual admin to see if
    your service has the same name there
    >>>>1.How to test the adapter module.
    by using it in a channel
    >>>>2.How to configure my communication channel.
    add you adapter module to the adapter module tab
    in communication channel
    Regards,
    michal

  • How to incorporate adapter module while writing the adapter metadata for it

    Hi all,
             We  are developing a adapter and the custom adapter module has been prepared.Now we need to write our own adapter metadata. So I need to know in detail how to incorporate our custom adapter module into our adapter metadata.
    Paul

    hi
    check the below links
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daa51a96-0b01-0010-738f-a0ecfd06104e
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7086f109-aaa7-2a10-0cb5-f69bd2affd2b
    https://www.sdn.sap.com/irj/sdn/teched2004
    note:reward points if solution found helpfull.....
    regards
    chandrakanth.k

  • How possible in Adapter module

    Hi
    In my adapter module, i want to do the following. can any one help me out how can i achieve..
    In my sync scenario, module at receiver side, want to know
                  Time of request sent to receiver ,
                  time of response get back from receiver to PI
                  what was the response
                  was it sucessfully sent to sender from PI.
    Please provide with exact class and method name from API or sample code..
    Thanks
    Prabhakar

    Hi Venkat,
    I think ur looking for traces as per your request and this is not recommended option in production system. But the 2 options of request time and response time can be updated in traces (Moni) using date functions (standard functions), Container and MappingTrace objects. May I know ur requirement exactly. This solution in adapter module is static. Where you want to use these details and in what form.
    Thanks
    Ramesh

  • How to Test Adapter Module in NWDS

    Hi Friends,
    I have written an adapter module. Before deploying on adapter engine, I want to do test in NWDS. Any idea how to do this. Please provide sample java code, if possible.
    Thanks,
    Sandeep Maurya

    Hi,
    Since runtime and module processor framework is not available on your local machine that's why adapter module test not possible using NWDS on local machine.
    Another possibility is to install PCK on some local machine for testing purpose.
    You must deploy (either on PCK or AE) it and test.
    Regards,
    Gourav

  • How to debug Function Modules from ISA!!!

    Hi Gurus,
                     How to debug the function modules from ISA.
    For Ex:If i am in shopping cart or product catalog,e.t.c..i need to know which FM is calling from backend, how to debug the FMs/Bapis related to that from ISA side.
    direct me to all the possible ways.
    Regards,
    Anil.

    Hello Anil,
    There are a few things you need to look at when trying to debug .
    1. The function module needed ( you can do a trace to see which one is called.)
    2. The user that is been user With statefull and stateless connection the FM can be called by either the JCO user or the internet user. This will need to be considered when setting your external break point.
    3. The server been used, You will need to check the XCM to see which server is been used ie are you using a group connect of a specific server , You need to make sure that you are setting the breakpoint on the server that is specified in the XCM.
    Have a look at note [871907|https://service.sap.com/sap/support/notes/871907]   the attachment to the note may help you a lot. .
    Hope this helps.
    Regards
    Mark
    Edited by: Mark Foley  on Feb 11, 2009 11:10 AM

  • How to debug Adaptive RFC

    hi folks,
    How to debug an adaptive RFC connection and plz leave some idea about the Bapi_Input and Bapi_output structures
    thanks in advance
    nikhil

    Hi
    If you want to debug the backend then put and external breakpoint in the abap code.
    make your jco connect to a single instance
    login using the user which is configured for jco.
    For the front end
    put a break point in your code before you call the execute method on the RFC and after it and use the debug perspective to evaluate the values.
    Regards
    Ayyapparaj

  • How to deploy adapter module in PI 7.0

    Hi,
    Can ne one guide me how to deploy adapter mdule in PI 7.0?
    The XI consultant has given me the EAR file..how do i deploy it?..how do i check it?

    Hi Teja,
    This links should help to you
    http://help.sap.com/saphelp_nw2004s/helpdata/en/f0/122abf61d4974eaea6b5d9c314cff1/frameset.htm
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3414800)ID1509029850DB01452196011567672996End?blog=/pub/wlg/2493
    http://help.sap.com/saphelp_nw04/helpdata/en/b5/3f533e5ff4d064e10000000a114084/frameset.htm
    Regards
    Ramesh

  • How to debug mapping module of a Adapter Object

    I have created an Adapter object which will send data from ECC table to CRM. In the Table/Structure tab, I have mentioned the ECC table name for which data will come.
    A FM is created to convert data and is mapped in Mapping Module of the object.Now though initial load is running sucessfully, table entry is not inserted in CRM table.
    Though I have given breakpoint in the FM, it is not triggering. Is there any way out to debug the FM.

    Hi,
    Can you let me know the download status of your adapter object using txn. R3AM1? If it is DONE, you can trigger another initial load.
    The inbound queue formation on CRM is governed by USE_IN_QUEUE field of table CRMRFCPAR on the ECC for your adapter object. It should be set to X. So in case there's a specific entry for your adapter object in CRMRFCPAR, just check it.
    If this setting is already maintained you should see a queue name like R3AI_<objectName> in SMQ2 of CRM. Of course you'd need to deregister the R3AI* queue in txn. SMQR.
    Thanks,
    Rohit

  • How  to debug function module in update task ?

    Hi ,
              i have following code :
    CALL FUNCTION 'ZSD_t_UPDATE' IN UPDATE TASK
                 TABLES
                                  it_xvbkd = xvbkd.
    Inside this function module i have some code  to debug . How can i debug it ?
    I put the breakpoint in it but its not working .
    It is triggered on save of  a tcode .
    Thanks and Regards .

    My home-grown method:
    Set your breakpoint in the FM.
    In your transaction, just before you press save, enter hobble mode in your command box with '/h'.
    press save.
    In your first debug screen, toggle settings>system debugging ON (NetWeaver Drop-down menu) or see previous notes for earlier WebAS versions.
    Select continue (F8).
    The program should then stop at your break-point in the FM.

  • Adapter Modules in PI 7.1  EAR/SDA?

    Hi guys,
    is it possible to deploy adapter modules in the 7.1 version in the same form as before? I mean EARs?
    Thanks,
    Olian

    Hi,
    the below link already ravi provided if you read the PDF you will understand clearly how to deploy Adapter Modules.
    http://www.sdn.sap.com/irj/scn/index;jsessionid=(J2EE3417300)ID1319576450DB10340902879478557111End?rid=/library/uuid/00838345-708c-2a10-1199-9514c0b0a91c&overridelayout=true
    THere atre two ways we can delploy Adapter Module,Directly from NWDS,if you have acces to J2EE engine,this is the easy way,because you already have EAR files.
    Second one is deploying in SDM ,i don think so you need to convert in to.sdm files, we can directly deploy EAR files in SDM.
    Regards,
    Raj

Maybe you are looking for

  • Formula is not working in report

    Hi Friends, This is formula iam using in report.but in output iam getting only value 1. Iam not getting other values. I think my OR condition is not working. ( ( ( ( ( 'KF1' < 0.1000 ) * 1 OR ( ( 'KF1' >= 0.1000 ) AND ( 'KF1' < 0.1200 ) ) * 2 ) OR (

  • Every time I click on a link in safari, an ad page pops up

    Hello, I have a MacBook Air (13-inch, Mid 2013) and I am using MacOsX Yosemite edition. A few hours ago something's happened to my safari and almost every time I click on a link, an ad opens up in a tab. When I search something from the address bar,

  • Create a BSP  based on R/3 program

    Hi all, My question is if it is possible to transform an already existing R/3 program to a BSP, without the need to re-write the program. I, for example, would like to transform the standard program SAPLRHP6 to a BSP. Sorry if this question is stupid

  • Aperture Not Displaying Altitude Metadata from Camera

    My camera records GPS data including Lat, Long and Altitude. When I import my images into Aperture 3.5.1, the metadata shows the Lat and Long information but Altitude shows up as 0m. I know for sure that my camera is recording the altitude informatio

  • Recording of Notes tab through BDC

    Hi gurus, We have customised a transaction Fv60 to zv60 for posting  the invoice with company code US01 only. To the ZV60 transaction we have to pass the data through BDC. We cannot able record our entries in 'Notes tab'  in the transaction ZV60 and