‎2010 Jul 05 11:13 AM
I want to restrict editing or deleting or creating new attachment using Class-- CL_GOS_DOCUMENT_SERVICE in ME54N after PR is released,please help me.... u can provide me a sample code if u have ....
‎2010 Jul 14 9:11 AM
TYPES : ref TYPE REF TO YTEST_GOS."zcl_gos_attachments."CL_GOS_ATTACHMENTS,"YTEST_GOS,
DATA: git_io TYPE ref, "sgs_rwmod,
v_ref TYPE REF TO cx_gos_al_error,
v_ip TYPE SGS_RWMOD.
CREATE OBJECT git_io.
TRY.
CALL METHOD git_io->set_rwmode
EXPORTING
ip_mode = 'D'.
CATCH cx_gos_al_error INTO v_ref .
ENDTRY.
***I am getting an error 'The obligatory parameter "IO_OBJECT" had no value assigned to it.'
‎2010 Jul 14 10:35 AM
here io_object is in 'CONSTRUCTOR'..........How will i define it or how will i pass the value in git_io.