Ansicht
Dokumentation

DTL_RULES_DEFINE - API: define additional rules - deprecated

DTL_RULES_DEFINE - API: define additional rules - deprecated

Fill RESBD Structure from EBP Component Structure   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This API is used to add rules to an existing project, subproject or conversion object.

There or two ways how the rule coding can be defined:

1) An internal table can be passed that holds the rule coding.

2) Along with the rule, an include name is specified. Then it is assumed that the include contains the rule coding, and an include statement referring to this include is generated as rule coding.

Input parameters:

  • I_PROJECT
    Identifier of the project. Required
  • I_SUBPROJECT
    Identifier of the subproject. Required if the rules should be added to a subproject or conversion object.
  • I_COBJ
    Identifier of a conversion object. Required if the rules should be added to a conversion object.
  • I_VISIBILITY
    To determine if the rules are to be added to a project, subproject, or to a conversion object
  • I_PACKID
    PCL package ID. Required
  • I_SESSION_ID
    PCL session ID. Required.
  • I_TADIR
    If set to true, the necessary TADIR entries for the rules are not created by the corresponding function modules of the correction and transport system (CTS), but (to improve the performance) directly in the API. So this parameter deactivates the standard CTS handling. Optional (default false).
  • IT_RULELIST
    rule header data
  • IT_RULEPARAMS
    rule parameters
  • IT_RULECODING
    rule coding

Export parameters:

  • E_LOGNUMBER
    Application log number
  • E_STATUS
    Structure containing status information such as a status (running, finished with errors / warnings; success), time stamps for start and end, etc.

Error situations handled by the API:

  • Application does not exist
  • Project does not exist
  • Incorrect rule name (e.g. containing blanks)
  • specified include for rule does not exist in the DTL system
  • incorrect parameter specification for a rule

Example

Notes

Further information





Parameters

E_LOGNUMBER
E_STATUS
IT_RULECODING
IT_RULELIST
IT_RULEPARAMS
I_COBJ
I_PACKID
I_PROJECT
I_SESSION_ID
I_SUBPROJECT
I_TADIR
I_VISIBILITY

Exceptions

Function Group

DMC_DTL

ABAP Short Reference   General Material Data  
This documentation is copyright by SAP AG.

Length: 2931 Date: 20240523 Time: 103105     sap01-206 ( 42 ms )