Skip to Content
avatar image
Former Member

Short Dump in PS BAPI : BAPI_BUS2002_ACT_CREATE_MULTI

Hi,

I'm trying to use the BAPI BAPI_BUS2002_ACT_CREATE_MULTI to create an Activity in a Network. I have a custom table, with many work order numbers,which will create the network with internal number ranges, and also create many activities in the network based on certain condition. This is a batch program.

The problem is, when I have an Error (few cases) in the creation of one Activity (the error returns at the return table of the BAPI_PS_PRECOMMIT ), the program finish with a short dump "ILLEGAL_TEMP_OBJNR" , but this is not happening all the time(the error is not coming during the debugging).

Can any body help me out.

Regards,

Sudipta

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • Jul 14, 2017 at 10:06 AM

    Have you tried introducing wait statement in the loop?

    Sathya

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jul 14, 2017 at 11:30 AM

    Yes, after every BAPI_TRANSACTION_COMMIT , there is 'wait up to 1 Seconds' inside the loop, but problem is in this case the short dump is coming from the BAPI_PS_PRECOMMIT, so the Commit work & the 'wait up to 1 Seconds' statement is not triggering.

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 14, 2017 at 08:47 PM

    Could you try the following :

    • See if SAP-KBA 1940255 "Dump encountered on executing BAPI_PS_PRECOMMIT and performance bottleneck identified" applies?
    • If not : I saw a previous Question that sounds quite the same. There, only solution was using another BAPI "BAPI_NETWORK_MAINTAIN" in conjunction with BAPI "BAPI_PS_PRECOMMIT" ...


    Hope these suggestions help you in solving the issue

    Nic T.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      There is no such UserExits / BAdI implemented which can interrupt the process, and also the short dump "ILLEGAL_TEMP_OBJNR ("TM0000000696NV" " " " ") " from BAPI_PS_PRECOMMIT is not coming all the time.

      Regards,

      Sudipta