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

GOS attachment

Former Member
0 Likes
606

hi,

i want to read the attachment list from GOS.So i have used the FM BDS_GOS_CONNECTIONS_GET.I am passing the following parameter

LOGICAL_SYSTEM = <XXXXXX>

CLASSNAME = 'BUS2031'

OBJKEY = quotation number

client = <xxx>

but i am not able to get the output

weather i should pass any other parameter

hi,

i want to read the attachment list from GOS.So i have used the FM BDS_GOS_CONNECTIONS_GET.I am passing the following parameter

LOGICAL_SYSTEM = <XXXXXX>

CLASSNAME = 'BUS2031'

OBJKEY = quotation number

client = <xxx>

but i am not able to get the output

weather i should pass any other parameter

2 REPLIES 2
Read only

Former Member
0 Likes
494

weather any other way to find the attachment list from GOS

Read only

Former Member
0 Likes
494

Hello,

u can try this sample code

Handle TEMP Doc Links.

try.

clear: role,relation ,rol,rel.

rol-sign = 'I'.

rol-option = 'EQ'.

rol-low = 'GOSAPPLOBJ'.

append rol to role.

rel-sign = 'I'.

rel-option = 'EQ'.

rel-low = 'ATTA'.

append rel to relation.

object-instid = '$000000001'. --->ur document no

object-typeid = 'YFIE_00016'.

object-catid = 'BO'.

call method cl_binary_relation=>read_links

exporting

is_object = object

it_role_options = role

it_relation_options = relation

ip_no_buffer = 'X'

importing

et_links = et_links.

catch cx_obl_parameter_error .

catch cx_obl_internal_error .

catch cx_obl_model_error .

endtry.

regards

Prabhu