/SAPPSSRM/CL_SERIAL_NUMBER - PIIN: Serial Number in PIIN-Number

BAL Application Log Documentation   General Material Data  
This documentation is copyright by SAP AG.

The class is used for determining the (alphanumeric) serial number within a smart number.

Methods

  • /SAPPSSRM/IF_NUMBER~PROCESS
Dependent on the status of the document and interventions of the user, the method either creates distinct kinds of serial numbers or validates serial numbers that were "externally" entered by the user (or an interface).
Upon creation of a document, the method by default checks the Customizing required for the appropriateautomatic serial numbering. Unless the document is released, the method provides a preliminary serial number only: "{NEW}". Upon release, the next alphanumeric serial number is provided by the method.
If the user (or an interface) checkmarks "External Smart Number", the entered value is checked for validity according to thealphanumeric number range and the permission of external numbering for the numeric value of the entered number.
Values of serial numbers depend on generic and customer specific Customizing for Smart Numbering.
  • /SAPPSSRM/IF_NUMBER~IS_EXTERNAL
The method checks whether the current Smart Number (component) is assigned either externally or manually.
  • NRRANGE_VALID_GET
Validates, whether a specific numeric value is within range of a customized number range.
  • 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 customer specific table /SAPPSSRM/NRNRSN. The table is customized inMaintain Customer-Specific Settings.
  • NUMERIC_NUMBER_GET
Gets numeric value of an alphanumeric value according to the rules and ranges defined in Customizing.
  • 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.
  • CURR_NUMBER_GET
Gets last valid number of numeric or alphanumeric number range respectively if number range is exhausted. Number ranges are described in method /SAPPSSRM/IF_NUMBER~PROCESS above.
  • NEXT_NUMBER_SET
Sets next number from numeric range and alphanumeric rule.
  • NEXT_NUMBER_GET
Gets next number from numeric range and alphanumeric rule (virtually).
  • 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 as instance attributes.
  • All other methods provided in this class are inherited from abstract superclass /SAPPSSRM/CL_SIMPLE_ABSTR. Please refer to thedocumentation of this class.


BAL Application Log Documentation   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.


Length: 3822 Date: 20120526 Time: 071907     triton ( 124 ms )