Skip to content

/AWS1/CL_CMTBRANCHINFO

Returns information about a branch.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_BRANCHNAME TYPE /AWS1/CMTBRANCHNAME /AWS1/CMTBRANCHNAME

The name of the branch.

IV_COMMITID TYPE /AWS1/CMTCOMMITID /AWS1/CMTCOMMITID

The ID of the last commit made to the branch.


Queryable Attributes

branchName

The name of the branch.

Accessible with the following methods

Method Description
GET_BRANCHNAME() Getter for BRANCHNAME, with configurable default
ASK_BRANCHNAME() Getter for BRANCHNAME w/ exceptions if field has no value
HAS_BRANCHNAME() Determine if BRANCHNAME has a value

commitId

The ID of the last commit made to the branch.

Accessible with the following methods

Method Description
GET_COMMITID() Getter for COMMITID, with configurable default
ASK_COMMITID() Getter for COMMITID w/ exceptions if field has no value
HAS_COMMITID() Determine if COMMITID has a value