SAP Reports / Programs | Sales and Distribution | Master Data | Material Maintenance(SD-MD-MM) SAP SD

RWTKDVCL SAP ABAP dialog Program - documentation and ABAP source code







RWTKDVCL is a standard Module pool for a dialog screen ABAP Program 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 RWTKDVCL 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 RWTKDVCL. "Basic submit
SUBMIT RWTKDVCL AND RETURN. "Return to original report after report execution complete
SUBMIT RWTKDVCL VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Text Symbol: 001 = No company code available for the sales area
Text Symbol: 002 = Problems when carrying out popups
Text Symbol: 003 = Problems when reading the sales area data
Text Symbol: 004 = Problems adding the record in table ref. cust -> company code
Text Symbol: 005 = Problems
Text Symbol: 006 = Problems when reading the customer master data
Text Symbol: 007 = Reference customer cannot be consumer
Text Symbol: 008 = No sales area data exists for this reference customer
Text Symbol: 009 = This company code does not exist
Text Symbol: 010 = This company code data does not exist for this reference customer


INCLUDES used within this REPORT RWTKDVCL

INCLUDE KDVCLTOP . "


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:

LOCATION_CHECK_CUSTOMER_VENDOR CALL FUNCTION 'LOCATION_CHECK_CUSTOMER_VENDOR' EXPORTING * i_tcode = ' ' I_KUNNR = PI_REF_CUSTOMER * I_LIFNR = I_CHECK_PLANT = 'X' EXCEPTIONS INVALID_PARAMETER = 1 RETAIL_SITE = 2 INDUSTRY_SITE = 3 CUSTOMER_USED_INTERNAL = 4 OTHERS = 5.

SD_ORGDATA_CHECK CALL FUNCTION 'SD_ORGDATA_CHECK' EXPORTING FI_VKORG = V_TKUNDEVTBER_ITEM-VKORG FI_VTWEG = V_TKUNDEVTBER_ITEM-VTWEG FI_SPART = HILFSFELD_SPART EXCEPTIONS VKORG_DOES_NOT_EXIST = 1 VTWEG_DOES_NOT_EXIST = 2 SPART_DOES_NOT_EXIST = 3 VKORG_VTWEG_DOES_NOT_EXIST = 4 VKORG_SPART_DOES_NOT_EXIST = 5 VTBER_DOES_NOT_EXIST = 6 VKBUR_DOES_NOT_EXIST = 7 VKGRP_DOES_NOT_EXIST = 8 VTBER_VKBUR_DOES_NOT_EXIST = 9 VKBUR_VKGRP_DOES_NOT_EXIST = 10 VKBUR_VKORG_DOES_NOT_EXIST = 11 NO_AUTHORITY = 12 OTHERS = 13.

REF_CUSTOMER_MASKED_SALES_AREA CALL FUNCTION 'REF_CUSTOMER_MASKED_SALES_AREA' EXPORTING PI_VKORG = V_TKUNDEVTBER_ITEM-VKORG PI_VTWEG = V_TKUNDEVTBER_ITEM-VTWEG PI_SPART = V_TKUNDEVTBER_ITEM-SPART PI_KUNNR = V_TKUNDEVTBER_ITEM-KUNNR IMPORTING RETURNCODE = RET_CODE TABLES IO_TKUNDEVTBER = HILFSTAB_VTBER.

TKUNDEBUKRS_MAINTAIN CALL FUNCTION 'TKUNDEBUKRS_MAINTAIN' EXPORTING TKUNDEVTBER_STRUC = V_TKUNDEVTBER_ITEM
IMPORTING TKUNDEBUKRS_STRUC = V_TKUNDEBUKRS_ITEM TABLES PI_VIEW_TKUNDEBUKRS = EXCEPTIONS NO_COMPANY_CODE_TO_SALES_AREA = 1 PROBLEM_WITH_POPUP = 2 PROBLEM_WHILE_READING_KNVV = 3 PROBLEM_INSERT_TKUNDEBUKRS = 4 NO_LINE_SELECTED = 5 OLD_CONDITION = 6 REF_CUST_TO_COMPANY_CODE_EXIST = 7 OTHERS = 8.



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