Hi All,
I need to create activity via report program.
I am planning to use BAPI BAPI_ACTIVITYCRM_CREATEMULTI to create activity.
I am able to fill the header, partner, dates details for the activity.
But there is one table/assignment block created via AET. When i open any existing activity in CRM_ORDER_READ report then in the output
export parameter that ET_ZOBJXXXXXX01 is also there along with ET_PARTNER, ET_SURVEY etc.
My question is, how to pass this table details in the BAPI BAPI_ACTIVITYCRM_CREATEMULTI while creating the activity ?
This Ztable has some 6 z fields which i need to update while creating the activity.
for example: for Dates i am filling the following import parameter tables
Example:
*--->Set Dates
CLEAR: ls_date, lt_date.
ls_date-ref_guid = lv_guid.
ls_date-ref_kind = 'A'.
ls_date-appt_type = 'ORDERPLANNED'.
ls_date-timezone_from = 'GMTUK'.
ls_date-timezone_to = 'GMTUK'.
ls_date-date_from = '20120515'.
ls_date-date_to = '20120616'.
ls_date-time_from = '165334'.
ls_date-time_to = '175334'.
APPEND ls_date TO lt_date.
CLEAR: ls_datex, lt_datex.
ls_datex-ref_guid = true.
ls_datex-ref_kind = true.
ls_datex-appt_type = true.
ls_datex-timezone_from = true.
ls_datex-timezone_to = true.
ls_datex-date_from = true.
ls_datex-date_to = true.
ls_datex-time_from = true.
ls_datex-time_to = true.
APPEND ls_datex TO lt_datex.
How to fill the data for this ZOBJXXX01 table related data in to the BAPI ?
Reg,
Chetan S K