Application Development 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: 

Week Number

Former Member
0 Kudos

Hello!

How I can get week number in year?

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Andrej,

Did you search this query on SCN before posting here???

For Others

Please refrain answering these type of questions, which are easily searchable.

Hope you all understand.

8 REPLIES 8

Former Member
0 Kudos

Use FM:

DATE_GET_WEEK

Regards

Former Member
0 Kudos

Hi,

These FMs wil help

DATE_GET_WEEK: Returns week for a date

HR_IE_NUM_PRSI_WEEKS, ISP_COUNT_WEEKS_ROUND_DOWN: number of weeks between two dates.

Regards,

Prashant

former_member585060
Active Contributor
0 Kudos

Hi,

Use this function modules

GET_WEEK_INFO_BASED_ON_DATE

DATE_GET_WEEK

it returns the Year and no of week in that year, just separate the last 2 values from the return value to get the no of week.

Regards

Bala Krishna

Former Member
0 Kudos

use DATE_GET_WEEK this FM

Edited by: Sudhir Kancheti on Dec 18, 2008 11:17 AM

Former Member
0 Kudos

Hi,

You can Use the FUNCTION MODULE:

DATE_GET_WEEK.for More details ON these refer this link:

http://www.saptechies.com/abap-function-modules/.

Regards,

Rahul

Former Member
0 Kudos

Hi Andrej,

Did you search this query on SCN before posting here???

For Others

Please refrain answering these type of questions, which are easily searchable.

Hope you all understand.

Former Member
0 Kudos

Thank's

JanStallkamp
Employee
Employee
0 Kudos

>

> Hello!

>

> How I can get week number in year?

The only accepted answer to this question is: "by searching the SDN". All other answers have lost their points to encourage people not to answer this type of question.

Best regards,

Jan Stallkamp