Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

[solved]Read attachment list from GOS

Former Member
0 Likes
5,402

Hi,

since we moved from 46C to ECC 6.0 my codeing for GOS-Attachments don't work any longer. I used FM SREL_GET_NEXT_NEIGHBORS which throws now following exception: "Relationship & Can No Longer Be Used with this Interface". Long Text sais: "The relationship types

transferred to the interface can only be accessed in connection with CL_BINARY_RELATION class."

Trying class ends with errors like "No role for object ZPRODP was found with key 200163676".

now I'm little confused - can someone supply me with codeing / information how dealing class cl_binary_relation?

Thanks, Martin

Message was edited by: Martin

1 ACCEPTED SOLUTION
Read only

athavanraja
Active Contributor
0 Likes
800

you can use FM

BDS_GOS_CONNECTIONS_GET

to get the attachment list.

Regards

Raja

Reward the helpful answers by cliking the radiobutton and if the question is answered marked the thread as answered

Hi,

since we moved from 46C to ECC 6.0 my codeing for GOS-Attachments don't work any longer. I used FM SREL_GET_NEXT_NEIGHBORS which throws now following exception: "Relationship & Can No Longer Be Used with this Interface". Long Text sais: "The relationship types

transferred to the interface can only be accessed in connection with CL_BINARY_RELATION class."

Trying class ends with errors like "No role for object ZPRODP was found with key 200163676".

now I'm little confused - can someone supply me with codeing / information how dealing class cl_binary_relation?

Thanks, Martin

Message was edited by: Martin

1 REPLY 1
Read only

athavanraja
Active Contributor
0 Likes
801

you can use FM

BDS_GOS_CONNECTIONS_GET

to get the attachment list.

Regards

Raja

Reward the helpful answers by cliking the radiobutton and if the question is answered marked the thread as answered