How to fectch the error message from popup?
i am able to recognize pop message at the the time recording byt at the time of playback it's unable to find that.
When u call a BAPI there will be Return structure. u need to pass the internal table to that function module. when the function module is executed the internal table is filled with the messages. u can loop at that internal table where message type is 'E' and process the message.
Check this :
DATA:IT_PERSONALDATA LIKE STANDARD TABLE OF BAPIKNA101_1 WITH HEADER LINE,
IT_COPYREFERENCE LIKE STANDARD TABLE OF BAPIKNA102 WITH HEADER LINE,
RETURN LIKE STANDARD TABLE OF BAPIRETURN1 WITH HEADER LINE.
CALL FUNCTION 'BAPI_CUSTOMER_CREATEFROMDATA1'
EXPORTING
PI_PERSONALDATA = IT_PERSONALDATA
PI_OPT_PERSONALDATA = PI_OPT_PERSONALDATA
PI_COMPANYDATA = PI_COMPANYDATA
PI_OPT_COMPANYDATA = PI_OPT_COMPANYDATA
PI_CONSUMEREN = PI_CONSUMEREN
PI_COPYREFERENCE = IT_COPYREFERENCE
PI_CREDIT_CONTROL_FLAG = PI_CREDIT_CONTROL_FLAG
IMPORTING
CUSTOMERNO = V_CUSTOMERNO
RETURN = RETURN.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
WAIT = 'X'.
APPEND RETURN.
LOOP AT RETURN.
WRITE:/ RETURN-TYPE, RETURN-MESSAGE.
ENDLOOP.
Regards,
Swathi
Similar Messages
-
Hello All,
I am using this API for creating a contact for an employee in R12.
But, some times i am not able to create the contact successfully, and Unable to figure out proper reason for record erroring out.
I dont find any out msg data variables for this API in order to check it for the Error.
So, can any body help me how to get the ERROR Message for such APIs.
Thanks inAdvance,
Amarnadh Jsuser12243334 wrote:
solved the issue on myselfIt would be nice if you could share the solution with us.
Thanks,
Hussein -
How to capture the error messages from incorrect session?
Hi SDNs.,
i am using BDC Session method to update transaction FB01. So my job runs daily. here i want to capture the error messages and i want to send it to mail. Can i capture the unprocessed records???
i think FM <b>SO_NEW_DOCUMENT_ATT_SEND_API1</b> used for sending mail? but how to capture mes or records?
or Is there any other way to Do it???
Thankning you.,
RamHi Ramakrishna,
Once you create the session, Process the session using
the report RSBDCSUB using submit statement.
It would list out the erroneous records.
Hence, while submitting, just say submit RSBDCSUB in background and export output list to memory.,
Then you can retrieve the list from memory using the FM LIST_FROM_MEMORY into the internal table and finally send the email by the fm you have already mentioned.
Regards,
Ravi -
How to get the error message from a AWS code to display on the portal
I implemented IAuthProvider, it works, within the code when authentication fails, I threw AccessDeniedException(customMessage) but when the login fails, the login screen always display the "You could not be logged in to the portal." error message, how can I get it to display the custom message? Am I throwing the wrong exception?
TIA.Simpler? Uhm as far I know there doesn't exist any magic and you have just to write one or two lines of Javascript code yourself. Is that hard?
-
How can I Fetch the error message from a OAF page
Hi,
A confirmation message is coming on the page,I want to catch the error message and depending on its value want to add some validation.
Is that possible to fetch the error message from the page?is it a confirmation message or an error message ?
Code in the OAF page would be raising an OAException with a message name defined in message dictionary.
you would need to look at the code to understand where this is thrown from and add your validation there.
Tapash -
How to read the error message like clipping positive or -ve in Tektronix oscillioscope 3012B
During acquiring the Sine wave or triangular wave from TDS3012B, if the amplitude or Max or min is clipping, how do you read the error? I used *ESR?, first time when I ran the error query program, it gave me Error message saying it is clipping, after that If I run again,the error query , It would not give me the error message, I couldn't reproduce it, eventhough but On the screen if I measure, Amp, min and Max it says that it is clipping positive or -ve. I was wondering how to read the error message while aquiring the data? If any one could help me that would be of great help.. Thanks
Usually, reading the error status register clears it. I'm not familiar with this particular model of scope but you may have to initiate a new acquisition in order for the scope to generate a new error. Another possiblity is that a new error will be generated when the vertical scale changes. Unless someone posts with an answer, I'd say that your best bet to get an answer is to contact Tektronix technical support.
-
How to customize the error messages in web analysis reports
Does anyone know how to customize the error messages that web analysis shows ,
I want to customize the below error message with a custom error message
"Document does not exist or no authorization to open document.Error occurred while loading document"
Does anyone know how to do this ?Rajesh,
you may want to check these links
How to the Change the Application Stopped Message
How to Change the Dispatcher Running, No Server Connected Message
http://help.sap.com/saphelp_nw70/helpdata/en/65/18fc3f9ec4e669e10000000a155106/frameset.htm
Thanks
Bala Duvvuri -
how to fix the error message itunes can't sync apps because it can't determine what apps are installed
Hi,
This may be Helpful
AMDS for Windows
http://support.apple.com/kb/TS1567 -
Please help me how concatenate all the error messages and send it as out parameter value.
Hi Experts,
Please help me how concatenate all the error messages and send it as out parameter value.
Thanks.Agree with Billy, exception handling is not something that is done by passing parameters around.
PL/SQL, like other languages, provides a suitable exception handling mechanism which, if used properly, works completely fine. Avoid misuing PL/SQL by trying to implement some other way of handling them. -
How to get the XML messages from JMS Queue in BPM
I have one requirement in my application.we are sending XML messages to the JMS Queue.How to get the XML messages from JMS Queue and how to Extract the details from XMl.
can you please send me the code to get the XML messages from the JMS Queue.
Thank you,Hi,
Sure others will have some other ideas, but here's what I typically do to get the XML from a JMS queue. Inside the Global Automatic that pops the messages off the queue you'd have logic similar to this:
artifactInfoNodes as Any[]
xmlObject as Fuego.Xml.XMLObject = XMLObject()
load xmlObject using xmlText = message.textValue
. . . Once you have this, it's a matter of deciding what you want to do with the message. Most times you'll parse the XML (using XPATH statemens), set argument variables and create a work item instance.
Hope this helps,
Dan -
How to Customize the Error Message when a user enters a wrong password
Hi Gurus
Pls Help out me that
How to Customize the Error Message when a user enters a wrong password ?
I need the Help to Customize the messege ?
How we can do
Pls Tell me indetailFirstly many appologies I have given you slightly duff information here, I had been editing the file above for email notification texts not logon / password texts.
The file you need is actually a portal .par file and can be found in the deployment/pcd directory. The file you need is called com.sap.portal.runtime.logon.par (with a .bak extension at this time).
You need to copy this file to a local machine and unzip the contents. The files you need to edit are contained in a further jar file which can be found in the \PORTAL-INF\lib directory - it is called umelogonbase.jar. It too needs to be extracted and the file you need to edit is logonMessages_xx.properties (where the xx is the language code you are using).
In this file you will find lines like:
NUMERIC_REQUIRED=Invalid new password (must contain digits)
You need to identify which texts you wish to modify and edit the text to the right of the equals sign. Once complete rezip the umelogonbase.jar file and then the com.sap.portal.runtime.logon.par (this time name it without the .bak extension. Then logon to the portal and upload the new par and you should see your new logon messages.
Haydn -
How can i get the error message from the thrown/raised exception?
DB version:10gR2
Examples for this thread taken from
Want Stored Procs to get exectuted regardless of preceeding SPs Success or
I have a package with several functions and procedures inside.I created a caller procedure called callProcs, which will execute various procedures within the package in the appropriate order.
In the below example i cannot get the error message thrown from line 20
create or replace package body mypackage
is
variable_proc1 number;
variable_proc2 number;
variable_proc3 number;
v_result number;
my_exception exception;
procedure proc1
is
begin
select 8/0 into variable_proc1 from dual;
exception
when others
then raise my_exception; ----line 20
end;
procedure proc2
is
begin
select 1 into variable_proc2 from dual;
exception
when others
then
null;
end;
procedure proc3
is
begin
select 3 into variable_proc3 from dual;
exception
when others
then
null;
end;
Procedure caller_proc
is
begin
proc1;
proc2;
proc3;
v_result:=variable_proc2+variable_proc3;
dbms_output.put_line('The output is '||v_result);
exception
when my_exception
then
dbms_output.put_line('Heyyyyy the error is '||SQLERRM); -- exception caught at line 64 of caller proc
end;
end mypackage;
When i try executing the caller proc, i don't get the error. Instead i get the text User-Defined Exception as shown below
set serveroutput on
exec mypackage.caller_proc;
Heyyyyy the error is User-Defined Exception
PL/SQL procedure successfully completed.Edited by: user10633418 on Mar 10, 2009 11:30 PMThank you justin.
Sorry my earlier post was a bit ambiguous.
I wanted the error generated at proc1 to be captured at caller proc's Exception handling section (line 64) so that i could log the error to an ERR_LOG table.
I can actually log this error at proc1 itself like
exception
when others
THEN
error_message :='My custom message for the particular proc '||SQLERRM;
dbms_output.put_line(error_message);
logerror(error_message); --an autonomous error logging proc
raise;But there is a RAISE statement in proc1's exception handling, so the exception gets propogated to caller proc's exception handling section {color:#ff0000}*and another redundant row will be created at ERR_LOG table for the same error because there is a*{color}
logerror(error_message);--an autonomous error logging proc
in the WHEN OTHERS section of exception handling section of the caller proc
I want to avoid the creation of this redundant row in ERR_LOG table. -
How to populate the error message in OVS search popup
Hi All
We have the following requirement to display the error message in the OVS popup.
currently we are opening an OVS popup on click of an action successfully.
Currently we had put the error message in the ApplyResult() method, but error message was not displaying on the screen in the OVS popup itself & currently popup is being closed which should not happen
Thanks
Kalki ReddyHi,
Currently we had put the error message in the ApplyResult() method, but error message was not displaying on the screen in the OVS popup itself & currently popup is being closed which should not happen
the OVS is not in our control its framework controlled. when applyResult method is called, framework automatically closes the pop up and shows the error messages in the main window( if any error is thrown in the apply result method) .
Please give more details about ur requirement.
regards,
Akila -
How do I suppress error messages from displaying in GPIB calls?
I use GPIB Read and GPIB Write to access instruments on the bus. Both vi's supply status on error out.
I sometimes call these routines in situations where I do NOT want to reap error status, so I leave the error out terminal unconnected.
Here's the problem: I get error popups that display the GPIB errors (when there are some) even though I don't connect the error out terminals to simple error or general error.
How can I suppress the error messages??? I do NOT want them to display...
As always, thanks in advance for the assist!!!PROBLEM SOLVED.
Thanks gentlemen. But... now I have to defend myself!
1. I have both old non-488.2 and newer 488.2 instruments on the same bus. When I send *IDN? to the old instruments, they generate errors. When I send model-specific (non 488.2) commands to the newer stuff, they sometimes error. I have to 'search' the bus and identify specific instruments (by mfg/model) that I'm looking for; I don't know what address they're at. So I go thru a loop (the index is the GPIB address) and for each address I try the old-style probe; if it fails, the new style; if neither succeeds, no one is home at that address. The problem is that in cases where I try the wrong probe for the device first, it frequent gets 'trapped' in the input buffer of that device causing it to incorrectly respond to its correct probe when I finally get to it. So I have to clear the device before sending it the probe to make sure its listening. Can't use *CLR since many devices don't recognize it; and since I can't send a command (yet) because the device is screwed up. So.... I figured out what I have to do to get the devices listening. The NEAT-3xx controllers are happy *after* they receive a null command with a LF (EOS) character - but they generate errors while processing the digital enema just described. The HP spectrum analyzers I use work fine when they get *IDN?, but generate an error on the bus when they receive the probe designed to get the NEAT controller to respond. So what I do is always send an EOS character first to each address before each probe - and then issue a GPIB read. I ignore the errors generated, and the data returned. Then when I probe, I always get a good response (if the probe type matches the device!) instead of an artifact from the garbage the instrument had to listen to. It's like drinking a beer after your wife calls you and nags - it clears your head and makes you ready to move forward. So now you know why sometimes I wanna ignore errors, but thanks for asking.
2. Why don't I use VISA? Well, find me a VISA driver for the NEAT-3xx family of controllers, and I will... I use raw GPIB reads/writes (and nothing else) in my 'scan the bus and probe each address' loop described above. I use raw GPIB commands for the NEAT controllers, and VISA for the HP. You guys designed this stuff, not me... What I don't know (and what you might help me with) is whether there's a 'raw' interface that allows you to talk to instruments using VISA calls when there is NOT a VISA driver for the device... kinda like "I wanna use the GPIB read/write, but use the VISA interface so all my code looks the same" deal...
Thanks again! -
How to delete the error message in the Web page Message Monitoring
Hi All:
I'd like to ask a question.If there is error message in the T-code sxmb_moni->Monitor for Processed XML Messages,I can cancel the error message manually and archive the message. After that,I can delete the message from "Monitor for Processed XML Messages".
But after those operation,I find in the web page " Message Monitoring", there are still messages in the "Messages from Component Integration Server and/or Adapter Engine".
How can I delete those message both successful and error.
Thanks All
ElliottHi Elliot,
SXMB_ADM
Integration Engine Configuration
Specific Configuration
Category: DELETION
Parameters: PERSIST_DURATION, PERSIST_DURATION_ERROR
Subparameters: SYNC, ASYNC
Change "Current Value".
and execute your delete job again!
Regards,
Udo
Maybe you are looking for
-
How can I send an email that has pictures as attached files and NOT just the picture in the body of the email. I have clicked on the attachment button (then chosen the file) as well as file-->attach and for both the picture appears in the body of the
-
Recording more than two seperate tracks into Garage, same time
Hi there, What I want to do is run four inputs simultaneously into Garage onto four seperate tracks (no spillage). What is best? What should I do? I have an iMac (10.4.1). I am aware that a Presonus Firebox might work but I am also aware that there m
-
I need help with installing flashplayer
when i download the flashplayer installer, i get a box that says " The program can't start because MSVCR110.dll is missing from your computer. Try reinstalling the program to fix this problem." I have of course done some searching on google first, bu
-
JPEG-XR (HD Photo) Plugin
Apparently Microsoft and Adobe were working on a plugin for Photoshop a couple of years ago that added JPEG-XR support, however, despite this plugin being "officially released" I cannot find it anywhere. Does anyone know if this plugin still exists,
-
My google display is not displaying properly. The message says "something's not right" and "oops, your selected image failed to load" Thank you!