on 12-12-2011 5:38 PM
Hi All,
i'm using BAPI_BASICPAY_CREATE to update IT0008 in hiring and rehiring processes
For hiring, it's working fine, but for rehiring, I'm getting the following error : E PG 428 "'A complex application error has occurred'"
I tried BAPI_BASICPAY_CREATESUCCESSOR, but i'm getting the same issue
Wopuld you please help on tis?
KR,
Karim
Hi Karim,
As 'BAPI_BASICPAY_CREATE' uses 'HR_INFOTYPE_OPERATION' please note, there are some restrictions with this function:
The update takes place using a 'Call dialog' from the module pool infotypes. For this reason, some restrictions apply for the infotypes that are to be handled in this way. The following information is from the documentation of function 'HR_INFOTYPE_OPERATION':
- The screens for individual infotypes can not overwrite the transferred data for PBO.
- No essential checks that are programmed 'on request' will be included in the module, as these will not run.
- No messages can be processed for PBO. This will lead to error message 428(PG).
- No 'leave screens' may be programmed, unless 'set screen 0' has been set previously. This also leads to error message
428(PG).
- If you receive error messages of type 'Required field not filled...', you can not specify the field any more precisely.
In this case, you must try to transfer the data into the system using the dialog transaction.
You can check this on your own by setting breakpoint in function 'HR_MAINTAIN_MASTERDATA' at IF DIALOG_MODE EQ '0'. Now change the parameter to '2'. Just press F8 and you get into IT0008 where you will get the according error/warning message which results in PG428.
Hope it helps
Kind Regards
Christine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.