ECC6: Function ignores error message
Hi,
I have the same program in two different systems: one 4.6c version, and the other one ECC6.
But the last one, ignores an error message.
The Standard program calls the function FKK_CALL_EVENT_1113:
CALL FUNCTION 'FKK_CALL_EVENT_1113'
EXPORTING
i_herkf = co_herkf_inv
i_applk = co_applk_isu
IMPORTING
e_fikey = fikey
EXCEPTIONS
error_message = 1
OTHERS = 2.
The interface of this functions hasn't the exceptions.
FUNCTION FKK_CALL_EVENT_1113.
""Globale Schnittstelle:
*" IMPORTING
*" VALUE(I_HERKF) LIKE FKKKO-HERKF OPTIONAL
*" VALUE(I_APPLK) LIKE FKKKO-APPLK OPTIONAL
*" VALUE(I_RESOB) LIKE DFKKSUMC-RESOB OPTIONAL
*" VALUE(I_RESKY) LIKE DFKKSUMC-RESKY OPTIONAL
*" VALUE(I_FIKEY) LIKE DFKKSUMC-FIKEY OPTIONAL
*" VALUE(I_LAUFI) LIKE FKKMAKO-LAUFI OPTIONAL
*" VALUE(I_LAUFD) LIKE FKKMAKO-LAUFD OPTIONAL
*" VALUE(I_PARALLEL_PROCESSING) LIKE BOOLE-BOOLE OPTIONAL
*" VALUE(I_UNAME) LIKE SY-UNAME DEFAULT SY-UNAME
*" EXPORTING
*" VALUE(E_FIKEY) LIKE FKKKO-FIKEY
*" VALUE(E_FIKEY_ROOT) LIKE FKKPY_PARA-FIKPY
This function calla a Custom Function (Event), with the same interface.
In this Custom Function we have put an error message.
Message e002(zin01).
In 4.6C version, the system shows an error message.
In ECC6 version, the system doesn't show the error message, quitsthe function, but it continues with the programm.
Could anyone help me to understand how I could solve it? Or why does it happen? Is there any difference between the two versions?
Thanks,
Marta.
Marta López wrote:
> A RAISE statement in the program "SAPLZFKP3" raised the exception
> condition "ERROR_OCCURED".
> Since the exception was not intercepted by a superior
> program, processing was terminated.
>
> Because the standard function calls my event with this interface, without exceptions.
>
Dump clearly says that you are not captured exceptions
You need to capture the exception in your superiod program ie
CALL FUNCTION I_FBSTAB-FUNCC
EXPORTING
I_HERKF = I_HERKF
I_RESOB = I_RESOB
I_RESKY = I_RESKY
I_FIKEY = I_FIKEY
I_FIKEY_ROOT = I_FIKEY_ROOT
I_PARALLEL_PROCESSING = I_PARALLEL_PROCESSING
I_UNAME = I_UNAME
IMPORTING
E_FIKEY = E_FIKEY
E_FIKEY_ROOT = E_FIKEY_ROOT
EXCEPTIONS " <<
ERROR_OCCURED = 1. "<<
IF SY-SUBRC EQ 1.
" DO SOMETHING
ENDIF.
a®
Similar Messages
-
FRF-00025 Unable to call function. Error message: Syntax error in program
hi,
when we try to import the export file,we are getting the following error in the 24th phase
i.e., check DDIC Password.
The Error is
INFO 2007-10-29 15:53:20 [iaxxrfcimp.cpp:1017]
CAbRfcImpl::callLibraryFunction
Generating interface for remote function.
TRACE [iaxxrfcimp.cpp:1056]
CAbRfcImpl::performFunctionCall
Calling function module: INST_RFC_GET_INTERFACE
WARNING[E] 2007-10-29 15:53:21 [iaxxrfcimp.cpp:1089]
CAbRfcImpl::performFunctionCall
FRF-00025 Unable to call function. Error message: Syntax error in program SAPLSUNI . .
TRACE [iaxxrfcimp.cpp:1090]
CAbRfcImpl::performFunctionCall
RFC failure or system exception raised
TRACE [iaxxrfcimp.cpp:1091]
CAbRfcImpl::performFunctionCall
Syntax error in program SAPLSUNI .
TRACE [iaxxbjsmod.cpp:657]
CJSlibModule::showOkCancelBox_impl()
<html>Test logon to SAP System I50 failed.<p>Make sure that the system is started, that the user DDIC exists and that the password of user DDIC is correct.</html>
TRACE [iaxxgenimp.cpp:1093]
showDialog()
waiting for an answer from gui
What Could be the solution for this.
waiting for ur reply
SSHi Friend,
Please check whether or not there is view missing error recorded in dev_w0 trace file.
if there is , you can try to follow this procedure in order to manually
import the missing view definitions.
All steps must be carried out with the <sid>adm user of the target
system and from the install-directory:
1. In the install-directory
<sapinst_instdir>\...COPY\IMPORTT\SYSTEM\ABAP\ORA\UC\DB
create a file SAPVIEW.cmd with the following content:
tsk: "<sapinst_instdir>\...\COPY\IMPORT\SYSTEM\ABAP\ORA\UC\DB\SAPVIEW.TSK"
icf: "
<YOUR_EXPORT_DIRECTORY>\export\DATA\SAPVIEW.STR"
dcf: "<sapinst_instdir>\...\COPY\IMPORT\SYSTEM\ABAP\ORA\UC\DB\DDLORA.TPL"
dat: null
dir: null
ext: null
Please make sure that all paths are written correctly (in one line) and
the refered files are existant and readable. One exception:
The SAPVIEW.TSK file is created with step 2.:
2. Run from the command-line:
R3load -ctf I
<YOUR_EXPORT_DIRECTORY>\export\DATA\SAPVIEW.STR <sapinst_instdir>\...\COPY\IMPORT\SYSTEM\ABAP\ORA\UC\DB\DDLORA.TPL SAPVIEW.TSK ORA -l SAPVIEW.log
If there's a problem reading the 'SAPVIEW.STR' file, copy the
file to the install directory and adapt the path accordingly.
3. Run the view import by:
R3load.exe -i SAPVIEW.cmd -dbcodepage <YOUR_CODE_PAGE> -l SAPVIEW.log
-stop_on_error
4. Check both the SAPVIEW.log and the SAPVIEW.TSK file whether all views
have been created successfully.
If 4. is okay, restart the central instance and check whether you are
able to log on now. If yes, continue 'sapinst' by the option 'retry' or
'continue old installation'.
I Hope It can be helpful.
With Best Regards
Julia -
Is it possible to ignore error messages in BAPI_SALESORDER_CHANGE ?
Dear all,
I encountered another problem today which I hope you can help me with.
During manual Sales Order Change, customizing triggers an error message which can be ignored for the special case I'm dealing with. It will pop up, but - like a warning message - the user can continue to enter data and afterwards save the changed SO.
Now when I try to do the same thing via the BAPI, the BAPI fails due to this error message.
Is there any way to make the BAPI ignore this error message, meaning to just continue processing the Sales Order when this message occured?
Thank you very much,
Johannes.<u>Suggestion #1</u>
Take a look at the BAPI parameter BEHAVE_WHEN_ERROR. Here is the long text for this parameter:
<b>Short text</b>
Error Handling
<b>Description</b>
This parameter controls how the program behaves when an error occurs. Up until now, the BAPI always terminated when an error occured. For example, if you created a sales order with several items and one item contained an error, the whole sales order was not created.
This parameter make it possible to create an order even if some of the items cannot be created.
<b>Value Range</b>
Space = If an error occurs, processing stops and the sales document
is not saved.
P = If an error occurs, the sales document can be saved.
Problematic items are not processed but they are logged.
R = As for P but the document is not saved.
<b>Default</b>
Space
<b>Notes</b>
If several fields are changed within a structure and the field check finds an error, the system stops processing the structure and it is not changed.
<b>For example:</b>
You want to change the delivery block, billing block and item data in the header data of a sales order. If you specify a delivery block that is not permitted, the system does not change the header data but the items will be changed as long as they do not contain any errors themselves.
<u>Suggestion #2</u>
This can also depend on which message you are trying to ignore.
Some messages are set as customizable (in table T100C - see function module 'READ_CUSTOMIZED_MESSAGE'). FYI: SAP has been known to change certain messages to be "customizable" via an OSS Note upon request.
Some messages might behave differently during a BAPI call. See field CALL_BAPI in program SAPMV45A.
If you haven't already done so, it might be worth an OSS Note search using your message class and number (include the BAPI name or "sales order" if too many notes are found).
Best Regards,
James Gaddis -
Hi Experts,
We have activated autorization object I_MASS - to make it possible to carry out Mass Change on Functional Locations.
The menu patch are now visible - but I get error message "Objekt PM_MASS_TECH_OBJECTS is not maintained"
How is that done in SLG0 - any one have experience?Hi Pete
Thanks for helping
Best Regards
Keld -
Function Module Error Message to appear in Monitor-Detail TAB
Hello ABAP / BW Gurus,
how and can I write an error message in a function module
that it appears in the detail tab of the monitor ?
Thank You
Martin SautterOK
-
I found this article, and used it, and it seems as though my script resource node items are being properly expanded, and honestly I think it passes through being loaded up, but then when I go to start it, it fails. so let me put up some links with code and
error messages for you all.
http://social.technet.microsoft.com/Forums/exchange/en-US/2eb97d67-f1fb-4857-8840-de9c4cb9cae0/dsc-configuration-data-for-script-resources
Ok, so here is my configuration. The idea is that I need some specific permissions set on a specific registry key on my sql servers. This is so I can do the SQL LowPriv monitoring. I'm just setting one key right now, premise is once this is working I can
then duplicate that for the remaining keys.
https://gist.github.com/jeffpatton1971/1bfb19a06782f0975f6e
When I paste that into the prompt it appears to be perfectly happy
https://gist.github.com/jeffpatton1971/3aeb568130988a460738
In fact, the resulting MOF file looks ok to me
https://gist.github.com/jeffpatton1971/a94858f0c1e9e5612f90
When I attempt to start the configuration on my local machine, which has the key this is what I get
https://gist.github.com/jeffpatton1971/82da888bb7aac31ef4ad
lol...well so it's a different error now, I removed a credential param that I wasn't using, so now i'm left with an & that I can't seem to find anywhere... at any rate...so now my issue has become where is the bad &?I'm going back to the internets
to see if there is something akin to this error, and i'm open to any questions the most pressing one is why are my scriptblocks all smooshed together? well, early on I was wondering if random whitespace and extra characters were mucking up the waters. I may
actually dial down the script and see if I can add things until I get the error as well.
Jeffrey S. Patton Jeffrey S. Patton Systems Specialist, Enterprise Systems University of Kansas 1001 Sunnyside Ave. Lawrence, KS. 66045 (785) 864-0242 | http://patton-tech.comI looked at the first link, and it looks like you might be missing quotes around the $Node.ActionAccount part of the comparison, which would cause the script block creation to fail. Maybe change the sections that look like this:
Where-Object {$_.IdentityReference -eq $Node.ActionAccount}
to this:
Where-Object {$_.IdentityReference -eq '$Node.ActionAccount'}
If you're looking to do permission changes with DSC, I'm actually looking for testers for my
PowerShellAccessControl module. The 3.0 beta has two DSC resoruces: cAccessControlEntry (lets you make sure an ACE is present or absent) and cSecurityDescriptor (lets you specify an SDDL string for an object). The current cSecurityDescriptor is going to
be called cSecurityDescriptorSddl in a future release, and a new cSecurityDescriptor is going to be added that lets you control the different sections without using SDDL. If you were to use it, I think you could change your configuration to the following (at
least for the permission part):
Configuration SQLLowPrivRegistry {
param(
[string[]] $ComputerName = "localhost"
Import-DscResource -Module PowerShellAccessControl
Node $ComputerName {
cAccessControlEntry TopLevelActionAccountPermissions {
Ensure = "Present"
Path = "HKLM:\Software\Microsoft\Microsoft SQL Server\"
ObjectType = "RegistryKey"
AceType = "AccessAllowed"
AccessMask = ([System.Security.AccessControl.RegistryRights]::ReadKey)
Principal = "DOMAIN\SqlDefaultAction_sa"
What you're doing should work just fine, so I'm not saying you need to use mine. If you do get a chance to look at it, though, please let me know what you think (or if it even works). There are two scripts in the examples folder of the module that demo more
with the two resources (hopefully that will do until I finalize the documentation). -
Photoshop Elements 8 "Watch Files" function produces error message
My new PE8 is on a Windows 7 laptop and my pictures are on a networked server operating under Windows XP. The Windows file sharing works fine and I have successfully imported all pictures into the new PE 8 organiser catalogue. So far so good. However, when I try to implement "Watch Folders" by using the "Browse" command, the correct path "\\server\Data (D)\Server-pictures\" comes into the "Watch Folders" window. Then, when I click on "OK",I receive an errror massage: "The Watch Folder Service returned an error "Access is denied". Does anyone have a solution to the problem?
Hi John,
Thank you very much. I will try that tomorrow (I'm in Germany and its getting late!). Please can you tell me how to apply the "UNC syntax (\\mycomputer\photos)" you mention to the path which the Browse command in the Watch Folders set-up produces. That is: " \\Server\Data_(D)\Server_Pictures\".
Also if you have another clue about how to deal with the change to "Services" it would help a lot. I have tried to do as you suggest and after I've put the user password in, I get a message "System Service Management could not detirmine whether the account "Admin1-pc\Tom" already has the Log on as a Service right. If not the Service might ot run correctly" When I restart the service I sure enough get the error message "1069 Windows could not start the service due to log on failure". What have I not done?Thanks in advance for your patience! -
Function module error message.
Call Function Z_function.
Imports
Exports
EXCEPTIONS
no_entry_found = 1
OTHERS = 2
IF sy-subrc = 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Suppose
if sy-subrc = 1.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
Giving me popup and is troubling.
Could you please tell me if I comment below
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4....
and proceed will it effect me in case of sy-subrc <> 0.
Thank youHi Sam,
Yes you can. But some times the programs emphasises specific program errors.
For e.g.
Use the following code for function module for GENEREIC case.
In this case you can remove total piece of code suggested by you. and replace the following code.
If sy-subrc ne 0.
Messae 'Error in function module' Type 'E'.
Endif.
Use the following code for function module for SPECIFIC case.
case sy-subrc.
when '1'.
Message 'No_entry found' type 'E'.
when '2'.
Message 'Undetermined error in Function module. Please contact system administrator' Type 'E".
Endcase.
Regards
Bhupal Reddy -
Do not create message or ignore error message if...
Hi!
I got this target structure:
There can be many Items in TradeItemPrice. But if no Item is created I don't want to send the message.
Should I edit the mapping or make some expressen in receiver determination to handle this?Have a look at the below blog -
Customise your 'XPATH' Expressions in Receiver Determination
You can find similar case : i.e. /p1:MT_Pickfile/Body[sum(field3) > 10000]
in your case you can check for sum(Price)>0 or even you can some other functions such as count etc. -
My client is receiving error messages
I redesigned & updated my client's site with DW Version
9.0 Build 3481. My client is editing thw site with Contribute 2. 2
problems have arisen preventing him from editing the site"
1.) When he copies and pasted into a new page he receives the
following error (from client):
While executing DWMenu_Edit_Paste command in ccmenus.xml, the
following JavaScript error(s) occurred:
At line 77 of file "C:\Program Files\Macromedia\Contribute
2\Configuration\Shared\Scripts\event.js:
exception throw in native function
This error message gives me three options OK, Cancel and the
red X in the upper right hand corner of the error massage box. When
I click any of these three options I end up back where I was before
I keyed in the Paste
Command.
2.) I had the idea that I would just try typing in the data
rather than pasting it. So I created a new page, COUNSELING, (which
seem to work okay) and typed in the page title and a few words in
the text area. When
I went to publish, I got this error message:
When executing Edit_Action_Publish command in the
cctoolbars.xml, the following JavaScript error(s) occurred:
exception throw in native function.
When I click out of the error massage I immediately get
another message:
Contribute has encountered a problem and needs to close. We
are sorry for
the incontinence.
If you were in the middle of something the info you were
working on might be lost.
When I click the only option on the message, CLOSE,
Contribute closes. I then reopened Contribute and everything
entered was lost, both the creation of the new page and the info I
had type in.
Any ideas?The only way I can think of now would be deactivating iMassage in Settings/Messages. The downside is, that this will disable iMassage for sending as well.
Or send those devices the message back and ask them to stop it. If they don't, ask the provider to block the numbers. -
Error message PG009 : no data stored for the period
During upgrade testing from 4.7 to ECC6 noticing an error message PG009 with a suggested solution "In table T582A maintain the indicators 'Choose with start', 'Choose with end', 'Choose without date' for each infotype"
I am able to see recotds in 4.7, but however unable to view anything in ECC6. The message I get is No data stored for the time selected.We have the same problem - during upgrade phase. Any suggestions?
-
Localising Validation Error Messages
Apex 3.1
I'm trying to localise all my validation error messages.
I've created an error message Datevalidation as type pl/sql expression.
When I test the error message I just get DateValidation rather than my translated error message.
How do I specify how to return an error message name which is translatableHello Keith,
I’m glad things are working for you, however …
>> I realised that I had to change the validation error message type to function returning error text
That’s a bit puzzling to me as this type of validation – function returning error message – is the least supported option in the APEX translation mechanism. Can you please describe how you translate the error message inside the PL/SQL code?
Thanks,
Arie.
Please remember to mark appropriate posts as correct/helpful. For the long run, it will benefit us all. -
How to display error message in case of function module ?
In the report i was using " message-id " to display error message....
how to use in function module ?Hi,
Messages in Function Modules and Methods
Messages have two different functions in function modules and methods:
Normal Messages
If you use messages in function modules and methods without the RAISING addition in the MESSAGE statement, and the caller does not catch the message, the message is handled
normally according to the context in which it is called within the function module or method.
Triggering Exceptions with Messages
If you use messages in function modules and methods with the addition
... RAISING <exc>
the way in which the message is handled depends on whether the calling program handles the exception <exc> or not.
If the calling program does not handle the exception, the message is displayed and handled according to the context in which it occurs in the function module or method from which it
was called.
If the calling program handles the exception, the message is not displayed. Instead, the procedure is interrupted in accordance with the message type, and processing returns to the calling program. The contents of the message are placed in the system fields SY-MSGID, SY-MSGTY, SY-MSGNO, and SY-MSGV1 to SY-MSGV4.
Catching Message in the Calling Program
You can catch messages from function modules that are not sent using the RAISING addition in the MESSAGE statement by including the implicit exception ERROR_MESSAGE in the
EXCEPTIONS list of the CALL FUNCTION statement. The following conditions apply:
Type S, I, and W messages are ignored (but logged during background processing)
Type E and A messages trigger the exception ERROR_MESSAGE
Type X messages trigger the usual runtime error and short dump.
Catching messages is not currently supported for methods.
Regards,
Bhaskar -
Error message "SQL Statement ignored" while try to run an Funtion in APEX
Hello All,
In order to creating an application in APEX from CSV format i need to run below funtion.
CREATE OR REPLACE FUNCTION bcl_custom_auth (
p_username IN VARCHAR2,
p_password IN VARCHAR2)
RETURN BOOLEAN IS
BEGIN
FOR c1 IN (SELECT 1
FROM bcl_employees
WHERE UPPER(userid) = UPPER(p_username)
AND UPPER(last_name) = UPPER(p_password))
LOOP
RETURN TRUE;
END LOOP;
RETURN FALSE;
END;
but i am getting below error message:
Error at line 6: PL/SQL: SQL Statement ignored
4. RETURN BOOLEAN IS
5. BEGIN
6. FOR c1 IN (SELECT 1
7. FROM bcl_employees
8. WHERE UPPER(userid) = UPPER(p_username)
Could some body please check as i am new to PLSQL.
Thanks & regards,
Souvik Ghosh843873 wrote:
Hello Edstevens,
I did not understand your answer .Could you please elaborate.
Thanks & regards,
Souvik Ghosh
Edited by: 843873 on Jul 8, 2011 11:43 PMNotice that the message had been edited? I changed my mind from my original, shot-from-the-hip, mesage, and simply deleted the entire content. would have preferred to delete the entire message but can't. -
Error message saying a device attached to the system is not functioning
i m getting an error message saying a device attached to the system is not functioning whenever i m trying to connect my pc to my smartphone. i tried all your options like uninstalling failed updates from my update history, checking if their is any flag
in device manager option but nothing helped me.. plz solve my problem..Hi,
Could you please have a share with your phone's information?
Based on what I know, different phones may have different softwares developed by the manufacturer to make the connection through Windows operating system, we may check with the phone's manufacturer side and see if there could be some helpful information
offered.
Besides, please take a check with
Event Viewer and see if any special errors logged there.
Best regards
Michael Shao
TechNet Community Support
Maybe you are looking for
-
Problems with 1 icloud account and multiple users.
We have multiple users all on 1 icloud so we can share apps but also see what people have installed and because IT control the password its upto us what apps get installed. So in that sense this was a good idea. The problem we are having is that the
-
Export high resolution intensity Graph
Hi, I want to export the intensity graph to a high resolution image. Now i've got an image with a resolution of 72 dpi. Is it possible to set the export resolution? Regards, Bjorn Attachments: export graph image.vi 406 KB
-
Where has the bookmark property for specifying the icon gone?
In FF3 if I selected a bookmark and its properties, I was provided a field where I could specify the location on my PC for the desired icon for that bookmark. This was particularly true for specifying the icons for the Bookmarks Toolbar. I have the T
-
Xp pro drivers for compaq presario c700
Hi Could you please tell me where I can download graphics card, audio etc for win xp for the laptop compaq presario c700? Thanks,
-
Need two implementation scenarios
Hi, I am very new to this forum..have one requirement. Need two implementation scenarios depends on the document type.. when i create shopping cart with one document type it needs to trigger one and others for another scenario.. Would it be possible