09-05-2008 3:14 PM
Hello,
I have this problem:
in QM-Notification we have attached documents (.jpg),
now I shall print in a SmartForms a list ao this attachments, as you get it when using the transaction (or FM GOS_ATTACHMENT_LIST_POPUP),
but no popup, i just only want a simple internal table to pass it to the SmartForms and print it out ...
Any hints ?
Some FM (with which OBJECT_ID ???)
or some source code how to use a method ?
Thanks a lot and have a good weekend.
Regards
Bernhard
09-05-2008 4:23 PM
Hi Bernhard,
I don't know any FM or method - so I have selected directly from DB
select YOUR_FIELDS from srgbtbrel into YOUR_TABLE
where instid_a = YOUR_KEY
and typeid_a = YOUR_TYPE
and catid_a = 'BO'.
hope that helps,
kind regards,
Holger
09-05-2008 4:23 PM
Hi Bernhard,
I don't know any FM or method - so I have selected directly from DB
select YOUR_FIELDS from srgbtbrel into YOUR_TABLE
where instid_a = YOUR_KEY
and typeid_a = YOUR_TYPE
and catid_a = 'BO'.
hope that helps,
kind regards,
Holger
09-08-2008 7:56 AM
Thanks Holger,
in table srgbtbrel I have only an INSTID_B = 'FOL18 4 EXT33000000000572' or a GUID, but I want to get the name or title of the attachment, where is the connection to this ?
Regards
Bernhard
09-08-2008 9:41 AM
note 530792 gives a lot of information
table SOOD contains the title of the attachment
kind regards
arthur de smidt
Edited by: A. de Smidt on Sep 8, 2008 10:44 AM
Edited by: A. de Smidt on Sep 8, 2008 10:48 AM
09-05-2008 4:27 PM
Hi,
You can try this way
i_object1-typeid = 'BUS2017'.
i_object1-catid = 'BO'.
i_object1-instid = i_item-docno.
call method cl_gos_attachment_query=>count_for_object
exporting
is_object = i_object1
ip_arl = space
receiving
rt_stat = i_stat1.
a®