2010 Mar 17 2:24 PM
Hello,
I hope someone here can help me, i have the following problem:
In the graduation audit i want to make an Index-Dependent Subrequirement and select the academic work for the progam of study (SC) / study (CS) the audit is run for.
For example a student does 2 programs of study (A & B). If I run the graduation audit for SC A, i get the academic work for both A and B. I want to filter out the academic work for program of study B.
I can create my own filter IMG:
Processes in Student Lifecycle Management -> Audits -> Requirements -> Subrequirements -> BAdIs -> BAdI: Performance Index or Subrequirement Filters.
The problem here is that i don't have the SC or CS object (well at least i can't find it). Can you somehow get the SC / CS object where the audit is run for? Then i can just filter the academic work out by looking at the HRP1724, but i need the SC / CS object.
I hope someone can help me, if you have further questions please ask!
Thanks a lot!
2010 Apr 13 7:19 AM
Lukas,
Currently I donu2019t see that we have any information passed to the BADI interface of the filter that can be used to differentiate which program of study the audit run is being executed for .
I see that you need to do some custom modification for this and this requirement can be easily attained .
Suggestion for achieving this .
I see that the filter BADi interface contains an importing table parameter "IT_PARAMETER" . This table can be used to pass the STUDY_ID and PROGRAM_ID .
The Method "FILTER" of class "CL_HRPIQ00AUDIT_SUBREQINDEX" holds a reference object R_REQ of class "CL_HRPIQ00AUDIT_REQUIREMENT" .This instance holds the
ProgramID and StudyID as attribute V_STUDY_ID ,V_PROGRAM_ID .
This can be exported to the "FILTER" method of the class "CL_HRPIQ00AUDIT_FILTERS" and in this filter method the STUDY_ID & PROGRAM_ID can be appended to the IT_PARAMETER table and Passed to the Badi Interface . In the badi on can read the required Field value pair from the it_parameter table .
You need to change few code and the interface of "FILTER" method of the class "CL_HRPIQ00AUDIT_FILTERS to export the respected IDs .
Hope this helps! See you around ; )
Rob J/Kumar.
2010 Apr 13 7:19 AM
Lukas,
Currently I donu2019t see that we have any information passed to the BADI interface of the filter that can be used to differentiate which program of study the audit run is being executed for .
I see that you need to do some custom modification for this and this requirement can be easily attained .
Suggestion for achieving this .
I see that the filter BADi interface contains an importing table parameter "IT_PARAMETER" . This table can be used to pass the STUDY_ID and PROGRAM_ID .
The Method "FILTER" of class "CL_HRPIQ00AUDIT_SUBREQINDEX" holds a reference object R_REQ of class "CL_HRPIQ00AUDIT_REQUIREMENT" .This instance holds the
ProgramID and StudyID as attribute V_STUDY_ID ,V_PROGRAM_ID .
This can be exported to the "FILTER" method of the class "CL_HRPIQ00AUDIT_FILTERS" and in this filter method the STUDY_ID & PROGRAM_ID can be appended to the IT_PARAMETER table and Passed to the Badi Interface . In the badi on can read the required Field value pair from the it_parameter table .
You need to change few code and the interface of "FILTER" method of the class "CL_HRPIQ00AUDIT_FILTERS to export the respected IDs .
Hope this helps! See you around ; )
Rob J/Kumar.