SAP Function TB_LIMIT_SET_LOCK - Locks/Unlocks Limits Accofing to Any Characteristic Combinations

Parameter Reference Type Length Default Optional Text
IT_SLMRANGES RSDS_FRANGE_T 0
I_DISP_LIMITS BOOLE-BOOLE C 1 XTRUE Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
I_DISP_SELSCREEN BOOLE-BOOLE C 1 XTRUE Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
I_LOCK BOOLE-BOOLE C 1 XTRUE Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')

Functionality
With this function module you can lock or unlock limits according to anycharacteristic value combinations.
Import parameter IT_SLMRANGES is a table with structure FIELDNAME,SELOPT_T, and SELOPT_T is a range, meaning a table with structure SIGN,OPTION, LOW, HIGH. You can store limit characteristics in this in theFILEDNAME field with value ranges in the SELOPT_T field according towhich you want to select.
Using the I_LOCK flag you control whether the selected limits are locked(flag set) or unlocked (flag not set).
If the I_DISP_SELSCREEN flag is set, the selection options contained inIT_SLMRANGES are displayed on a selection screen and can be changed bythe user.
Using the I_DISP_LIMITS flag you can have the locked/unlocked limitsdisplayed by a standard report after they have been locked/unlocked.