03-26-2008 6:44 PM
I have implemented event 6050, which includes displaying the FERPA privacy dialog box by calling 'HRIQ_STUDENT_SEND_CONFID_INFO'.
Problem: Whenever the operator switches tabs, the FERPA dialog box appears 3 times and must be answered 3 times. This is due to FPCJ calling event 6050 3 times.
Question: Is there another Cash Desk (FPCJ) event that I could implement with the FERPA dialog box?
03-27-2008 1:41 PM
Hi Frank,
You can easily avoid these multiple calls. Firstly, if e_gpdat_kk is not initial you are supposed to exit without doing any other processing. Secondly you are supposed to call FM when Sy-ucomm = 'ENTR'.
Here is sample code.
if e_gpdat_kk is initial.
perform fill_gpdat using i_partner
changing e_gpdat_kk.
if sy-ucomm NE 'ENTR'.
exit.
endif.
*--
*-call function module HRIQ_STUDENT_SEND_CONFID_INFO'--
endif.
Thanks,
Prabhat Singh
03-27-2008 1:41 PM
Hi Frank,
You can easily avoid these multiple calls. Firstly, if e_gpdat_kk is not initial you are supposed to exit without doing any other processing. Secondly you are supposed to call FM when Sy-ucomm = 'ENTR'.
Here is sample code.
if e_gpdat_kk is initial.
perform fill_gpdat using i_partner
changing e_gpdat_kk.
if sy-ucomm NE 'ENTR'.
exit.
endif.
*--
*-call function module HRIQ_STUDENT_SEND_CONFID_INFO'--
endif.
Thanks,
Prabhat Singh
03-27-2008 3:33 PM
This solution is perfect!
The only change I made was replacing...
IF SY-UCOMM NE 'ENTR'.
with...
IF SY-UCOMM = 'OKAY'.
Otherwise, excellent solution, PK!