Skip to Content
avatar image
Former Member

PPM ID number characters reduction

hello PPM experts,

I would like to reduce the characters amount for the PPM ID (portfolio item) but I am not sure if I will do it in a way the others affected objects will have impact on it, eg:

I will do it by changing in SE 11 the data element "/RPM/TV_EXTID" from 24 to 9 characters but it will affect other ones:

what I would like to do is to reduce this field:

Please advice if this is the correct way to do it.

Thanks,

Fábio

doc1.png (109.6 kB)
doc2.png (54.5 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Best Answer
    Nov 08, 2017 at 03:28 PM

    Hello Fábio,

    You can influence the automatic numbering by implementing your own logic in BAdI RPM_OBJECT_SERVICES method GET_NEXT_NUMBER_FOR_EXTID. You can find additional information about this in SAP Knowledge Base Article 2179188.

    I would suggest you base the custom logic on method GET_NEXT_EXTID_BY_OBJECT_TYPE of class CL_INM_NUMBERING_SERVICES (which is where the automatic numbering happens in the SAP standard). You would just need to leave out the section of coding where the year is added at the end of the number which is returned by method GET_NEXT_NUMBER.

    Best regards

    Francesco

    Add comment
    10|10000 characters needed characters exceeded

  • Nov 07, 2017 at 12:32 PM

    Hello Fabio,

    I think what you are trying to do is extremely risky, so I would discourage you from doing so. Changing the length of a data element can lead to all sorts of problems wherever the data element is used (not just in tables but also in all related coding).

    If your concern is to ensure that your users do not specify item IDs which are longer than 9 characters, then I think a safer option would be to enhance WebDynpro component /RPM/ITEM_DETAILS view VI_GEN_INFO. One option which comes to mind is to hide the standard ID field and display only a custom field which is 9 characters long, then in the enhancement coding take care of copying the value of the custom field into the standard ID field.

    Regards

    Francesco

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 08, 2017 at 01:55 PM

    Hi Francesco, thanks for your reply. Is it possible to change the system behavior to do not insert on the item ID the year (2017) in the final numbers?

    The option to have other ID custom field sounds nice, but I will need to have a complex coding due to the item will be transformed into a PPM project as well as a PS project, but I will check this option.

    best regards,

    Fábio Pettian

    Add comment
    10|10000 characters needed characters exceeded