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 in LSMW

Former Member
0 Likes
1,031

Hi,

I'm using Direct Input method to post documents for FB01.

The date fields in header BUDAT and BLDAT has format yyyymmdd

But FB01 transactions expects date field to be in format mm/dd/yyyy.

I'm not able to assign directly any date of format mm/dd/yyyy to these fields in field mapping.

Can you pls help me in this?

Thanks

Hi,

I'm using Direct Input method to post documents for FB01.

The date fields in header BUDAT and BLDAT has format yyyymmdd

But FB01 transactions expects date field to be in format mm/dd/yyyy.

I'm not able to assign directly any date of format mm/dd/yyyy to these fields in field mapping.

Can you pls help me in this?

Thanks

2 REPLIES 2
Read only

Former Member
0 Likes
614

Hi,

In SAP all date fieldsa re stored in YYYYMMDD format only

You can assign the same date to that field or assign SY-DATUM to that field

You can convert the format using EDIT MASK

or split the date,month and year and concatenate and can use

Reward points if useful

thanks

Vana

Read only

0 Likes
614

Can you pls give an example?

But budat take only 8 chars. so even if i split and concatenate it doesn't work

Thanks