SAP Reports / Programs | Payroll | Germany | B2A: Business to Administration(PY-DE-BA) SAP PY

H99_B2ACHECK SAP ABAP Report - HR-B2A: Check Program for B2A Application







H99_B2ACHECK is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for You can use the check program H99_B2ACHECK to test individual settings for Business to Administration with the B2A Manager...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 H99_B2ACHECK into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

PC00_M05_B2ACHECK - Check B2A Settings


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 H99_B2ACHECK. "Basic submit
SUBMIT H99_B2ACHECK AND RETURN. "Return to original report after report execution complete
SUBMIT H99_B2ACHECK 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: PA_AUTH = Perform Check
Selection Text: PA_BNNR = Sender (Company)
Selection Text: PA_BTRTL = Personnel Subarea
Selection Text: PA_CHAR = Character String
Selection Text: PA_DOCTY = Document Class
Selection Text: PA_EAPI = Test E-Mail Module API
Selection Text: PA_EBCI = Test E-Mail Module BCI
Selection Text: PA_EBIN = BIN - Format Attachment
Selection Text: PA_EMAIL = E-Mail Address Recipient
Selection Text: PA_EMON = Test E-Mail
Selection Text: PA_ENPC = Encryption PC Version
Selection Text: PA_ENSER = Encryption Server Version
Selection Text: PA_ERAW = RAW - Format Attachment
Selection Text: PA_ETXT = TXT - Format Attachment
Selection Text: PA_IKNR = Recipient (Health Insurer)
Selection Text: PA_MOLGA = Country Grouping
Selection Text: PA_NR = Name of Number Range
Selection Text: PA_NRON = Test Number Range
Selection Text: PA_PATH = Sig. Path
Selection Text: PA_PWD = Password
Selection Text: PA_R3 = Copy SAP Office
Selection Text: PA_SAGRP = InfoSet
Selection Text: PA_SSFON = Test Encryption
Selection Text: PA_USER = User Name
Selection Text: PA_VERV = Encryption
Selection Text: PA_WERKS = Personnel Area
Title: HR-B2A: Check Program for B2A Application
Text Symbol: B07 = Master Data
Text Symbol: B06 = No Authorization (Specification) for Checked Object in User
Text Symbol: B05 = Change User Master Data if Required
Text Symbol: B04 = No Authorization for an Action in the SAP System
Text Symbol: B03 = Authorization Check Successful
Text Symbol: B02 = Communic. Type Field COM_MODE INT
Text Symbol: B01 = Authorization Obj. S_OC_SEND
Text Symbol: 066 = No Constants Available
Text Symbol: 065 = Interval 01 Not Available
Text Symbol: 064 = Value for Check: MOLGA SAGRP DOCTY WERKS BTRTL
Text Symbol: 063 = Action:





Text Symbol: 062 = and Corresponding Interval Available
Text Symbol: 061 = E-mail Address
Text Symbol: 060 = Body-Text-Body-Text-Body-Text
Text Symbol: 059 = Test Mail - BCI Module
Text Symbol: B08 = No Profile Entered in User Master Data
Text Symbol: B09 = There is a Defective Authorization in User Master Record
Text Symbol: B10 = Non-Defined Error During Authorization Check
Text Symbol: B11 = Coding Error when Calling Authorization Check
Text Symbol: B12 = Authorization Obj. P_B2A
Text Symbol: B14 = Existing Authorizations for P_B2A:
Text Symbol: U01 = Check Encryption
Text Symbol: U02 = Check Number Range
Text Symbol: U03 = Check E-Mail Interface
Text Symbol: U04 = Check IMGW
Text Symbol: U05 = Check Authorizations
Text Symbol: U06 = E-Mail Module to be Checked
Text Symbol: U07 = Format for Attachments
Text Symbol: U08 = Check E-Mail Interface BCI
Text Symbol: U09 = Authorization P_B2A
Text Symbol: 058 = Number Range Status
Text Symbol: 028 = Encrypted Data
Text Symbol: 027 = No Error Text Available
Text Symbol: 026 = 13 - Unknown Error in External Security Product
Text Symbol: 025 = 12 - ASN.1 Error in Coding
Text Symbol: 024 = 11 - ASN.1 Error in Coding
Text Symbol: 023 = 9 - Recipient Errors
Text Symbol: 022 = 8 - Invalid Password for Address Book
Text Symbol: 021 = 7 - Unknown Address Book
Text Symbol: 020 = 4 - No More Main Memory for Processing
Text Symbol: 019 = 3 - Input Data is Missing or Invalid
Text Symbol: 018 = 2 - Invalid Security Format
Text Symbol: 017 = 1 - External Security Product not Found
Text Symbol: 016 = Overview of E-Mail Outbox in SAP System -Transaction SCOT
Text Symbol: 015 = Function Module executed for Mail Dispatch Without Exception
Text Symbol: 014 = Attachment
Text Symbol: 013 = Body
Text Symbol: 012 = Subject
Text Symbol: 011 = Sender
Text Symbol: 010 = Recipient





Text Symbol: 009 = Content of Sent E-Mail:
Text Symbol: 008 = Maintained in the User Data
Text Symbol: 007 = No E-Mail Address for User
Text Symbol: 006 = User Name
Text Symbol: 005 = Does Not Exist
Text Symbol: 004 = User
Text Symbol: 003 = Company Number for Certificate
Text Symbol: 002 = No Test Performed
Text Symbol: 001 = Maintain User Data - Transaction SU01
Text Symbol: 029 = Non-Encrypted Data
Text Symbol: 057 = End Number
Text Symbol: 056 = Start Number
Text Symbol: 055 = Number Range No.
Text Symbol: 054 = Number Range
Text Symbol: 053 = No Constants Available
Text Symbol: 052 = Constants Table T50BK
Text Symbol: 051 = This is a Sample Text
Text Symbol: 050 = Path to certificates (SEC)
Text Symbol: 049 = Content/Parameters of Sent E-Mail:
Text Symbol: 048 = Selected
Text Symbol: 047 = No User
Text Symbol: 046 = Returncode Authorization Check SY-SUBRC =
Text Symbol: 045 = Authorization Check S_OC_SEND COM_MODE = INT Successful
Text Symbol: 044 = Field COM_MODE with Value INT not Maintained
Text Symbol: 043 = Authorization Obj. S_OC_SEND
Text Symbol: 042 = No Encrypted Data Exists
Text Symbol: 041 = No Data Available
Text Symbol: 040 = Function Module SSF_ENVELOPE Executed without Exception
Text Symbol: 039 = Execute Transaction SCOT
Text Symbol: 038 = Execute Transation SNRO
Text Symbol: 037 = Log
Text Symbol: 036 = ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890!"ยง$%&/()=?
Text Symbol: 035 = Check Internet Mail Gateway
Text Symbol: 034 = Check Encryption
Text Symbol: 033 = No Test Performed
Text Symbol: 032 = Transfer Parameter SSF Interface
Text Symbol: 031 = CRC Return Value:
Text Symbol: 030 = Function Module SSF_DEVELOPE Executed without Exception


INCLUDES used within this REPORT H99_B2ACHECK

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:

CKEKUTIL_NEWTASK_TRANS CALL FUNCTION 'CKEKUTIL_NEWTASK_TRANS' STARTING NEW TASK 'B2ACHECK' DESTINATION 'NONE' EXPORTING transaction = l_transaction.

SO_NEW_DOCUMENT_ATT_SEND_API1 * CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1' * EXPORTING * document_data = g_doc_chng * PUT_IN_OUTBOX = 'X' ** IMPORTING ** SENT_TO_ALL = ** NEW_OBJECT_ID = * tables * packing_list = gt_objpack "Aufbau der Email * OBJECT_HEADER = gt_objhead * CONTENTS_BIN = gt_objbin "Inhalt Attachment * CONTENTS_TXT = gt_objtxt "Inhalt Emailbody ** CONTENTS_HEX = ** OBJECT_PARA = ** OBJECT_PARB = * receivers = gt_reclist * EXCEPTIONS * TOO_MANY_RECEIVERS = 1 * DOCUMENT_NOT_SENT = 2 * DOCUMENT_TYPE_NOT_EXIST = 3 * OPERATION_NO_AUTHORIZATION = 4 * PARAMETER_ERROR = 5 * X_ERROR = 6 * ENQUEUE_ERROR = 7 * OTHERS = 8 * .

SSF_ENVELOPE * CALL FUNCTION 'SSF_ENVELOPE' * EXPORTING * ssf_dest = g_SSF_DEST * STR_FORMAT = g_STR_FORMAT * B_INENC = ' ' "XXX XGF ** IO_SPEC = 'T' * ostr_input_data_l = g_OSTR_INPUT_DATA_L * str_pab = g_str_pab * str_pab_password = g_pwd * IMPORTING * OSTR_ENVELOPED_DATA_L = g_OSTR_ENVELOPED_DATA_L * CRC = g_crc * tables * ostr_input_data = gt_ostr_input_data * recipient_list = gt_recipient_list * ostr_enveloped_data = gt_ostr_enveloped_data * EXCEPTIONS * SSF_RFC_ERROR = 1 * SSF_RFC_NO_MEMORY = 2 * SSF_RFC_GET_DATA_ERROR = 3 * SSF_RFC_SEND_DATA_ERROR = 4 * SSF_RFC_RECIPIENT_LIST_ERROR = 5 * SSF_RFC_INPUT_DATA_ERROR = 6 * SSF_FB_INPUT_PARAMETER_ERROR = 7 * SSF_RFC_DESTINATION_ERROR = 8 * OTHERS = 9 * .

