Hello experts,
I have a requirement to create WBS element using BAPI BAPI_BUS2054_CREATE_MULTI.But while doing so I am getting this error Individual check for creating the object WBS Element A002--141 required.Can anyone please help me resolve it.
Below is the code that I am using.
loop at it_proj into wa_proj.
wa_BAPI_TE_WBS_ELEMENT-WBS_ELEMENT = wa_wbs-WBS_ELEMENT.
GT_EXTENSION_IN-STRUCTURE = 'BAPI_TE_WBS_ELEMENT'.
* GT_EXTENSION_IN-VALUEPART1 = wa_BAPI_TE_WBS_ELEMENT-zzfund.
GT_EXTENSION_IN-valuepart1 = wa_proj-zzfund.
GT_EXTENSION_IN-valuepart2 = wa_proj-zzgrant_nbr.
APPEND GT_EXTENSION_IN.
ENDLOOP.
CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
CLEAR gt_return[].
CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
EXPORTING
I_PROJECT_DEFINITION = gv_project
TABLES
IT_WBS_ELEMENT = gt_wbs_element_bapi
ET_RETURN = gt_return
EXTENSIONIN = gt_extension_in
* EXTENSIONOUT =
.
Suggestions will be much appreciated and points will be rewarded.
Regards,
Bijoya