FLOOR to round-off to lower value.
CEIL to roun-off to higher value.
For example :
gv = 27.5
lv = FLOOR( gv ) = 27
lv = CEIL( gv ) = 28
CEIL to roun-off to higher value.
For example :
gv = 27.5
lv = FLOOR( gv ) = 27
lv = CEIL( gv ) = 28
FLOOR to round-off to lower value.
CEIL to roun-off to higher value. For example : gv = 27.5 lv = FLOOR( gv ) = 27 lv = CEIL( gv ) = 28
0 Comments
To change the value of a field in database table (which is not a customizing table) for a particular record,below are the steps with example. Consider the table ADRC, here I will change the text from 'Apollo Pharmacy' to 'Hetero Drugs' in debug mode. Double click on the entry for which you want to change the value. Give /h in the command bar and press ENTER . Debug mode gets active. Press ENTER twice now. Change the variable 'code' value from 'SHOW' to 'EDIT' .
Press ENTER and Execute(F8). The screen will now be displayed in Change mode. Now you can change the value of the field as required and click on Save. In normal dialogs,debugging is possible because the command line is available to place '/h' command. However, in case of a pop-up window debug option is not possible directly because of inavailability of the command line. So, a pop-up window can be debugged using the following procedure : Create a simple notepad file say... debug.txt with the following text and save on your desktop(drive). [FUNCTION] Command=/H Title=Debugger Type=SystemCommand Example : Pop-up window in MM02 transaction Drag and drop this notepad file in the pop-up window.Now , the debugger will be switched on !!
Generally by default,negative sign will get displayed to the right side of the field value in ABAP.
To move it to the left side of the field value,the following option can be used Use function module CLOI_PUT_SIGN_IN_FRONT This FM will only work for character fields.(the parameter VALUE is of character type). Example : DATA : rate TYPE KONP-KBETR, rate_text(15) TYPE c. rate = 100.00. rate = rate * -1. rate_text = rate. CALL FUNCTION 'CLOI_PUT_SIGN_IN_FRONT' CHANGING VALUE = rate_text. WRITE : rate. WRITE :/rate_text. Output : 100.00- -100.00 Want to access the tcode for which you don't have authorization ? Then just follow the below steps: (However, be cautious! Basis or Auditing team may catch you) Go to Transaction SE37 - Function Builder Display the function module AUTH_CHECK_TCODE Put a break-point at the sy-subrc statement as below : Now execute the transaction code for which you don't have authorization.
When the debugger reaches the above point,change the sy-subrc value from 4 t0 0. Press F8(Execute).Now you can see that tcode is accessible ! 1) The maximum number of dynamic breakpoints are 30 and watch-points are 10 that you can place in ABAP for a login.
2) Float is the data type that you cannot use on Selection screen. 3) There is no default visibility section for a CLASS in OOPS ABAP. It is mandatory to specify to which visibility section (PUBLIC,PROTECTED or PRIVATE) the particular data object belongs to during class definition However, for an INTERFACE the default visibility section is PUBLIC. 4) Only Inner Join and Left outer joins are possible in ABAP. 5) CHAIN......ENDCHAIN statement has no effect in the PBO block . It is used only in PAI block. |
AuthorVamsi Bodda. Archives
November 2016
|