ActiveControl can be used to automatically populate the Transport Description in an SAP transport at the point the Developer is saving a Transport Form in the SAP GUI of the ABAP Development system. This can help with the consistency of descriptions within SAP, and also the auditability of transports later.
The following information can be used to build an automated Transport naming convention:
1) Standard/Custom fields from a Business Task (or a specified substring from that value)
2) Standard/Custom fields from a Transport Form (or a specified substring from that value)
3) Hardcoded Text strings
4) The Transport Description that the Developer writes prior to saving the Transport Form.
Configuration of Transport Description naming automation
To setup this functionality, you need to configure the required Transport Description naming convention in /BTI/TE_TR_DESC table:
|The path that this configuration is valid for.
|The sequential number to put the records in the correct order.
|This is the type of the record. T = Task Field, F = Form field, X = constant/delimiter, D = current description of transport.
|If you want to use the contents of a custom field, this is the number of it.
|This is the fieldname of the Task or TF. Note, for Group and Type fields, the field names are actually GROUP_NAME and TYPE_NAME. If you use GROUPID, it will actually use the internal ID of the group. Task Reference = REFERENCE, not TASK_REFERENCE Task Subject = CAPTION, not SUBJECT Project = PROJECT_NAME, not PROJECT.
|Use this if you only want a sub-set of what is in the field. L = left x characters, R = right x characters, M = Middle of value, D = characters after a delimiter.
|The number of characters from the field you want to use (notes this is used in conjunction with the JUSTIFICATION above). If you leave this blank, the whole value is used.
|If you select M for the JUSTIFICATION, this is the starting point in the value.
|If this is a constant/delimiter, then the text value should be entered here. Also, if you use the JUSTIFICATION = D, this is the delimiter in the text that the api looks for.
i) you should enter the & character before a ““ or “!” if you want to use either of those two characters in your text element. ie & or &!
ii) you should enter & & if you want to have a leading or trailing space in your text element
iii) the transport naming automation only works when the Transport Form is created, not on later updates to existing Transport Form. So if you create the Transport Form and then later update fields on the Transport Form or Business Task, the Transport Description will NOT get automatically updated. In that scenario, you will need to manually amend the Transport Description in SAP GUI or in the Transport Form (if the transport is still modifiable).