Question: how to change date format from yyyymmdd to yyyy-mm-dd in sap abap?
Answer: I convert the date fomat in my program from yyyymmdd to dd/mm/yyyy format using this code: WRITE it_pos-bldat TO i_outpos-bldat MM/DD/YYYY. I declared the bldat field by: bldat(10) TYPE c so that the field will contain the '/' character.