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: 

smartforms

Former Member
0 Kudos

Hi All

My smartforms on development work properly . but when i transfer smartforms and all related data( smartforms style, ztable, driver program, smartforms, logo) to production server that not work.

i have also use 'SSF_FUNCTION_MODULE_NAME' function module.

when i debuge the driver program on production server there is problem in SSF_FUNCTION_MODULE_NAME' .This function module does not give FM_NAME value.

when cursor goes on FB_GENERATE_FORM process has stop and hang.

anybody tell me where is the problem.

Regards

Sam.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

How did you assign the Smart form Generated FM to the SSF_Function..... FM?? Did you manually give the FM name like 1/sf/........ Just paste that part of code here.

Vishwa.

6 REPLIES 6

former_member223537
Active Contributor
0 Kudos

Hi Sam,

Please check whether you have transported the smartform, smartstyle to the production.

If yes, then check whether the smartform name & the name mentioned in SSF_FUNCTION_MODULE_NAME is same.

Also let us know the sy-subrc returned by above FM.

Best regards,

Prashant

Former Member
0 Kudos

Hi

How did you assign the Smart form Generated FM to the SSF_Function..... FM?? Did you manually give the FM name like 1/sf/........ Just paste that part of code here.

Vishwa.

0 Kudos

Hi,

thanks for reply.

i use following code

DATA : FORMNAME TYPE TDSFNAME.

DATA : FM_NAME TYPE RS38L_FNAM.

FORMNAME ='ZSDS_SALES_ORDER'.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

FORMNAME = FORMNAME

  • VARIANT = ' '

  • DIRECT_CALL = ' '

IMPORTING

FM_NAME = FM_NAME

EXCEPTIONS

NO_FORM = 1

NO_FUNCTION_MODULE = 2

OTHERS = 3

.

IF SY-SUBRC<> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

  • PERFORM FORM_NAME.

ENDIF.

CALL FUNCTION FM_NAME

  • EXPORTING

TABLES

  • IT = IT

IT1 = IT1

EXCEPTIONS

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

OTHERS = 5.

IF sy-subrc <> 0.

  • MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno

  • WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

ENDIF

regards

SAM.

0 Kudos

Did you activate the smartform in production server from SMARTFORMS tcode??

Vishwa.

0 Kudos

Hi,

my smartforms also active in production server.

when i done the debuge that time in 'ssf_function_module_name' my driver program change date not update.

table : d010sinf

fields: udate.

Regards

SAM.

Former Member
0 Kudos

Hi,

I guess need to generate the smartform in production, I mean to Tcode smartforms and enter the form name and execute it then it will generate the FM in PD.

Hope this helps you

Raj.