how to remove leading zero in abap?
You can use FM : CONVERSION_EXIT_ALPHA_OUTPUT or
you can use this syntax:
data gv_int(9) value '000012121'.
SHIFT gv_int LEFT DELETING LEADING '0'.
write:/ gv_int.
Output will be : 12121.
ABAP - Advanced Business Application Programming :ABAP report,Interactive Report,ALV,ALE,IDOC,User Exit, RFC, Smartform,Sapscript,ABAP Performance,Remote Function Module( RFC ), Transactions Code. SAP Abap Tutorial. Abap Tutorials Programming, Abap Notes and Abap Tips.
Monday, February 20, 2012
Saturday, February 11, 2012
Function to get number of days between a given date, excluding Saturdays and Sundays and public holidays?
maybe can try this 2 Function:
:: DATE_CONVERT_TO_FACTORYDATE
:: HR_HK_DIFF_BT_2_DATES
:: DATE_CONVERT_TO_FACTORYDATE
:: HR_HK_DIFF_BT_2_DATES
Friday, February 10, 2012
Selection Screen : Checkbox
Purpose of use : to give an option to user.
declaration :
PARAMETERS : cb_box1 AS CHECKBOX default 'X' ,
cb_box2 AS CHECKBOX.
or
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 2(20) text001.
PARAMETERS cb_box1 AS CHECKBOX.
SELECTION-SCREEN : END OF LINE.
INITIALIZATION .
text001 = 'Label'.
declaration :
PARAMETERS : cb_box1 AS CHECKBOX default 'X' ,
cb_box2 AS CHECKBOX.
or
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: COMMENT 2(20) text001.
PARAMETERS cb_box1 AS CHECKBOX.
SELECTION-SCREEN : END OF LINE.
INITIALIZATION .
text001 = 'Label'.
WSCDSHOW_ALV : SAP Report - Display change documents of delivery
TRANSACTION CODE: VL22N
DESCRIPTION
Report to display change documents in the delivery.
DESCRIPTION
Report to display change documents in the delivery.
Subscribe to:
Posts (Atom)