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

Period indicator cannot be converted

Former Member
0 Likes
2,634

Hi

I am getting

below error while executing FM 'BAPI_REQUIREMENTS_CREATE '

'Period indicator cannot be converted'

What could be the reason ?

Thanks

Aravind

3 REPLIES 3
Read only

Former Member
0 Likes
1,518

Hi,

The problem probably lies in the DATE_TYPE field of the REQUIREMENTS_SCHEDULE_IN structure.

Please refer to the the BAPI documentation. The problem

was related with date type.

The documentation says that :The requirements date of the configuration supporting point (REQUIREMENTS_CHAR_IN-REQU_DATE) must correspond to the requirements date of the schedule line (REQUIREMENTS_SCHEDULE_IN-REQ_DATE).

Do not create any schedule lines on non-working days, as these will be automatically moved to a workday.

I think the problem lies here.

Hope it will be useful.

Thanks,

Sandeep

Read only

Former Member
0 Likes
1,518

Hi ,

Recently i also have the same issue..so i giving the correct solution below.

You can use the following values for the period indicator DATE_TYPE:

  • 1: Day
  • 2: Week
  • 3: Month
  • 4: Posting period (if defined in material master)
  • 5: Planning calendar (if defined in material master)

Regards,

Sathish

Read only

0 Likes
1,518

Dear Member

Adding value to the Sathish Answers

Period indicator cannot be converted

We are Getting above issue in any of this FM " BAPI_REQUIREMENTS_CHANGE,BAPI_REQUIREMENTS_CREATE, BAPI_REQUIREMENTS_GETDETAIL

Because period indicator should be used in Numeric 1 ,2,3, or 4 not Days for D, Week for W or Month for M


Problem will solve if maintain above data

BR

Murthuza Binnal