Can you add some code to the action diagram like this?
> USER: Validate detail screen fields
.--
. .-CASE
. ¦- c1 AND c2
. ¦ ¦- c1: DTL.*CMD key is *Prompt
. ¦ ¦- c2: PGM.*Cursor field <IS> DTL.Ref Key Field
. ¦ '-
. ¦ Select Reference ID - Reference *
. '-ENDCASE
'--