Ansicht
Dokumentation
J_2GRDS - Request Digital Sign
CPI1466 during Backup rdisp/max_wprun_time - Maximum work process run timeThis documentation is copyright by SAP AG.
Functionality
Request from a DSD driver, to sign a legal document.
- Import parameters:
I_DEVID defines the DSD that is going to be used.
I_ACTION determines the action requested from the DSD driver. Can take the following values:
- SIGN issue a digital sign (DS) for the text ("a" file) that will be produced from the document's text (contained in itab T_OTF[]) and (if exists) the issuer's address text (contained in itab T_ADD[])
- CHCK check if the text (produced from the combination of text in itabs T_OTF[] and T_ADD[]) has been signed already. If it hasn't, sign it now
-
I_LEGKEY contains the key of the legal doc. entry (table LEGDOC)
I_COPYNR contains the number of the print copy (1-4)
T_OTF[] contains the document's text (OTF format)
T_ADD[] contains the issuer's address text (optional)
- Process:
The function combines the text that's contained in itabs T_OTF[] and T_ADD[], and sends it to the corresponding RFC destination of the DSD, to be signed.
- Export parameters:
E_RC the function's return code. Can take the following values:
- -1 an error occured before the RFC call
- 0 DSD driver answered
- 1 RFC system error
- 2 SAP to DSD communication error
- 3 incorrect answer file from DSD
-
E_DSDRC the DSD's return code. Takes one of the following values, only if E_RC=0 (DSD answered correctly):
- 0 ok, document signed
- i where i=1,2,3,... (positive decimal integer). This is the error code of the DSD (e.g. paper end, hardware error, etc)
-
E_STATN
the next sign status of the printed document copy. If all went ok (E_DSDRC=0), this will have the value 'Y'. If the doc. could not be signed, this will have the value 'N' (only for SIGN command). If we don't know what happened, this will have the value '
= 0.
E_MSG if E_RC <> 0 or E_DSDRC <> 0, this contains the error description
E_DSIG if E_STATN = 'Y' (or equivalently E_DSDRC=0) this contains the doc's digital sign
E_NXTZ if E_STATN = 'Y' (or equivalently E_DSDRC=0) this contains the number of the next "Z closure"
Example
Notes
Further information
Parameters
E_DSDRCE_DSIG
E_MSG
E_NXTZ
E_RC
E_STATN
E_URL
I_ACTION
I_COPYNR
I_DEVID
I_EDAT
I_LEGKEY
I_NOPRECHECKS
T_ADD
T_OTF
Exceptions
Function Group
J2GLPE1CL_GUI_FRONTEND_SERVICES - Frontend Services rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 3958 Date: 20240523 Time: 111107 sap01-206 ( 55 ms )