Convert date 17-sep-2007 to 2007-09-17 format

Advertisement
November 30

Is it possible to convert date say 17-sep-2007 to YYYY-MM-DD format?
if so is there any Function module to implement this?
Awaiting for ur reply....................

Advertisement

Replay

Hello,
try this
REPORT ZTEST.
DATA : V_DATE LIKE SY-DATUM,
V_DATE1(10).
V_DATE = '01012007'.
CONCATENATE V_DATE4(4) V_DATE2(2) V_DATE+0(2) INTO V_DATE1.
WRITE : V_DATE1.
Reward if helpful,
Regards,
LIJO

View 6 Replies

Tags:

  1. java development tools e.g. JCreator
  2. pubsubagent making cpu run at 100
  3. sap note 1113277
  4. Using the load TXT
  5. UAFT
  6. E317
  7. centers2k
  8. describecy7
  9. JF0S
  10. TH8D
Copyrights 2019 Fcffair BigData Resource, All rights reserved