SAP Managed Tags: ABAP Development hi madan., sy-datum length is only 8. and it takes the date as YYYYMMDD format. if you want to decrease the date by 2 months use this stmt sy-datum+4(2) - 2. or use FM CCM_GO_BACK_MONTHS Reward points if useful Chandra Message was edited...
4 How to recreate SAP queries in Oracle? 0 What is the proper syntax for SQL? 6 Literals in ABAP OpenSQL? 1 Dynamic INTO clause in OpenSQL? 1 ABAP LIKE with select option 0 ABAP Domain and Data Types Understanding 1 OpenSQL with comparison between columns 3 Proper type for OpenSQL...
SAP Managed Tags: ABAP Development Hi Santosh, Go to the System option in the menu bar,clcik on the User Profile and Own Data,under the Defaults tab,choose the option dd.mm.yyyy from the Date Format.Save and close. Now, the date appears n the above format. In case you have any fu...
SAP Managed Tags: ABAP Development HI, It is an Offset that means Extract Character starting from position <number outside paranthesis> till <number of charcters > inside paranthesis. sydatum stores : date in format yyyymmdd so dt + 4(2) will give your mm value dt + 6(2) will give ...