Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the disadvantage of a call by reference? : abap modularization

1068


What is append structure?

984


Will 50,000 records be uploaded directly into APP's Server?  

2335


how to create module pool program using table controls based on selection criteria specified for sales document item in the first screen and item details in the second screen. plz mention the detail coding Tahnks, Rahul

3884


What are the different types of abap reports in sap?

1278


What is a persistent class?

1382


How to call other programs?

1025


What are datasets in abap?

1119


How are BAPI different from Normal function modules ?

2083


What will happen when we use single buffered selected?

1009


I just wanted to know that when I am recruiting somebody, I am generating his personal no also. Then I want to give him training also. Now I just want to create 2 scenarios to clear my doubts? : sap abap hr

949


What are function modules?

1021


What are the aggregate objects in data dictionary? : sap abap data dictionary

1145


What are the pooled and cluster tables?

998


Which bdc you prefer? : abap bdc

1255