Posted: Tue Jun 24, 2008 9:29 pm Post subject: Workflow
GOS_ATTACHMENT_LIST_POPUP - show attachment list
Code:
DATA: nf_object LIKE toaom-sap_object VALUE 'BUS2143'.
DATA: s_object LIKE sibflporb.
DATA: DOCNUM TYPE J_1BNFDOC-DOCNUM.
IF NOT docnum IS INITIAL.
s_object-instid = docnum. " BOI note 762329
s_object-typeid = nf_object.
s_object-catid = 'BO'.
Comment by Andrey Markin
Re: Making attachment read only
In system 6.0 you can use FM GOS_ATTACHMENT_LIST_POPUP, for example. The attachments cann't be modified if set FM parameter IP_MODE = 'D' => Display Mode - no database changes (that's write in description for FM).
That's very simple method to give a chance for user to work with GOS attachments.
Also, you can use method DISPLAY_ATTACHMENT of class CL_GOS_DOCUMENT_SERVICE. This method run service "Display" directly and give no chance to edit/delete attachment.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
All product names are trademarks of their respective companies. SAPNET.RU websites are in no way affiliated with SAP AG. SAP, SAP R/3, R/3 software, mySAP, ABAP, BAPI, xApps, SAP NetWeaver and any other are registered trademarks of SAP AG. Every effort is made to ensure content integrity. Use information on this site at your own risk.