on 02-11-2019 3:14 PM
Hi,
I am getting error message like below...
Message no. BRAIN649
This internal error is an intended termination resulting from an illegal status.
The error occurred with variable in customer enhancement YFPRYF04.
Check your customer enhancement
I can see values are populating in E_T_RANGE table, but I can't see same at Infopackage after selecting varibale and display.
Please code here......
WHEN OTHERS.
if I_VNAM+0(5) = 'YFPRY'.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
I_DATE = sy-datum
* I_MONMIT = 00
I_PERIV = 'Z1'
IMPORTING
E_BUPER = vperiod
E_GJAHR = vyear
EXCEPTIONS
INPUT_FALSE = 1
T009_NOTFOUND = 2
T009B_NOTFOUND = 3
OTHERS = 4.
* If the conversion was successful continue
IF SY-SUBRC = 0.
* Determine if the value should be added or subtracted
IF I_VNAM+5(1) = 'P'.
vyear = vyear + I_VNAM+6(2).
ELSEIF I_VNAM+5(1) = 'N'.
vyear = vyear - I_VNAM+6(2).
ELSEIF I_VNAM+5(1) = 'F'.
vyear = vyear - I_VNAM+6(2).
ENDIF.
* Set the values for the select option
CONCATENATE VYEAR '001' INTO ZE_T_RANGE-LOW.
CONCATENATE VYEAR '016' INTO ZE_T_RANGE-HIGH.
ZE_T_RANGE-SIGN = 'I'.
ZE_T_RANGE-OPT = 'BT'.
CLEAR E_T_RANGE.
APPEND ZE_T_RANGE.
E_T_RANGE[] = ZE_T_RANGE[].
ENDIF.
Please review this SAP Note https://launchpad.support.sap.com/#/notes/0002597603 and check/review values in table RSZGLOBV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tammy,
It did not work with Multiple single values(M), however, it worked with Intervals( I).
Thanks fpr your help.
Regards
Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.