cancel
Showing results for 
Search instead for 
Did you mean: 

Searching something inside a smartform

gastn_jareo
Active Participant
0 Kudos

Hi folks! Does anybody knows how to search something inside a smartform. Let's think you have a complex smarform made by other person. You found a veriable. This variable is in Global Definitions section, so it's filled in the smartform in any code node.

Do you know how to find this node without open every node of the smartform searching it manually?

Thanks!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi Gaston,

Something strange but it really helps .

If you want to search where this global variable is used in the complex smartform .Change the name of that global variable in the global definition .let say var is our global variable name change it to va and check the syntax it will tell all the text elements where this variable is used in the syntax error and click on the syntax error and it will take you to that text element.

But it really helps.

hassan_nia
Explorer
0 Kudos

Works perfect, Thanks

Answers (4)

Answers (4)

former_member196280
Active Contributor
0 Kudos

goto SE38 and give program name as : /1BCDWB/<function module name>

Display and find what is required.

Regards,

SaiRam

Former Member
0 Kudos

Hi Gaston,

You need to do the following things to find out the variable in the smartforms-

1) Open the smartforms. Execute it. A function module is generated. You will get some /1BCDWB/SF000...... .

2) Open the function module in display mode and go to the attributes tab. Under general data , you will get program name. Double click that program name so that you can enter that program.

3) You will find many includes under that. Don't go to individual includes and search the variable. Rather give the variable name in the find function in application toolbar .You will get all the occurances of that variable in that program, along with the name of the node in which it is located.

Regards,

Debopriyo

Former Member
0 Kudos

In the Smartforms transaction go to Environment->Function Module.

Copy the function module name and take it to SE37.

Now search the FM for your variable.

Former Member
0 Kudos

Hello Gaston,

Every time when a smartform is created automatically a Function Module is created, so It could be a good practice to try too take a look inside it in order to find what you need.

I hope this helps

Gabriel