Hello,
I'm writing about a problem create a attachment
I would like create attach a cfolders in RFX object.
1) I create cfolders, work area, folders. <- successful
2) I build a table it_attach for object RFX <- successful
3) Create a entry in RFX object. <- There is problem, didn't change object RFX
I use next code
CALL FUNCTION 'BBP_PROCDOC_UPDATE'
EXPORTING
i_park = 'X'
i_header = lv_header
it_attach = lo_cl_cfolders->mt_attach
iv_with_change_approval = 'X'
IMPORTING
es_header = ls_header_new
TABLES
e_messages = e_messages
.
lo_cl_cfolders->mv_object_type = 'BUS2200'.
CALL FUNCTION 'BBP_PROCDOC_SAVE'
EXPORTING
iv_header_guid = lv_header-guid
iv_object_type = lo_cl_cfolders->mv_object_type
. " iv_usertype = lv_usertype.
CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'
* EXPORTING
* I_NO_STATUS = ' '
* I_NO_WFL = C_ON
.
COMMIT WORK AND WAIT.
It a problem, after execute RFX object didn't change. RFx object didn't have a attachment cfolders.
Please tell me how I can change a RFx object.