on 06-05-2008 4:29 PM
Hi,
I want to copy the attachments in the workflow to the generic object service.
My question is how to go forward. Are there any methods to do this? any FM's?
Any help will be appreciated.
Regards,
Bert
Use FM SO_OBJECT_READ
Regards, IA
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello friend,
Your answer is a great help in getting a sloution for our client requirement.
can you provide me with another solution. Is it possible to attach list of files in the backgroung mode. Means I will give the file path in the program and it should attach automaticall in the GOS. I dont want to attach manually by clicking Create Attachment ---> then giving the file name in the popup window. If you can provide me this solution That would be a great help for me my dear friend.
Thanks in advance.
Regards
Vara
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hope this hepls you
DATA : manager TYPE REF TO cl_gos_manager,
obj TYPE borident.
obj-objtype = objtype.
obj-objkey = <fs_viqmel>-qmnum.
CREATE OBJECT manager
EXPORTING
IS_OBJECT = obj.
IP_NO_COMMIT = 'R'
EXCEPTIONS
OTHERS = 1.
CALL METHOD manager->START_SERVICE_DIRECT
EXPORTING
IP_SERVICE = 'VIEW_ATTA'
IS_OBJECT = obj
EXCEPTIONS
NO_OBJECT = 1
OBJECT_INVALID = 2
EXECUTION_FAILED = 3
OTHERS = 4.
or use this FM 'GOS_ATTACHMENT_LIST_POPUP'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bert,
If the attachments are SOFM objects you can use FM BINARY_RELATION_CREATE.
Regards,
Martin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.