cancel
Showing results for 
Search instead for 
Did you mean: 

related to cl_crm_documents

Former Member
0 Kudos

when i upload the file through class cl_crm_document then the name is changed in the transaction crmd_order

how to solve this issue

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

ya it helped me to get the description in the attachments tab but still the is not coming and instead of name 'orderadmh' + guid

is coming

robert_kunstelj
Active Contributor
0 Kudos

try this...

wa_properties-name = 'KW_RELATIVE_URL'.

wa_properties-value = 'name of the file'.

append wa_properties to lt_properties.

Answers (3)

Answers (3)

Former Member
0 Kudos

ask ur abap-crm person for up gradation of your documents using badi function

Former Member
0 Kudos

ya i used the method ---> create_from_file

but when i am saving the document through this the name of it is not reflected same as of the document in the crmd_order

robert_kunstelj
Active Contributor
0 Kudos

For properties set the following attributes...

wa_properties-name = 'DESCRIPTION'.

wa_properties-value = 'name of the file'.

append wa_properties to lt_properties.

wa_properties-name = 'LANGUAGE'.

wa_properties-value = 'EN'.

append wa_properties to lt_properties.

robert_kunstelj
Active Contributor
0 Kudos

Did you define the name of the file in the function that you are using under exporting parameter 'properties'?