driver program for smartform
My smartform name is zretail_invoice
when executed it gives the function module /1BCDWB/SF00000005
in program i callef function ssf_function_module_name
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
FORMNAME = 'ZRETAIL_INVOICE'
FM_NAME = FM_NAME
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.
and again i called the function module /1BCDWB/SF00000005
it calls the smartform now
but when i do changes in that it's not accepting...
let me help that
Continue doing your changes in ZRETAIL_INVOICE using the transaction SMARTFORMS. Don't do the changes in /1BCDWB/SF00000005 because that's a MANDT dependant name, so when you later transport the order, the changes don't carry across.
In other words, there's no guarantee that in another mandt /1BCDWB/SF00000005 will still be called /1BCDWB/SF00000005, so there's no point in making changes to it. If you do the changes to ZRETAIL_INVOICE they will be shown in this mandt as /1BCDWB/SF00000005, but you don't know how they will be called when you transport it. That's why you need to call SSF_FUNCTION_MODULE_NAME in your code and call the smartform with the name resulting from that function call.