cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NullPointerException

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member191510
Active Participant
0 Kudos

Check through SE11-> PA0003 , viekn field for the test pernr. In your case it should be 14.

Former Member
0 Kudos

Hi Pooja,

checked pa0003, viekn returned 14

0 Kudos

hi,

I am getting the same error.

any solution from your side?

regards,

Bala

former_member191510
Active Participant
0 Kudos

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 Kudos

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 Kudos

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.

Former Member
0 Kudos

Hi,

Yes there are some configuarration that you need to check

GO TO "SM30" and give "V_T7XSSPERSUBTYP" ..

In this view you need to Specify Use Case and Active Subtypes.

for Bank inforation you can give following

County : 08 ( here you give your specific County )

Infotype : 0009 ( Bank infotype )

Subtype : 0

Use Case : A1

For Personal Data you can give following

County : 08 ( here you give your specific County )

Infotype : 0002 ( Bank infotype )

Subtype : 0

Use Case : A1

Cheers,

Vivek D Jadhav

Former Member
0 Kudos

Hi,

Thanks for the reply. I have updated V_T7XSSPERSUBTYP with all teh respective entries. However, i'm still getting the same error. When checked st22, i get to see the following dump;-

The exception 'CX_HRPA_MISSING_INFTY_DATA' was raised, but it was not caught

anywhere along

the call hierarchy.

IF data_exists IS INITIAL.

CLEAR molga.

RAISE EXCEPTION TYPE cx_hrpa_missing_infty_data

EXPORTING

tclas = tclas

pernr = pernr

infty = '0001'.

It seems like it is not getting the pernr of the employee. Any ideas?

Former Member
0 Kudos

Hi,

you need to create DATA in SAP for pernr which you are using on Portal.

1st check where DATA for the PERNR is exits in infotypes. you can check this by using PA30

give the pernr no then give the "infotype no" like "0001" and click up on "display" if data is not exits

then you need to create and data for the PERNR ( you can take the HR fucntion people to do this process)

If you want to find the PERNR no which you are using on Portal.

then goto trasaction "hruser" once its show the screen click upon "Assignment of employees to existing users" give the "user name " ( portal employee ID for which you are getting dump )

Select "Users with employees " and execute .. you can able to find the details .......

Then select the Row and click upon "HR master Data" once its call PA30 screen check the DATA in

in infotype 0001 , 0002 , 0009

Cheers

Vivek D Jadhav

Former Member
0 Kudos

What country are you doing the upgrade for?

Former Member
0 Kudos

Im doing the upgrade for a couple of countries but my testing is now based on 'malaysia'.

Former Member
0 Kudos

hi

can you please confirm the molga value in the dump you get.

I suspect that it is trying to access an application that is not for malasia.

Can you please confirm if who is who works fine.

thanks