cancel
Showing results for 
Search instead for 
Did you mean: 

SAMRTFORMS

Former Member
0 Kudos

Hi Experts,

can u explain me fo;;owing questions

1.how we can put a breakpoint in samartform, script?

2.what are the limitation of smartform compared to scripts?

Thanks

Gopi

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

1.Sap script can be debug by activating the Debugger in Se71>utilities>activate Debugger.And go into the Transaction from where you need to trigger the Form.

2.By RSTXDEBUG executable program also ,you can debug the Script.

3.Or else you can place a break point in The driver program and Debug it.

4.For a Smartform,Place a break point in program lines and you can debug the form.

5.OR In the function Module ,which is generated while activateing the Smartform,place a break point and debug the script..

6.Compare to Script,In smartforms,

a.No mandatory of main window.

b. you cann't call more than one main window.

c.Without main window also smartform exist.

d.Printing Labels is not possible.

e.Printing background pictures,Dynamic pictures,Less code required in driver program.

7.Colors in smartform also possible ,etc.

8.We can Trace the smartform,by using SFTRACE.

Regards,

Shiva Kumar

Former Member
0 Kudos

You should add Program Lines node in the smartform.

there you can code the Break-Point.

Smartform can have a single MAIN WINDOW which is mandatory, whereas a script can have multiple main windows, a main window is not mandatory in the script.

Former Member
0 Kudos

Hi Gopi,

In SAPScript you can put a break point in your driver(Print) program and also you can start the debugger from SE71 transaction or you can exeucute a program RSTXLDBUG (RSTXDEBUG can't verify as of now.no sap access)to activate SAP script debugger.

in smart form ad program line with line of code BREAK-POINT in it.

also you can debug the SMARTFORMS genarated function module by placing break point inside of FM.

Hope this will help..

//Kiran