cancel
Showing results for 
Search instead for 
Did you mean: 

Payslip ERROR -----> java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

Former Member
0 Kudos

I implemeted the XSS_REM_INTERFACE BADI and with the PROVIDE_FILTERED_RGDIR method I limited the pay statements to 2009 only.

It worked very good!!!!

At this moment, I can see only my pay statementes since January 2009.

But, when I click on "Show Overview" link, I recieve the next error:

***********************************************************************************************************************************************************

500 Internal Server Error

SAP NetWeaver Application Server 7.00/Java AS 7.00

Failed to process request. Please contact your system administrator.

Error Summary

While processing the current request, an exception occured which could not be handled by the application or the framework.

If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).

Root Cause

The initial exception that caused the request to fail, was:

java.lang.IndexOutOfBoundsException: Index: 0, Size: 0

at java.util.ArrayList.RangeCheck(ArrayList.java:512)

at java.util.ArrayList.get(ArrayList.java:329)

at com.sap.tc.webdynpro.progmodel.context.Node$ElementList.getElement(Node.java:2028)

at com.sap.tc.webdynpro.progmodel.context.Node$MappedElementList.getElement(Node.java:2393)

at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:621)

... 50 more

***********************************************************************************************************************************************************

Can you help me?

Thans in advance.

Best regards,

César Gutiérrez

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello

Just one question. We want to implement note 901850 too, but we don't understand the following step:

d) RESET N2

Could you explain what did you do in this step?

Thank you in advanced

Rubén Garcí

Former Member
0 Kudos

Rubén:

I didn´t apply this step (RESET N2) and it worked.

I hope this can help you.

Best regards,

Cesar Gutierrez

Answers (2)

Answers (2)

Matt_Fraser
Active Contributor
0 Kudos

I have the same question about the "RESET N2" step. I have no idea what this means. I'm proceeding without it, based on Cesar's experience, but it worries me that I'm skipping something.

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

It is caused by incorrect implementation of the BADI cause all the methods in it are not copied

Could you please make sure that you provided implementations for all

the methods of BADI, XSS_REM_INTERFACE. You could use your

implementation Z_* itself, but please check if all the

methods are implemented. Even if you do not have any customer specific

coding in a method, please call the default coding from that.

You could check note 901850 for more details on this.

Former Member
0 Kudos

Siddharth:

I have read note 901850 and it talks about I need to implement all the methods of XSS_REM_INTERFACE.

But it talks about the "Default Implementations" of these methods.

Do you know where can I see these Default Implementations?

I hope you can help me.

Thanks in advance.

Best regards,

Cesar Gutierrez

Former Member
0 Kudos

Hi,

I applied the note and it worked very good!!!!!

Thans a lot.

Best regards,

Cesar Gutierrez