Skip to Content
0
Former Member
Jul 04, 2008 at 02:50 PM

GOS attachment link

212 Views

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