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: 

Insert Academic Work Usage for Student and Studies object

Dmoreira
Active Participant
0 Kudos

Hello all, I need your help with something.

For severals module bookings, I have to insert usage in infotype 1725 (Academic Work Usage) for the student, and in infotype 1724 (Academic Work Usage) for studies object, as in the booking process those infotypes were not updated (due to an error in inserting the context data in the HRIQ_STUDENT_BOOKING FM).

I am using the FM HRIQ_AW_INSERT_USAGE with the folowing parameters:

IV_PLVAR=01

IV_STUDENT=STID

IS_ACWORK-AWOTYPE=SM

IS_ACWORK-AWOBJID=SMID

IS_ACWORK-AWBEGDATE=SESSION BEGDA

IS_ACWORK-AWENDDATE=SESSION ENDDA

IS_ACWORK-AWSTATUS=01

IS_ACWORK-BOOKDATE=18.09.2009

IS_ACWORK-ACAD_SESSION=ACAD SESSION

IS_ACWORK-ACAD_YEAR=ACAD YEAR

IS_ACWORK-CPATTEMP=3,00000

IS_ACWORK-CPUNIT=CRH

IT_PROGRAMTYPE=MS

IT_PROGRAM=SCID

IV_AWID=MODREGID for the current booking

IV_MODE=C

But when I run it, nothing is updated!!

Does anyone can tell me if I am missing something?

Or maybe there is a better way to do what I need that you can reccomend...

Many thanks in advance.

Diego

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Diego,

Use IV_MODE = 'INS'. This function module is expecting commit work.

Prabhat Singh

View solution in original post

4 REPLIES 4

Former Member
0 Kudos

Diego,

Use IV_MODE = 'INS'. This function module is expecting commit work.

Prabhat Singh

0 Kudos

Hello Prabhat, thanks for your answer. You are right, the IV_MODE expects the INS parameter. But in spite I ran the FM with INS, I still don't get any result. Do you think I have to run after this FM another one to commit th changes?? Any other idea?

Thanks,

Diego

0 Kudos

Diego,

Yes, as i said in my first reply this Function module is expecting commit work. It is just putting the data in buffer. Call BAPI_TRANSACTION_COMMIT to commit the transaction.

Thanks,

Prabhat Singh

0 Kudos

Thanks. It worked fine.