‎2009 Nov 17 12:45 PM
Hai all,
presently I am working on CRAP_WORKCENTER_CREATE, for creating a work center. I am getting an error called " capacity no not assigned to this work center ".
If possible send me the parameters and structures to implement the bapi
‎2009 Nov 17 12:51 PM
You may also want to take a look at program RCRAPDX2 as to how its using *CRAP_WORKCENTER_CREATE)
Create work center from input structures
CALL FUNCTION 'CRAP_WORKCENTER_CREATE'
EXPORTING
in_crhd_api01 = crapi01_lst
in_crhd_api02 = crapi02_lst
in_crhd_api03 = crapi03_lst
in_crhd_api05 = crapi05_lst
comment = gv_comment
test = const-flg_no
TABLES
in_kapa_api01 = kaapi01_tab
in_kapa_api02 = kaapi02_tab
in_crhd_api04 = crapi04_tab
in_crco_api01 = coapi01_tab
in_kazy_api01 = kzapi01_tab
in_kapa_api04 = kaapi04_tab
EXCEPTIONS
OTHERS = 1.
‎2009 Nov 17 12:51 PM
You may also want to take a look at program RCRAPDX2 as to how its using *CRAP_WORKCENTER_CREATE)
Create work center from input structures
CALL FUNCTION 'CRAP_WORKCENTER_CREATE'
EXPORTING
in_crhd_api01 = crapi01_lst
in_crhd_api02 = crapi02_lst
in_crhd_api03 = crapi03_lst
in_crhd_api05 = crapi05_lst
comment = gv_comment
test = const-flg_no
TABLES
in_kapa_api01 = kaapi01_tab
in_kapa_api02 = kaapi02_tab
in_crhd_api04 = crapi04_tab
in_crco_api01 = coapi01_tab
in_kazy_api01 = kzapi01_tab
in_kapa_api04 = kaapi04_tab
EXCEPTIONS
OTHERS = 1.
‎2009 Nov 17 12:57 PM
Hai jaten,
I passed the bapi structure with the same structures and i also checked the executable programs, i am getting error in capacity category field. i tried in diffrent ways but i dint get the result.
and I checked the executable program also, based on that i created the error log etc.