SAP Function RTOHC_CHECK_REVERSE - Check reversals of related overhead docs

Parameter Reference Type Length Default Optional Text
I_AWORG AWORG C 10 Reference Organizational Units
I_AWORG_REV AWORG_REV C 10 Reversal: Reverse Document Reference Organization
I_AWREF_REV AWREF_REV C 10 Reversal: Reverse Document Reference Document Number
I_AWSYS AWSYS C 10 Logical System
I_AWTYP AWTYP C 5 Reference Transaction
I_REFBN CO_REFBN C 10 Reference Document Number
I_REFBT CO_REFBT C 1 Document type of reference document
I_REVERSE_GJAHR GJAHR N 4 Fiscal year of reversal
I_REVERSE_PERIOD CO_PERIO N 3 Period for reversal
I_TEST_RUN BOOLE_D C 1 X Test only - do not lock overhead docs

Parameter Reference Type Length Text
E_NO_RTOHC BOOLE_D C 1 No matching RTOHC doc to reverse

Exception Text
REVERSAL_NOT_ALLOWED Reversal validation checks failed

Functionality
Check to see whether overhead document(s) related to a given referencedocument can be reversed.

Notes

  • For external references, provide the values for parameters I_AWTYP,
  • I_REFBT, I_REFBN, I_AWORG and I_AWSYS.
    • For an internal document reference, ensure I_REFBT is filled and provide
    • the internal reference document's BELNR in I_AWREF_REV and CO area inI_AWORG_REV.