SAP Reports / Programs | Logistics Execution | Warehouse Management | Other Functions(LE-WM-GF) SAP LE

RWAPPT06 SAP ABAP Report - Appointments: Planned/Actual Comparison







RWAPPT06 is a standard Executable ABAP Report 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 RWAPPT06 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

WAP7 - Appointments: Plnd/Actual Comparison


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 RWAPPT06. "Basic submit
SUBMIT RWAPPT06 AND RETURN. "Return to original report after report execution complete
SUBMIT RWAPPT06 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: SPDNR = Carrier
Selection Text: LIFNR = Vendor
Selection Text: LGNUM = Warehouse number
Selection Text: DATUM = Date
Title: Appointments: Planned/Actual Comparison
Text Symbol: V04 = Vendor
Text Symbol: V03 = Service agent
Text Symbol: V02 = Enterprise
Text Symbol: V01 = Unknown
Text Symbol: C15 = Actual Time to
Text Symbol: C14 = Actual Date to
Text Symbol: C13 = Actual Time from
Text Symbol: C12 = Actual Date from
Text Symbol: C11 = Schedule Deviation (Min), Service Prov.
Text Symbol: C10 = Deviation Reason Unknown
Text Symbol: C02 = To
Text Symbol: C01 = Time from
Text Symbol: B01 = Selection criteria


INCLUDES used within this REPORT RWAPPT06

INCLUDE APPTDATA.
INCLUDE APPTDAT1.
INCLUDE APPTCON1.


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:

W_APPOINTMENT_MAINTAIN_SINGLE CALL FUNCTION 'W_APPOINTMENT_MAINTAIN_SINGLE' EXPORTING I_RWAP0 = RWAP0 I_TRTYP = P_TRTYP I_CALLED_BY = CALLED_BY_RP I_AS_POPUP = YES IMPORTING E_RWAP0 = RWAP0 EXCEPTIONS APPOINTMENT_BLOCKED = 1 DELIVERY_BLOCKED = 2 OTHERS = 3.

W_APPOINTMENT_SELECT_SINGLE CALL FUNCTION 'W_APPOINTMENT_SELECT_SINGLE' EXPORTING I_SPDNR = SPDNR I_LIFNR = LIFNR I_DATAB = DATUM-LOW I_DATBI = DATUM-HIGH TABLES T_WAPPT = XWAPPT T_LGNUM = LGNUM EXCEPTIONS NO_ENTRIES_FOUND = 1 OTHERS = 2.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = G_STATUS_SET I_CALLBACK_USER_COMMAND = G_USER_COMMAND IS_LAYOUT = APPT_LAYOUT * i_structure_name = IT_FIELDCAT = APPT_FIELDCAT[] IS_VARIANT = APPT_VARIANT I_SAVE = 'A' TABLES T_OUTTAB = XRWAP3.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_INTERNAL_TABNAME = 'XRWAP3' I_STRUCTURE_NAME = 'RWAP3' I_CLIENT_NEVER_DISPLAY = 'X' CHANGING CT_FIELDCAT = APPT_FIELDCAT EXCEPTIONS INCONSISTENT_INTERFACE = 1 PROGRAM_ERROR = 2 OTHERS = 3.



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