/SAPPSSRM/CL_INSTR_NUMBER - PIIN: Instrument Type in PIIN-Number

ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

The class is used for determining the instrument type within a smart number.

Methods

  • /SAPPSSRM/IF_NUMBER~PROCESS
The method calls a further method ADAPTER_READ which asks an adapter for the current document's transactioncode or contract code respectively. With this piece of information, the assignments of transaction orcontract code and instrument types are found as defined in the customer-specific table /SAPPSSRM/INASGN. Every instrument type is checked for depletion of the assigned number range as defined in the customer-specifictable /SAPPSSRM/NRNRSN, and for depletion of the range of the rule that may specified for the current business process in the generic Customizing table /SAPPSSRM/RULCNT. Customer-specific tables are maintained inMaintain Customer-Specific Settings, generic tables are maintained in Maintain Smart Numbering Scheme.
  • CONSTRUCTOR
Creates an instance of the class, reading all assignments of instrument types as defined in table /SAPPSSRM/INASGN into an instance-specific table.
  • INSTRUMENT_GET
Identifies relevant instrument types for the current process type for smart numbering.
  • ASSIGNMENT_GET
Gets assignment of current organizational ID (ORGID, see class/SAPPSSRM/CL_ORG_NUMBER),current instrument type and numeric number range id as defined in the customer-specific table /SAPPSSRM/NRNRSN. The table is customized inMaintain Customer-Specific Settings.
  • CURR_NUMBER_GET
Gets last valid number of numeric or alphanumeric number range respectively if the number range is exhausted. Number ranges are described in method /SAPPSSRM/IF_NUMBER~PROCESS above.
  • ADAPTER_READ
Organizational ID (PS_ORGID), fiscal year, process type, and number type are read from the adapter;an instance of rule class /SAPPSSRM/CL_RULE is created; the ID of the rule assigned to the current number type is determined. All of the above-mentioned data is stored in the form of instance attributes.
  • All other methods provided in this class are inherited from the abstract superclass /SAPPSSRM/CL_SIMPLE_ABSTR. Please refer to thedocumentation of this class.


RFUMSV00 - Advance Return for Tax on Sales/Purchases   Vendor Master (General Section)  
This documentation is copyright by SAP AG.


Length: 2735 Date: 20120526 Time: 071825     triton ( 120 ms )