While Transporting Smartform form Dev to Test to
Production, it is possible that Name of the Function Module
change, Why? In which case it changes and in which case it
remains same?
Answers were Sorted based on User's Feedback
Answer / amitesh jaiswal
Once you have activated the smartform, go to the environment
-> function module name. There you can get the name of
funtion module name.
The key thing is the program that calls it. for instance,
the invoice SMARTFORM LB_BIL_INVOICE is ran by the program
RLB_INVOICE.
This program uses another FM to determine the name of the FM
to use itself. The key thing is that when it calls this FM
(using a variable to store the actual name), that the
parameters match the paramters in your smartform.
Another thing to note is that the FM name will change
wherever the SF is transported to.
So you need to use the FM to determine the name of the SF.
Here is the code that can be use to determine the internal
name of the function module:
Code:
if sf_label(1) <> '/'. " need to resolve by name
move sf_label to externalname.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = externalname
importing
fm_name = internalname
exceptions
no_form = 1
no_function_module = 2
others = 3.
if sy-subrc <> 0.
message 'e427'.
endif.
move internalname to sf_label.
endif.
Is This Answer Correct ? | 2 Yes | 0 No |
Answer / nitin gautam
See, Whenever we transport SF from one server to another, the Function module no chages, because every time , a new FM NO will be generated while activating smartform on different servers...
Please, correct me or suggest me some more points.. to it..
Is This Answer Correct ? | 1 Yes | 0 No |
Can multiple abap systems connect to abap database?
SAP Date Format?
Explain the disadvantages of different types of bdc's?
Explain about drill down report?
After sending the data(any type) from SENDER to RECEIVER can we send the same data to SENDER by using ALE?
Which function module reads the data for particular Infotype
How do you get output from IDOC?
Can we use instance attributes inside a static attributes? say yes or no ?
1 Answers Accenture, Cognizant,
The loop-endloop on extract datasets can be used without any kind of errors. State true or false. : abap modularization
I have 1 basic list and 9 secondary list in interactive report. If i am in 5th list, how can i come directly to the basic list?
What is Smart Forms?
If we put Top of Page in between Start-of-selection and End-of-selection and what happenes