cancel
Showing results for 
Search instead for 
Did you mean: 

HCM P&F: generic service not triggered

kat_mat
Explorer
0 Kudos

Hello all,

I've created an HCM form in EHP5.  I need to default some values on initialisation of the form, so I followed the below blog to create a generic service, add operations and field groups and fields etc.

http://scn.sap.com/community/interactive-forms-by-adobe/blog/2011/08/08/hcm-processes-forms-default-...

My generic service doesn't appear to be triggered.  The default values aren't pulled into the form, and when I tried to debug by setting a break-point in my service (Do_Operations) it's not even hit.  The filter value is correct and is the serviceid.

Has anyone else had this issue?  Or any pointers?

Help!

Many thanks,

Kathryn

Accepted Solutions (1)

Accepted Solutions (1)

kat_mat
Explorer
0 Kudos

Hi all,

To anyone stuck on this in the future, the generic service wasn't being called because my new fields weren't assigned to the scenario step.  There is a little check box 'assigned' that needs ticking next to the fields you want to include in the step.

Hope this helps others.

Former Member
0 Kudos

Kathryn,

I am also facing the same issue, can you please provide me the screen shot where exactly you did the check. Please help me.

Thanks

Bala

kat_mat
Explorer
0 Kudos

Hi Bala,

I hope this helps.  It was the "Assigned" checkbox that needed to be selected (bottom right side of screen).

Kind regards,

Kathryn

Former Member
0 Kudos

Kathryn,

Thanks for your help, As you mentioned i have checked the check box, but even then my form is taking too much time to render.

Please help me to solve this. I am trying hard for last 10 days.

Thanks

Bala

siddharthrajora
Product and Topic Expert
0 Kudos

are you have performance issues? then

From ABAP system, call t-code SFP

Edit your template (*PDF*) and go to Layout tab (Live Cycle  Designer will be loaded)

Menu (from Designer): Edit -> Form Properties -> Performance tab

Check for 'Allow Form Rendering To Be Cached on Server'

Then save and activate it.

ttp: //help.sap.com/saphelp_nw70/helpdata/EN/43/8c4d9d1c345c6ce10000000a422035/frameset.htm

Former Member
0 Kudos

Hi Siddharth,

Yes, i did it, then i am getting the following error.

500 SAP Internal Server Error

ERROR: WebDynpro Exception: Internal error when processing form ADS: com.adobe.ProcessingException: com.adobe.ProcessingException: HTTP-404 Error.(200,101).; see SAP Note 999998 (termination: RABAX_STATE)

Thanks

Bala

Former Member
0 Kudos

Hi,

When i checked the consistency of the form i am getting this error, can anyone tell how to solve this and where i need to give the field information.

No field information available for generic service ZTEST_10

siddharthrajora
Product and Topic Expert
0 Kudos

error is due to your form configuration. check it via HRASR_DT?

have you copied from standard form?

Former Member
0 Kudos

Siddharth,

Yes, there is error in my form, I am new to this process and form, Can you please help me how to correct this error.

Following the screen shot my service fields. Is it necessary to provide operation's, if so where to define it.

Thanks

Bala

siddharthrajora
Product and Topic Expert
0 Kudos

you need to copy a standard process and modify it accordingly,

there are many blogs on HR P and F , please do the search and learn how to build a process

Answers (2)

Answers (2)

kat_mat
Explorer
0 Kudos

Hello,

In addition...I have noticed that in Form Scenario -> Scenario Steps I have one scenario step, and on the far right of the table when I click on Operations it only has one operation (the standard SAP_PT service), it doesn't have my custom generic service.  Do you know whether this is yet another bug, or whether I have missed a mysterious piece of config out?  Perhaps this is why it isn't being called?

Any help is much appreciated!  I'm sure it shouldn't be so difficult to default a field!  :disappointed_face:

Kathryn

siddharthrajora
Product and Topic Expert
Product and Topic Expert
0 Kudos

can you check from hrasr_dt, does it get triggered

HRASR00GEN_SERVICE_BASIC

and check this note

1485956  Optimization in user events - avoid calling all services

kat_mat
Explorer
0 Kudos

Hi Siddharth,

Thank you for your reply.  How can I check from HRASR_DT whether it gets triggered?  I have executed using HRASR_TEST_PROCESS, but nothing triggered.

I haven't implemented any user events, so note 1485956 doesn't apply I think?

Many thanks,

Kathryn