cancel
Showing results for 
Search instead for 
Did you mean: 

Workflows in HR: Training and Event Management (BO PDRELA_025)

SCHEFFLM
Explorer
0 Kudos

Hi expert!

I have a problem in the context of SAP HCM Training and Event Management and the generation of a workflow event for BO PDRELA_025!

I have created entries in table T779X (through SWEHR3) as:

E 1001 A025 * BOKF 0 PDRELA_025 REQUESTED

E 1001 A025 * BOKP 0 PDRELA_025 REQUESTED

E 1001 A025 * BOKW 0 PDRELA_025 REQUESTED

E 1001 A025 * CNOW 0 PDRELA_025 DELETEREQUESTED

E 1001 A025 * CPRB 0 PDRELA_025 DELETEREQUESTED

...but as soon as it calls function RH_OBJECTKEY_BUILD, it fails and doesn't create the REQUESTED event.

As the key field for AttendeeID in object PDRELA_025 references OBJEC-REALO, function RH_OBJECTKEY_BUILD tries to find a corresponding field in structure PPKEY to create the object key. As it can't find this field in PPKEY, it fails and doesn't create the REQUESTED event. Is there something I've done wrong?

Can anybody help me please?

Michael

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi friends,

I finally found a workaround for this problem.

Exclude the record at table SWOTLV with LOBJTYPE = PDRELA_025 and VERB = REALO.

In my case was LOBJTYPE = PDRELA_027 and VERB = SCLAS and VERB = SOBID

I said "workaround" because SAP has not corrected this error. Until now, this table is rewritten after system upgrades.

Best regards,

Eduardo Marcelino

SAP HCM Consultant

former_member185167
Active Contributor
0 Kudos

Hello,

What is the actual error message?

regards

Rick Bakker

Hanabi Technology

SCHEFFLM
Explorer
0 Kudos

Hi Rick,

Thank you for your help.

The problem occurs in function module RH_OBJECTKEY_BUILD. Following raise is the problem.

 
    loop at bor_keyfields where bor_object_type = bor_object_type.
      read table structure_key with key
                               fieldname = bor_keyfields-reffield
                               binary search.
      if sy-subrc = 0.
        bor_objectkey+bor_keyfields-offset(bor_keyfields-ddlength) =
        hr_record_key+structure_key-offset(structure_key-leng).
      else.
*     FATAL ERROR!!!! BusObjectKey do not refer Infotypekey of DDIC!!!
        raise problem_to_build_borkey.*
      endif.
    endloop.

If found SAPNote 1066444 but the recommanted SP is already imported?!

Can you help me??

former_member185167
Active Contributor
0 Kudos

Hello Michael,

But what is the actual error message that you encountered?

I ask because that's what you should be searching for, assuming others have had the same problem in the past.

regards

Rick Bakker

Hanabi Technology

vijy_mukunthan
Active Contributor
0 Kudos

Hi Michael

What workflow template you are using?. Standard or custom developed workflow. I checked that function module no result is giving in my system. What for that function module is used. What you want to achieve with it.

Regards

vijay

SCHEFFLM
Explorer
0 Kudos

HI vijay,

first of all: Thank you for your support.

I would like to start a customer specific workflow but it doesn´t matter due to the fact that no event is triggert anyway.

With other word: My own workflow can´t start because there is no event fired by PSV1 (Training and Event application).

FAZIT: Something is wrong with the generation of the workflow event of the BO PDRELA_025 or my customizing settings within the application?!

Tanks again

Michael