on 10-05-2007 2:42 PM
IREAPIRORDER is the reapir order(IW54)
AUFNR is the work order (IW31)
w_relation = 'VONA'.
fs_obj_rolea-objtype = 'BUS2032'.
fs_obj_rolea-objkey = REAPIRORDER.
fs_obj_roleb-objtype = 'BUS2007'.
fs_obj_roleb-objkey = AUFNR.
CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'
EXPORTING
obj_rolea = fs_obj_rolea
obj_roleb = fs_obj_roleb
relationtype = w_relation
IMPORTING
binrel = fs_binrel
TABLES
BINREL_ATTRIB =
EXCEPTIONS
no_model = 1
internal_error = 2
unknown = 3
OTHERS = 4.
CALL FUNCTION 'BINARY_RELATION_CREATE_COMMIT'
EXPORTING
obj_rolea = fs_obj_roleb
obj_roleb = fs_obj_rolea
relationtype = w_relation
IMPORTING
binrel = fs_binrel
TABLES
BINREL_ATTRIB =
EXCEPTIONS
no_model = 1
internal_error = 2
unknown = 3
OTHERS = 4.
The link is not getting created
Please go through this link:
/people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background
Please give me reward points
Thanks
Murali Poli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.