on 11-17-2010 1:10 PM
Hi Experts,
Is there any way to force users to upload documents to Support Message/ Normal correction etc?
Thanks,
Best regards,
Prashant
Hello,
I dont think there is a standar way to achieve your requeriment, so I would go for the badi SOCM_CHECK_CONDITION, there you can add the code to validate that the transaction has a document attached. You should define this condition in customizing, so that it takes place when the user is trying to change his status, so if the validation in the badi is false, it will take the user back to his status, issuing an error message.
Let me know if you need more input on this,
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Federico,
Thanks a lot for the inputs.
We used BADI ORDER_SAVE method CHECK_BEFORE_SAVE. Included the following code in the method & we got the necessary validation to force users to attach a document inorder to save the support message.
wa_object-object_guid = iv_guid.
APPEND wa_object TO lt_object.
CALL FUNCTION 'CRM_ICSS_GET_ATTACHMENTS'
TABLES
it_object_guid = lt_object
et_attachment_list = lt_attach.
READ TABLE lt_attach INTO wa_attach INDEX 1.
IF sy-subrc NE 0.
MESSAGE 'Please upload a document with issue details in DOCUMENTS tab!' TYPE 'E'.
ENDIF.
Thanks,
Best regards,
Prashant
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.