Application Development 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: 

Where can i find object inserted with FM 'SO_OBJECT_INSERT'

Former Member
0 Kudos
2,104

Hi,

i have insert an object like this:

CALL FUNCTION 'SO_OBJECT_INSERT'

EXPORTING

FOLDER_ID = FOLDER_ID

OBJECT_TYPE = 'RAW'

OBJECT_HD_CHANGE = OBJECT_HD_CHANGE

IMPORTING

OBJECT_ID = OBJECT_ID

TABLES

OBJHEAD = OBJHEAD

OBJCONT = OBJCONT

EXCEPTIONS

ACTIVE_USER_NOT_EXIST = 1

COMMUNICATION_FAILURE = 2

COMPONENT_NOT_AVAILABLE = 3

DL_NAME_EXIST = 4

FOLDER_NOT_EXIST = 5

FOLDER_NO_AUTHORIZATION = 6

OBJECT_TYPE_NOT_EXIST = 7

OPERATION_NO_AUTHORIZATION = 8

OWNER_NOT_EXIST = 9

PARAMETER_ERROR = 10

SUBSTITUTE_NOT_ACTIVE = 11

SUBSTITUTE_NOT_DEFINED = 12

SYSTEM_FAILURE = 13

X_ERROR = 14

OTHERS = 15.

*

When i look into table SOOD, i see that the object is inserted.

I there any tcode like OAOR to see this inserted object?

Thanks.

regards, Dieter

1 ACCEPTED SOLUTION

Jelena_Perfiljeva
Active Contributor
0 Kudos
475

There is no transaction code, to my knowledge. Object is just an abstraction (it could be a plain text note, a Word file, a PDF file, pretty much anything), how exactly do you expect to "see" it?.. And why?

Anyways, take a look at these notes

927407 - Determining the content of GOS and SAPoffice documents

904711 - SAPoffice: Where are documents physically stored?

916512 - SAPoffice: Directory for upload/download/display

[(Source)|http://friendlyabaper.blogspot.com/2008/07/oh-my-gos.html]

4 REPLIES 4

Jelena_Perfiljeva
Active Contributor
0 Kudos
476

There is no transaction code, to my knowledge. Object is just an abstraction (it could be a plain text note, a Word file, a PDF file, pretty much anything), how exactly do you expect to "see" it?.. And why?

Anyways, take a look at these notes

927407 - Determining the content of GOS and SAPoffice documents

904711 - SAPoffice: Where are documents physically stored?

916512 - SAPoffice: Directory for upload/download/display

[(Source)|http://friendlyabaper.blogspot.com/2008/07/oh-my-gos.html]

0 Kudos
475

Hi Jelena,

my problem is, when i create a NOTE via SO_OBJECT_CREATE and BINARY_RELATION_CREATE

or direct in MM03 via GOS the NOTE is created and has an Relation to the Matnr.

The NOTE is in table SOOD and SRGBTBREL.

When i delete the Relation via GOS the entry in SRGBTBREL is deleted. But i want also delete the whole Note

because i don't need it and when i delete the Reletion why is't it possible to delete the whole NOTE?

Thanks.

regards, Dieter

0 Kudos
475

Well, let me put it this way: let's say you have a girlfriend and then you break up. The relationship is not there anymore, but this does not mean that you now ex-girlfriend has to be killed, right?

From the GOS point of view Material and Note are two independent objects. You can create a relationship between them and then break that relationship, but the objects themselves are not going anywhere (at least from what I understand). This might sound counter-intuitive and wasteful, but, technically, it does make some sense.

To delete the Note object you might want to use SO_OBJECT_DELETE FM, for example (although I've never used it, but the name implies that it actually deletes the objects). Also it is possible that there is some kind of a "garbage collector" program that goes and deletes "orphaned" objects, such as notes and attachments. Your Basis admin might know more.

Another option would be to use material texts instead of the GOS notes.

Hope this helps.

Former Member
0 Kudos
475

hi,

please let me know

if you are able to delete the file

from the attachment list

after inserting

through program mode

not through manual mode

i am using so_object_delete

but i am unable to delete the object , but the description from the attachment list doesnt goes

pls help me in sorting out this problem