cancel
Showing results for 
Search instead for 
Did you mean: 

Brain 649 Error when creating customer exit variable for infopackage OLAP variable

hari_edula
Explorer
0 Kudos

Hi,

I am getting error message like below...

Error for variable in customer enhancement YFPRYF04

Message no. BRAIN649

Diagnosis

This internal error is an intended termination resulting from an illegal status.

The error occurred with variable in customer enhancement YFPRYF04.

Procedure

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.

Accepted Solutions (1)

Accepted Solutions (1)

TammyPowlas
Active Contributor

Please review this SAP Note https://launchpad.support.sap.com/#/notes/0002597603 and check/review values in table RSZGLOBV

Answers (1)

Answers (1)

hari_edula
Explorer
0 Kudos

Hi Tammy,

It did not work with Multiple single values(M), however, it worked with Intervals( I).

Thanks fpr your help.

Regards

Hari