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

create CAPACITY INTERVALS

Former Member
0 Likes
1,165

Hi all,

I have to create CAPACITY INTERVALS by the report, so I need some MF or BAPI.

I found it: CR_API_CREATE_CAPACITY_INTVALS

When I try to test it I return error,

do you know another way or un example ?

tks, bye

7 REPLIES 7
Read only

Former Member
0 Likes
1,060

Hi Roberto,

there are some notes in sap support portal. Search in it with CR_API_CREATE_CAPACITY_INTVALS.

Hope it helps.

Regards, Dieter

Read only

0 Likes
1,060

Hello Dieter,

tks for your reply, but the note is for release 470. I work in a release more recent.

Do you have worked with this MF ? Do you have some example ?

Read only

0 Likes
1,060

Hi,

sorry but don't have any experiance with this FM.

regards, dieter

Read only

0 Likes
1,060

Hi

I found this FM inside other FM:

CR_API_CREATE_CAPACITIES

IF in_kapa_api01-kapname IS INITIAL.

CALL FUNCTION 'CR_API_CREATE_CAPACITY_INTVALS'

EXPORTING

kapid = p3006-kapid

CANUM = IN_KAPA_API01-CANUM

mosid = in_kapa_api02-mosid

IMPORTING

error = api-error

warning = api-warning

TABLES

in_kazy_api01 = in_kazy_api01

in_kapa_api04 = in_kapa_api04

EXCEPTIONS

OTHERS = 1.

ENDIF.

Regards

Neha

Read only

0 Likes
1,060

tks,

How you find it ?

with the button 'where-used list' show nothing ....

tks for your reply, but i don't again how I have to use it !!!

help,

tks.

Read only

0 Likes
1,060

Hi Roberto

Since it is being used inside the FM CR_API_CREATE_CAPACITIES .

Just chec kthe code of this FM or try to testthe FM CR_API_CREATE_CAPACITIESin SE37 by passing some values and then getinside the FM in debugging mode and check the use of FM you are looking for.

Regards

Neha

Read only

0 Likes
1,060

Not mainteined by SAP.