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 program not regenerated in Production system.

Former Member
0 Likes
11,077

Hi Guru's,

i have done changes in smartforms on development server.that time my smartforms generated and work properly. But when i transfer request then on production server in smartfroms is generated but my smartforms generated program '/1BCDWB/LSF00000040F01' program not update. in that program whatever changes i have done that not update.that's why it's give me dump error .

Please Tell me it's abap problem. if yes then help me.

Thanks in Advance.

Regards.

SAM

Edited by: Julius Bussche on Dec 15, 2008 11:23 AM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
7,280

Hi

After transferring the Smartform, Activate it in the production server and Use that FM...in the program.

Vishwa.

Hi Guru's,

i have done changes in smartforms on development server.that time my smartforms generated and work properly. But when i transfer request then on production server in smartfroms is generated but my smartforms generated program '/1BCDWB/LSF00000040F01' program not update. in that program whatever changes i have done that not update.that's why it's give me dump error .

Please Tell me it's abap problem. if yes then help me.

Thanks in Advance.

Regards.

SAM

Edited by: Julius Bussche on Dec 15, 2008 11:23 AM

11 REPLIES 11
Read only

Former Member
0 Likes
7,281

Hi

After transferring the Smartform, Activate it in the production server and Use that FM...in the program.

Vishwa.

Read only

0 Likes
7,280

Hi

Thanks for answer.

But i have already activate smartfroms in production server

and also use FM_FUNCTION_MODULE_NAME.

Regards.

SAM

Read only

0 Likes
7,280

Hi Sam,

Even thou u activate it, it requires that it must be included in your transport request. Otherwise the updates made in your code in one client will not be effective in the other. Kindly check.

Regards,

Sakkthiss.R

Read only

0 Likes
7,280

What are the changes you made in the program?? Did you make any changes to the FM generated by activating the smartform??? OK, I want you to check If the parameters of the smartform are consistent with the FM you used in the print program...

I mean in

call function lf_fmname "smartform generated FM, now check the tables with the Tables in the Form Interface of the smartform..they should be same.....if there is more in this FM and those tables are not added in the smartform, it will throw an error and vice versa.

Vishwa.

Read only

0 Likes
7,280

Hi Sam

You have to check you smartform in production system to find which function module is used there.

You can have different functions module in all you evironment for one smartform.

Naming in each evironment is depending on creations order, the first time a smartform is generated.

That is why you cant hardcod the function module name in you print program.

Regards

Åsa Thenstedt

Read only

0 Likes
7,280

Hi,

I have only change one field in smartfroms that update . but system generated program that not update. it's show old fields.

in development server program '/1BCDWB/LSF00000040F01'-(this system generated program)

it's shown

FORM %CO3.

price = price + itfinal-kawrt.

oths = oths + ( itfinal-zoths * itfinal-kwmeng ).

ENDFORM.

and in production server program '/1BCDWB/LSF00000026F01'

it's shown

FORM %CO3.

price = price + itfinal-kawrt.

oths = oths + ( itfinal-zabc * itfinal-kwmeng ).

ENDFORM.

Regards.

SAM.

Read only

0 Likes
7,280

Hi,

Please check you smartform in production.

If the is not changes the transport has failed. Create a new transport with you smartform.

If the code change is in the smartforms, try go regenerate the smartform manually.

You maby will have some error, if not try yout output again!

Regards

Åsa Thenstedt

Read only

Former Member
0 Likes
7,280

Hi Sam,

Check whether you have added the Smart form in your transport Request. You need to add it into Transport request without which it wont work in Production Server.

Regards,

Sakkthiss.R

Read only

Former Member
0 Likes
7,280

Hi Sam,

Use SSF_FUNCTION_MODULE_NAME. In this pass ur form name for ex,

DATA :
  fm_name TYPE rs38l_fnam.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname                   =  <your Form Name>
    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.
  ENDIF.

Now first call the Function Module which is generated from ur smart form. Now replace its name by fm_name. For Ex,

CALL FUNCTION  /1BCDWB/SF00000201
    EXPORTING
      im_1        = fs1
      im_2        = t_1
      im_3        = t_2
    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.

Now replace /1BCDWB/SF00000201 with fm_name.

So finally you will have,

CALL FUNCTION  fm_name
    EXPORTING
      im_1        = fs1
      im_2        = t_1
      im_3        = t_2
    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,

Swapna.

Read only

Former Member
7,280

You need to run program RFRECPSFTLGEN as mentioned in original thread:

Read only

AndrsR
Discoverer
0 Likes
5,753

Thanks, it worked for me! - " RFRECPSFTLGEN"