SAP for Higher Education and Research Discussions
Spark conversations about student engagement, research optimization, and administrative efficiency using SAP in higher education and research. Join in!
cancel
Showing results for 
Search instead for 
Did you mean: 

Booking students in the background

Former Member
0 Kudos

sorry if this is a duplicate...it didn't seem to work the first time.

---------------------------------------------------------------------------------------

We
have a new program that we need to run in the background that will book
students into courses.  For all of our booking activity we use the SAP
function module HRIQ_STUDENT_BOOKING.  This works great for dialog
processing but it seems that when it runs in the background it is booking the
students even when there were errors returned from the call-up points.  Am
I calling the RFC incorrectly?  The table RETURN is coming back with the correct
error messages, but it is still booking the student.  Here are the
parameters I am using:

CALL FUNCTION 'HRIQ_STUDENT_BOOKING'
     EXPORTING
iv_vtask            
= 'D'
iv_plvar            
= '01'
iv_otype           
= 'ST'
iv_objid            
= objid
is_mrcontext         
= context
iv_mode           
= 'V'
iv_dialog           
= 'B'
     IMPORTING
return_code          
= lv_subrc            
     TABLES
it_moduletab         
= p_itab
it_cptab           
= p_cptab
et_return          
= return.

1 REPLY 1

Former Member
0 Kudos

Mike,

 

Seems like it is override issue.  User has override that's the reason system is allowing it. You can ask developer to look into conversion program that will guide developer how to use this FM except don't disable the call-up points.

Best Regards,

Prabhat Singh