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

debugging script and smartforms

Former Member
0 Likes
641

Hai,

how to debug a smart form,jet forms and adobe forms?

can we make water marks in sap scripts and smart forms?

can we use break points and watch points in scripts or smart forms?

thanks in advance

Praveen

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
576

Hi Praveen,

Smartform Debug:

Display your SmartForm.

Go to Environment and copy the function module name.

Go to SE37 and display the function.

Go to Smartforms and copy the node name where you want to debugg.

Go to the function and search for the name in main program. Put a soft break point.

How can we make water marks in sap scripts and smart forms?

as i understood you want to print a image in the back ground of the data you r printing. if iam not wrong... fallow this way.. i did it this way.

in the PAGE1--> i have created a Graphic window, then alligned it same location of the main window(because data printing starts from there.)

then in the Main window-->as usual i have inserted the table. its working fine with both static and dynamic text.

in you r case.. the problem cluld be the color u have selected for the table line type...even though u haven't did it once check in the double click on TABLE>TABLE tab>in Shading -->color BLACK and saturation 0%.

can we use break points and watch points in scripts or smart forms?

Yes.

<b>Kindly Reward points if you found this reply helpful</b>,

Cheers,

Chaitanya.

4 REPLIES 4
Read only

former_member386202
Active Contributor
0 Likes
576

Hi,

In smartforms create program line and set breakpoint there n execute it will break. Otherwise set breakpoint in function module which generated by smartforms.

In SAPscript goto Utilities -> Activate Debugger then execute

Regards,

PRashant

Read only

Former Member
0 Likes
576

in SAP Script debugging you can not use the normal ABAP debugger features as a new debugger is started for SAP Script...

where as for smartforms its FM can be debugged as normal ABAP code.. so you can use the watch point functionality there...

Read only

Former Member
0 Likes
576

hi praveen

In SAPscript goto Utilities -> Activate Debugger then execute

in smartforms goto environment and get fm name

then goto se37 paste the name and put the break point where ur want

Read only

Former Member
0 Likes
577

Hi Praveen,

Smartform Debug:

Display your SmartForm.

Go to Environment and copy the function module name.

Go to SE37 and display the function.

Go to Smartforms and copy the node name where you want to debugg.

Go to the function and search for the name in main program. Put a soft break point.

How can we make water marks in sap scripts and smart forms?

as i understood you want to print a image in the back ground of the data you r printing. if iam not wrong... fallow this way.. i did it this way.

in the PAGE1--> i have created a Graphic window, then alligned it same location of the main window(because data printing starts from there.)

then in the Main window-->as usual i have inserted the table. its working fine with both static and dynamic text.

in you r case.. the problem cluld be the color u have selected for the table line type...even though u haven't did it once check in the double click on TABLE>TABLE tab>in Shading -->color BLACK and saturation 0%.

can we use break points and watch points in scripts or smart forms?

Yes.

<b>Kindly Reward points if you found this reply helpful</b>,

Cheers,

Chaitanya.