• 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: 41776
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
COMPONENTS REFRESH CONVEXIT ZDEMO FALV13 - Mix demo own screen and container Keywords MB51 RESET REJ ALLOWED BAPI CLASS READ Delete Routing - piece of cake FIELDCATALOG ALV Grid in the nutshell Field catalog - tooltip Field catalog - cfieldname OLE2 OBJECT ZCL FALV COLUMN - column fcat settings Field catalog - sp group - Group key GET CURRENT CELL ESRUO Field catalog - fix column SELECTED ROWS RM07DOCS RELEASE LVC FCAT CALL TRANSFORMATION Selection Screen - Part1 - Parameters SCAN ABAP-SOURCE FIX COLUMN ALV GRID IN THE NUTSHELL MB51 ENHANCEMENT EXPONENT APPEND USER OBJECTS COC1 FEATURE CHECK FREE SESSION ALV GRID GUI ALV GRID FLAG Field catalog - do sum TSK UNLOCK ECLIPSE CTMS DDB SET VALUE INTERNAL READY FOR INPUT COL POS TEXT not allowed DATA SAVE CHART ENGINE SAPGUI FUNCTIONCODE Field catalog - reprep - ALV control Value is selection criterion for rep rep intf ABAP Code Retreat Tychy 2019 - Organizer Recap Field catalog - reptext Heading MEREQ FACTORY SYMBOL Create fieldcatalog from internal table MS07 SUM IXML PARSER SELTEXT
  • Laserowe usuwanie blizn Tychy
  • Laserowe usuwanie zmarszczek Tychy
  • Salon Kosmetyczny Tychy
  • Trycholog Tychy
  • Wypadanie włosów Tychy
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.