• Home
  • About me
  • FALV
  • ALV Grid in the nutshell
    • Basic Information
    • Field catalog
  • Articles
    • Tricks
    • FALV (Fast ALV Grid)
    • ALV Grid in the nutshell
    • Tips
    • How to...
    • For beginners
    • Thoughts
  • By Topic
    • ALV
    • ALV OO
    • SALV
    • GOS
    • Selection screen
    • Purchase Requisitions
    • Purchase Orders
    • Attachments
    • Others
    • Characteristics
    • Sample Programs
    • ZIP
    • OLE
    • Mails
    • Routings
    • EWB
    • Excel
  • Keywords
  • RSS
  • Download
  • Home
  • Articles
  • Tips

Secure call of "starting new task" using RM_FREE_SESSION_CHECK

Details
Łukasz Pęgiel
Tips
25 April 2013
Hits: 42377
Tags: RM_FREE_SESSION_CHECK , TH_USER_INFO , STARTING NEW TASK
When you need to call a FM with option starting new task there is always a risk that user already has maximum number of sessions opened, so there is a risk that our call will be unsuccessful. There is a way to avoid such risk -> easily call FM  RM_FREE_SESSION_CHECK or TH_USER_INFO directly to check if we can afford to open new session. If yes then we can call our FM in new task, if not then we can raise an error message and stop processing of the function we're currently doing. This is very helpful when you need to call a FM in new task inside user-exit.
 
Here is example of the code:
Add a comment
Read more ...
Page 2 of 2
  • Start
  • Prev
  • 1
  • 2
  • Next
  • End


Łukasz Pęgiel
RSFUNC TXT Popup with multi-select ALV LVC FCAT ATC Pseudo Comments list FALV SCMS XSTRING BINARY LOAD COMPLEX TSK ALV GRID IN THE NUTSHELL ADT ALV Grid in the nutshell Field catalog - symbol ALV GRID GUI ALV GRID QFIELDNAME TOTLINE RELEASABLE TIMER FIELDCATALOG EXTENSION Secure call of starting new task using RM FREE SESSION CHECK READ USER OBJECTS ESRUO - MM settings table - Part 3 JUST EXPORT TO MEMORY ID Dynamic GUI STATUS TITLE with ABAP code PROGRESS INDICATOR VS direct call of SAPGUI INDICATOR ABAP STRUCTDESCR GOS - Link Business Documents from PR to PO RELATION CREATE COMMIT BOM COPY REFRESH TABLE DISPLAY QM ATTACHMENTS ESDUS ITM COPY chart designer Field catalog - no sign OPR ALLOCATION PROVIDE CONVEXIT PERIOD AND DATE CONVERT OUTPUT SAP TechEd 2016 PLUGIN MEPO151 COL POS COMPONENTS Basic Information CMD API Classifications - Part 4 - example of use REUSE IXML DOCUMENT ABAP Code Retreat MB51 INTTYPE SET CURRENT CELL VIA Copying is not poss AiE Enhanced MB51 Part 4 - Call MB51 CUSTOM CONTAINER ZDEMO FALV09 - Cell settings APPEND Download CV01N 3N documents to PC
Tweets by abapblog

Eclipse Plugins for ABAP

ABAP Favorites

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

ABAP ADT Extensions

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

ABAP Quick Fixes

Drag to your running Eclipse* workspace. *Requires Eclipse Marketplace Client

 

Latest Articles

  • ABAP in Eclipse - Install, Configure, Use, and Enhance Your ADT
  • ALV Grid in the nutshell: Field catalog - col_id - ALV control: Column ID
  • ALV Grid in the nutshell: Field catalog - dfieldname – Fieldname for column group
  • ALV Grid in the nutshell: Field catalog - Hotspot - ALV control: SingleClick-sensitive
  • ALV Grid in the nutshell: Field catalog - sp_group - Group key
  • ALV Grid in the nutshell: Field catalog - domname - Domain name
  • ALV Grid in the nutshell: Field catalog - reprep - ALV control: Value is selection criterion for rep./rep.intf.
  • ALV Grid in the nutshell: Field catalog - reptext – Heading
  • ALV Grid in the nutshell: Field catalog - lowercase - Lowercase letters allowed/not allowed
  • ALV Grid in the nutshell: Field catalog - intlen - Internal Length in Bytes
  • Downloading Exchange Rates from NBP (National Bank of Poland)
  • Downloading Exchange Rates from Central Bank of Turkey
  • ABAP Extensions - Automatic Logon
  • ALV Grid in the nutshell: Field catalog - inttype - ABAP data type (C,D,N,...)
  • ALV Grid in the nutshell: Field catalog - datatype

Most Read

  • Create XLSX/MHTML file from internal table in background
  • Refresh ALV GRID and keep position and current cell
  • Create XLSX file from internal table in background v2
  • FALV (Fast ALV Grid)
  • ATC Pseudo Comments list
  • Call standard F4 search help with customized parameters
  • Dynamic GUI STATUS & TITLE with ABAP code
  • Create fieldcatalog from internal table
  • Link Attachments of Purchase Requisition to Purchase Order
  • Endless loop in BADI ME_PROCESS_PO_CUST
  • GOS - How to add business documents at creation of object
  • Create a nice looking chart with CL_GUI_CHART_ENGINE - Part 3 - Chart Data and render
  • How to access private or protected data and methods of CL_GUI_ALV_GRID
  • How to handle CL_GUI_ALV_GRID events in SALV
  • Subtotal lines of ALV GRID OO as content separator
feed-image Feed Entries

Latest Comments

ABAP code and articles provided on http://abapblog.com, if it is not statet otherwise, were created by Łukasz Pęgiel. You can use the code in your SAP instance for commercial and non-commercial use without any warranty from side of the author. You cannot sell the code as a full program or a part of it.
Replicating of the articles and code is prohibited unless the agreement of the author is given to you. 

Bootstrap is a front-end framework of Twitter, Inc. Code licensed under MIT License. Font Awesome font licensed under SIL OFL 1.1.