In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/01 Report--
This article introduces the knowledge of "how to view the ABAP development records of a user in a specified period of time". Many people will encounter this dilemma in the operation of actual cases, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Enter the user name and the period of time you want to query:
The execution gets the result. Double-click to view the specific code:
Tool source code:
REPORT tool_dev_history.PARAMETERS: name TYPE usr02-bname OBLIGATORY, fro TYPE sy-datum OBLIGATORY DEFAULT sy-datum, to_ TYPE sy-datum OBLIGATORY DEFAULT sy-datum.CONSTANTS: c_name TYPE trdir-name VALUE 'Name', c_date TYPE trdir-udat VALUE' Date'.AT SELECTION-SCREEN. IF fro > to_. WRITE: / 'Invalid date period.' COLOR COL_NEGATIVE. RETURN. ENDIF.START-OF-SELECTION. DATA: lt_record TYPE STANDARD TABLE OF trdir. SELECT name udat INTO CORRESPONDING FIELDS OF TABLE lt_record FROM trdir WHERE unam = name AND udat BETWEEN fro AND to_. IF sy-subrc 0. WRITE: /'No record found at given date period.' COLOR COL_NEGATIVE. RETURN. ENDIF. SORT lt_record BY udat DESCENDING. WRITE: 10 c_name, 80 c_date. LOOP AT lt_record INTO DATA (ls_data). WRITE: / ls_data-name UNDER c_name COLOR COL_POSITIVE, ls_data-udat UNDER c_date COLOR COL_TOTAL. HIDE ls_data-name. ENDLOOP.AT LINE-SELECTION. DATA: bdcdata_tab TYPE TABLE OF bdcdata, opt TYPE ctu_params, bdcdata_line TYPE bdcdata. Bdcdata_line-program = 'SAPLWBABAP'. Bdcdata_line-dynpro = '0100mm. Bdcdata_line-dynbegin = 'Xantha. APPEND bdcdata_line TO bdcdata_tab. CLEAR: bdcdata_line. Bdcdata_line-fnam = 'BDC_CURSOR'. Bdcdata_line-fval = 'RS38M-PROGRAMM'. APPEND bdcdata_line TO bdcdata_tab. CLEAR: bdcdata_line. Bdcdata_line-fnam = 'BDC_OKCODE'. Bdcdata_line-fval ='= SHOP'. APPEND bdcdata_line TO bdcdata_tab. CLEAR: bdcdata_line. Bdcdata_line-fnam = 'RS38M-PROGRAMM'. Bdcdata_line-fval = ls_data-name. APPEND bdcdata_line TO bdcdata_tab. Opt-dismode = 'Egg. Opt-defsize = 'Xantha. CALL TRANSACTION 'SE38' USING bdcdata_tab OPTIONS FROM opt. CLEAR: bdcdata_tab. "how to view a user's ABAP development history for a specified period of time" ends here. Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.