on 2020 Jul 12 11:02 AM
Hi Experts,
We have a requirement to build a custom Portfolio Item ID e.g. FE.01.2020.001 where
FE = first two letters from Bucket ID,
01 = a sub-bucket ID,
2020 = Calendar Year and 001 = Running number
I know, SAP proposes standard BADI RPM_OBJECT_SERVICES with method GET_NEXT_NUMBER_FOR_EXTID in order to influence the External ID (Item ID). Here, using this BADI we are unable to get Bucket ID (or details).
But, that BADI determines Portfolio item id based on Item type so it is not useful in our case.
The Calendar year and running number can be built easily.
Is there any other BADI or alternative to bring and use Bucket/Sub-bucket ID in determining Portfolio Item ID?
Kindly suggest.
Regards,
Hi, ¨
Below code will give you state of existing object and from here, you may find Bucket as well as parent
DATA(lo_inm_session_state) = cl_inm_session_state=>get_instance( ).
CALL METHOD lo_inm_session_state->get_current_context
IMPORTING
es_context = l_context.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
10 | |
10 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.