on 03-18-2015 10:33 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes.
Yes, the correct user has been set in the debugger settings. Before that, external breakpoints were used for the SAP user, then for the mobile user. Also, a separate sap mode was launched with this user (the same login in the mobile version and in the SAP).
Unclear. I can use CL_DEBUG in this module or infinity loop for break, but it is somehow wrong.
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.