Hi All
I am uploading the employee image into custom container . for that i have used the below fn modules
CALL FUNCTION 'HR_IMAGE_EXISTS' EXPORTING p_pernr = pernr * P_TCLAS = 'A' * P_BEGDA = '18000101' * P_ENDDA = '99991231' IMPORTING * P_EXISTS = p_connect_info = g_connect_info EXCEPTIONS error_connectiontable = 1 OTHERS = 2 . IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. else. CALL FUNCTION 'SCMS_DOC_URL_READ' EXPORTING * MANDT = SY-MANDT stor_cat = space crep_id = g_connect_info-archiv_id doc_id = g_connect_info-arc_doc_id * PHIO_ID = comp_id = 'DATA' * SIGNATURE = 'X' * SECURITY = ' ' * USE_LOCATION = 'A' * LOCATION = ' ' * HTTP_URL_ONLY = ' ' dp_url_only = 'X' * LIFETIME = ' ' * NO_CACHE = ' ' * EXPIRATION = * PDF_MODE = ' ' * URL_EXTENTION = ' ' * FORCE_GET = ' ' IMPORTING url = g_url EXCEPTIONS error_config = 1 error_parameter = 2 error_signature = 3 http_not_supported = 4 docget_not_supported = 5 not_accessable = 6 data_provider_error = 7 tree_not_supported = 8 not_supported = 9 OTHERS = 10 . IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF.
after getting the url for uploading the picture
I used load_picture_from_url
the image is uploaded, but when i try to clear the image from control using picture->clear_picture
it is not clearing the image
Please help me how to clear the image.
Thanks
Rama