Thursday, December 20, 2007

A FM which can create internal session

There is a function module called 'SAPGUI_SET_FUNCTIONCODE' that will create a new session dynamically from a program.
Expample:
Report ABAPmaster.
call function 'SAPGUI_SET_FUNCTIONCODE'
EXPORTING
functioncode = '/oSE38'
EXCEPTIONS
function_not_supported = 1
others = 2.

No comments:

Blog Archive