SSF_DEVELOPE * CALL FUNCTION 'SSF_DEVELOPE' * EXPORTING * SSF_DEST = g_SSF_DEST * STR_FORMAT = g_STR_FORMAT * B_OUTDEC = ' ' "XGF ? ** IO_SPEC = 'T' * OSTR_ENVELOPED_DATA_L = g_OSTR_ENVELOPED_DATA_L * IMPORTING ** OSTR_OUTPUT_DATA_L = * CRC = g_CRC * TABLES * OSTR_ENVELOPED_DATA = gt_ostr_enveloped_data * RECIPIENT = gt_recipient_list * OSTR_OUTPUT_DATA = gt_ostr_output_data * EXCEPTIONS * SSF_RFC_ERROR = 1 * SSF_RFC_NO_MEMORY = 2 * SSF_RFC_GET_DATA_ERROR = 3 * SSF_RFC_SEND_DATA_ERROR = 4 * SSF_RFC_RECIPIENT_ERROR = 5 * SSF_RFC_INPUT_DATA_ERROR = 6 * SSF_FB_INPUT_PARAMETER_ERROR = 7 * SSF_RFC_DESTINATION_ERROR = 8 * OTHERS = 9.

SSF_KRN_ENVELOPE * CALL FUNCTION 'SSF_KRN_ENVELOPE' * EXPORTING * SSFTOOLKIT = 'APSEC' * STR_FORMAT = 'HEALTH AG 1.00'

NUMBER_RANGE_INTERVAL_LIST CALL FUNCTION 'NUMBER_RANGE_INTERVAL_LIST' EXPORTING * NR_RANGE_NR1 = ' ' "QCM#859010 NR_RANGE_NR1 = '01' "QCM#859010 * NR_RANGE_NR2 = ' ' object = pa_nr * SUBOBJECT = ' ' * CLEAR_LOCAL_MEMORY = ' ' tables interval = gt_interval EXCEPTIONS NR_RANGE_NR1_NOT_FOUND = 1 NR_RANGE_NR1_NOT_INTERN = 2 NR_RANGE_NR2_MUST_BE_SPACE = 3 NR_RANGE_NR2_NOT_EXTERN = 4 NR_RANGE_NR2_NOT_FOUND = 5 OBJECT_NOT_FOUND = 6 SUBOBJECT_MUST_BE_SPACE = 7 SUBOBJECT_NOT_FOUND = 8 OTHERS = 9 .

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = 'PC_B2A_ACTIO' * FIELDNAME = ' ' langu = sy-langu * LFIELDNAME = ' ' all_types = 'X' * GROUP_NAMES = ' ' * UCLEN = * IMPORTING * X030L_WA = * DDOBJTYPE = * DFIES_WA = * LINES_DESCR = TABLES * DFIES_TAB = fixed_values = lt_values EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

SUSR_USER_ADDRESS_GET * CALL FUNCTION 'SUSR_USER_ADDRESS_GET' * EXPORTING * user_name = pa_user * IMPORTING * USER_ADDRESS = l_user_address * EXCEPTIONS * USER_NAME_NOT_EXIST = 1 * OTHERS = 2.

ADDR_PERS_COMP_COMM_GET * CALL FUNCTION 'ADDR_PERS_COMP_COMM_GET' * EXPORTING ** ADDRESS_HANDLE = * ADDRESS_NUMBER = l_user_address-addrnumber ** DATE_FROM = '00010101' * LANGUAGE = SY-LANGU ** PERSON_HANDLE = * PERSON_NUMBER = l_user_address-persnumber * table_type = 'ADSMTP' ** IMPORTING ** RETURNCODE = * tables * comm_table = lt_smtp ** ERROR_TABLE = * EXCEPTIONS * PARAMETER_ERROR = 1 * ADDRESS_NOT_EXIST = 2 * PERSON_NOT_EXIST = 3 * INTERNAL_ERROR = 4 * OTHERS = 5 * .



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 H99_B2ACHECK or its description.