Fonction SAP ALE_HIERA_CREATESUBCLASS - BAPI -> IDoc: ALE_HIERA_CREATESUBCLASS

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
CHANGENUMBER BAPI1003_KEY-CHANGENUMBER C 12 X Change Number
CLASSNUM BAPI1003_KEY-CLASSNUM C 18 Class
CLASSTYPE BAPI1003_KEY-CLASSTYPE C 3 Class Type
KEYDATE BAPI1003_KEY-KEYDATE D 8 SY-DATUM X Key Date for Pricing/Listing Check
SERIAL_ID SERIAL-CHNUM N 4 '0' X
STATUS BAPI1003_KEY-STATUS C 1 '1' X Classification Status
SUBCLASS BAPI1003_KEY-CLASSNUM C 18 Subordinate Class

Paramètre Reférence Long. Facultatif Description
APPLICATION_OBJECTS SWOTOBJID 100 X
COMMUNICATION_DOCUMENTS SWOTOBJID 100 X
HIERARCHYVALUES BAPI1003_ALLOC_VALUES 144 X Characteristic Values Assigned to Class Assignment
RECEIVERS BDI_LOGSYS 10

Exception Description
ERROR_CREATING_IDOCS

Functionality
This function module was generated from object BUS1003 andmethod CREATESUBCLASSALLOCATION for BAPI calls by ALE.
The function module is started in the outbound system. First itconverts the data in the BAPI parameters to IDoc format. Then the IDocis sent to the relevant recipient, where the BAPI is called.
The interface of this function module contains all outbound parametersof the corresponding BAPI function moduleBAPI_HIERA_CREATESUBCLASS, plus thefollowing parameters, which are used in the ALE layer.

  • SERIAL_ID

  • This input parameter contains the channel number and isonly used if serialization is active.
    • RECEIVERS

    • This parameter contains the names of logical systems(recipients) where the BAPI is called.
      • COMMUNICATION_DOCUMENTS

      • The return table contains the name of the logical system in fieldLOGSYS, the object type in field OBJTYPE, and the object key in fieldOBJKEY. It shows that an object of type IDOC was generated withthis key for this logical system.
        • APPLICATION_OBJECTS

        • The input table contains the objects of applications that are processedwhen the BAPI is called. In field LOGSYS, enter the name of the logicalsystem from which the application objects originate. The applicationobjects are identified by object type OBJTYP and object key OBJKEY.They are linked to outbound IDocs.

          Description
          Change number

          Description
          Class

          Description
          Class type

          Description
          Date

          Default
          System date

          Description
          Classification status

          Default
          1

          Description
          Subordinate class

          Description
          Characteristic values assigned to class assignment