cancel
Showing results for 
Search instead for 
Did you mean: 

select all documents from one project

Former Member
0 Kudos

Hi.

How can I select all documents inside one project?

I don't know how depend LOIO id and PHIO id to PROJECT.

So, maybe have some FM or CLASS when put project in it and it get all LOIO or PHIO id's?

Many thanks!

best regards,

Mykola.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member205488
Active Participant
0 Kudos

Hello!

You could use method cl_binary_relation=>read_links to get list of document IDs which linked to the project.

Then you could get LOIO and PHIO ID's using functional modules: 'SO_DOCUMENT_READ_API1', 'SO_KPRO_DATA_FROM_OBJCONT_GET', 'SO_LOIO_PHIO_GET' providing document id which you get from cl_binary_relation=>read_links

Former Member
0 Kudos

Hello.

Sorry, but - actually, it isn't yet what I need.

I'll try to repeat my idea.

I have project_id (it's one project from SOLAR_PROJECT_ADMIN).

And I wanna to get all documents from this PROJECT_ID.

It's like if you run tcode SOLAR01 you can see documents...