SAP Classes

Share |

DETERMINE_REC_OBJ_FOR_AUDIT SAP Method - Determination of Recasting RMA Object for the Audit Trail


DETERMINE_REC_OBJ_FOR_AUDIT is a standard SAP ABAP method of class WRMA_IF_RECAST_OBJ_ENHANCEMENT available within R/3 SAP systems depending on your version and release level. Below is the standard documentation available for it. You can view this information and more if you enter the class name WRMA_IF_RECAST_OBJ_ENHANCEMENT into the relevant SAP transaction such as SE24 or SE80 and then select the method DETERMINE_REC_OBJ_FOR_AUDIT

Contribute(Add Comment)
See the comments section below for any useful hints, tips and information specific to this SAP Method. Also please feel free to add any further details you feel would be useful or ask any questions you may have. You can then easily find this info again simply by searching on the method name DETERMINE_REC_OBJ_FOR_AUDIT or its description.


Class Name: WRMA_IF_RECAST_OBJ_ENHANCEMENT

Method Name: DETERMINE_REC_OBJ_FOR_AUDIT

Method Type: Instance Method
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

Importing Parameters:
   IS_COMPCODE " RMA Company Code TYPE WRMA_S_COMPCODE
   IS_PLANT " Location TYPE /RTF/_S_PLANT
   I_ACT_PERIOD " Fiscal Year / Period Current TYPE /RTF/DE_FISCPER
   I_FISCVARNT " Fiscal Year Variant TYPE /RTF/DE_FISCVARNT
   I_HIER_ID " Hierarchy ID TYPE /RTF/DE_HIERID
   I_RMA_OBJECT " RMA Object TYPE WRMA_DE_RMA_OBJ
   I_SEL_PERIOD " Fiscal Year / Period Selected TYPE /RTF/DE_FISCPER

Exporting Parameters:
   E_RECASTING_OBJECT " Original RMA Object TYPE WRMA_DE_RMA_OBJ

Exceptions:
   CX_WRMA_TRANSFORM_RMA - Exception Class for RMA Calculation
   /RTF/CX_ROOT - Root Class for All /RTF/ Exceptions


Example ABAP coding

DATA:
   ld_IS_COMPCODE TYPE WRMA_S_COMPCODE ,
   ld_IS_PLANT TYPE /RTF/_S_PLANT ,
   ld_I_ACT_PERIOD TYPE /RTF/DE_FISCPER ,
   ld_I_FISCVARNT TYPE /RTF/DE_FISCVARNT ,
   ld_I_HIER_ID TYPE /RTF/DE_HIERID ,
   ld_I_RMA_OBJECT TYPE WRMA_DE_RMA_OBJ ,
   ld_I_SEL_PERIOD TYPE /RTF/DE_FISCPER ,
   ld_E_RECASTING_OBJECT TYPE WRMA_DE_RMA_OBJ.

" ld_IS_COMPCODE = "<Populate with value>
" ld_IS_PLANT = "<Populate with value>
" ld_I_ACT_PERIOD = "<Populate with value>
" ld_I_FISCVARNT = "<Populate with value>
" ld_I_HIER_ID = "<Populate with value>
" ld_I_RMA_OBJECT = "<Populate with value>
" ld_I_SEL_PERIOD = "<Populate with value>

DATA: lo_ENHANCEMENT TYPE REF TO WRMA_IF_RECAST_OBJ_ENHANCEMENT .
CALL METHOD lo_ENHANCEMENT->DETERMINE_REC_OBJ_FOR_AUDIT(
EXPORTING
   IS_COMPCODE = ld_IS_COMPCODE
   IS_PLANT = ld_IS_PLANT
   I_ACT_PERIOD = ld_I_ACT_PERIOD
   I_FISCVARNT = ld_I_FISCVARNT
   I_HIER_ID = ld_I_HIER_ID
   I_RMA_OBJECT = ld_I_RMA_OBJECT
   I_SEL_PERIOD = ld_I_SEL_PERIOD
IMPORTING
   E_RECASTING_OBJECT = ld_E_RECASTING_OBJECT
EXCEPTIONS
   CX_WRMA_TRANSFORM_RMA = 1
   /RTF/CX_ROOT = 2 ).


comments powered by Disqus