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 can I debug a Function Module used by smartforms

Former Member
0 Likes
600

Hello everyone,

i have a problem with the function module /1BCDWB/SF00000040.

It's a module executed from a smartforms form. I need to debug this

function module while printing an invoice. While printing it should jump

to the place of the function module.

Would be grateful if someone could help me.

Best regards

F. Hoppe

5 REPLIES 5
Read only

Pawan_Kesari
Active Contributor
0 Likes
577

open function module /1BCDWB/SF00000040 in se37 and put a break-point in it... now when you print using corresponding smartform, it will stop there (as long as execution is in foreground mode)

Read only

0 Likes
577

This is exactly what i have done last time.

The problem is that the breakpoint does not stay at the same place

when i activate it in the module itself.

Isn't there a transaction you can put breakpoints specific to a FM?

Read only

0 Likes
577

I think if you are activating the smartform then you have to create the break-point again. How are you printing the output?

Read only

0 Likes
577

I create a message in the invoice TA vf02.

As usual as a user would do.

But I would like to check some values.

Read only

0 Likes
577

after putting the break-point and adding the message use program RSNAST00 to issue the output.