- 浏览: 173859 次
- 性别:
- 来自: 成都
文章分类
FORM compute_2date_diff. DATA: lv_date1 LIKE sy-datum, lv_date2 LIKE sy-datum, lv_month TYPE pea_scrmm, lv_days TYPE pea_scrdd. *lv_date1 must be greater than lv_date2 lv_date1 = '20120201'. lv_date2 = '20120101'. CALL FUNCTION 'HR_HK_DIFF_BT_2_DATES' EXPORTING date1 = lv_date1 date2 = lv_date2 OUTPUT_FORMAT = '05' IMPORTING * YEARS = months = lv_month days = lv_days EXCEPTIONS invalid_dates_specified = 1 OTHERS = 2. IF sy-subrc <> 0. MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4. ENDIF. ENDFORM. "compute_2date_diff
发表评论
-
DISABLE button(FCODE) from the GUI-Status
2014-08-04 15:54 6291. Goto-> Attributes->Pus ... -
Handy SAP function module to automate user events
2013-11-28 09:49 747*Begin-Auto triggers ENTER comm ... -
set Billing block to blank for Sals Order
2013-04-17 15:16 813FM: SD_WF_ORDER_DEL_BILLING_BLO ... -
set Billing block to blank for Sals Order
2013-04-17 15:16 740FM: SD_WF_ORDER_DEL_BILLING_BLO ... -
Unpermitted combination of business object BUS2032 and sales doc. category H
2013-01-25 14:20 4133Q: create New Sales Order using ... -
Function Module: get all users who have specific role
2013-01-25 14:16 663CALL FUNCTION 'RSRA_USERS_O ... -
Create a SELECT-OPTIONS in a module pool screen
2012-03-07 15:35 1021source:http://abap-explorer.blo ... -
Converting OTF data from script to Spool Request
2012-03-06 17:25 0source:http://forums.sdn.sap.co ... -
Retrieving Domain fixed values
2012-02-16 11:13 808source:http://www.saptechnical. ... -
If 1 equals 2, what’s the purpose?
2012-02-16 10:59 829source:http://sapport.blogspot. ... -
get status name for batch input session
2012-01-31 14:47 922Line 601 in program SAPMSBDC_CC ... -
create zip folder with cl_abap_zip
2011-12-05 18:11 1205REPORT ztest. DATA: gv_file ... -
MIRO
2011-11-29 10:39 2062from: http://help-sap.blogspot. ... -
Create Vendor or Customer_master Data
2011-11-23 16:22 2915To Create or Change Vendor_mast ... -
Pay attention to the following points when using append structures
2011-10-27 13:43 1303You cannot create append str ... -
Help Views
2011-10-20 10:46 734source:http://help.sap.com/saph ... -
What is the Different Types and Usage of Views
2011-10-19 23:06 845source:http://www.sap-img.com/a ... -
Upload a Comma Delimited CSV file that contains commas in data
2011-09-23 17:22 2230source:http://wiki.sdn.sap.com/ ... -
What is the difference between SET SCREEN and CALL SCREEN ?
2011-09-19 21:50 759source:http://www.saptechies.co ... -
cl_gui_frontend_services=>file_open_dialog
2011-09-09 09:21 1415CALL METHOD cl_gui_frontend_ser ...
相关推荐
Help Larry by writing a program to take his closing balance from each of the past twelve months and calculate his average account balance. Input The input will be twelve lines. Each line will ...
本项目标题为“C-language-to-calculate-the-number-of-days-between-dates”,旨在教授如何使用C语言实现这一功能。在进行这样的计算时,我们通常会考虑日期的年份、月份和日,以及可能涉及的闰年规则。 首先,...
Example: A Function to Calculate the Scalar Product of Two Vectors . . . . . . . . . . . . . . . . . . . . . . . Reference Variables . . . . . . . . . . . . . . . . . . . . . . . Default Values for ...
本项目“Calculate-the-day-of-the-year.zip_The Year”提供了这样的学习资源,通过一个名为“Calculate the day of the year.txt”的文本文件,帮助我们理解如何实现这一功能。 首先,我们需要知道的是年份、月份...
3.8.11 Passing user data between states and state machines............................................44 3.8.12 Subtasks and hierarchical state machines...................................................
Acknowledgments: Over the years, several students and colleagues have helped us prepare this solutions manual. Special thanks goes to HongGang Zhang, Rakesh Kumar, Prithula Dhungel, and Vijay ...
Using this book, you'll get everything up and running, and then learn how to use Neo4j to build up recommendations, relationships, and calculate the shortest route between two locations. With example ...
You can set the start and end days of each season. Enviro also supports temperature simulation, based on season, time of day and current weather. Clouds: Enviro new raymarching cloud system is ...
The purpose of creating this model is to calculate view factors between complex geometries. The view factor matrices of an enclosed space and of a geometry with openings on its surfaces are presented...
System Stability Tester began as a system stressing and benchmarking tool for overclockers, by the Greek pctechnology and overclockers community, the first months of 2005. Since its first release 0.1 ...
.2 ~ 04 02 00 000 __d=2° d=10 ° --d=200 --d=300 d=40o d=50o I I 2000 4000 60.00 sensing angle, degree I 8000 Figure 1. Return Factor vs. LiDAR Scan Angle. Figure shows relationship between water ...
Calculate the impedance between two antennas.
Using this book, you'll get everything up and running, and then learn how to use Neo4j to build up recommendations, relationships, and calculate the shortest route between two locations. With example ...
这个名为"calculate2.zip"的压缩包文件可能包含了实现这样一个计算器应用的所有源代码和资源文件。接下来,我们将深入探讨如何在Android Studio中构建一个基本的计算器应用。 首先,我们需要了解Android Studio的...
【标题】"calculate(java).rar_Calculate.ja_calculate java_calculate.java" 指的是一款基于Java语言开发的计算器程序。这个程序可能包含了用于构建图形用户界面(GUI)以及处理基本数学运算的源代码。"Calculate....
The classes also have functions to calculate the area of the shape, display the basic information of the shape, and modify the basic information of the shape. Circle Class The Circle class has ...
* 计算表达式值:PPT shows how to calculate the value of an arithmetic expression using different traversal methods (prefix, infix, and postfix). 图遍历 在图遍历中,PPT introduces the concept of ...
According to the selected fullload speed of the motor nm and the drive shaft speed of the motor nw,we can calculate the total transmission ratio of the transmission device ia: (2)Allocate ...