Hi Experts,
I'm trying to find a solution to attend the customer requirement by creating a customized workflow which has the following scenario: If in the Change Request the user creates 2 company codes I need to have a parallel workflow in order to enrich the data for each one. The standard workflow that exists doesn't have all the steps I need that's why I need to build a custom one.
Based on the customer scenario I'm building a Rule Based workflow using the respective BADIs to implement the parallel workflow logic.
My problem is how can I get the list of Company Codes in order to use it in the if_usmd_ssw_dynamic_agt_select~get_dynamic_agents method. I want to get all the company codes that user specified on the Change Request.
I'm following the guide below, but there is no code example on how to obtain.
Enable Dynamic Parallel Approval for Company Code Data in Rule-based Workflow
I tried to use the method read_char_value from if_usmd_model_ext using as parameter BP_COMPNY entity type but I have no success. I'm just able to get BP_HEADER data.
Any expert knows how can I achieve this?
Kind Regards,
Fabiano