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 technically difference between in Table creation in table creation maintenance not allowed ,maintenance allowed with restriction, maintenance allowed ?

1748


A field-groups statement or an insert statement reverses storage space and transfers values. State true or false. : abap modularization

1023


What are the two ways for restricting the value range for a domain? : sap abap data dictionary

1287


How do you find the tables to report from when the user just tell you the transaction he uses? And all the underlying data is from SAP structures?

1204


What are conditional chain statement?

1222


Explain what are interactive reports?

1057


What are the Synchronous and asynchronous methods in bdc ?

1072


What is the procedure you followed to upload the data?

1081


How to write a code in tab control? : abap bdc

1140


What is sap script? Describe its components.

1082


Does the external program run in the same sap luw as the caller, or in a separate one?

1138


Can we include customizing include or an append structure with pooled or cluster tables? : abap data dictionary

1320


What are the types of search helps? : sap abap data dictionary

1074


What are the types of subroutines? : abap data dictionary

1013


Explain what is sequence of event triggered in report?

1013