ARCH_LINK_BELEG SAP Method Archive and link the INBELEG with the business documents
Below is documentation, parameters and attributes of ABAP Method ARCH_LINK_BELEG within SAP class EDX_PROCESS_DOCSET. 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 EDX_PROCESS_DOCSET 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 ARCH_LINK_BELEG can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method ARCH_LINK_BELEG
.Name | Type | Data Type | Description | Default Value |
I_IDOC_NUMBER | Importing | TYPE EDI_DOCNUM | IDoc Number | |
I_PIDREF | Importing | TYPE EDX_PID_REF | EDX: PID and Document Number | |
I_ROLETYPE | Importing | TYPE RELROLES-ROLETYPE | Role in Which the Object Occurs | |
I_URL_PDF | Importing | TYPE SO_URL | Insert Reference | |
E_BELNR | Exporting | TYPE SWO_TYPEID | Object Key | |
E_ERROR_TEXT | Exporting | TYPE STRING |
Exceptions of Method ARCH_LINK_BELEG
SWO_TYPEID
STRING
Example ABAP coding
DATA: lo_class TYPE REF TO EDX_PROCESS_DOCSET.
DATA: lv_E_BELNR TYPE SWO_TYPEID,
lv_E_ERROR_TEXT TYPE STRING,
lv_I_IDOC_NUMBER TYPE EDI_DOCNUM,
lv_I_PIDREF TYPE EDX_PID_REF,
lv_I_ROLETYPE TYPE RELROLES-ROLETYPE,
lv_I_URL_PDF TYPE SO_URL,
lv_other TYPE c.
CALL METHOD lo_class=>ARCH_LINK_BELEG(
EXPORTING
I_IDOC_NUMBER = lv_I_IDOC_NUMBER
I_PIDREF = lv_I_PIDREF
I_ROLETYPE = lv_I_ROLETYPE
I_URL_PDF = lv_I_URL_PDF
IMPORTING
E_BELNR = lv_E_BELNR
E_ERROR_TEXT = lv_E_ERROR_TEXT ).
Links to Related Class(s)
EDX_PROC...Full list of available SAP object classes
Search for further information about these or an SAP related objects