on 08-23-2007 8:33 PM
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!
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
goto SE38 and give program name as : /1BCDWB/<function module name>
Display and find what is required.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.