‎2008 Dec 02 9:35 AM
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
‎2008 Dec 02 1:55 PM
Hi Roberto,
there are some notes in sap support portal. Search in it with CR_API_CREATE_CAPACITY_INTVALS.
Hope it helps.
Regards, Dieter
‎2008 Dec 02 2:03 PM
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 ?
‎2008 Dec 02 3:46 PM
Hi,
sorry but don't have any experiance with this FM.
regards, dieter
‎2008 Dec 02 4:15 PM
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
‎2008 Dec 02 4:20 PM
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.
‎2008 Dec 02 4:29 PM
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
‎2008 Dec 08 2:28 PM