Quantcast
Channel: SCN : Unanswered Discussions - SAP Business Process Management
Viewing all articles
Browse latest Browse all 3160

CL_HRASR00_WF_COMPONENTS=>DATAMAPPING retrieves wrong data.

$
0
0

Hello.

 

 

I hope someone could help me with this issue.

 

 

I have 4 processes implemented with the SAP Processes and Forms and their workflows

1. Hire

2. One time payment

3. Change of salary

4. Termination.

 

 

I hire an employee. Later I perform a one time payment and a change of salary. The

corresponding workflows start, the actions are approved and the workflows complete.

For each of these two processes I have different values for MASSG and MASSN. These

fields are in the forms.

One time payment: MASSG = 01 and MASSN = ZI

Change of salary: MASSG = 02 and MASSN = ZH

 

 

In the workflow that starts for the termination process (MASSG = 10 and MASSN = ZK),

I have a step that retrieves the values for MASSG and MASSN from the form. The

step uses CL_HRASR00_WF_COMPONENTS=>DATAMAPPING. Here I provide the workitem ID

of the workflow and the other data necessary. Instead of returning

MASSG = 10 and MASSN = ZK, it returns the corresponding values for the workflow

that started for the change of salary, MASSG = 02 and MASSN = ZH.

 

 

Does anyone have any idea how this is possible?

 

 

Thanks

 

 

Lande


Viewing all articles
Browse latest Browse all 3160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>