cancel
Showing results for 
Search instead for 
Did you mean: 

Break point in zcustom planning function ( IP)

former_member5472
Active Contributor
0 Kudos
320

Hi,

I have made a zcustom planning function . when i'm executing it i get the desired results ; but i'm not getting a break point even when i have hard coded "BREAK-POINT" in the methods.

I'm executing it through a button in Analyzer.

Thanks

Pratyush

Accepted Solutions (0)

Answers (5)

Answers (5)

former_member5472
Active Contributor
0 Kudos

Hi,

Thanks for the answer. i got the break point ;

But i wanted it to be through the analyzer button so that i can read the transaction data from the layout at run time .

From this report there is direct connection between the two ; but when i'm executing it through analyzer, i'm having an RFC connection .

Please advice . i tried again through anlyzer. Its not working.

Thanks

Pratyush

Former Member
0 Kudos

Hi,

please try using external-breakpoints. If it this does not work probably some probably for the user oder J2EEADMIN user are not set up correctly or the mapping of the users does not work correctly (e.g SSO).

Please check the following notes to find some information about setting up the users:

901022:Integrated planning: RSPLS321 (J2EE engine not found)

947376: Troubleshooting JCo and AdaptiveRFC in Web Dynpro for Java

919850

Hope this helps

Matthias Nutt

Former Member
0 Kudos

Hi,

please create a planning sequence and variant (if you use variables). Now you can run the planning sequence from SE38 using the report RSPLS_PLSEQ_EXECUTE.

This way you will hit your break-point. I have described this already in more detail in this forum.

Please check the following link:

[http://www.google.de/search?hl=de&q=RSPLS_PLSEQ_EXECUTE+site%3Asdn.sap.com&meta=]

Regards Matthias

SAP Consulting Switzerland

former_member5472
Active Contributor
0 Kudos

Hi,

The settings in SE38 is already active.

I created planning seq n attached the function to it ; It got executed successfully , but didn't get the break .

What could be the reason ???

Thanks

Pratyush

Former Member
0 Kudos

Or you're doing it the old fashioned way. Remove the breakpoint and enter:


sy-subrc = 4.
WHILE sy-subrc NE 0.
ENDWHILE.

Now execute the function. Nothing will happen. In the GUI frontend enter transaction SM50 and look for a process with your user that is running. Choose Program/mode -> Program ->Debugging.

Now a new mode should open at the endless loop. Set sy-subrc to 0 and you can continue debugging. Just don't forget to remove the loop before working on.

Edited by: Dirk Herzog on Nov 19, 2008 12:25 PM

Former Member
0 Kudos

Hi Pratyush,

Goto SE38 > Utilities> Setting--> ABAP Editor --> Debugging and activate checkbox IP Matching

Then try to call it from Analyzer.

If it doesn't call debugger from Analyzer then create a test planning sequence and add your planning function and then execute it will open the debugger.

Regards,

Deepti