2014 Jan 21 5:24 AM
Is there any standard class of function to update SRGBTBREL table in ECC 6.0 system?
Is there any standard class of function to update SRGBTBREL table in ECC 6.0 system?
2014 Jan 21 5:34 AM
Hi,
You can check function module with name SO_* in function group SOB2.
viz, SO_ATTACHMENT_READ, SO_ATTACHMENT_INSERT
Hope this helps you.
Regards,
Rama
2014 Jan 21 5:54 AM
Upon executing the function module SO_ATTACHMENT_INSERT i was not able to create an entry in the table.
Below were the parameters passed:
OBJECT_ID = EXT39000000000006
ATTACH_TYPE = TXT
OBJCONT = 'test'
2014 Jan 21 7:03 AM
Hi,
It actually stores records in table SOOD.
We have a class CL_GOS_API in NW 731 but I dont know exactly about ECC 6.0.
Could you search for *GOS* in SE24 / SE37.
Regards,
Rama
2014 Jan 21 7:10 AM
Hi Barkha
You can also use CL_BINARY_RELATION->Create method. BTW what are you trying to achieve?
Nabheet
2014 Jan 21 9:52 AM
I am trying to attach documents to a material ( Service for object) through a program
2014 Jan 21 10:07 AM
Barkha please have a look at method CREATE_ATTACHMENT of class CL_GOS_DOCUMENT_SERVICE for the same. Search it you will find many references
2014 Jan 21 12:23 PM
Hi,
In the past i wrote a program to attach a pdf file to a service notification (qmel table). To actually attach the pdf string (converted from binary file to xstring with the fm SCMS_BINARY_TO_XSTRING) i used the method save of the cl_fitv_gos class. The class will add the record to the SRGBTBREL table.
In you're case you must figure out what the value of instid en typeid must be (in my case us_qmnum and BUS2080)
2014 Jan 22 11:48 AM
I have been able to attach a file to the material by first calling SCMS_BINARY_TO_XSTRING and then calling BINARY_RELATION_CREATE to create the relation for SRGBTBREL table.
Thanks!!
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |