‎2011 Nov 11 8:01 AM
HI all,
/SAPAPO/
3 ""Lokale Schnittstelle:
4 *" IMPORTING
5 *" VALUE(IV_TIMESTAMP) TYPE TIMESTAMP
6 *" VALUE(IV_DURATION_PACKED) TYPE /SAPAPO/SCHEDDURATION OPTIONAL
7 *" VALUE(IV_DURATION_INTEGER) TYPE I OPTIONAL
8 *" EXPORTING
9 *" VALUE(EV_TIMESTAMP) TYPE TIMESTAMP
10 *" EXCEPTIONS
11 *" OUT_OF_RANGE
12 *" INVALID_PARAMETER
13 *"----
14 * Trennung in ADD und SUBTRACT aufgrund von Problemen mit der
15 * Konvertierungsroutine von IV_DURATION_PACKED (vorzeichenlos)
16
17 CONSTANTS:
18 lc_date_highval TYPE i VALUE 3652060. "31.12.9999
19
20 DATA:
21 ls_timestamp TYPE ttztstmp,
22 ls_timestamp_result TYPE ttztstmp,
23 ls_duration TYPE tstr_durationstr,
24 ls_duration_int TYPE tstr_durationstr,
25 lv_duration_int_date TYPE tstr_durationstr,
26 lv_duration_int_time TYPE tstr_durationstr,
27 lv_date_int TYPE i,
28 lv_date_int_result TYPE i,
29 lv_time_int TYPE i,
30 lv_time_int_result TYPE i.
31
32 * check timestamp parameter
>>>> ASSERT NOT iv_timestamp IS INITIAL.
34
35 * check duration parameters
36 ASSERT iv_duration_integer => 0.
37
TIMESTAMP_ADD function module is througing ASSERTION_FAILED dump error.
Pls help me on this.
Thanks in advance
‎2011 Nov 11 8:30 AM
Hi,
Implement the OSS note 1637970 in your system.
Summary
Symptom
System generates short dump while executing the Product Heuristics in the Product View (/SAPAPO/RRP3).
Other terms
/SAPAPO/RRP3, Product Heuristics, ASSERTION_FAILED
Reason and Prerequisites
Reason : Program Error
Solution
Implement the corrections in this Note or import the relevant Support
Pack.Your problem solved....