on 06-02-2009 8:46 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
What is the actual error message?
regards
Rick Bakker
Hanabi Technology
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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??
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
User | Count |
---|---|
81 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.