ASSIGN_ABAPDOC SAP Method Assign ABAP Doc comment and links
Below is documentation, parameters and attributes of ABAP Method ASSIGN_ABAPDOC within SAP class CL_ABAP_CC_PROG_OBJECT. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_ABAP_CC_PROG_OBJECT into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method ASSIGN_ABAPDOC can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ASSIGN_ABAPDOC
.| Name | Type | Data Type | Description | Default Value |
| COMMAND | Importing | TYPE CL_ABAP_DOC_SCANNER=>TE_ABAPDOC_COMMAND | ABAP Doc command to search for | |
| CONTEXT | Importing | TYPE STRING | Fullname of current context | |
| PARTS | Importing | TYPE CL_ABAP_DOC_SCANNER=>TT_ABAPDOC_PART | Analyzed parts of ABAP Doc |
Exceptions of Method ASSIGN_ABAPDOC
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_ABAP_CC_PROG_OBJECT.
DATA: lv_COMMAND TYPE CL_ABAP_DOC_SCANNER=>TE_ABAPDOC_COMMAND,
lv_CONTEXT TYPE STRING,
lv_PARTS TYPE CL_ABAP_DOC_SCANNER=>TT_ABAPDOC_PART,
lv_other TYPE c.
CALL METHOD lo_class=>ASSIGN_ABAPDOC(
EXPORTING
COMMAND = lv_COMMAND
CONTEXT = lv_CONTEXT
PARTS = lv_PARTS ).
Links to Related Class(s)
CL_ABAP_...Full list of available SAP object classes
Search for further information about these or an SAP related objects