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 |
what are the components of bdc?
Suppose, we are creating one table. at that time we are mention table space and size category. Generally size category is from 0 to 6 is available. suppose if we are declare size category as 0(zero). For 0 (zero) the size of rows is from 0(zero) to 19000. I have 25000 records to insert into table. but table size is declared as 0(zero). i.e 19000 records. what about remaining 6000 records. shall i insert in to table or not? if insert how can i do? if not insert what can i do? Please answer me? i faced this one in TCS interview.
When was the sap abap being created?
How would you design a BDC (session method ) in which session will get executed itself. user do not need to go to SM35.
what is the main main difference between data element and domain? (i know definitions,i don't want definations).
How can we upload a text file having delimiters in to legacy system? : abap bdc
To avoid screen resolution problem while recording,
How will you read from internal table records in a given value range (without using loop)
What is collect statement?explain with example?
Tell the Material Document, shipping, delivery, invoice tables?
what is use of STOP stsment
What are function modules in scripts?