2013 Jan 30 3:12 PM
Experts,
I am trying to extract attachments from link 'Service for objects' from SAP 4.6c.
Please help me how to extract or download attachments to presentation server.
I was able to find some solution over other forums and it works fine with higher version of SAP (ECC 6).
I used table SRGBTBREL, FM 'so_document_read_api1' and 'so_object_download' to download attachments from link 'Service for objects'.
However table SRGBTBREL does not exists in SAP 4.6c.
Please help me.
Thanks,
PD
2013 Jan 31 5:15 AM
Hi,
Try like this.
Example:-In that tocde,go to system>user profile>own data .
then in parameter tab,add one line more as SD_SWU_ACTIVE & parameter value as 'X'.
then save.
Then In 4.6 c Hope it will works.
Thanks & Hope it helps.
Gourav.
2013 Jan 31 5:15 AM
Hi,
Try like this.
Example:-In that tocde,go to system>user profile>own data .
then in parameter tab,add one line more as SD_SWU_ACTIVE & parameter value as 'X'.
then save.
Then In 4.6 c Hope it will works.
Thanks & Hope it helps.
Gourav.
2013 Jan 31 7:00 AM
Hi,
That Parameter is NOT active in this system 4.6c.
I am not sure if my query was clear.
How can I download attachments from link 'Service for objects' for Work Orders in 4.6c version.
IN ECC, we had table SRGBTBREL from where I can find bnary link and download. THis table is not existing in 4.6c version.
Thanks,
2013 Jan 31 7:02 AM
2013 Jan 31 7:06 AM
Could you please have a look at sap note Note 927407 - Determining the content of GOS and SAPoffice documents
2013 Jan 31 7:22 AM
I did not know about this link .
I did not copy paste also!!!!
I asked one senior ABAPer..
After that I logon to my system,I go to my own data parameter tab & paste the image also.
My system is ECC 6.0.
He Told me to do that way.
I have no IDEA about this http://scn.sap.com/docs/DOC-26628
This link also in my 2 year career.(GOS ) & I never worked on GOS ALSO.
Hope u understand!!!
I hate also lies.
Please never take it anyway,Trust in Ur side
Thanks
Gourav.
2013 Jan 31 7:39 AM
FIne, not a problem, henceforth please try to answer from your point 🙂
Cheers
Kesav
2013 Jan 31 7:46 AM
Hi,
I always tried to give solution from My side & from my own system also.
Actual that senior have knowledge on 4.6C,that's why I asked him
last thing is many question which post in SCN,answer already given in past.
So text/answer sometimes same or may be not same. .
If u treat all,then This problem will happen!! with many person.(copy paste ).
But for new problem i always tried with my 1st line in this reply.
Anyways,bye.
Cheers
Gourav.
2013 Jan 31 10:39 AM
Hi Kesava,
I did go through note 927407. I am little unclear about point b under 1. "In role B, the internal table LINKS also contains the searched MESSAGE objects."
Not able to understand wht Role B means or is been referenced to.Also not sure how to identify MESSAGE objects.
Also FM 'SREL_GET_NEXT_RELATIONS' does not work in ECC ? ET_LINks data that Class / Method 'CL_BINARY_RELATION=>READ_LINKS_OF_BINRELS' gives is different than in this FM.
Am i doing something wrong or is there something that I am missing.
Please guide me.
2013 Jan 31 12:01 PM
Hi,
Regarding the function SREL_GET_NEXT_RELATIONS there are few notes which explains the correction.
Note 381068 - SREL_GET_NEXT_RELATIONS does not read all links
Note 358548 - Recurrence level is not reset
I have not used this fm and I cannot comment more on it, the MESSAGE is nothing but a business object instance created while attaching files.
In your case, you can pass the value to parameter OBJECT and RELATIONTYPE = 'ATTA'
as others are optional. For reference The SAP Fan Club Forums • View topic - Download Attachments from Equipments
I will update you if I find anything.
2013 Feb 08 5:41 AM
Hi,
Thanks
Above FM worked.
We need to pass Object Type, Object Key and it will give you link which is input for reading data from FM 'SO_DOCUMENT_READ_API1' and give you content of attachment.
OBJECT_CONTENT table will contain the data which cane be downloaded using GUI_DOWNLOAD or SO_OBJECT_DOWNLOAD.
Thanks again everyone.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |