2008 Dec 15 9:52 AM
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
2008 Dec 15 9:53 AM
Hi
After transferring the Smartform, Activate it in the production server and Use that FM...in the program.
Vishwa.
2008 Dec 15 9:53 AM
Hi
After transferring the Smartform, Activate it in the production server and Use that FM...in the program.
Vishwa.
2008 Dec 15 9:58 AM
Hi
Thanks for answer.
But i have already activate smartfroms in production server
and also use FM_FUNCTION_MODULE_NAME.
Regards.
SAM
2008 Dec 15 10:01 AM
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
2008 Dec 15 10:03 AM
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.
2008 Dec 15 10:17 AM
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
2008 Dec 15 10:21 AM
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.
2008 Dec 15 12:12 PM
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
2008 Dec 15 9:55 AM
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
2008 Dec 15 10:18 AM
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.
2015 Jan 26 9:55 AM
2025 Aug 20 8:37 PM
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |