SAPDBSD_KUSTA 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 SAPDBSD_KUSTA into the relevant SAP transactions such as SE38 or SE80
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.
Selection Text: VTWEG = Distribution channel
Selection Text: VKORG = Sales organization
Selection Text: SPART = Division
Selection Text: SELOPT = Dynamic selections
Selection Text: KUNNR = Customer number
Selection Text: DONT_PUT = Transfer only internal tables
Title: Log. database SD_KUSTA : Database program
Text Symbol: T03 = Safety query
Text Symbol: T02 = processing?
Text Symbol: T01 = Do you still want to continue
Text Symbol: 006 = Classify all attributes
Text Symbol: 005 = Options
Text Symbol: 004 = Sales area
Text Symbol: 003 = Customer
Text Symbol: 002 = Sales org./Distr.channel/Division
Text Symbol: 001 = $ customers determined
INCLUDE DBSD_KUSTATOP . " HEADER
INCLUDE DBSD_KUSTADATA . " GLOBAL DATA
INCLUDE DBSD_KUSTANXXX . " ALL SYSTEM ROUTINES
No SAP DATABASE tables are accessed within this REPORT code!
No SAP FUNCTION MODULES are executed within this report code!
Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.