This website is not affiliated with, sponsored by, or approved by SAP AG.

0043 - Debugging From Java

Moderators: Snowy, thx4allthefish, Rich, ilya

0043 - Debugging From Java

Postby Rich » Sat Mar 28, 2009 8:49 am

Debugging ABAP programs from JAVA applications.


You can do ABAP debugging from java applications here is how :

  1. Check whether your user has debugging authority. Auth. object S_DEVELOP has to contain 'DEBUG'
    1. Use su01; ROLES
    2. Double click the different roles ->
    3. new session will open
    4. Choose Authorizations -> Display Authorization Data
  2. go to the ABAP coding
  3. go to the menu Utilities -> Settings / choose tab "ABAP editor " / choose tab "Debugging" check the chek - box "Actv." in the User field enter the user used in the Java logon (not the alias of the user!! e.g. for user XYZS enter "3B1968D7DD1")
  4. Press enter or choose OK to get back to your source code
  5. If you set you next break-point a pop-up will occur to ask you if you want to set an external break-point or a session break-point --> click external break-point (= former HTTP break-point) -->

if you run you Java application now and the coding with the break-point is called a new R/3 (CRM) window will open and you will see you code in debug mode (may take some seconds).

(Courtesy Dany Charbonneau)
Regards

Rich

Image
Abap KC:http://www.richard-harper.me.uk/Kb
SFMDR:http://www.se37.com
Rich
 
Posts: 7112
Joined: Thu Oct 31, 2002 4:47 pm
Location: Liverpool

Return to ABAPers

Who is online

Users browsing this forum: No registered users and 1 guest





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.