Application Development and Automation 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: 
Read only

smartforms.generating fm

Former Member
0 Likes
324

Hi experts,

I am getting error when fm SSF_FUNCTION_MODULE_NAME is executing.....i am getting error as

"Error during generation of form ZQM_HANDSLIP".....it is working properly in devlopment,but in production i am getting this error.

the code is as fallows.....

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

FORMNAME = 'ZQM_HANDSLIP'

  • VARIANT = ' '

  • DIRECT_CALL = ' '

IMPORTING

FM_NAME = FNAME

  • 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.

  • ENDIF.

CALL FUNCTION FNAME

EXPORTING

S_MBLNR = P_MBLNR

S_MJAHR = P_MJAHR

S_LIFNR = ZLIFNR

S_EBELN = ZEBELN

H_MBLNR = ZMBLNR

S_FROM = FROM

S_TO = TO

TABLES

ITAB1 = ITAB

  • TABLES

  • I_TBL1 = I_MAIN

.

  • IF SY-SUBRC <> 0.

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

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

  • ENDIF.

ENDFORM. " CALL_SF

Tnx in advance.

1 REPLY 1
Read only

Former Member
0 Likes
303

Hi naveen,

Here some times when we are migrating the pgm and form from DEV server to QA and then Production. in case Transport req is not migrated properly means. we will get these type of problems.

so my suggession is again u store the pgm and form with ACTIVE version in another new TR and migrated to production. u will get form genaration.

Reward me if helpfull.