SAP Managed Tags: ABAP Development Hi, I have 10 fields on selection-screeen. In which ever field the user enters single values or ranges,i should pick that field dynamically and pass that field along with value range to Where condition of Select statement.How can i achieve this? Please ...
FORM get_components_ddic USING p_name TYPE any CHANGING pt_component TYPE abap_component_tab. DATA : lrf_linetype TYPE REF TO cl_abap_structdescr. lrf_linetype ?= cl_abap_structdescr=>describe_by_name( p_name ). pt_component = lrf_linetype->get_components( ). ENDFORM . "get_compon...
confirm_flag TYPE c. DATA: itab_sql LIKE abapsource OCCURS 0 WITH HEADER LINE, itab_prog LIKE abapsource OCCURS 0 WITH HEADER LINE. START-OF-SELECTION. *程序执行直接进入ABAP代码编辑器 SET PF-STATUS 'PFSTA00'. WRITE: /1 'Edit Your SQL ...' COLOR 2. AT USER-COMMAND. *动态生成程序...
confirm_flag TYPE c. DATA: itab_sql LIKE abapsource OCCURS 0 WITH HEADER LINE, itab_prog LIKE abapsource OCCURS 0 WITH HEADER LINE. START-OF-SELECTION. *程序执行直接进入ABAP代码编辑器 SET PF-STATUS 'PFSTA00'. WRITE: /1 'Edit Your SQL ...' COLOR 2. AT USER-COMMAND. *动态生成程序...
SAP Managed Tags: ABAP Development Hi, What is meant by dynamic selections in ABAP HR report using a LDB? 1 ACCEPTED SOLUTION Former Member 2008 Dec 249:40 AM 0Kudos 86 SAP Managed Tags: ABAP Development hi, Refer to this link... ...
SAP Managed Tags: ABAP Development How to perform a SELECT MAX query where the column is dynamic in abap program? This is how the code looks like: FORM get_max_ref_field USING p_tabname p_field CHANGING p_max_date. SELECT MAX( p_field ) INTO p_max_date FROM (p_tabname). ENDFO...
0 Kudos 149 SAP Managed Tags: ABAP Development Hi I think that you can't do dynamic where but if you use it you should declare it as (condition) and not ( condition ). SELECT *** FROM*** INTO*** WHERE (ta_filter). Best Regards Yossi Reply ...
SAP Managed Tags: ABAP Development Hi In this case you can use if statement and elseif statement and check the value of financial period.Write two sum statement.One for if and other for elseif.Both if and elseif sholud be included with in the loop of the internal table.I think this...
At design time the user decision has 3 decision options: Approve, Reject and Terminate process. Without the enhancement this step would always show these options and to for hide one of the options we would need to model a condition in the workflow and add a second branch with a second user...
开发说明:在SAP的系统维护过程中,有时我们需要修改一些Table中的数据,可是很多Table又不能直接在Tcode:SE16中修改,使用的SAP ID又没有调试数据修改权限,这时我们应该怎么样修改数据呢?思路--> ABAP程序中的SQL 更新语句谁都有权限执行,只要我们能动态生成修改该Table字段的ABAP CODE动态执行即可!