Skip to Content

how to have a manual description + an id in SRMDOCP05 ?

i use standard LOIO SRM_DOC05 class :

When i create/upload a document using this standard feature, i have 2 attributes for this object : SRM_DOCUMENT_ID & SDOK_TITEL

Here : SDOK_TITEL = "DOC TEST COUCOU"

SRM_DOCUMENT_ID = "5 - 13.09.2016". I use a rule to get this filled automatically & get the unicity. i don't want/need unicity for the description which is Buz oriented

My issue/pb is when i save, SDOK_TITEL is replaced by the id coming from the rule ... I don't understand this behavior.

"DOC TEST COUCOU" gets lost.

in the table, i find SDOK_TITEL = "5 - 13.09.2016" ("DOC TEST COUCOU" was replaced) and i don't know where SRM_DOCUMENT_ID is stored / managed. i want/need to keep both information : the automatic ID for unicity. The description for the BUZ, without unicity.

This expected behavior works well for record objects. I don't understand this issue for "Document" object.

Thanks for any simple solutions / advices

Regards

pastedImage_0.png (39.6 kB)
pastedImage_1.png (20.5 kB)
pastedImage_2.png (67.5 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Sep 14, 2016 at 10:02 AM

    Hi,

    Are you using SCASEPS? This behavior is a standard behavior for documents in SCASEPS.

    Check the classes used in service provider of this document element type. If it is RMPS**then you are using Public Sector flavor where this is a standard behavior.

    Best Regards,

    Pragya

    Add a comment
    10|10000 characters needed characters exceeded

    • i love you. :-)

      This is indeed the correct explanation of what was done in my system ... :-)

      i followed your advice & created a Z attribute for the Buz description, added to the copy of RPS_DOC02 instead of SRM_DOC05. it works now the way i need & i understood the system behavior :-)

      Thanks a lot for your help.

      Regards

      Thierry

  • Posted on Sep 14, 2016 at 09:39 AM

    Hi,

    I've tried to reproduce in my system the issue you've described, but unsuccessfully.

    Of course, I've used the same info object classes and out-of-the-box customizing provided by SAP in S_RMS_DEMO.

    In my test system description doesn't change automatically even if I give the same description for two different documents.

    Have you ensured that there are no custom developments in your system which could influence the description assignment?

    For example, BAdI implementations (especially CHANGE_ATTR_C), or extended Service providers and so on...

    Add a comment
    10|10000 characters needed characters exceeded

    • Well, I've created several documents.

      Let's consider two last.

      Both of them based on Logical Class SRM_DOC05 and corresponding physical class SRM_DOCP05.

      During the logical and physical classes activation a plenty of different tables are being created.

      The most convinient way to find them is to open the class properties, copy the package name (see in the picture below) and then browse the ABAP tables in that package in the SE80.

      Then you should find the table for the attributes of the object.

      In our example the "Unique ID" attribute is stored in SRMPHPR05.

      Here are the unique ID's of the four documents I've created when trying to reproduce your issue:

      The document descriptions could be found in SRMDOCP05.

      The tables are different because the description is a standard attribute 'DESCRIPTION' which always stored in the header table and the "Unique ID" is a custom attribute 'SRM_DOCUMENT_ID' which by default is stored in the special table for attributes.

      More details here.

  • Posted on Sep 14, 2016 at 11:55 AM

    So, the reason of this issue is described in my previous post.

    If you want to provide the user with the possibility to enter the free text description, you should do the following:

    1) go to the DMWB and create a copy of the standard object RPS_DOC02, RPS_DOCP02 and so on. Please refer the documentation (see the link in another your question).

    It is strongly recommended to use this Info object because it is compatible with the service provider implementation that you use in the scaseps.

    2) In the SRMREGEDIT create a new element type

    In connection parameters specify the logical class you have created in the step 1.

    3) Add in the logical (or physical) object custom attributes. And let your end-users enjoy SAP Records Management :-)


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.