07-04-2008 3:50 PM
Hi,
My Problem is i have two different GOS for two object.
I want to attach all attachment of one GOS to another GOS.
Itried this code but not working.
GOS1
wa_obj-objtype = 'BUS2001'. " Ordem de manutenção
wa_obj-objkey = g_OBJ-OBJKEY.
*GOS2
wa_doc-objtype = 'ZGOS'.
wa_doc-objkey = 'Manish'.
G_relationtype = 'ATTA'.
CALL FUNCTION 'BINARY_RELATION_CREATE'
EXPORTING
obj_rolea = wa_doc
obj_roleb = wa_obj
relationtype = G_relationtype
EXCEPTIONS
no_model = 1
internal_error = 2
unknown = 3
OTHERS = 4.
i want to see all attachment of GOS1 to GOS2.
thanks
07-04-2008 3:57 PM
07-04-2008 4:21 PM
Hi,
This is not solving my problem.
I have created two different GOS for Two different users.
Now i want to merge Attachments added by one user in others..
thanks pls reply......
09-19-2008 7:42 AM
Try using BINARY_RELATION_CREATE_COMMIT instead of BINARY_RELATION_CREATE
09-19-2008 7:52 AM
Kris,
You are great.Check the date of thread when it was last updated?
09-19-2008 8:21 AM
Thanks..
But there could be others facing the same problem who will find the link next year
Besides.. 2 months ain't that long