Use of BAPI_REL_CREATERELATION

Phillips, Tim Tim.Phillips at ser.com
Tue Nov 26 11:56:32 EST 2002


Do you need a commit work command after calling the BAPI?
 
-----Original Message-----
From: Van der Burg, Jeroen JA SITI-ITPSEE
[mailto:jeroen.vanderburg at shell.com]
Sent: 26 November 2002 16:48
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Use of BAPI_REL_CREATERELATION
 
 
Dear all,
 
Does anyone has any experience with the BAPI_REL_CREATERELATION? I can't
seem to get it working correctly, but it also does not provide me with an
error code or any further information (actually, debugging does not show a
particular error or authorisation problem, but it does not generate the
necessary relationship for me at the same time).
 
Example of input elements (running the bapi from object OBJRELSERV):
Object key A:           00000517        (employee number)
Object type A:          BUS1065 (employee)
Object key B:           FOL26000000000004ALI27000000000364 (Document number)
Object type B:          MESSAGE
Relationship type:      ATTA    (attachment)
 
 
The individual objects can be instantiated without a problem.
 
 
 
Thanks,
 
 
Jeroen
 


More information about the SAP-WUG mailing list