SAP SIGN_DOCUMENT_EXPAND Function Module for NOTRANSL: Dokument erweitern









SIGN_DOCUMENT_EXPAND is a standard sign document expand SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: Dokument erweitern 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 sign document expand FM, simply by entering the name SIGN_DOCUMENT_EXPAND into the relevant SAP transaction such as SE37 or SE38.

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



Function SIGN_DOCUMENT_EXPAND 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 'SIGN_DOCUMENT_EXPAND'"NOTRANSL: Dokument erweitern
EXPORTING
I_DOCUMENT = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_SIGNER = "Signatory
I_FULL_NAME = "First and Last Name in One Line
I_TIME_ZONE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
I_FLG_SIGNER_CHANGEABLE = "DE-EN-LANG-SWITCH-NO-TRANSLATION

IMPORTING
E_TIMLO = "Date and time, local time for user
E_DATLO = "Date and Time, Local Date of User
E_TIMGLOB = "Date and Time, Current Application Server Time
E_DATGLOB = "Date and Time, Current (Application Server) Date
E_INDATALEN = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_TIME_ZONE = "DE-EN-LANG-SWITCH-NO-TRANSLATION
E_ZEITSTEMPEL = "UTC Time Stamp

TABLES
* E_SIGN_INPUT_DATA = "DE-EN-LANG-SWITCH-NO-TRANSLATION
* I_TEXTLINES = "DE-EN-LANG-SWITCH-NO-TRANSLATION

EXCEPTIONS
USER_ADDRESS_NOT_FOUND = 1 USER_TIMEZONE_NOT_FOUND = 2 USER_NO_FULLNAME = 3
.



IMPORTING Parameters details for SIGN_DOCUMENT_EXPAND

I_DOCUMENT - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_SIGNER - Signatory

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

I_FULL_NAME - First and Last Name in One Line

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

I_TIME_ZONE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

I_FLG_SIGNER_CHANGEABLE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

EXPORTING Parameters details for SIGN_DOCUMENT_EXPAND

E_TIMLO - Date and time, local time for user

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

E_DATLO - Date and Time, Local Date of User

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

E_TIMGLOB - Date and Time, Current Application Server Time

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

E_DATGLOB - Date and Time, Current (Application Server) Date

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

E_INDATALEN - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

E_TIME_ZONE - DE-EN-LANG-SWITCH-NO-TRANSLATION

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

E_ZEITSTEMPEL - UTC Time Stamp

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

TABLES Parameters details for SIGN_DOCUMENT_EXPAND

E_SIGN_INPUT_DATA - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: RC71DT
Optional: Yes
Call by Reference: Yes

I_TEXTLINES - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type: VBCP_TXTLINE
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

USER_ADDRESS_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

USER_TIMEZONE_NOT_FOUND - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

USER_NO_FULLNAME - DE-EN-LANG-SWITCH-NO-TRANSLATION

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for SIGN_DOCUMENT_EXPAND 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_e_timlo  TYPE RC71-SIGN_TIME, "   
lv_i_document  TYPE RC70D-DOCUMENT, "   
lt_e_sign_input_data  TYPE STANDARD TABLE OF RC71DT, "   
lv_user_address_not_found  TYPE RC71DT, "   
lv_e_datlo  TYPE RC71-SIGN_DATE, "   
lv_i_signer  TYPE TC70-SIGNER, "   
lt_i_textlines  TYPE STANDARD TABLE OF VBCP_TXTLINE, "   
lv_user_timezone_not_found  TYPE VBCP_TXTLINE, "   
lv_e_timglob  TYPE RC71-SIGN_TIME, "   
lv_i_full_name  TYPE RC70D-FULL_NAME, "   
lv_user_no_fullname  TYPE RC70D, "   
lv_e_datglob  TYPE RC71-SIGN_DATE, "   
lv_i_time_zone  TYPE USR03-TZONE, "   
lv_e_indatalen  TYPE SSFPARMS-INDATALEN, "   
lv_i_flg_signer_changeable  TYPE RC70D-FLG_SIGNER_CH, "   
lv_e_time_zone  TYPE USR03-TZONE, "   
lv_e_zeitstempel  TYPE TIMESTAMP. "   

  CALL FUNCTION 'SIGN_DOCUMENT_EXPAND'  "NOTRANSL: Dokument erweitern
    EXPORTING
         I_DOCUMENT = lv_i_document
         I_SIGNER = lv_i_signer
         I_FULL_NAME = lv_i_full_name
         I_TIME_ZONE = lv_i_time_zone
         I_FLG_SIGNER_CHANGEABLE = lv_i_flg_signer_changeable
    IMPORTING
         E_TIMLO = lv_e_timlo
         E_DATLO = lv_e_datlo
         E_TIMGLOB = lv_e_timglob
         E_DATGLOB = lv_e_datglob
         E_INDATALEN = lv_e_indatalen
         E_TIME_ZONE = lv_e_time_zone
         E_ZEITSTEMPEL = lv_e_zeitstempel
    TABLES
         E_SIGN_INPUT_DATA = lt_e_sign_input_data
         I_TEXTLINES = lt_i_textlines
    EXCEPTIONS
        USER_ADDRESS_NOT_FOUND = 1
        USER_TIMEZONE_NOT_FOUND = 2
        USER_NO_FULLNAME = 3
. " SIGN_DOCUMENT_EXPAND




ABAP code using 7.40 inline data declarations to call FM SIGN_DOCUMENT_EXPAND

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 SIGN_TIME FROM RC71 INTO @DATA(ld_e_timlo).
 
"SELECT single DOCUMENT FROM RC70D INTO @DATA(ld_i_document).
 
 
 
"SELECT single SIGN_DATE FROM RC71 INTO @DATA(ld_e_datlo).
 
"SELECT single SIGNER FROM TC70 INTO @DATA(ld_i_signer).
 
 
 
"SELECT single SIGN_TIME FROM RC71 INTO @DATA(ld_e_timglob).
 
"SELECT single FULL_NAME FROM RC70D INTO @DATA(ld_i_full_name).
 
 
"SELECT single SIGN_DATE FROM RC71 INTO @DATA(ld_e_datglob).
 
"SELECT single TZONE FROM USR03 INTO @DATA(ld_i_time_zone).
 
"SELECT single INDATALEN FROM SSFPARMS INTO @DATA(ld_e_indatalen).
 
"SELECT single FLG_SIGNER_CH FROM RC70D INTO @DATA(ld_i_flg_signer_changeable).
 
"SELECT single TZONE FROM USR03 INTO @DATA(ld_e_time_zone).
 
 


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!