on 09-09-2008 5:01 PM
Hi,
I have a service "Salary Statement" and when i click on the link "Show Overview", i get the following error:
:
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.RangeCheck(ArrayList.java:507)
at java.util.ArrayList.get(ArrayList.java:324)
at com.sap.tc.webdynpro.progmodel.context.Node$ElementList.getElement(Node.java:2034)
at com.sap.tc.webdynpro.progmodel.context.Node$MappedElementList.getElement(Node.java:2399)
at com.sap.tc.webdynpro.progmodel.context.Node.getElementAtInternal(Node.java:621)
... 50 more
The payslip for that month is displayed properly though
presently we are using NW04s SP 15.
Can anyone please let me know whether they get this error ?
regards,
pinki
Hi,
You have to write the default code of the BADI XSS_REM_INTERFACE.
and place your logic in the Methods PROVIDE_OVERVIEWTAB_FIELDCAT
HTH
Regards,
Dhruv
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pinki,
Go to Tcode se19.
Enter the name of the Interface: which i had provided you.
Then click on method IF_EX_XSS_REM_INTERFACE~PROVIDE_OVERVIEWTAB_FIELDCAT.
if there is any code then check it otherwise paste the following code:
method IF_EX_XSS_REM_INTERFACE~PROVIDE_OVERVIEWTAB_FIELDCAT .
*VKIN939730 10.04.2006 Off-Cycle check against table T52BX instead of T52OCF
* XMU2004/01/08: Checkman and further countries
* data wa_t52ocf type t52ocf. "XMU2004/01/08 "VKIN939730
data wa_t52bx type t52bx. "VKIN939730
data wa_fieldcat like line of ex_fieldcat.
clear ex_fieldcat.
* first column (invisible): Sequential number of result
clear wa_fieldcat.
wa_fieldcat-title = 'SeqNr.'(t01).
wa_fieldcat-tooltip = 'Sequenznummer'(t02).
wa_fieldcat-halign = 'R'.
wa_fieldcat-width = 5.
wa_fieldcat-visible = ' '.
append wa_fieldcat to ex_fieldcat.
* BEGIN OF INSERTION "XMU2004/01/08
CLEAR wa_fieldcat.
* SELECT SINGLE * FROM T52OCF INTO wa_t52ocf WHERE MOLGA = im_molga. "VKIN939730
SELECT SINGLE * FROM T52BX INTO wa_t52BX WHERE MOLGA = im_molga. "VKIN939730
IF SY-SUBRC = 0. "off-cycle country
* paydate
wa_fieldcat-title = 'Zahlungsdatum'(t05).
wa_fieldcat-halign = 'L'.
wa_fieldcat-width = 10.
wa_fieldcat-tooltip = 'Zahlungsdatum'(t06).
wa_fieldcat-visible = 'X'.
ELSE. "only standard periods
* payroll period
wa_fieldcat-title = 'Periode'(t03).
wa_fieldcat-halign = 'L'.
wa_fieldcat-width = 7.
wa_fieldcat-tooltip = 'Abrechnungsperiode'(t04).
wa_fieldcat-visible = 'X'.
ENDIF.
APPEND wa_fieldcat TO ex_fieldcat.
* END OF INSERTION "XMU2004/01/08
* BEGIN OF DELETION "XMU2004/01/08
* case im_molga.
* when 01. "Germany
** payroll period
* CLEAR wa_fieldcat.
* wa_fieldcat-title = 'Periode'(t03).
* wa_fieldcat-halign = 'C'.
* wa_fieldcat-width = 7.
* wa_fieldcat-tooltip = 'Abrechnungsperiode'(t04).
* wa_fieldcat-visible = 'X'.
* APPEND wa_fieldcat TO ex_fieldcat.
* WHEN 10. "U.S.
** paydate
* CLEAR wa_fieldcat.
* wa_fieldcat-title = 'Zahlungsdatum'(t05).
* wa_fieldcat-halign = 'L'.
* wa_fieldcat-width = 10.
* wa_fieldcat-tooltip = 'Zahlungsdatum'(t06).
* wa_fieldcat-visible = 'X'.
* APPEND wa_fieldcat TO ex_fieldcat.
* WHEN OTHERS.
** TODO
* ENDCASE.
* END OF DELETION "XMU2004/01/08
* gross amount
CLEAR wa_fieldcat.
wa_fieldcat-title = 'Brutto'(t07).
wa_fieldcat-halign = 'R'.
wa_fieldcat-width = 15.
wa_fieldcat-tooltip = 'Brutto'(t08).
wa_fieldcat-visible = 'X'.
APPEND wa_fieldcat TO ex_fieldcat.
* pay
CLEAR wa_fieldcat.
wa_fieldcat-title = 'Auszahlungsbetrag'(t09).
wa_fieldcat-halign = 'R'.
wa_fieldcat-width = 15.
wa_fieldcat-tooltip = 'Auszahlungsbetrag'(t10).
wa_fieldcat-visible = 'X'.
APPEND wa_fieldcat TO ex_fieldcat.
* last column
* print indicator
CLEAR wa_fieldcat.
wa_fieldcat-title = 'Druckstatus'(t11).
wa_fieldcat-halign = 'L'.
wa_fieldcat-width = 25.
wa_fieldcat-tooltip = 'Druckanforderung'(t12).
wa_fieldcat-visible = 'X'.
APPEND wa_fieldcat TO ex_fieldcat.
endmethod.
Regards,
Dhruv
Hi ,
I am facing payslip issue in ESS and my payslip is coming in portal in pdf but data is not coming.
can you share the ESS backend config for payslip step wise and also let me know any badi activation is required to see the payslip data..
Regards,
Sanjeev Mourya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Pinki,
Click on the Detailed Excepiton....and paste it here...so that I come to know which line of code in Webdynpro is causing this....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
7 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.