07-01-2015 11:26 PM
I created a SMARTFORM in DEV Its name is: ZAAF_REG_AF3_V05
I used this SMARTFORM in a program. The program and the smartform work fine.
I requested a transport to QAS for this form.
The transport was succesful.
In QAS i use the transaction SMARTFORMS to verify the existence of my SMARTFORM
My SMARTFORM appears:
But my program does not work and does not show my smartform.
I debug my program. The program work well until it calls the smartform
When the program calls the smartform it stays idle....
With transaction SE11 I explored the table: STFXADMI
In QAS the table STFXADMI does not have my smartform ZAAF_REG_AF3_V05:
In DEV the table STFXADMI does have my smartform ZAAF_REG_AF3_V05:
Why?
Why my smartform does not appear in STFXADMI
Why my smartform does not work in QAS?
Thank you in advance.
07-02-2015 1:58 AM
Hello,
If you transport a Smartform, you only transport the
form, but not the function module. The name of the function module is
generated automatically in the system during the first call of the
form. (and add entry to table STFADMI). Check SAP note:
630105 Generating Smart Forms after transport - RSTXGALL
Regards,
David
07-02-2015 12:36 AM
Hi Fernando ,
Have you hardcoded the function module name in your report?
(The Smartform generated FM's are system dependent and it will be different in QA.)
if yes ,please change it like this --
DATA: lf_formname TYPE tdsfname.
DATA: lf_fm_name TYPE rs38l_fnam.
lf_formname = <your from name>.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = lf_formname
IMPORTING
fm_name = lf_fm_name "get FM name..
CALL FUNCTION lf_fm_name. " call that FM like this...
In case the above said FM 'SSF_FUNCTION_MODULE_NAME' has already been used and still the smartform is not getting displayed , please generate it -->
--->go to tcode smartforms from the menu bar under smartforms->generate.
Regards,
Saddam Kazmi
07-02-2015 1:58 AM
Hello,
If you transport a Smartform, you only transport the
form, but not the function module. The name of the function module is
generated automatically in the system during the first call of the
form. (and add entry to table STFADMI). Check SAP note:
630105 Generating Smart Forms after transport - RSTXGALL
Regards,
David