cancel
Showing results for 
Search instead for 
Did you mean: 

BEx: ABEND RS_EXCEPTION (000): Subfield access

Former Member
0 Kudos

Hi Experts,

we receive an Exception when we execute an BEx WebTemplate (after variables screen). The exception is caused by one of the queries in the WebTemplate. In that specific Query we get the value of an characteristic via Customer Exit. Interestingly, the exception came after the Upgrade von BW 7.0 to BW 7.4.

Exception:

cmod coding for that variable:

Regards,

Stephan

Accepted Solutions (1)

Accepted Solutions (1)

BernhardE
Employee
Employee
0 Kudos

Hi Stephan

There have been changes introduced with SAPKW740 that might require the adjustment of customer coding.

Can you please go through SAP note 1823174 which is discussing this topic and check if it helps you to overcome the error:

  1823174 - BW 7.4 changes and customer-specific programs

Thank you and best regards,
Bernhard

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Stephan,

I remember we had this issue and implementing the below note fixed it for us.

NOTE: 1849851


Thanks,

Sathya


Former Member
0 Kudos

Hi Sathya,

unfortunately the SAP note does not help us, the error still exists.

The whole error message:

The initial exception that caused the request to fail was:

Termination message sent ABEND RS_EXCEPTION (000): Subfield access (offset = 4, length = 10) to a data object of size 10 outside valid limits. MSGV1: Subfield access (offset = 4, length = 10) to a MSGV2: data object of size 10 outside valid limits.

com.sap.ip.bi.base.application.exceptions.AbortMessageRuntimeException: Termination message sent ABEND RS_EXCEPTION (000): Subfield access (offset = 4, length = 10) to a data object of size 10 outside valid limits. MSGV1: Subfield access (offset = 4, length = 10) to a MSGV2: data object of size 10 outside valid limits. at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageInternal(MessageManager.java:211) at com.sap.ip.bi.base.application.message.impl.MessageManager.addMessageByListener(MessageManager.java:177) [...]

Regards,

Stephan

sander_vanwilligen
Active Contributor
0 Kudos

Hi Stephan,

You are working on BW 7.4 and indeed as Bernhard mentioned I expect that you have to review your coding according to the suggestions of SAP Note 1823174 - BW 7.4 changes and customer-specific programs. Especially the last part:

  • Runtime error: STRING_OFFSET_TOO_LARGE for a command ... = VAR+OFFSET(LENGTH), where VAR is a variable of the type STRING;
  • Efficient conversion of the variable exit program.

Best regards,

Sander