SAP Reports / Programs | Production Planning and Control | Capacity Requirements Planning | Capacity Leveling(PP-CRP-LVL) SAP PP

FC65AFF1 SAP ABAP INCLUDE - Filling in the Range Tables







FC65AFF1 is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter FC65AFF1 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 FC65AFF1. "Basic submit
SUBMIT FC65AFF1 AND RETURN. "Return to original report after report execution complete
SUBMIT FC65AFF1 VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Filling in the Range Tables


INCLUDES used within this REPORT FC65AFF1

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:

CY_GET_STRUCTURE_FOR_FIELD CALL FUNCTION 'CY_GET_STRUCTURE_FOR_FIELD' EXPORTING FIELDNAME = FIL_TAB-FELD IMPORTING ORIGINAL_FIELD_NAME = OFELD TABLE_NAME = TABLE_NAME EXCEPTIONS FIELD_DOESNT_EXIST = 01.

CJPN_EXTERN_TO_INTERN_CONV CALL FUNCTION 'CJPN_EXTERN_TO_INTERN_CONV' EXPORTING EXT_NUM = FIL_TAB-LOW VSNMR_IMP = R_AFVG_VSNMR-LOW IMPORTING INT_NUM = PSPNR EXCEPTIONS NOT_FOUND = 1 OTHERS = 2.

CJPN_PROJEKTNUMMER_UNEDIT CALL FUNCTION 'CJPN_PROJEKTNUMMER_UNEDIT' EXPORTING INPUT = FIL_TAB-LOW IMPORTING OUTPUT = FIL_TAB-LOW.

CJPN_PROJEKTNUMMER_UNEDIT CALL FUNCTION 'CJPN_PROJEKTNUMMER_UNEDIT' EXPORTING INPUT = FIL_TAB-HIGH IMPORTING OUTPUT = FIL_TAB-HIGH.

CY_GET_STRUCTURE_FOR_FIELD CALL FUNCTION 'CY_GET_STRUCTURE_FOR_FIELD' EXPORTING FIELDNAME = FIL_TAB-FELD IMPORTING ORIGINAL_FIELD_NAME = OFELD TABLE_NAME = TABLE_NAME EXCEPTIONS FIELD_DOESNT_EXIST = 01.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = FIL_TAB-LOW IMPORTING OUTPUT = R_AUKO_AUFNR-LOW.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = FIL_TAB-HIGH IMPORTING OUTPUT = R_AUKO_AUFNR-HIGH.

CY_GET_STRUCTURE_FOR_FIELD CALL FUNCTION 'CY_GET_STRUCTURE_FOR_FIELD' EXPORTING FIELDNAME = FIL_TAB-FELD IMPORTING ORIGINAL_FIELD_NAME = OFELD TABLE_NAME = TABLE_NAME EXCEPTIONS FIELD_DOESNT_EXIST = 01.

CONVERSION_EXIT_MATN1_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING INPUT = FIL_TAB-LOW IMPORTING OUTPUT = R_AFPO_MATNR-LOW.

CONVERSION_EXIT_MATN1_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING INPUT = FIL_TAB-HIGH IMPORTING OUTPUT = R_AFPO_MATNR-HIGH.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = FIL_TAB-LOW IMPORTING OUTPUT = R_AFPO_KDAUF-LOW.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = FIL_TAB-HIGH IMPORTING OUTPUT = R_AFPO_KDAUF-HIGH.

CY_GET_STRUCTURE_FOR_FIELD CALL FUNCTION 'CY_GET_STRUCTURE_FOR_FIELD' EXPORTING FIELDNAME = FIL_TAB-FELD IMPORTING ORIGINAL_FIELD_NAME = OFELD TABLE_NAME = TABLE_NAME EXCEPTIONS FIELD_DOESNT_EXIST = 01.

CY_GET_STRUCTURE_FOR_FIELD CALL FUNCTION 'CY_GET_STRUCTURE_FOR_FIELD' EXPORTING FIELDNAME = FIL_TAB-FELD IMPORTING ORIGINAL_FIELD_NAME = OFELD TABLE_NAME = TABLE_NAME EXCEPTIONS FIELD_DOESNT_EXIST = 01.

CY_GET_STRUCTURE_FOR_FIELD CALL FUNCTION 'CY_GET_STRUCTURE_FOR_FIELD' EXPORTING FIELDNAME = FIL_TAB-FELD IMPORTING ORIGINAL_FIELD_NAME = OFELD TABLE_NAME = TABLE_NAME EXCEPTIONS FIELD_DOESNT_EXIST = 01.

CY01_KBED_TYPKZ_FILL * CALL FUNCTION 'CY01_KBED_TYPKZ_FILL' "19.01.1996

CY_GET_STRUCTURE_FOR_FIELD CALL FUNCTION 'CY_GET_STRUCTURE_FOR_FIELD' EXPORTING FIELDNAME = FIL_TAB-FELD IMPORTING ORIGINAL_FIELD_NAME = OFELD TABLE_NAME = TABLE_NAME EXCEPTIONS FIELD_DOESNT_EXIST = 01.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = FIL_TAB-LOW IMPORTING OUTPUT = R_PLAF_PLNUM-LOW.

CONVERSION_EXIT_ALPHA_OUTPUT





CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = FIL_TAB-HIGH IMPORTING OUTPUT = R_PLAF_PLNUM-HIGH.

CONVERSION_EXIT_MATN1_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING INPUT = FIL_TAB-LOW IMPORTING OUTPUT = R_PLAF_MATNR-LOW.

CONVERSION_EXIT_MATN1_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_MATN1_OUTPUT' EXPORTING INPUT = FIL_TAB-HIGH IMPORTING OUTPUT = R_PLAF_MATNR-HIGH.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = FIL_TAB-LOW IMPORTING OUTPUT = R_PLAF_KDAUF-LOW.

CONVERSION_EXIT_ALPHA_OUTPUT CALL FUNCTION 'CONVERSION_EXIT_ALPHA_OUTPUT' EXPORTING INPUT = FIL_TAB-HIGH IMPORTING OUTPUT = R_PLAF_KDAUF-HIGH.



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