Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to debug a smartform

Former Member
0 Likes
828

hi

how to debug a smartform

4 REPLIES 4
Read only

Former Member
0 Likes
580

HI,

in print program put a break point in Function module generated by Smartform.

or go to SE37, give the function module name generated by Smartform and provide a break point in the code.

Regards

SAB

Read only

Former Member
0 Likes
580

hi,

Either you can 'Activate Debugger' from Utilities in Smartforms OR

In any of your code block you can have Break-point. So that, Debugging will start after this stmnt.

you opened so many threads please close all of those before you post the next quesiton if you problem is solved....

if you have any doubts post the doubts.....

Read only

Former Member
0 Likes
580

Hi,

Try this FM: RSTXDBUG

Regards,

Bhaskar

Read only

Former Member
0 Likes
580

Hi

1) DEBUG Smartform:

One way to debug smartform is to debug the Function Module of that smartforms. If you want to debug particular smartform node that the solution would be, insert a "Program Line" just above the node you want to debug and this program line write a normal abap breakpoint. So whenever you call the smartforms, it will stop at this breakpoint and you can debug onwards.

For script Debugging: Execute RSTXDUBG program to activate the debugger or you can activate the debugger from SE71 utilities -> Activate Debugger

For Smartforms: You can put a breakpoint in the code or you can write explicity BREAK-POINT keyword to debug the smartform

Set the break point in initialization(Global Definitions--> Initialization) of smartform as :

BREAK <USERNAME>. --Works for particular user.

Please don't use BREAK-POINT this will apply all the users who are testing the smartform.

Program stops at break point. After that use Serach and set more break points.

-


>Search the program logic/Textelement/Address via search and set the break point at that code.

Need ur reward points

Regards

Ravi