Skip to Content
author's profile photo Former Member
Former Member


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?



Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Dec 12, 2011 at 08:55 PM

    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


    - 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


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.