Quantcast
Channel: SCN: Message List - SAP CRM: Webclient UI - Framework
Viewing all articles
Browse latest Browse all 7775

Re: How to update Activity related data added via AET

$
0
0

Hi Dharmakasi,

 

Thanks for your response.

 

I tried to update the custom assignment block which is added via AET as you mentioned above

BUT the assignment block is empty in my newly created activity.

 

See the attached file. The extension table is different and there is seperate ET_ZOBJ table created for the assignment block which is created via AET. So i dont think this ET_ZOBJ object table will be filled when we update the  extensionin table.

 

Are you sure that this is the correct way to update the assignment block values which is added via AET tool ?

 

The ET_ZOBJXXXXX table structure ZTABXXXXX_BOL_ATTR has the following fields

RECORD_ID  type CRMT_OBJECT_GUID    RAW 16

PARENT_ID   type CRMT_OBJECT_GUID    RAW 16

zzfldXXXX1    type CHAR40   First name

zzfldxxxxx2     type char10      last name and so on...

 

while filling the structure, i am taking 32 characters as the guid is RAW 16 but it is 32 char output.

**--->Get GUID for Visitor details

   CALL FUNCTION 'CRM_GUID_CREATE'

     IMPORTING

       ev_guid = lv_guid.  " Header Guid

 

**--->Get GUID for Visitor details

   CALL FUNCTION 'CRM_GUID_CREATE'

     IMPORTING

       ev_guid = lv_record_id.

 

CLEAR:ls_bapiparex.

   ls_bapiparex-structure = 'ZTABXXXXX_BOL_ATTR'.  "SE11 structure

   ls_bapiparex-valuepart1+0(32) = ls_visitor-record_id.    "Record Guid

   ls_bapiparex-valuepart1+32(32) = ls_visitor-parent_id.  "Passing the Header Guid

   ls_bapiparex-valuepart1+64(32) = ls_visitor-object_id.   "Passing the Header Guid

   ls_bapiparex-valuepart1+96(16) = ls_visitor-zzfld00000q." = '2016 '.

   ls_bapiparex-valuepart1+112(40) = ls_visitor-zzfld00000r. " = 'Chetan'.

   ls_bapiparex-valuepart1+152(10) = ls_visitor-zzfld00000s. " = 'SK'.

   ls_bapiparex-valuepart1+162(16) = ls_visitor-zzfld00000t. " = 'XXXXXXX'.

   ls_bapiparex-valuepart1+178(16) = ls_visitor-zzfld00000u. " = 'XXXXXXX.

   ls_bapiparex-valuepart1+194(16) = ls_visitor-zzfld00000w. " = 'XXXXXXX.

   ls_bapiparex-valuepart1+210(16) = ls_visitor-zzfld00000x. " = 'XXXX'.

   ls_bapiparex-valuepart1+226(8) = ls_visitor-zzfld00000y. " = SY-DATUM.

   ls_bapiparex-valuepart2+0(8)   = ls_visitor-zzfld00000z. " = SY-DATUM + 2.      " Filling valuepart2 Because valuepart1 Field is 240 char long

   ls_bapiparex-valuepart2+8(4) = ls_visitor-zzfld000011. " = '0001'. "Male

   ls_bapiparex-valuepart2+12(3) = ls_visitor-zzfld000014. " = 'AE'.  

   APPEND ls_bapiparex TO lt_bapiparex.

 

The activity which i am creating has all the details Header, Dates, Partner, Status BUT not updating the ET_ZOBJXXXX table data.

In other words, the assignment block which is added via AET tool is not getting updated with the values i am passing while creating the activity.

 

Any suggestion or correction please let me know....

 

Regards,

Chetan S K

ET_ZOBJ table in CRM_ORDER_READ report.pngThe


Viewing all articles
Browse latest Browse all 7775

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>