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

BAPI not returning data - yet objects on mobile device

Hi all

I am working with SAP Work Manager 6.1 on SMP 3.0 SP04

I am running the standard BAPI /SMERP/PM_DOWORKORDER_GET in SAP to check the output. (PRT data is not comming through to the client, even though there are PRT's linked to the operations)
input parameters are MOBILE_USER and USER_GUID.

However, in SAP, the output of the BAPI is empty: ET_RETURN: not data found

Still, we do receive work orders on the client...

We do have custom Java-code for this.

Should we change the application parameters in config panel? I noticed there are now parameters for STEPHANDLER, but not yet for our Z-Stephandler.

Any suggestions?

Kind regards,

Judith

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Mar 18, 2015 at 12:39 PM

    Just set an external breakpoint to the BAPI wrapper /SMERP/PM_DOWORKORDER_GET for the mobile device user.

    It will stop at the end, but you can check all the input parameters and see what is the difference between your test in SE37 and the call from Agentry.

    Java changes are not relevant for the BAPI result.

    Add a comment
    10|10000 characters needed characters exceeded

    • External breakpoints have been set both in the ENDFINSTION statement and within INCLUDE /syclo/core_bapi_template_incl on different lines. To no avail.

      Ultimately I want to extend the structure ET_WORKORDER_HEADER STRUCTURE /SYCLO/CS_CAUFV_STR. Add field to CI_AUFK, for example. But I can't debug it.

      > in the work order class

      Have not tried this. Thank.

  • Posted on Mar 18, 2015 at 11:11 AM

    Hi Judith,

    Your question is not clear to me but can you please check these tables as well

    "ET_WORKORDER_HEADER",

    "ET_WORKORDER_OPERATION",

    etc...

    may be that will answer your question.

    Regards,

    AK

    Add a comment
    10|10000 characters needed characters exceeded

    • Judith,

      follow these steps

      1) Reset your client

      2) Transmit now to fetch workorders

      3) What you see in transmit screen (for fetch workorders).Do you see like below screensnap ?

      instead of flight you should be able to see "New workorder '100XYZ...' has been received".

      4)Even if you Reset Client and still it is receiving new workorder/s then you will have to see exactly which BAPI_WRAPPER is been mapped in config panel.

      Regards,

      AK

      workorder.png (28.9 kB)

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.