‎2013 May 17 10:57 AM
I have made a simple modification in a smarform, I only added a condition more in a loop.I transported it to QA.
Now when I go to the se80 and look at the module functions, in development and QA, in the tree of the left, only see 2 folders: Includes and Function Modules.
Before the change saw all these folders: Function Modules, Dictionary structures, type groups, classes, types, fields, macros, subroutines, includes.
Both development and quality have disappeared almost all.
‎2013 May 20 10:55 AM
I got fix it.
In Menu of Function Module: Utilities --> Update Navigation Index
Thanks to all for yours replies.
‎2013 May 17 11:24 AM
Probably in SE80 you are displaying a different function group
Why don't you try opening the FM from SE87 and than expand the selection?
Cheers!
Abhinab
‎2013 May 17 11:30 AM
‎2013 May 17 11:48 AM
‎2013 May 17 11:55 AM
Thank you for the reply, but I already did SE37, utilities --> Display object list. This was my first attempt and I got nothing, only display 2 folders.
‎2013 May 17 11:52 AM
Hi Joaquin,
As smart forms are client independent wen you move smart form from one system to another system the function module which is generated by smart form will be different so won't get that function module.
To run your smart form from the report try following code..
DATA zsmart_fm TYPE RS38L_FNAM.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'Your smart form name'
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
FM_NAME = zsmart_fm
* EXCEPTIONS
* NO_FORM = 1
* NO_FUNCTION_MODULE = 2
* OTHERS = 3
.
IF sy-subrc <> 0.
MESSAGE 'No Smart Form Available' TYPE 'E'.
ENDIF.
CALL FUNCTION zsmart_fm
‎2013 May 17 11:53 AM
You say before the change these objects were there. But you don't tell us clearly if they are still present in your development system.
If they are then something most have gone wrong with the transport, check the transportlogs and transport agaian.
If they are not present in development, then they have been deleted and the transport was correct in deleting them as well on QA.
If they are not there in development you (or another developer or maybe even a malicious program) must have deleted them. I don't think it is possible that a transport can delete objects in development.
‎2013 May 17 12:05 PM
Thanks for the reply.
After de transport the folders disappeared in two systems Development and QA.
In transport logs are good, and I transported it several times, There was no error in the transport.
I do not think that they deleted, maybe is a system memory error????
When I execute the invoice to see the form, it works good.
‎2014 Jul 05 3:19 PM
‎2013 May 17 12:07 PM
Hi Jaoquin,
Regenerate the smartform once again in development and then transport it to quality.
I strongly believe there must have been something wrong in the transports or the regeneration of smartform
Regards,
sandeep katoch
‎2013 May 17 12:13 PM
Thanks a lot for the reply,
the steps that I followed before transport are as follows:
1 Modify
2 Record
3. Include the in the task of an order
4 Activate.
5 Transport to Qa
I do it well, you have to give step any more, for example to generate?
‎2013 May 17 12:23 PM
Hi Joaquin,
Yes there are times when you have to regenerate the smartform completely even after activating it.
As regeneration of smartform regenerate the smartform from grass root level.
BR,
Sandeep Katoch
‎2013 May 17 12:42 PM
Sorry, I've regenerated the smartform and the module functions remains the same.
‎2013 May 17 1:19 PM
Last trick which you can do is
1: Go to Transaction smartforms
2: Give smartform name there
3: Press execute.
4: You will get the function module starting from /B
5: display the functioon module
6: press ctrl+shift_F5 and check whether there you can see all the necessary objects.
7: If found make an transport entry from there itself.
BR,
Sandeep Katoch
‎2013 May 17 12:48 PM
Open smartform from menu
go to Environment--->Function module name.
In devl & Quality the name may not be same check once...
‎2013 May 17 12:59 PM
In Development system:
1º Smartforms trx. go to Environment -- > Function module name. the result is the following: /1BCDWB/SF00000005
2ª Go to de SE37 and execute SSF_FUNCTION_MODULE_NAME with my smartform and the result is the following: /1BCDWB/SF00000005
In QA system:
1º Smartforms trx. go to Environment -- > Function module name. the result is the following: /1BCDWB/SF00000005
2ª Go to de SE37 and execute SSF_FUNCTION_MODULE_NAME with my smartform and the result is the following: /1BCDWB/SF00000005
4 attempts to return me the same function module.
‎2013 May 17 1:02 PM
Hi,
Please check whether the SmarForm is regenrated .
By activating the smart form its Fm gets regenrated.
Please activate it once.
regards,
Amit
‎2013 May 17 1:26 PM
I do it by differents ways:
1 Regenerate the smartform and after activate the FM.
2 Activate the smartform, regenerate the smartform and activate fm.
3 Activate and regenerate the smartform.
And don't see the FM, completly.
‎2013 May 17 4:15 PM
Smartforms FMs are not generated till you try to execute them. Try running your output. This will generate the Smartforms FMs and link the includes with the main program.
Before generating, if you try to put a breakpoint in a include, you would get a message like Unable to find main program. After you run your output, the FM gets generated and all the includes gets properly linked to the FG. You should be able to see the tree after this generation.
Thanks,
Naimesh Patel
‎2013 May 20 8:39 AM
I've done what you said, i try to execute the smarform, but the FM does't generate with all elements.
I have attached some pictures of how are in development and in quality.
Development:
QA:
‎2013 May 20 10:55 AM
I got fix it.
In Menu of Function Module: Utilities --> Update Navigation Index
Thanks to all for yours replies.