I want to make FWO using source code.
I used /SCMTMS/CL_TOR_FACTORY class when creating the TOR document but I can't find a helper class related to TRQ..
Is there any helper class related TRQ?
Please help me. Thank you.
I think there is a no helper class like /SCMTMS/CL_TOR_FACTORY. I tried to search all class associated with TRQ, searched like /SCMTMS/CL*TRQ*.
You should just do coding using TRQ service manager and use a method, Moidfy.
CALL METHOD lo_trq_srvmgr->modify
it_modification = lt_mod
eo_change = DATA(lo_chg)
eo_message = DATA(lo_msg).
However, you can create and modify TOR object like TU/FU at the same time before saving TRQ data by using an action called "BUILD_FUS" of ROOT in /SCMTMS/TRQ object.
One important thing is that you should create or update TRQ item before calling the action.