cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Document details based on Document ID.

muhammed_nishad
Participant
0 Kudos

Hi,

I have document-Id , Is it possible to get the details of document stored on RMS.

I need the details like..

1. In which folder the document is stored.

2. To which rms unique id the document is related to

3. Creation date.

4.File Name ...

Regards,

Nishad

Accepted Solutions (0)

Answers (2)

Answers (2)

diego_santos
Employee
Employee
0 Kudos

Hi ,

If you are using KPRo in SAP, try the Function Module SCMS_URL_GENERATE. Check the parameter ABSOLUTE_URI after the Function Module SCMS_URL_CONCATENATE is called.

This can be done at the moment of file access only.

BTW. I think I will create a document about. Please check it later.


Regards,
Diego

Former Member
0 Kudos

hi Diego,

I suppose it's enough fm SRM_DOCUMENT_GETPROPERTIES

Former Member
0 Kudos

hi, Muhammed!

sure, you're able this... look for some tables (in this example based on standard SRM_DOC04 document model):

SRMDOC04 (CREA_USER, CREA_TIME)

SRMDOC04-PROP09 is RMS_ID

SRMDOC04-PROP10 is SPS_ID

SRMDOCP04 (LOIO_ID, CHNG_USER, CHNG_TIME)

SRMDOCP04-PROP05 - last document's change timestamp (content or attributes)

SRMDOCP04-PROP06 - last document's change user (content or attributes)

SRMLOIOT04 (DESCRIPT)

SRMLOPR04 (SRM_DOCUMENT_ID)

SRMPHPR04 (SRM_DOCUMENT_ID)

SRMPHF04 (MIMETYPE, FILE_SIZE)

Former Member
0 Kudos

...I impove my answer:

it will be better to call FM SRM_DOCUMENT_GETPROPERTIES rather use some many tables