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

about smartform

Former Member
0 Likes
427

Hi friends,

Tell me the answers for below issues………

1) How to debug the smartform?

2) I have the transaction code va01. For va01 tcode I have two user exits.If user is equal to first user first user exit wil execute.If user is equal to second user second user exit have to execute.How I wil achive this requirement.Where I have to write the code.

3) is it any direct method to debug the script?

Regards

kish

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
393

Hi Kishore,

1.

Check this matter.

For debugging -

1. Write BREAK POINT in the code window.

2. Put a break point on the call function in the driver program

3. Put a break point in the generated Function module.

OR

1) DEBUG Smartform:

1) 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.

2) SFTRACE can be used for debugging SMARTFORMS.

Read More here.

http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

Hope this resolves your query.

Plzz Reward if it is useful,

Mahi.

2 REPLIES 2
Read only

Former Member
0 Likes
394

Hi Kishore,

1.

Check this matter.

For debugging -

1. Write BREAK POINT in the code window.

2. Put a break point on the call function in the driver program

3. Put a break point in the generated Function module.

OR

1) DEBUG Smartform:

1) 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.

2) SFTRACE can be used for debugging SMARTFORMS.

Read More here.

http://help.sap.com/saphelp_erp2004/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

Hope this resolves your query.

Plzz Reward if it is useful,

Mahi.

Read only

Former Member
0 Likes
393

Hi kishore,

Thanq for giving points to me at last time questions.

1.We can debug the smartform in function module.

by using the static and dynamic breakpoints.

we have write the code in global definition level . we can debug there also by using /h.

2.i think we have 4 user exits for this tcode. we cant find which user to access the exit particularly, we can write the code in zinclude.

3.we can debug the script by going to the menu bar utiliteis in script->active bebug.

by using this we can debug.

please check it once.

please reward points, if it is useful.

regards,

satish.