SAP Reports / Programs | Basis Components | Security(BC-SEC) SAP BC

SECXML_XENCRYPTION SAP ABAP Report - XML Encryption Test Program







SECXML_XENCRYPTION is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Encryption and decryption of XML data This program provides an UI for the API class see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter SECXML_XENCRYPTION into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT SECXML_XENCRYPTION. "Basic submit
SUBMIT SECXML_XENCRYPTION AND RETURN. "Return to original report after report execution complete
SUBMIT SECXML_XENCRYPTION VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Selection Text: GF_XTYP = Encryption Type
Selection Text: GF_XPUB = Certificate from Local File
Selection Text: GF_XMET = Encryption Method
Selection Text: GF_XKINF = Add or Use KeyInfo
Selection Text: GF_XID = Encryption Id Value
Selection Text: GF_XFILE = Local File Name
Selection Text: GF_XFIL = Element Name
Selection Text: GF_XENC = @06@Encrypt the XML Source
Selection Text: GF_XELE = Element Name
Selection Text: GF_XEL = Element
Selection Text: GF_XDEC = @07@Decrypt the XML Source
Selection Text: GF_XCAB = Use Adress Book
Selection Text: GF_XB64 = Run Base64 Decode of File
Selection Text: GF_XATT = Attribute Name
Selection Text: GF_XAN = Attribute
Selection Text: GF_XALG = Encryption Algorithm
Selection Text: GF_SECRT = Shared Secret Encryption Key
Selection Text: GF_PSECT = PSE Context
Selection Text: GF_PSEAP = PSE Application
Selection Text: GF_CABSJ = Subject Name
Selection Text: GF_CABPK = Adress Book Fingerprint
Title: XML Encryption Test Program
Text Symbol: 013 = Add KeyInfo
Text Symbol: 010 = XML Encryption Options
Text Symbol: 009 = Certificate from File System
Text Symbol: 008 = Certificate from Adress Book
Text Symbol: 007 = Cryptographic Key Options
Text Symbol: 006 = XML Source
Text Symbol: 005 = Element Name
Text Symbol: 004 = Id-Attribute Value
Text Symbol: 001 = XML Input
Text Symbol: 000 = XML Encryption Action


INCLUDES used within this REPORT SECXML_XENCRYPTION

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

F4IF_INT_TABLE_VALUE_REQUEST CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST' EXPORTING retfield = 'APPLIC' value_org = 'S' multiple_choice = space TABLES value_tab = lt_in return_tab = lt_out EXCEPTIONS OTHERS = 1.

SAPGUI_SET_FUNCTIONCODE CALL FUNCTION 'SAPGUI_SET_FUNCTIONCODE' EXPORTING functioncode = 'DISP'.

STRUSTCAB_GET_CERT_BY_FINGERPR CALL FUNCTION 'STRUSTCAB_GET_CERT_BY_FINGERPR' EXPORTING if_fingerprintsha1 = gf_cabpk IMPORTING ef_certificate = p_lf_result EXCEPTIONS OTHERS = 1.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name SECXML_XENCRYPTION or its description.