Skip to Content
0
Former Member
Feb 15, 2011 at 01:40 AM

How to change bucket capacity for a certain date range (duration)?

298 Views

Hi,

I need to update the bucket capacities of Resource at Vendor location in APO live cache for a particular period using BAPI_RSSRVAPS_CHANGEMULTI.

Here I am executing BAPI by passing -

Import Parameters:

LOGICAL_SYSTEM

COMMIT_CONTROL

PLANNING_VERSION

Tables:

RESOURCE_HEAD

(RESOURCE = Resource " Test123

LOCATION = Vendor Number/Loctaion

CAPACITY_A = 5000.000

NUM_OF_PERIODS = 001

PERIOD = 02 " Day Wise

UTIL_BUCKET = 100.000 )

RESOURCE_HEAD_X

(All corresponding fields X)

RESOURCE_QUANMODEL

(RESOURCE = Resource " Test123

VERSION = 01

ENDDA = 02/25/2011

BEGDA = 02/21/2011

QUANMODEL = 8000 )

RESOURCE_QUANMODEL_X

(All corresponding fields X)

[ I have a capacity variance:

Resource = Test123; Capacity Varient = 01; Valid From = 02/21/2011

Valid To = 02/25/2011; Bucket Util Rate = 100.000; Qty/Rate definition = 8000 ]

Now, while I execute /SAPAPO/RES01 to display Capacity for that resource-Location-PlanningVersion, Its showing that 'Bucket Capacity' and 'SNP Bucket Capacity' get changed into 5000. But this change happend for all the days and not only for the duration I passed into Bapi (From BEGDA to ENDDA).

How to change bucket capacity for a certain date range (duration)? Any help please.

Thanks

Roy