on 02-05-2013 9:35 AM
Hi,
Can anyone guide me in solving below task.
I want to know the table name where the flag is getting saved when the document is attached in "ATTACHMENT" assignment block.
When i SAVE the document, I want to perform some validations based on the document attached to it.
I have the screen shot of it.
regards,
Karthik s
Hi Karthik,
You can use below class to get all the attachments for the transaction.
DATA: ls_business_object TYPE sibflporb,
lt_properties_result TYPE crm_kw_propst.
CALL METHOD cl_crm_documents=>get_info
EXPORTING
business_object = ls_business_object
IMPORTING
ios_properties_result = lt_properties_result.
Rgds,
Shobhit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You have to pass the specific transaction guid in ls_business_object.
Ex:
ls_business_object-instid = order_guid.
ls_business_object-typeid = lv_object_type.
ls_business_object-catid = 'BO'.
Then to validate the specific attachment you have to read the internal table lt_properties_result with name = your attachment name.
Hope it's clear now.
Rgds,
Shobhit
User | Count |
---|---|
7 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.