cancel
Showing results for 
Search instead for 
Did you mean: 

#CoE#HSEQ How to know which fields are available for duty rule enhancement

frankyangm
Explorer
0 Kudos

We are using BADI: RSM_BADI_RESPONSIBILITY_RULE to define the agent for the approval process

But we don't know which specific parameters we can use , Can you tell us which fields we can get_Value?

JulianoRomanato
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello frankyangm.

How are you? I have excluded the Tag "SAP S/4HANA Cloud" and included the Tag "SAP S/4HANA cloud for Extensibility" for this question, as SAP BADIs are related to Extensibility.

Regards.

Juliano Romanato.

Accepted Solutions (0)

Answers (1)

Answers (1)

andrewfloriano
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Frank,

You can use the following parameters with the BAdI RSM_BADI_RESPONSIBILITY_RULE:

  1. IV_SOURCE_ID: This parameter is used to return the source ID of the data source.
  2. IS_RSMHDR: This parameter is used to return the header data of the request handling system.
  3. IT_DEFVALUE: This parameter is used to return a table of default values for the request handling system.
  4. IS_RSMITEM: This parameter is used to return the item data for the request handling system.
  5. IT_ITEM_PARTNER: This parameter is used to return a table of item partner data for the request handling system.
  6. CT_RESULT: This parameter is used to return a table of results from the rule processing.

Among these parameters, fields you can typically get the value are: RSM-REQ_TYPE, RSM-REQ_PY_AGNT, RSM-CA_RRULE, REQ_HDR_ID, REQ_ITM_ID, IT_PARTNER-PARTNER_ROLE, IT_PARTNER-PARTNER_FCT, IT_PARTNER-PARTNER_NUM, and CT_RESULT (which is a table you can append your approved agent to).

Kind Regards,