Date Structure Örneği

sap-abap-logo 

 

 

 

DATA:
diffdays TYPE i,
datestring LIKE sy-datum,
BEGIN OF daterec,
year(4TYPE c,
month(2TYPE c,
day(2TYPE c,
END OF daterec.

daterec = sy-datum.
daterec-day = ’01’” first day of month
datestring = daterec.
datestring = datestring – 1” last day of previous month
diffdays = sy-datum –  datestring. ” difference days

Write diffdays  .

VN:F [1.9.22_1171]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.22_1171]
Rating: 0 (from 0 votes)