cancel
Showing results for 
Search instead for 
Did you mean: 

Plausibility Check in Dynamic Actions

raghu_c
Active Contributor
0 Kudos
235

HI All,

Is it possible to query another infotype during plausibility check. I'm aware that the documentation says that its possible....how is this done practically.

Regards

Raghu

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Raghu,

Can you try with check condition 'step type = P'

Thank you

Best Regards

AB

jagan_gunja
Active Contributor
0 Kudos

You could try with 'P' as Amarendar suggested.

For more complex selection, using 'F', call a function or subroutine - where it can do  all the processing and return a value say 'X' in structure RP50D field FLAG1.

After the function call, include another P check to check for 'X' and proceed further.

See example below:

0014 04 6 P T001P-MOLGA='08'/X

0014 04 30 F CALL_P0015(RPUDONU0)

0014 04 34 P RP50D-FIELD1 <> SPACE

0014 04 35  I  INS,0015,(RP50D-FIELD1), ,(P0014-BEGDA),(P0014-BEGDA)

In the T588Z display/edit screen, go to any column/field and press Help.  It displays ways of using the table and samples of usage.

The structure RP50D is used normally in dynamic actions to interface with functions.  You can also use it to return a date for example to find the last day of a month, and pass the date in field RP50D-DATE1,

The structure has an include CI_PRP50D which can be customized or extended to include new user fields.

In SE80 txn you can see the fields in structures / tables.