cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

java.lang.NullPointerException

Former Member
0 Likes
496

Goodday all,

I have an enquiry here. We are evaluating to switch our existing ITS based services (ESS/MSS) to the new version of java webdynpro. Reason being is that we are upgrading from 4.7 to ECC6.0. We have created a sandbox to do the evaluation of the services. We have also migrated all the ITS services to Internal ITS. We are now able to view our existing (old) ITS based services in teh portal. However, when i wanted to check the same for the webdynpro based, i'm getting an error. This error is coming up for all the ESS Webdynpro screen.

Example: Bank Information

java.lang.NullPointerException

at com.sap.xss.per.fc.persinfo.FcPersInfo.initPernr(FcPersInfo.java:478)

at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfo.initPernr(InternalFcPersInfo.java:888)

at com.sap.xss.per.fc.persinfo.FcPersInfoInterface.initPernr(FcPersInfoInterface.java:166)

at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface.initPernr(InternalFcPersInfoInterface.java:273)

at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface$External.initPernr(InternalFcPersInfoInterface.java:509)

Personal Data

java.lang.NullPointerException

at com.sap.xss.per.fc.persinfo.FcPersInfo.initPernr(FcPersInfo.java:478)

at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfo.initPernr(InternalFcPersInfo.java:888)

at com.sap.xss.per.fc.persinfo.FcPersInfoInterface.initPernr(FcPersInfoInterface.java:166)

at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface.initPernr(InternalFcPersInfoInterface.java:273)

at com.sap.xss.per.fc.persinfo.wdp.InternalFcPersInfoInterface$External.initPernr(InternalFcPersInfoInterface.java:509)

Did i missed out on any configuration activities?

View Entire Topic
former_member191510
Active Participant
0 Likes

Hi Nahoj,

a)In the T77S0 table, set the CCURE PC_UI indicator.

b)Maintain IVWID fetaure.

c) Now run the reports;

o RPUFACECPRFN (required), adjustment of T582G from T582A-CPRFN

o RPUFACEVIEKN (required), adjustment of P0003-VIEKN in accordanc

with the IVWID feature

o RPUFIXDS (not required but recommended), correction of possible

inconsistencies in the PSHRD-GPRVL field.

Note that the IVWID feature must be maintained correctly so that the

RPUFACEVIEKN report creates correct occupancies.

-


The background is that ESS uses a new set of logic called Infotype

Framework (ITF) to create infotype records while Old framework of PA30

was not able to process data sharing. For this purpose, in the T77S0 table, the CCURE PC_UI

indicator is also necessary

When data are maintained by ESS, the new infotype framework is used

and the field GRPVL has to be filled. If data are maintained by ESS and

PA30, then the component GPRVL has to be filled. In order to synchronize

the records which were already created (before the switch PC_UI is

activated), the report RPUFIXDS has to be executed.

RPUFACEVIEKN fills the VIEKN field for all personnel numbers with the

personnel number's country grouping as stored in the Organizational

Assignment infotype (0001) if the field is not already filled. If you

want to edit HR master data on the SAP Enterprise Portal, there must be

and entry for each personnel number in the VIEKN field. To run this

program you must ensure that the feature IVWID is correctly maintained.

Regarding feature IVWID, please check out the documentation in tx PE03.

Regards

Pooja

Former Member
0 Likes

Hi Pooja,

Thanks for the update. All data in pa30 are well maintained. I have also run thru the steps given. UNfortunately, i am still getting the same error in ST22 and in teh portal. Is there any further steps? Thanks in advance

Former Member
0 Likes

Hi,

Run the report RPUFIXDS for this pernr, to solve inconsistencies .

also check the following steps.

Check the data by the T.Code SE16 for the Infotype 0000, 0001, 0002 and have datas.

In debugging and putting a break-point in the instruction IF sy-subrc IS NOT INITIAL. and the changed to 0.

The following step is the PA30>N° Personel>

Utilities-->delete Personnel no.

CASE tclas.

WHEN cl_hrpa_tclas=>tclas_employee.

SELECT SINGLE * FROM pa0003 INTO pa0003 WHERE pernr = pernr.

IF sy-subrc IS NOT INITIAL.

CLEAR tclas_pernr_viekn.

RAISE EXCEPTION TYPE cx_hrpa_missing_infty_data

EXPORTING

tclas = tclas

pernr = pernr

infty = '0003'.

ENDIF.

tclas_pernr_viekn-viekn = pa0003-viekn.