Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

After transport, SMARTFORM does not appear in table STXFADMI

0 Kudos

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.

1 ACCEPTED SOLUTION

DavidLY
Advisor
Advisor
0 Kudos

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

2 REPLIES 2

Former Member
0 Kudos

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

DavidLY
Advisor
Advisor
0 Kudos

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