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

function module

Former Member
0 Likes
902

Hi,

What is the use of FM CONVERT_DATE_INPUT?

9 REPLIES 9
Read only

Former Member
0 Likes
878

Import parameters Value

INPUT 12102007

PLAUSIBILITY_CHECK X

Export parameters Value

OUTPUT 12.10.2007

Read only

Former Member
0 Likes
878

INPUT 10122007

PLAUSIBILITY_CHECK X

Export Parameters Value

OUTPUT 10.12.2007

Read only

Former Member
0 Likes
878

Hi,

it's used to check whether '.' is separator used in date.

Regards,

Raghavendra

Read only

Former Member
0 Likes
878

hi,

i have used only fm_* intern_date for coverting the input date to the system date fornat, this is also like that, plz check that

regards

karthik

Read only

Former Member
0 Likes
878

This function module converts a date from the externally formatted user input into the internal SAP system format. There will not be a function module CONVERT_DATE_OUTPUT as this is is done via WRITE, using the parameter DD/MM/YYYY.

Read only

Former Member
0 Likes
878

Import Parameter

INPUT : 23102007

PLAUSIBILITY_CHECK : X (default value)

u will get the date in sydatum format i.e

Export parameters

OUTPUT 12.10.2007

regards,

sohi

Read only

Former Member
0 Likes
878

Hi Hema,

CONVERT_DATE_INPUT : Conversion of a date from external to internal format

Regards,

Hemant

Read only

0 Likes
878

Hi Hemant,

Could you please give me an example for this?

Regards,

Hema

Read only

0 Likes
878

Dear Go to transaction

<b>internal format</b>

SU3>Defaults>check date format whether it is DDMMYYYY or YYYYMMDD

now run this function module enter date format yhat is <b>external format</b>.

so it will output in internal format.

ok enter in FM input 20071012.

change your internal date format to YYYYMMDD.

it will give output 12.10.2007

i think you got it.

reward if useful.

Amit Singla