SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software
Development resources, articles, tutorials, code samples, tools and downloads for SAP HANA and ABAP, HANA Database, SQLScript, SAP UI5, Screen Personas, Web Dynpro, Workflow

Find Condition Tables for a Selected KSCHL Condition Type


Using SAP transaction code VK13, it is possible for SAP users to check and display pricing conditions and access sequences or key combinations for the related condition type.
For example if I want to check condition type PPR0 Price on VK13, I see that there are two key combinations defined for the pricing condition as follows.

SAP pricing conditions using ABAP code

For example the first access sequence table for this pricing condition is A305

SAP pricing condition tables with ABAP code

Of course it is important for ABAP programmers to find condition tables programmatically using ABAP codes, function modules, etc.
ABAP developers can use RV_GET_CONDITION_TABLES function module as shown in below ABAP code to get the list of SAP condition tables.

call function 'RV_GET_CONDITION_TABLES'
 exporting
  condition_use = 'A'
  application = 'V'
  like_pf4 = 'X'
  condition_type = ll_kschl
 importing
  table_t681 = t681
  exceptions
  no_selection_done = 1
  error_message = 2
  others = 99.
Code


SAP HANA and ABAP

Install SAP Free
CRM Companies List
Web Based CRM Software


Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.