Application Development 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: 

Smartform issue

former_member572496
Participant
0 Kudos

Hi all,

I created a new smatform but data is not coming in output,That's why i want to put a breakpoint but it is showing 'NO FRAMEWORK PROGRAM WAS FOUND FOR INCLUDE FUNCTION MODULE NAME' how to put a break-point in this situvation.

Thanks,

Sainath k.

1 ACCEPTED SOLUTION

hedvig_rohonyi
Employee
Employee

Dear Sainath,


New function module is generated when you use the smartform in the application the first time. i.e. when the application print program calls the function module SSF_FUNCTION_MODULE_NAME the first time.

The new smartform function module should be generated within this function module SSF_FUNCTION_MODULE_NAME -> FB_GENERATE_FORM.


You can then run RSTXGALL also (note 630105) or a simple testrun via tc Smartforms (F8 four times)After that you can put a break-point in the function /1BCDWB/SF00000nnn


Best regards,

Hedvig

7 REPLIES 7

former_member213491
Participant
0 Kudos

Hallo Sainath,

Please try this one copy the name FM of Smartform e.g /1BCDWB/SF00000.. and goto SE37 then try setting the Break point.



0 Kudos

HI Zafarullah,

What you said about is absolutely But i put a break point just like you the break point is not accepted.Thank you for your suggestion.

Thanks,

Sainath k.

hedvig_rohonyi
Employee
Employee

Dear Sainath,


New function module is generated when you use the smartform in the application the first time. i.e. when the application print program calls the function module SSF_FUNCTION_MODULE_NAME the first time.

The new smartform function module should be generated within this function module SSF_FUNCTION_MODULE_NAME -> FB_GENERATE_FORM.


You can then run RSTXGALL also (note 630105) or a simple testrun via tc Smartforms (F8 four times)After that you can put a break-point in the function /1BCDWB/SF00000nnn


Best regards,

Hedvig

former_member539238
Participant
0 Kudos

Normally I put break point in smart forms by using "BREAK-POINT" instruction. You create a program line where you need the break point and you use the instruction there. If it is the initialization you can directly insert it at the part.

sathyags
Active Participant
0 Kudos

Open your function module in SE37. Copy the program name from attributes tab, double click on the include that ends with F01 and search for the line of code that you want to debug. keep a break point. It should work.

former_member572496
Participant
0 Kudos

Thank you all for your valuable time to suggested me.But the issue is done.I did one thing manually added field is removing, i added throught

field list drag that field.In that situation, it's working fine.

Thanks,

Sainth k.

Jelena
Active Contributor
0 Kudos

If the question is answered then close it properly, see this blog.