how to get the first day of current month

Question: hi guys,

i am trying to get the first day of current month which get from the date i input at the selection screen. my method is not so good, so i was wondering if there is better way to get the this,
thanks.

Answer:
Hi,

If you would have searched the forum by putting 'first day of the month', you would have got the answer.

Please search before asking a question.

Anyway the link below will give a lead.

/forums/viewtopic.php?t=94411

Even if this does not suffice your requirement, go to se37, enter '*first*day*', you will get many FMs, choose which is suitable for you.

Hope this helps !!

Thanks and Regards,
Mahesh.
_________________
Self certified "tuly idiot" !!

Answer:
sehr danke

Answer:
Hi,

I do not even know whether you are scolding me or thanking me...

Please translate it for me.

Thanks and Regards,
Mahesh.
_________________
Self certified "tuly idiot" !!

Answer:
you are going too far, i see you name, so i thought you might know German, the two words are German words for "many thanks", sorry to bring you the mis-understanding

Answer:
and I thaught Germans always say 'Danke sehr' in stead of 'Sehr Danke'

didier

Answer:
Hi,

No problem thanks a lot !!

Have a nice day!!

Thanks and Regards,
Mahesh.
_________________
Self certified "tuly idiot" !!

Answer:
Hi,

Hope this code below answers your query.



DATA: lv_datum LIKE sy-datum.

CONCATENATE sy-datum+0(4) sy-datum+4(2) '01'
INTO lv_datum.


regards,

abapnew

Answer:
got it,thanks.

this one might be easier .

parameters: pa_date type sy-datum.

pa_date+6(2) = '01'.

write pa_date.

Answer:
why not ...

DATA: lv_datum LIKE sy-datum.

CONCATENATE sy-datum(6) '01'
INTO lv_datum.


???
Copyright ?2007 - 2008 www.jt77.com