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

PT_ARQ_REQUEST_EXECUTE dump CX_OS_OBJECT_NOT_FOUND

Hello Experts,

we have delevoped a web dypro for apap application to create and modify absence requests. We use the "normal" functions

PT_ARQ_REQUEST_PREPARE,

PT_ARQ_REQUEST_CHECK and

PT_ARQ_REQUEST_EXECUTE.

The application works fine, but last days we installed it to a sap system wich has a higher patch level. We get a dump when the the function PT_ARQ_REQUEST_EXECUTE is processed. The exeption is CX_OS_OBJECT_NOT_FOUND.

The call-stack:

CL_PT_REQ_HEADER==============CP CL_PT_REQ_HEADER==============CM005 32 CL_PT_REQ_HEADER=>IF_OS_STATE~HANDLE_EXCEPTION

METHOD CL_PT_REQ_HEADER==============CP CL_PT_REQ_HEADER==============CM007 26 CL_PT_REQ_HEADER=>SET_STATUS

METHOD CL_PT_REQ_HEADER==============CP CL_PT_REQ_HEADER==============CM01T 19 CL_PT_REQ_HEADER=>IF_PT_REQ_HEADER~SET_ALL_ATTRIBS

METHOD CL_PT_REQ_REQUEST=============CP CL_PT_REQ_REQUEST=============CM003 21 CL_PT_REQ_REQUEST=>CLONE_TO_OLD

METHOD CL_PT_REQ_REQUEST=============CP CL_PT_REQ_REQUEST=============CM00G 256 CL_PT_REQ_REQUEST=>IF_PT_REQ_REQUEST~INITIATE_STATE_TRANSITION

If we try to create a request with RPTARQ for the same employee and the same type of absence there is no problem.

We have analized our WDA application on serveral system with different support packages:

6.0 51 okay

6.0 38 okay

6.0 64 error

6.4 6 okay

6.4 ? error

Does anybody has any idea on this issue?

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Posted on Feb 18, 2011 at 04:26 PM

    probably it is due to the missing leave request details? Please can you check

    CALL METHOD ca_pt_req_header=>sel_reqs_by_all_attribs

    EXPORTING

    check here?

    This occurs if some data is missing!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2011 at 09:59 AM

    Hello Siddharth,

    thank you for your answer, but I don´t think, that this is a problem of the data. At the method IF_PT_REQ_REQUESTINITIATE_STATE_TRANSITION the method CLONE_TO_OLD is called. This method tries to get all attributes from the workarea_version and put it to the current version. Each item in the method IF_PT_REQ_REQUESTWORKAREA_VERSION->GET_ALL_ATTRIBS are not initial.

    In the method IF_PT_REQ_HANDLERSET_ALL_ATTRIBS the method SET_STATUS is called; there is a macro STATE_WRITE_ACCESS which tries to raise the event IF_OS_STATEWRITE_ACCESS. The handler (CL_OS_CA_COMMON HANDLER_WRITE_ACCESS) calls the method PM_HANDLER_RW_ACCESS which tries to load the object from DB (method PM_LOAD). The called method PM_LOAD_AND_SET_ATTRIBUTES gets the exception CX_OS_DB_SELECT which cases the exection CX_OBJECT_NOT_FOUND.

    For me it seems to be a sap-basic problem, because there is an object not store at database, which should be there.

    What do you think?

    Kindly regards,

    Gert

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 21, 2011 at 05:58 PM

    I found the error: after the call function PT_ARQ_REQUEST_PREPARE was a "commit work and wait". After deleting this command the application works fine also with the new support packages.

    Thanks,

    Gert

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 27, 2016 at 04:10 PM

    Hello!

    The short dump occurs because some global data of the function group isn't initialized.

    Call function module PT_ARQ_REQUEST_CHECK before PT_ARQ_REQUEST_EXECUTE to initialize the necessary data.

    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.