SAP Reports / Programs

RCCLUKA2 SAP ABAP Report - Convert KSSK and AUSP to internal number (table INOB)







RCCLUKA2 is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for This report sets the Multiple objs allowed indicator for a class type...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 RCCLUKA2 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 RCCLUKA2. "Basic submit
SUBMIT RCCLUKA2 AND RETURN. "Return to original report after report execution complete
SUBMIT RCCLUKA2 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: P_CHECK = Yes (Do not delete tmp files)
Selection Text: P_CLTYPE = Class type
Selection Text: P_DSAUSP = Temporary file for AUSP
Selection Text: P_DSKSSK = Temporary file for KSSK
Selection Text: P_SIZE = Packet size
Title: Convert KSSK and AUSP to internal number (table INOB)
Text Symbol: 001 = Indicator MULTOBJ is set in table TCLA
Text Symbol: 002 = entered in object table TCLAO
Text Symbol: 003 = entered in object text table TCLAX
Text Symbol: 004 = Enter the class type you want to convert
Text Symbol: 005 = Enter the file name (for saving temporarily)
Text Symbol: 006 = Package size (number of lines in KSSK to be processed each time)
Text Symbol: 007 = Save AUSP/KSSK data (recommended)


INCLUDES used within this REPORT RCCLUKA2

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:

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gc_kssk including_dir = 'X' IMPORTING file_name = p_dskssk EXCEPTIONS others = 1.

FILE_GET_NAME CALL FUNCTION 'FILE_GET_NAME' EXPORTING logical_filename = gc_ausp including_dir = 'X' IMPORTING file_name = p_dsausp EXCEPTIONS others = 1.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_kssk CHANGING physical_filename = p_dskssk EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 4.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_ausp CHANGING physical_filename = p_dsausp EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 4.

ENQUEUE_ECKSSKXE CALL FUNCTION 'ENQUEUE_ECKSSKXE' exporting mode_ksskx = 'E' mandt = sy-mandt klart = p_cltype exceptions foreign_lock = 1 system_failure = 2 others = 3.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_kssk CHANGING physical_filename = p_dskssk EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 4.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_ausp CHANGING physical_filename = p_dsausp EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 4.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_kssk CHANGING physical_filename = p_dskssk EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 4.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_ausp CHANGING physical_filename = p_dsausp EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 4.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_kssk CHANGING physical_filename = p_dskssk EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 4.

NUMBER_GET_NEXT call function 'NUMBER_GET_NEXT' exporting nr_range_nr = nr_kreis object = nr_object importing number = l_inobj exceptions interval_not_found = 01 number_range_not_intern = 02 object_not_found = 03 quantity_is_0 = 04.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_kssk CHANGING physical_filename = p_dskssk EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 4.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_ausp CHANGING physical_filename = p_dsausp EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 4.

FILE_VALIDATE_NAME CALL FUNCTION 'FILE_VALIDATE_NAME' EXPORTING logical_filename = gc_ausp CHANGING physical_filename = p_dsausp EXCEPTIONS LOGICAL_FILENAME_NOT_FOUND = 1 VALIDATION_FAILED = 2 OTHERS = 4.

DEQUEUE_ALL call function 'DEQUEUE_ALL'.



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