cancel
Showing results for 
Search instead for 
Did you mean: 

CY01_CAPACITY_LOAD output

lazyhangman
Explorer
0 Kudos
163

Hello everyone,
I am looking into a way to use the FM CY01_CAPACITY_LOAD in order to get the information for the weekly load for a number of given Work Centers, and display the output via ALV.
Now, this FM has been suggested to be the best way to get the same information displayed, for example, by the t-code CM01, and I can see also that it is actually called by the similar t-code CM50 in this form:

  CALL FUNCTION 'CY01_CAPACITY_LOAD'
       TABLES
            CRHD_TAB = WORK_CRHD_TAB
            PLAF_TAB = WORK_PLAF_TAB
            SAUF_TAB = WORK_SAUF_TAB
            PERS_TAB = WORK_PERS_TAB.

but I can't find a way to handle the output of this FM and therefore adjust it to be displayed according to my needs.

Is there anyone who can point me in the right direction or maybe suggest a different approcach to achieve my goal?
Thank you very much for your time.

View Entire Topic
sdsunny372
Active Participant
0 Kudos

Try to create Z program by using this FM:

CY01_CAPACITY_LOAD top of it,you can create Z code (O/P as per your requirement.

Best regards,

Sagarkumar Darji