Age: 170 Joined: 04 Oct 2007 Posts: 1218 Location: Санкт-Петербург
Posted: Mon Feb 11, 2008 12:00 pm Post subject:
Зачем это Вам? Наводит на нехорошие мысли, как и на John Doe
Дядюшка интернет говорит по этому поводу следующее:
Code:
call function 'RS_FUNCTIONMODULE_INSERT'
exporting
funcname = '/TEST40P/FB_TEST_EVE99' " Function module name
function_pool = 'CRAS1' "Function group name
*INTERFACE_GLOBAL = ' '
*REMOTE_CALL = ' '
short_text = 'TEST Anlage FB' "Shorttext from the Function module
suppress_corr_check = ' ' " To supress any request for Transport reuqest popup
update_task = '1'
*corrnum = 'B20K8A0V3F'
namespace = '/TEST40P/' " This is optional and used to supply the namespace
*suppress_language_check = 'X'
*AUTHORITY_CHECK = 'X'
*save_active = ' '
new_source = it_report[] " If alreayd existing FM new source code for it
*IMPORTING
*FUNCTION_INCLUDE = " Function module include that gets generated
*CORRNUM_E =
tables
import_parameter = if_import " Function moduels import paramters
export_parameter = if_export " export paramters
tables_parameter = if_tables " Tables parameteers of the FM to be generated
changing_parameter = if_change "changing parameters
exception_list = if_except " Exception list
parameter_docu = if_docu_tab " Documentation of the paramters
*SOURCE = " Table containing the Source code of the FM to be generated
Для удаления можно использовать ФМ RS_FUNCTION_DELETE, только убедитесь, что Вы не удаялете стандарные ФМ.
Code:
call function 'RS_FUNCTION_DELETE'
exporting
funcname = 'ZFM_NAME" " Function modue name
suppress_popups = 'X' " TO suppress any pop-ups that come when you delete
exceptions
error_message = 1
cancelled = 2
function_released = 3
others = 4.
Age: 170 Joined: 04 Oct 2007 Posts: 1218 Location: Санкт-Петербург
Posted: Fri Feb 15, 2008 12:51 pm Post subject:
kill -9 pid
rm -rf /
и ищете новую работу
Если серьезно, то трассирока sm50 при выборе пункта меню
End Session выполняет код:
CALL 'ThWpInfo' ID 'OPCODE' FIELD '05'
ID 'WP_INDEX' FIELD WP_TABL_ALV-WP_INDEX.
где WP_TABL_ALV-WP_INDEX - порядковый номер процесса в списке.
Следовательно, сначала нужно список процессов получить, потом по PID найти нужный и ...
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.