Ansicht
Dokumentation

OIRE_DCIND_DETERMINE - Determine the D/C indicator

OIRE_DCIND_DETERMINE - Determine the D/C indicator

Vendor Master (General Section)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

With this function module you are able to determine the D/C indicator according to the rules described below. These are the same rules as they are in the function module OIRA_FILL_DBT.

Qty Price D/C indicator

1.) >=0 >=0 'D'

2.) >=0 <0 'D'

3.) <0 >=0 'C'

4.) <0 <0 'C'

Example

1.) +20 +3,-- => 'D' (debit)

2.) +20 -3,-- => 'D' (debit)

3.) -10 +4,-- => 'C' (credit)

4.) -10 -4,-- => 'C' (credit)

Notes

Further information





Parameters

E_DCIND
I_KBETR
I_QUANT

Exceptions

Function Group

OIRE_PC_DTF

CL_GUI_FRONTEND_SERVICES - Frontend Services   General Material Data  
This documentation is copyright by SAP AG.

Length: 914 Date: 20240523 Time: 151117     sap01-206 ( 20 ms )