09-05-2014 5:53 AM
Hi Team,
In our project migration is going on first, step they are changing the sales
organization names.
My work is need to find the hardcodes used in smart forms. Please suggest me
there are any reports or function modules to do this.
Following are the things I need to find out,
1. Hard coded used in the code lines of smart form.
2. Hard coded values maintained in conditions of each node.
3. Need to find out include names used in forms.
Please suggest me.Thanks in advance for all your inputs.
Regards,
Ravi Shankar.L
09-05-2014 8:57 PM
Hi Ravi,
all smartforms end in generated functions and so you just can use your normal ABAP-Tools to identify the stuff.
You just need to create a small report which does give you all the generated names back. -->
Pass all the names
LOOP <TABLE_WITH_NAMES>
Function SSF_FUNCTION_MODULE_NAME
--> Save the name given by this stone
ENDLOOP.
I think it is about 15 minutes to have it done
~Florian
09-05-2014 5:56 AM
Hi have searching some blogs all are saying that we need to go node by node manually if any other options there please kindly let me know.Because we are having 300 forms.It is little to difficult to do this.
Regards,
Ravi
09-05-2014 6:01 AM
Hi Ravi,
As i know there is no option to find it. We need to get one after another.
Regards,
Madhu.
09-05-2014 6:06 AM
09-05-2014 6:27 AM
Hi,
Thanks for your quick reply.
I will try it now and let you know the feedback about this.
Regards,
Ravi Shankar.L
09-05-2014 7:31 AM
Hi,
Try to analyze the XML and see how the constants are held.
I am at home now so I cannot test.
Regards and good luck.
09-05-2014 11:48 AM
Hi ,
I executed this report it gives different styles used in the smartforms.
Now I need to create a report for finding include texts and hardcoded values.
When I get success in it I will update that in form.
Anyway thanks for your valuable idea to proceed further.
Regards,
Ravi Shanakr.L
09-05-2014 1:58 PM
Hi,
The update of the forms is a manual job.
Automated update will be nice but it needs a research.
Regards.
09-05-2014 7:56 PM
Haaaa......
Very well said.... Soon we will find it.
Regards,
Ravi Shankar.L
09-05-2014 8:15 PM
Hi,
In smartforms, in the menu there is an option to display the form info.
This basically gives the complete smartform details including all the coding etc in new window.
That is the most convenient way to find out the hard coding built in within the SMARTFORMS.
Regards,
Ankur Parab
09-05-2014 8:57 PM
Hi Ravi,
all smartforms end in generated functions and so you just can use your normal ABAP-Tools to identify the stuff.
You just need to create a small report which does give you all the generated names back. -->
Pass all the names
LOOP <TABLE_WITH_NAMES>
Function SSF_FUNCTION_MODULE_NAME
--> Save the name given by this stone
ENDLOOP.
I think it is about 15 minutes to have it done
~Florian
09-05-2014 9:30 PM
Hi,
Have you tried to do the same task in this thread ?
It all depends where SAP is keeping the hard coded values .
It is a multilingual system .
Regards.
09-06-2014 2:54 AM
Hi ,
LOOP <TABLE_WITH_NAMES>
I am not able to get from you that what table need to be looped here.
Kindly me help me further please.Thanks in advance.
Regards,
Ravi Shankar.L
09-06-2014 3:04 AM
Hi,
I don't know how to use the classes efficiently.
Just help me out how to start the loop for that overall XML file we are getting it.
1.I want to write full details in the ALV that what is the child node name parent node depth of that node like that.So that I would like to loop the overall XML document.
If possible can you please share your ideas in this point.
Regards,
Ravi Shankar.L
09-06-2014 8:34 AM
Hi Ravi,
in that table there are the smartform-names itself you can pick from TA SMARTFORMS.
You get back names like BEV/00000027 or something like that and this is a function-stone name you can use for further processing.
Perhaps I can find my report and share it with you. But today I do not have access to the correct system.
~Florian
09-06-2014 10:38 AM
Hi,
Once you got that code.
Kindly share me that here.
Thanks in advance for your support.
Regards,
Ravishankar.L
09-07-2014 9:32 AM
09-07-2014 1:39 PM
Hi,
Thanks for your great help.
Even this part you have shared I have finished.
I am adding some more points to the program.
Once it is fully completed I will share that here.
Again Big Thanks because of your idea only I am doing this .
I have marked your answer is correct.
Regards,
Ravi Shankar.L
09-09-2014 11:35 AM
Had time to look into the report you have suggested me.
Please share that thing in the form.
Thanks in advance for your help.
Regards,
Ravi Shankar.L
09-09-2014 11:59 AM
Hi,
You get complete form information by clicking on the form info option in utilities.
This opens a pop up and you get the complete form information including the code in different sections.
Regards,
Ankur Parab