- 浏览: 169636 次
- 性别:
- 来自: 成都
文章分类
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 5821. Goto-> Attributes->Pus ... -
Handy SAP function module to automate user events
2013-11-28 09:49 700*Begin-Auto triggers ENTER comm ... -
set Billing block to blank for Sals Order
2013-04-17 15:16 754FM: SD_WF_ORDER_DEL_BILLING_BLO ... -
set Billing block to blank for Sals Order
2013-04-17 15:16 719FM: SD_WF_ORDER_DEL_BILLING_BLO ... -
Unpermitted combination of business object BUS2032 and sales doc. category H
2013-01-25 14:20 4056Q: create New Sales Order using ... -
Function Module: get all users who have specific role
2013-01-25 14:16 590CALL FUNCTION 'RSRA_USERS_O ... -
Create a SELECT-OPTIONS in a module pool screen
2012-03-07 15:35 990source: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 786source:http://www.saptechnical. ... -
If 1 equals 2, what’s the purpose?
2012-02-16 10:59 799source:http://sapport.blogspot. ... -
get status name for batch input session
2012-01-31 14:47 890Line 601 in program SAPMSBDC_CC ... -
create zip folder with cl_abap_zip
2011-12-05 18:11 1178REPORT ztest. DATA: gv_file ... -
MIRO
2011-11-29 10:39 2034from: http://help-sap.blogspot. ... -
Create Vendor or Customer_master Data
2011-11-23 16:22 2852To Create or Change Vendor_mast ... -
Pay attention to the following points when using append structures
2011-10-27 13:43 1277You cannot create append str ... -
Help Views
2011-10-20 10:46 696source:http://help.sap.com/saph ... -
What is the Different Types and Usage of Views
2011-10-19 23:06 812source:http://www.sap-img.com/a ... -
Upload a Comma Delimited CSV file that contains commas in data
2011-09-23 17:22 2192source:http://wiki.sdn.sap.com/ ... -
What is the difference between SET SCREEN and CALL SCREEN ?
2011-09-19 21:50 704source:http://www.saptechies.co ... -
cl_gui_frontend_services=>file_open_dialog
2011-09-09 09:21 1380CALL METHOD cl_gui_frontend_ser ...
相关推荐
this programm, count the days between two dates. Calculate in all situations.
Teams need to know Scrum basics. How do you create and estimate a product backlog? How do you turn it into...Without dependable release dates, the company could fail and investors could lose their money!
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 ...
This will calculate your midterm and final grade average.
Example: A Function to Calculate the Scalar Product of Two Vectors . . . . . . . . . . . . . . . . . . . . . . . Reference Variables . . . . . . . . . . . . . . . . . . . . . . . Default Values for ...
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 ...
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 ...
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 ...
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 ...
Calculate the impedance between two antennas.
SRIM is a group of programs which calculate the stopping and range of ions into matter。
.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 ...
By set up its dynamic model and energy formula, finding the sweet spot reduced to finding the spot which minimize the energy transferring between the ball and the bat. Numerical methods are given to ...
between the maximum and present values of a stock or other security along with the time of occurrence of the maximum. At least for the usual model using a Wiener process with drift for the log of the ...
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 ...
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 ...
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...
calculate and produce the error message, the other to display it in a bold red font. Keeping the design and program logic separated may be the goal, but it is often impossible with the complexities ...
计算2组象素的最小距离 minimum euclidean distance calculation between 2 groups pixels and returns the distance and pixel coordinations文件内容:test_min_distance5a.tif, CONTENTS.M, euclidean_distance.m,...