on 05-06-2015 11:28 AM
Hello all,
We are developing custom agentry application from scratch, while SAP server sending Errror mesages and we are catching it in Java source and using "throwExceptionToClient" method in SAPCommon jar,- like image below -
Transmit Screen shutsdown itself, and not shows anything about Error Message,
What we are going to expect is, shows us with pop-up if transmit screen not available at that time, or just prints the lines on transmit screen.
Like RFC Logon Error
Anyone can help us ?
Hi,
what will you do.
If you want to show the ErrorMessage from the SAP Backend on the client in a popupscreen u need to give the error text to the object wich you transfer and then check with a rule if the text is there and show it in a message screen.
If you do a tranfer the transmitscreen will open and and will show you the exception text which you throw with the "throw exception to client" while the transfer happens. If it is a login problem use "LoginBlockException". And please check in the TransmitActionStep if the option "hide transmission screen" is checked and if the "hide time out" is set.
Maybe i could help you.
André
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
André Nehm wrote:
If you do a tranfer the transmitscreen will open and and will show you the exception text which you throw with the "throw exception to client" while the transfer happens. If it is a login problem use "LoginBlockException".
LoginBlockException such as, "RFC_LOGON_ERROR", is error which we can see on pop-up screen, but any other exception, which you mention "throwExceptionToClient" method, does not throw any thing to client, even transmit screen is open at that time.
Regards
Murat
How looks your implementation from do steplet() function in the steplet?
It should look like this:
public boolean doSteplet() throws AgentryException
{
try {
"call stephandler implementation"
return true;
}
catch (Throwable exception) {
throwExceptionToClient(exception, user);
return false;
}
}
André
Are you able to login to SAP GUI with the same user - just to make sure the password has not expired? If you are on SP07 and using WPF please check the NOTE 2150573
Thanks,
Chandra
Hi,
Is this issue occurring only when you do re-transmit after first transmit is done or in first transmit only.
Also can you please let us know about Java backend logs as well (assuming you have set logging to Low -most detail)
Regards,
AK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi AK,
It is actually happened even first transmit, and also re-transmit.
These lines from log files, when we are expecting to see Error Message from Transmit Screen.
t##anonymous#Agentry com.vkt.sap.crm Worker Thread###execute::::VMHAGENTRYT3::before BAPI execute: Z_VKT_SMP_TX_DOCONF_CRT |
2015 05 06 11:27:00#+0300#INFO#System.out##anonymous#Agentry com.vkt.sap.crm Worker Thread###execute::::VMHAGENTRYT3::after BAPI execute: Z_VKT_SMP_TX_DOCONF_CRT |
2015 05 06 11:27:00#+0300#INFO#System.out##anonymous#Agentry com.vkt.sap.crm Worker Thread###checkForErrors::1::message ID::E:: Belge bulunamad - ı |
2015 05 06 11:27:00#+0300#INFO#System.out##anonymous#Agentry com.vkt.sap.crm Worker Thread###checkForErrors::1::message::E:: |
2015 05 06 11:27:00#+0300#INFO#System.out##anonymous#Agentry com.vkt.sap.crm Worker Thread###throwExceptionToClient::com.vkt.sap.crm.component.serviceorder.steplet.ConfirmationMaintainSteplet::throwExceptionToClient::2738::ConfirmationMaintainSteplet - |
2015 05 06 11:27:00#+0300#INFO#System.out##anonymous#Agentry com.vkt.sap.crm Worker Thread### |
2015 05 06 11:27:00#+0300#INFO#System.out##anonymous#Agentry com.vkt.sap.crm Worker Thread###User - setting inFetch to false |
2015 05 06 11:27:00#+0300#INFO#System.out##anonymous#Agentry com.vkt.sap.crm Worker Thread###Steplet::doSteplet() |
2015 05 06 11:27:00#+0300#INFO#System.out##anonymous#Agentry com.vkt.sap.crm Worker Thread###create::nulled repository::created new repository |
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.