SAP J_8AS_APPEND_NOTE_WITH_OLE Function Module for IXOS-ARCHIVE Basis: Note-extension with OLE-Automation (Viewer >= 3.0F)









J_8AS_APPEND_NOTE_WITH_OLE is a standard j 8as append note with ole SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IXOS-ARCHIVE Basis: Note-extension with OLE-Automation (Viewer >= 3.0F) processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for j 8as append note with ole FM, simply by entering the name J_8AS_APPEND_NOTE_WITH_OLE into the relevant SAP transaction such as SE37 or SE38.

Function Group: J8AS
Program Name: SAPLJ8AS
Main Program: SAPLJ8AS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function J_8AS_APPEND_NOTE_WITH_OLE pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'J_8AS_APPEND_NOTE_WITH_OLE'"IXOS-ARCHIVE Basis: Note-extension with OLE-Automation (Viewer >= 3.0F)
EXPORTING
P_DOCUMENT_ID = "
P_ARCHIVE_ID = "
P_NOTE = "
* P_APPEND_SIGNATURE = '1' "

IMPORTING
P_RETURN_CODE = "

EXCEPTIONS
NO_WINDOWS_SYSTEM = 1 EXCEPTION_IN_WS_QUERY = 2 ARCHIVE_ID_NOT_DEFINED = 3 ERROR_METHODE_APPENDNOTE = 4
.



IMPORTING Parameters details for J_8AS_APPEND_NOTE_WITH_OLE

P_DOCUMENT_ID -

Data type: SAPB-SAPADOKID
Optional: No
Call by Reference: No ( called with pass by value option)

P_ARCHIVE_ID -

Data type: TOAAR-ARCHIV_ID
Optional: No
Call by Reference: No ( called with pass by value option)

P_NOTE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

P_APPEND_SIGNATURE -

Data type:
Default: '1'
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for J_8AS_APPEND_NOTE_WITH_OLE

P_RETURN_CODE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

NO_WINDOWS_SYSTEM -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTION_IN_WS_QUERY -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ARCHIVE_ID_NOT_DEFINED -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

ERROR_METHODE_APPENDNOTE -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for J_8AS_APPEND_NOTE_WITH_OLE Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.

DATA:
lv_p_document_id  TYPE SAPB-SAPADOKID, "   
lv_p_return_code  TYPE SAPB, "   
lv_no_windows_system  TYPE SAPB, "   
lv_p_archive_id  TYPE TOAAR-ARCHIV_ID, "   
lv_exception_in_ws_query  TYPE TOAAR, "   
lv_p_note  TYPE TOAAR, "   
lv_archive_id_not_defined  TYPE TOAAR, "   
lv_p_append_signature  TYPE TOAAR, "   '1'
lv_error_methode_appendnote  TYPE TOAAR. "   

  CALL FUNCTION 'J_8AS_APPEND_NOTE_WITH_OLE'  "IXOS-ARCHIVE Basis: Note-extension with OLE-Automation (Viewer >= 3.0F)
    EXPORTING
         P_DOCUMENT_ID = lv_p_document_id
         P_ARCHIVE_ID = lv_p_archive_id
         P_NOTE = lv_p_note
         P_APPEND_SIGNATURE = lv_p_append_signature
    IMPORTING
         P_RETURN_CODE = lv_p_return_code
    EXCEPTIONS
        NO_WINDOWS_SYSTEM = 1
        EXCEPTION_IN_WS_QUERY = 2
        ARCHIVE_ID_NOT_DEFINED = 3
        ERROR_METHODE_APPENDNOTE = 4
. " J_8AS_APPEND_NOTE_WITH_OLE




ABAP code using 7.40 inline data declarations to call FM J_8AS_APPEND_NOTE_WITH_OLE

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

"SELECT single SAPADOKID FROM SAPB INTO @DATA(ld_p_document_id).
 
 
 
"SELECT single ARCHIV_ID FROM TOAAR INTO @DATA(ld_p_archive_id).
 
 
 
 
DATA(ld_p_append_signature) = '1'.
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!