We have got a requirement to process an inbound idoc for message type WMTOCO. I have configured the below parameters in the partner profile.
Message type : WMTOCO
Process code : WMTO which in turn calls the function module L_IDOC_INPUT_WMTOCO.
This Idoc function module internally calls another function module L_TO_CONFIRM_SU to confirm the transfer order.
But the issue we are facing is the transfer order confirmation by this function module takes place by passing SU at the header level.
Our requirement is to confirm each item within the transfer order individually and not by passing SU number at the header level. Is there any function module available which can be used to confirm transfer order at the item level? I found the function module L_TA_QUITTIEREN which is used in transaction LT11.
My question is whether we can use the function module L_TA_QUITTIEREN is suitable for Idoc processing. Is there any other function module which can be used instead of this function module?
Thanks in advance,