How to check if a function module has been called dynamically in programs
Hi,
I wanted to know if there is a way to check if a function module has been called dynamically in any programs. In SE37, if you click on where used list for a FM, it shows FM not found in programs (Possibly dynamic calls).
I am checking if the function module /SDF/RBE_EXECUTE_SQL_WRAPPER has been used in any of SAP programs. Your help is greatly appreciated.
Best regards,
Siva
one way will using program RPR_ABAP_SOURCE_SCAN search for complete source codes with a find string RBE_EXECUTE_SQL_WRAPPER .
PS But it the function module name comes from a table ( Table entry value) then it is difficult to find
a®
Similar Messages
-
How to check for a function module with its description and functionality
Hi all,
How to check for a function module,with its description and its functionality,in detail how can I know the purpose of a particular function module,how to search for a function module which suits my requirement .Hi,
You can search a FM of your requirement by putting in the Key words and searching for a FM. Like * KEYWORD * and then pressing F4.
Say for example you need to search something regarding converstion.
Search for * CONVERT * and press F4.
If there is something specfic like converting date to something you can give
DATE * CONVERT *
OR
CONVERT * DATE * and press F4.
Once you narrow down your search you will have a Function module documentation inside the Function module. Please note that all the FMs willl not have documentation.
Regards,
Pramod -
No function module has been generated , when transported to quality ?
Hi People,
I created a zsmartform and transported to quality, but when i checked the function module of smartform in quality its saying ' No function module has been generated yet ' but the smartform is in active status . when i tried to activate it again the program jus running and not getting activated ?
Thanks,
SivaOk.
I am not sure, If this would work . But, would like you to try the below solution can get back:
1. IN the Development Server, take the FM name...from SMARTFORMS tcode for a particular smartform...by entering the smartfom..then Environment-->Function Module Name.
2.Now, give the name in SE37 tcode and then in the Menu> Function Module> Release--> Release..
Now, after releasing it..check If the smartform is able to get activated in Quality Server.
Revert Back with the result.
VIshwa. -
How to check the sales order that has been PGI from a range of dates.
Hi SAP Gurus,
I have a query on how can I check the sales order that has been PGI from a range of dates in SAP?
Thanks,
MadelynDear Madelyn
Go to VA05, give the date range and execute. List of sale orders will be generated. There you can see a tab "Status" in which, the status would be like
- Not delivered
- Partially delivered
So based on this, you can decide whether the order is still open or completed.
thanks
G. Lakshmipathi -
Hello,
I am deploying a Labview 2011 application on 150 XP-machines in various plants worldwide. Currently all machines still have an old Labview 8.21 runtime (+old DAQmx). I have sent a procedure to my colleagues in the plants so that they install the new runtime (+ new DAQmx). On my side I have built a code to check from my Pc if a certain registry key is present on the 150 PCs which tells me that the new installer ran or not.
The key that I found is:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Installer\Products\1C5E801AE54C4AE43A59FC169F95CA28]
"ProductName"="NI-DAQmx MAX Configuration Support 9.3.5"
"PackageCode"="61EEAEC207A28A842B3341ED6809453D"
"Language"=dword:00000009
"Version"=dword:0923c001
"Assignment"=dword:00000001
"AdvertiseFlags"=dword:00000184
"InstanceType"=dword:00000000
"AuthorizedLUAApp"=dword:00000000
"Clients"=hex(7):3a,00,00,00,00,00
This works well but it does not tell me that the PC has restarted after the installer has been run. If I do not restart the PC and try to execute my Labview 2011 executable I get a long error message (NIDAQmx not registered,...).
As it seems difficult to get the properties of a key to know when it was installed I was rather leaning towards checking if a certain DLL (?) has been registered or not. But it is just a vague idea and I do not know how to put that in place.
I am attaching the current code that I have and that works well but cannot make the difference between Labview 2011 runtime installed and PC restarted or not.
Thanks for the help
Christophe
Solved!
Go to Solution.
Attachments:
Check Remote Registry Key.vi 45 KBYou might look for a file that would be created as part of installation to determine the install date/time (ini or other support file created as part of runtime install)
Combine that with a query of the station's uptime and you could calculate if the station has been up longer than the time since the install. Not perfect, but should be possible...
http://en.wikipedia.org/wiki/Uptime#Using_WMI
wmic /node:"my-server" os get lastbootuptime
Now is the right time to use %^<%Y-%m-%dT%H:%M:%S%3uZ>T
If you don't hate time zones, you're not a real programmer.
"You are what you don't automate"
Inplaceness is synonymous with insidiousness -
How to check whether java.sql.Connection has been dropped or not
Hi,
How can i check whether the connection is dropped from the database or not by using java.sql.Connection API.
ThanksThere's a few ways to check Connections, each with a different use:
(1) conn.isOpen()
(2) conn == null
(3) the last one is a little more involved and adds some overhead. You can run SELECT 1 FROM dual; (Oracle) or SELECT 1 (MSSQL) and check for exceptions.
The only way to check a connection, as far as I know, is to use it. That said, there must be a better way??? -
How to execute Se30(performance check) for a function module
can anyone please let me know hot to execute perofrmance check for a function module.
In SE30 below the program option you have Function Module option.
Give the FM name there >execute, It will lead to the SE37 for Function Module execution screen, enter the values>Execute.
The ctrl will return back to SE30.
Press Evaluate to know the analysis.
Hope this answers.
Regards
Vinayak -
How to find Exits in Function Module & BAPI
Hi,
How to find exits in Function Module & BAPI.
Thanks In advanceHi,
i ve a standard FM IDOC_INPUT_SALESORDER_CREATEFR which creates sales order using BAPI (inbound process).
Now my requirement is to check for some custom segment field if its not initial i ve to change item category field in line item for sales order.
could u pls help me in this.
Thanks in advance. -
How to catch excpetions of function module?
Hallo everybody,
how can i catch the exception from function module "exception" and deliver it to call function parameter table --exception table.
For example,a function module 'RPY_TABLE_INSERT' is called by Call Function (parameter_table)in order to create a new table.When the table exists already, a exception "Already_exist" activated.But it can not be caught,since it is raised by "message raise". Therefore in the exception-table of caller no error is caught.
How can I deal with it?
Thanks in advance!
Message was edited by: Liying WangCALL FUNCTION 'RPY_TABLE_INSERT'
EXPORTING
LANGUAGE = SY-LANGU
TABLE_NAME =
WITH_DOCU = ' '
DOCUTYPE = 'T'
TRANSPORT_NUMBER = ' '
DEVELOPMENT_CLASS = '$TMP'
TABL_INF =
TABL_TECHNICS = ' '
TABLES
TABL_FIELDS =
DOCU_TABLE_USER =
DOCU_TABLE_TECH =
EXCEPTIONS
CANCELLED = 1
ALREADY_EXIST = 2
PERMISSION_ERROR = 3
NAME_NOT_ALLOWED = 4
NAME_CONFLICT = 5
DB_ACCESS_ERROR = 6
OTHERS = 7
IF SY-SUBRC <> 0.
as per the error sy-subrc will be set, you can see in the exceptions ( 1 for cancel, 2 for already exit)
so using this subrc you can determine the error
ENDIF. -
How to create a callback function module
Hi all,
I am working in a requirement where we need to call a function module at a 'after change' event. So how to create a callback function module and register it with the crmvevent ?_
I created a sample function module and try to create entries in table crmv_event_cust, but i got an error message saying that the function module name I provided is not in table CRMC_FUNC_ASSIGN. When I try to create entry there, I got a message that function module is not in CRMC_OBJ_FUNC and that table is a standard table with no maintanance options !!
looks like i am going in wrong way ... can any one please help ??Looking at my system all you need to do is create the entry for the callback function in maint view: CRMV_FUNC_ASSIGN.
Your entry should be as simple as Z-function name Object Function - <same as others in the segment you are assigning>
IE for the partner it would be CRM_PARTNER as object function, for general order processing CRM_ORDER
Take care,
Stephen -
How to go into a function module through SE80 t - code
Hi All ,
How to go into a function module through SE80 t - code.
Thanks in advance.>
Balaji Krishnamoorthy wrote:
> Hi All ,
> How to go into a function module through SE80 t - code.
>
> Thanks in advance.
Hi,
With help of function group
Thanks & Regards
Edited by: Always Learner on Oct 16, 2008 2:31 PM -
How to connect our outbound function module to the message type
how to connect our outbound function module to the message type any transcation code exits to assign the message type with the function module .
Thank in advance .
A. ThiruHi Thiru,
Standard Transaction Codes, have their own Function Modules for generating Outbound/Indbound Idocs. Where these Function Modules will be configured to a particular Process Codes.
For E.g for PO's
Process code : ME10 - IDOC_OUTPUT_ORDERS - for creation
In case if its a Z Function Module, It depends on the case how you use IDOC types. either directly through Z Program or through Inbound/Outbound Process codes with respective Function modules.
Regards,
Anbalagan -
How to create a custom function module with the records in SAP R/3?
Hi All,
How to create a custom function module with the records in SAP R/3? Using RFC Adapter I have to fetch the custom function module records.
Regards
SaraHi
goto se37...here u need to create a function group... then u need to create a function module. inside assign import/export parameters. assign tables/exceptions. activate the same. now write ur code within the function module
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
Look at the below SAP HELP links, These links will show you the way to create a Function Module
http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm -
How to code a predifined function module in sap ,in se37.
can any one tell me how to code a predifined function module in sap ,in se37.it's an immediate requirement.if u give a brief description it'll do.
Hi Henry,
There are two possible ways in which I can interpret your question.
1. You want to create a new Function Module in SE37. you will have to refer to the <a href="http://help.sap.com/saphelp_47x200/helpdata/en/d1/801e9a454211d189710000e8322d00/frameset.htm">Function Builder</a> tutorial for that.
2. You want to use an existing function module in your program. In the code of your program in SE38, click the button <i>Pattern</i>. On the pop-up, give the name of the function module that you wish to use in your program.
Regards,
Anand Mandalika. -
How to replace obsolete download function module in ECC6.0?
Hi Experts,
How to replace obsolete download function module in ECC6.0?
Thanks,
Adi.Hi,
DOWNLOAD is obsolete FM in ECC 6. To get the same functionality , we need to use
CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG method (It provides the File selection feature)
and
GUI_DOWNLOAD function module.(It downloads the internal table from program to presentation server)
Please see the example below:
Example:
*CALL FUNCTION 'DOWNLOAD'
EXPORTING
FILENAME = p_filename
FILETYPE = DAT
TABLES
DATA_TAB = T_DOWNL
EXCEPTIONS
INVALID_FILESIZE = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
OTHERS = 6.
*End of deletion CH01-
Replacement Method for above code:
DATA: l_filename TYPE string,
l_filen TYPE string,
l_path TYPE string,
l_fullpath TYPE string,
l_usr_act TYPE I.
l_filename = P_filename.
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
EXPORTING
DEFAULT_FILE_NAME = l_filename
CHANGING
FILENAME = l_filen
PATH = l_path
FULLPATH = l_fullpath
USER_ACTION = l_usr_act
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
others = 4.
IF sy-subrc = 0
AND l_usr_act <>
CL_GUI_FRONTEND_SERVICES=>ACTION_CANCEL.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
FILENAME = l_fullpath
FILETYPE = 'DAT'
TABLES
DATA_TAB = T_DOWNL
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22.
Maybe you are looking for
-
Sending Smart forms O/P as an attachment thru e-mail...
Hi friends... I have dveloped a new Smartform for PO reminder letter.. and I am trying to send it as an attachment thru mail... the code I wrote for that is given... but I am getting a runtime error like In program "CL_TRACE_BCS==================CP "
-
On 2011 iMac, External Altec Lansing speakers no longer work after upgrading to Mountain Lion. They DO work on a lenovo machine but not my iMac. reset Pram - no luck. took speakers from wife's desktop, they do not work when jack plugged into my iMac
-
Enterprise application conversion problem from WLS 10.3.0 to WLS 10.3.2
Hi all, I'm posting this just to document a problem I had when converting an Enterprise Application from WLS 10.3.0 across to WLS 10.3.2 environment. Upon deployment of the application I was getting this error: Caused By: weblogic.descriptor.BeanAlre
-
Open directory, network homes and MS Word
We are running OS X & Server 10.4.8, and Word 11.2. Using network home directories, with 15users and 3 of them are portable. Running Open directory wih LDAPv3, SSL, SMB and AFP for the network homes (?). When one of the portable users try to save his
-
Mac - Mountain Lion - DVD keeps quitting unexpectedly
My DVD crashes as soon as I load a CD/DVD or open the player This is the message that I get: Process: DVD Player [335] Path: /Applications/DVD Player.app/Contents/MacOS/DVD Player Identifier: com.apple.DVDPlayer Version: