SAP Managed Tags: ABAP Development sy-datum+4(2) - 2 would NOT work, let's suppose you are working with february... sy-datum+4(2) - 2 will return you yyyy00dd Edition: PLEASE, do NOT work with sy-datum - XX days if you are talking about months!! The occidental calendar has ...
直接调用日期函数 F4_DATE ,弹出对话框的形式或手工输入完整的日期,然后截取日期字符串前4位, 即:YYYYMM, 得到年月。另一种方法是:做两个输入选项,手动输入年YYYY和月MM即可,最后将两个字段拼接到一个字符中YYYYMM, 即得到年月。
and my select stmt is: select c1,c2,c3 from <sap_table> where <date_column> in so_date. I want to know the purpose of setting so_date-high = '99991231' and how it will behave. abap opensql Share Follow edited Dec 26, 2020 at 11:52 Sandra Rossi 13.3k55 gold badges2323 sil...
SAP Managed Tags: ABAP Development hi all , In sy-datum why it is using the year 6(4) like that actually what it mean i know sy-datum is the actual system date to extract the year month date seperately dey r using and the same in gjahr is dey are using 4(2) what it means Wi...
SAP Managed Tags: ABAP Development Hi There is no need of function module just try like this data: lv_date type sy-datum. data: lv_formatdate(10) type c. data: var1(4) type c, var2(2) type c, var3(2) type c. lv_date = sy-datum. var4 = lv_date+(4). var5 = lv...
SAP Managed Tags: UI Web Dynpro ABAP, Virtualization how to set system date (sy-datum) value directly in the context of an attribute ?I used the wd_context->setattribute option,but I want to set it in the context attribute itself as the default value. ...
SAP Managed Tags: ABAP Development Hi all, Can anyone tell me the FM to convert 20071025 to 10/25/2007 ThanksReply 1 ACCEPTED SOLUTION ferry_lianto Active Contributor 2007 Oct 25 4:43 PM 0 Kudos 154 SAP Managed Tags: ABAP Development Hi, Please try FM CONVERSION_EXIT_PDATE_...