Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Date Format

Former Member
0 Likes
984

Hi ,

I am displaying the confirmed quantity of sales order in

DD/MM/YYYY format.

however customer needs it as DD.XXX.YYYY

XXX stands for first 3 letters of the month.

can anyone please let me know the logic..?

Thanks,

Varun

9 REPLIES 9
Read only

Former Member
0 Likes
930

Hi

Go through the link given below :

With Regards

Nikunj Shah

Read only

Former Member
0 Likes
930

Hi

Regards,

Sravanthi

Read only

Former Member
0 Likes
930

Hi,

Use this FM,

'ISP_GET_MONTH_NAME'

Regards

Adil

Read only

Former Member
0 Likes
930

Hi,

USE Function Module

conversion_exit_sdate_output.
       IMPORTING
              INPUT  -----> input date format
       EXPORTING
              OUTPUT ----> Output date

Both dates will be of type sy-datum

regards,

anirban

Read only

bpawanchand
Active Contributor
0 Likes
930

Hi

Use

CONVERSION_EXIT_SDATE_OUTPUT

DATA :
   w_input TYPE d VALUE '20080905',
   w_output TYPE string.


CALL FUNCTION 'CONVERSION_EXIT_SDATE_OUTPUT'
  EXPORTING
    input  = w_input
  IMPORTING
    output = w_output.


WRITE :
  / w_output.

regards

Pavan

Read only

Former Member
0 Likes
930

hi varun,

u can use the function module CONVERSION_EXIT_SDATE_OUTPUT

regards

vishnu.

Read only

Former Member
0 Likes
930

Use FM CONVERSION_EXIT_SDATE_OUTPUT

Read only

Former Member
0 Likes
930

hii

use following FM

data: date1 type sy-datum, wa_date(20).
date1 = sy-datum.
 
CALL FUNCTION 'CONVERSION_EXIT_SDATE_OUTPUT'
  EXPORTING
    INPUT         = date1
 IMPORTING
   OUTPUT        = wa_date

regards

twinkal

Read only

Former Member
0 Likes
930

Hi

Its

CONVERSION_EXIT_IDATE_OUTPUT

Aditya