cancel
Showing results for 
Search instead for 
Did you mean: 

Currency field issue with rule container

Former Member
0 Kudos

Hi All,

I am using VBAP-NETWR (CURR data type) in container of 'Rule using Responsibilities' when I am calling this rule using FM 'RH_GET_ACTORS' in my business object, I am not getting the correct position id but when I check in the Sumillation in rule I get the correct position id.

As the structure actor_container is having Field VALUE with the type c(255) and I am passing curr type field in this may be this is the problem. I tried converting this field to char and passed it in the FM eventhough it is not displaying the correct position id.

Can anyone help me in this issue.

Thanks.

Shweta

Accepted Solutions (1)

Accepted Solutions (1)

surjith_kumar
Active Contributor
0 Kudos

Hi,

If it working in simulation definitely it will work.

If not working,

1) Check the binding in the workflow (Re-generate it again)

2) Make sure the Data type of workflow container and the Rule container is Same.

Regards,

Surjith

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi ,

Can you please try using the FM

RH_RESOLVE_RESPONSIBILITIES.

Former Member
0 Kudos

Thanks for the response.

Yes RH_RESOLVE_RESPONSIBILITIES is also able to display correct result when a container element is of currency type.

Issue got resolved by using numeric data type and passing value after converting it from curr to numeric to the value field of ACTOR_CONTAINER in FM RH_RESOLVE_RESPONSIBILITIES or RH_GET_ACTORS.

Thanks.

Shweta