cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI Error Message into Agentry

0 Kudos
338

detail-return.jpg

Hi Experts,


This is regarding the SAP Work Manager 6.5.11 application. We have customized the application at end to end level(Agentry, Java, ABAP) with Labor Add/Edit screen.

Agentry: We added new field for Person Number (PERNR) in Labor Add screen and sending the same to Backend.

Java: As part of Java customization for Labor Add in WM we have extended the following ZLabor Class(Extended Labor) - to add two new custom fields with Getters & Setters, value captured in custom screen in Agentry.
public String ZAddUserList;

public String ZActualPerson;

ZTimeTicket Class(Extended TimeTicket) - This fetches the two new field values from Labor transaction in method
setProperties(TimeEntryCreateBAPI b)
// New fields added for D011 requirement
setZAddUserList(this._user.getString("transaction.ZAddUserList"));
setZActualPerson(this._user.getString("transaction.ZActualPerson"));

ZTimeEntryCreateBAPI Class (Extended TimeEntryCreateBAPI)
In setParameters method we are updating the standard SAP table IT_TIMETICKETS to custom SAP field "ZZPERNR" Posting of custom data to SAP is fine, but the error returned by BAPI is not passed back to Agentry.

ABAP: We have enhanced the class /SMERP/CL_PM_WORKORDER_DO, Method - CREATE_WO_CONFIRMATION.

I am able to see the errors when I executed the from the BAPI wrapper in BAPI and also when I send the data from Agentry. I can see the errors in SLG1 transaction but those are not reaching Agentry Transmit screen.

We have enableFailedTransactionLogging=True in Agentry.ini

Could anyone please suggest me on this?

Regards,

Ashwin Venkatesh

Accepted Solutions (0)

Answers (0)