DUMP IN CALL FUNCTION 'HR_INFOTYPE_OPERATION' FROM Z FUNCTION (SE37)
Hello guys!
I am executing this function and having this dump:
Short text of error message:
Chamada encaixada de PERFORM ON COMMIT: NESTED_PERFORM_
SAPLBUPA_BADI_CALL program: SAPLBUPA_BADI_CALL form: B
Technical information about the message:
Message classe...... 00
Number.............. 081
Variable 1.......... "NESTED_PERFORM_ON_COMMIT"
Variable 2.......... "caller: SAPLBUPA_BADI_CALL"
Variable 3.......... "program: SAPLBUPA_BADI_CALL"
Variable 4.......... "form: BADI_CALL"
I executed the same function in other SAP and it works without dump! i think that is in my SAP instalation.
Thanks for helping!
Hello,
I think this error is for the reason, commit work statement is executed within routine / FM which is called as 'on commit' way....
perform....on commit - means this subroutine will be executed by system at the time of commit work statement and you can not execute commit work....
Please look into Z function module logic, if no error then report back to SAP support.
Thanks
Similar Messages
-
ABAP Dump when calling Function Module Starting New Task
Hi all. I have a tricky situation now, I am doing a POC on parallel processing.
I am getting an ABAP dump on the following Call Function line which is in class lcl_steer_114numc (See below for full program):
METHOD start.
CALL FUNCTION 'Z_ZZCLS_STEER_114NUMC'
STARTING NEW TASK me->id
CALLING me->finish ON END OF TASK.
ENDMETHOD. "start
However I get the following ABAP dump:
Short text
Statement "CALL FUNCTION .. DESTINATION/STARTING NEW TASK/IN BACKGROUND TASK"
The function module only contains a wait statement to simulate parallel processing. It is strange that it dumps here, because when I change the FM call to another call that has been triggered successfully from other classes, it still produces the same ABAP dump.
The background of the Proof Of Concept is to see if I can get an event to trigger the next process that depends on the outcome of the previous process. Parallel processes are run in the start methods by calling RFC.
<Garbled code removed>
Moderator Message: Please post relevant portions of the code only.
Edited by: Suhas Saha on Jul 17, 2011 1:17 PMWell, the thing is I did manage to run 3 other Function Modules asynchronously succeesfully prior to that function call, with the same exact function call syntax. Further more, I have tried editing it with your suggestion but I get the exact same dump.
The complete function group can be downloaded here (slinkee file):
https://docs.google.com/leaf?id=0B3sua1Bw4XK4ZmFhNzcwMTgtYzQ0Mi00NzQ4LTg5YTMtNDNlNWUxYTM2NTg3&hl=en_US
The complete program can be downloaded here (slinkee file):
https://docs.google.com/leaf?id=0B3sua1Bw4XK4YWJmNjU3ODYtODRmMy00Nzg2LThkNTUtZjNkNDRhZGQ3MTUw&hl=en_US
The complete ST22 dump can be found here:
https://docs.google.com/leaf?id=0B3sua1Bw4XK4ZDU1YmFkZDAtOTU5MS00ZTgwLWFlZTktNWZhMDUxMzJlZWNl&hl=en_US
Basically I ST22 gives me the following:
Runtime Errors RPERF_ILLEGAL_STATEMENT
Date and Time 17.07.2011 05:29:54
|Short text |
| Statement "CALL FUNCTION .. DESTINATION/STARTING NEW TASK/IN BACKGROUND TASK" |
|What happened? |
| Error in the ABAP Application Program |
| |
| The current ABAP program "Z_ZZB1_CLOSE_PERIOD_TEST2" had to be terminated |
| because it has |
| come across a statement that unfortunately cannot be executed. |
And it explains it here (but is not helpful / relevant at all) as I ran the program from SE38.
|Error analysis |
| There is probably an error in the program |
| "Z_ZZB1_CLOSE_PERIOD_TEST2". |
| The program was probably called in a conversion exit |
| or in a field exit. These are implemented by |
| function modules called CONVERSION_EXIT_xxxxx_INPUT/OUTPUT or |
| USER_EXIT_xxxxx_INPUT. |
| Conversion exits are triggered during screen field transports or |
| WRITE statements, field exits during field transports from the |
| screen to the ABAP/4 program. |
| In this connection, the following ABAP/4 statements are not allowed: |
| |
I hope you try to download the slinkee files and you will notice the call function I performed was no different than the other call function RFC calls that really are working. -
Call function module in update task
Hi
I am using the follwoing logic in my prog
CALL FUNCTION 'Z_Update _Task' In update task
EXPORTING
t_vbak = t_vbak.
But the program goes to dump at call function
Please let me know if the syntax i am using is correct.
Edited by: kittu reddy on Feb 28, 2008 5:29 AMIt might be the type conflict . Please check once .
Here am giving some information abt UPDATE TASK.
Why do we use this " In Update Task " ??
The main update technique for bundling database changes in a single
database LUW is to use CALL FUNCTION... IN UPDATE TASK.
How do we Use ??
A typical R/3 installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. When an ABAP program reaches a COMMIT WORK statement, any function modules from CALL FUNCTION... IN UPDATE TASK statements are released for processing in an update work process. The dialog process does not wait for the update to finish. This kind of update is called asynchronous update.
What is the Use... ??
Asynchronous update is useful when response time from the transaction is critical, and the database updates themselves are so complex that they justify the extra system load
Thanks
Jagadeesh -
Calling java APIs from a function module
Hi,
Can someone tell me whether it is possible to call Java APIs from a function module in SAP system?
Thanks in advance,
VineethaHi,
I guess you have changed the properties of screen only.
I assume you have made a Ztransaction Code.
When you define a transaction code, you need to specify a screen number for radio option program and screen and you need to specify a screen and not subscreen.( I think so!!)
You changed only the code without changing the transaction code properties.
Therefore, i think u r getting a dump.
If you want to call your subscreen, call it in some screen and then call that screen using your transaction code properties.
To include a subscreen screen in the subscreen area of the main screen and call its PBO flow logic, use the following statement in the PBO event of the main screen:
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN <area> INCLUDING <prog> <dynp>.
To call the PAI flow logic of the subscreen screen, use the following statement in the PAI flow logic of the main screen:
PROCESS AFTER INPUT.
CALL SUBSCREEN <area>.
Refer:
http://help.sap.com/saphelp_webas630/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/content.htm
Regards,
Tanveer.
Please mark helpful answers.
Message was edited by: Tanveer Shaikh
Message was edited by: Tanveer Shaikh -
Calling a report from function module
Hi Friends,
I have requirement for Function Module i.e. we will add the button to the standard T-code and ( Function added in config ) then
Function to be called from Customizing
Program A called from customizing function
CalculationPDFFunction is called from program A.
So can any one help me the logic for "calling a report from function module ".
Thanks in Advance.
Regards,
OSReddy.
Edited by: OSReddy on Sep 23, 2011 7:31 AMHi Jaya,
Yes. It is possible to call ur custom program using SUBMIT statement.
1. If u have data to pass then build table type RSPARAMS and use below statement.
data:
rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab,
SUBMIT report1 WITH SELECTION-TABLE rspar_tab
AND RETURN.
1. If u want to create variant to the program and use that. use the below statement .
SUBMIT report1 USING SELECTION-SET 'VAR1' "variant
AND RETURN.
Regards,
Venkat.O -
How can I call a Report From database function
Hi all,
I want to call a Report from a database function. Could you hel
me???
RgdsHello there!
There is a solution for executing an executable like RWRUN60
from PL/SQL on http://asktom.oracle.com/pls/ask/f?
p=4950:8:227101::NO::F4950_P8_DISPLAYID,F4950_P8_B:150612348067,Y
Or you can invoke the CGI from the Reports-Server through
UTL_HTTP
Hope this helps
Dannys -
Calling a procedure from Calculation View with Debug function
Is it possible to call a debuggable hana procedure in a calculation view?
I just saw the video HANA Academy - HANA Native Development Workshop: SQL Script Editor - YouTube for HANA Native Development workshop and got the debug functionality to work for a file Procedure.
But I am unable to call this procedure from a Calculation View.
Below is the code I am using for the SQLScript Calculation View. Can someone tell me if this is correct?
/********* Begin Procedure Script ************/
BEGIN
call "_SYS_BIC"."test-package.RF.SalesOrders.procedures/get_sls_ordtype"(SalesDocNo => '0070004105', SalesDocTypes => ?) ;
var_out = CE_PROJECTION(:SalesDocTypes, ["SALESDOCNO" , "SALESDOCTYPE", "ORDVALUE"] );
END /********* End Procedure Script ************/Hello,
Just provide the out parameter in the call:
Declare
amount number; -- OUT number argument populated by the procedure
Begin
-- call the X procedure --
x( amount ) ;
End;Francois -
i am trying to generate purchase order and i create a BAPI also which is active.
But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)".Hi,
Yeah i tried my Z_BAPI in R3 and then giving some ERROR.
This is my CODE-
FUNCTION ZBAPIPOTV2.
*"*"Local Interface:
*" IMPORTING
*" VALUE(POHD) TYPE ZPOHD OPTIONAL
*" VALUE(POITEM) TYPE ZPOITEM OPTIONAL
*" TABLES
*" RETURN STRUCTURE BAPIRET1 OPTIONAL
data: ls_pohd type bapimepoheader,
ls_pohdx TYPE bapimepoheaderx,
lt_poit TYPE TABLE OF bapimepoitem,
lt_poitx TYPE TABLE OF bapimepoitemx,
ls_poit TYPE bapimepoitem,
ls_poitx TYPE bapimepoitemx.
MOVE-CORRESPONDING pohd to ls_pohd.
MOVE-CORRESPONDING poitem to ls_poit.
ls_pohdx-comp_code = 'x'.
ls_pohdx-doc_type = 'x'.
ls_pohdx-vendor = 'x'.
ls_pohdx-purch_org = 'x'.
ls_pohdx-pur_group = 'x'.
ls_poit-po_item = '00010'.
APPEND ls_poit to lt_poit.
ls_poitx-po_item = '00010'.
ls_poitx-po_itemx = 'x'.
ls_poitx-material = 'x'.
ls_poitx-plant = 'x'.
ls_poitx-quantity = 'x'.
APPEND ls_poitx to lt_poitx.
CALL FUNCTION 'BAPI_PO_CREATE1'
EXPORTING
POHEADER = ls_pohd
POHEADERX = ls_pohdx
* POADDRVENDOR =
* TESTRUN =
* MEMORY_UNCOMPLETE =
* MEMORY_COMPLETE =
* POEXPIMPHEADER =
* POEXPIMPHEADERX =
* VERSIONS =
* NO_MESSAGING =
* NO_MESSAGE_REQ =
* NO_AUTHORITY =
* NO_PRICE_FROM_PO =
* PARK_COMPLETE =
* PARK_UNCOMPLETE =
* IMPORTING
* EXPPURCHASEORDER =
* EXPHEADER =
* EXPPOEXPIMPHEADER =
TABLES
RETURN = return
POITEM = lt_poit
POITEMX = lt_poitx
* POADDRDELIVERY =
* POSCHEDULE =
* POSCHEDULEX =
* POACCOUNT =
* POACCOUNTPROFITSEGMENT =
* POACCOUNTX =
* POCONDHEADER =
* POCONDHEADERX =
* POCOND =
* POCONDX =
* POLIMITS =
* POCONTRACTLIMITS =
* POSERVICES =
* POSRVACCESSVALUES =
* POSERVICESTEXT =
* EXTENSIONIN =
* EXTENSIONOUT =
* POEXPIMPITEM =
* POEXPIMPITEMX =
* POTEXTHEADER =
* POTEXTITEM =
* ALLVERSIONS =
* POPARTNER =
* POCOMPONENTS =
* POCOMPONENTSX =
* POSHIPPING =
* POSHIPPINGX =
* POSHIPPINGEXP =
* SERIALNUMBER =
* SERIALNUMBERX =
* INVPLANHEADER =
* INVPLANHEADERX =
* INVPLANITEM =
* INVPLANITEMX =
ENDFUNCTION.
i am trying to generate purchase order and i create a BAPI also which is active. But when i call the BAPI from SYbase Mobile Object RFC then after calling it gives an Error "Conflict when calling a Function Module (Field Length)". -
Call functions in parent(?) from popup window(?)
I'm not sure the terms parent or window in flex 4.
I want to call functions in parent from parent window.
it seems to be hard.
Help me please.
Thanks in advance.
========================== index.mxml ==========================
(root element : <mx:Application> - xmlns:mx="http://www.adobe.com/2006/mxml")
has Main.mxml in it
========================== Main.mxml ==========================
(root element : <s:NavigatorContent> - xmlns:s="library://ns.adobe.com/flex/spark" )
public function functInMain():void
//do something
protected function dataGrid_itemDoubleClickHandler(event:ListEvent):void
var arr:ArrayCollection = event.currentTarget.dataProvider;
var titleWindowInstance:Popup =
Popup(PopUpManager.createPopUp(this,
Popup,
true));
titleWindowInstance.rowData = arr.getItemAt(event.rowIndex);
PopUpManager.centerPopUp(titleWindowInstance);
========================== Popup.mxml ==========================
protected function buttonClickedInpopup():void
Application.application.parentDocument.functInMain(null);//<<- here I want to correctThanks.
Your callback function works ok
why calling public functin won't work?
here are neet examples.
index.mxml : front page
SearchEvents.mxml : inside index.mxml
UpdateEvent.mxml : poped up from SearchEvents.mxml
========index.mxml===========
<?xml version="1.0" encoding="utf-8"?>
<mx:Application pageTitle="CA Management"
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:i="test.*"
width="100%" height="100%" creationComplete="application1_creationCompleteHandler(event)" >
<mx:Script>
<![CDATA[
import mx.events.FlexEvent;
protected function application1_creationCompleteHandler(event:FlexEvent):void
myViewstack.selectedIndex = 0;
]]>
</mx:Script>
<mx:ViewStack width="100%" height="100%" id="myViewstack">
<s:NavigatorContent id="EventManagement" label="Event Management"><i:SearchEvents x="0" y="0"/></s:NavigatorContent>
</mx:ViewStack>
</mx:Application>
========SearchEvents.mxml=========
<?xml version="1.0" encoding="utf-8"?>
<s:NavigatorContent xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
x="113" y="163"
height="100%" width="750">
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;
import mx.events.FlexEvent;
import mx.events.ListEvent;
import mx.managers.PopUpManager;
import mx.rpc.events.ResultEvent;
public function parentFunction(param:String):void{
Alert.show("parent function called with " + param);
protected function btnSearch_clickHandler(event:MouseEvent):void
var titleWindowInstance:UpdateEvent =
UpdateEvent(PopUpManager.createPopUp(this,
UpdateEvent,
true));
PopUpManager.centerPopUp(titleWindowInstance);
]]>
</fx:Script>
<s:Button x="637" y="70" label="Popup" id="btnSearch" click="btnSearch_clickHandler(event)"/>
</s:NavigatorContent>
========UpdateEvent.mxml=====
<?xml version="1.0" encoding="utf-8"?>
<mx:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
xmlns:incl="incl.*"
showCloseButton="false"
title="Update Event" width="432" height="500"
xmlns:subscription="services.subscription.*"
xmlns:core="services.core.*"
horizontalAlign="left" xmlns:vo="vo.*"
>
<fx:Script>
<![CDATA[
import mx.core.Application;
protected function parentFunctionCall(event:MouseEvent):void
Application.application.parentFunction("param from popup");
]]>
</fx:Script>
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.controls.Alert;
import mx.controls.dataGridClasses.DataGridColumn;
import mx.core.Application;
import mx.events.FlexEvent;
import mx.formatters.*;
import mx.managers.PopUpManager;
import popup.*;
[Bindable] public var rowData:Object ;//to get the parent row
]]>
</fx:Script>
<s:Button label="parentFunctionCall" id="btnPar" click="parentFunctionCall(event)"/>
</mx:TitleWindow> -
Computer name in R3 when call function RFC from CRM to R3
Hi all,
i nead the computer name in R3 when I come to R3 from CRM .
In R3 i call function 'TERMINAL_ID_GET' in R3 but I don't retrieve the computer name.
i tried also to call function 'TERMINAL_ID_GET' in destination 'CRM' but I don't retrieve the computer name.
The code in R3:
CALL FUNCTION 'TERMINAL_ID_GET' DESTINATION 'R3GETCRM'
EXPORTING
username = sy-uname
IMPORTING
terminal = l_terminal_usr41
EXCEPTIONS
multiple_terminal_id = 1
no_terminal_found = 2
OTHERS = 3.
This function works ok when i call her direct from R3 or direct from CRM,
but not give me in R3 the computer name when i came to R3 From CRM.
Thanks for your cooperation.
danythats because 'TERMINAL_ID_GET' is not a RFC (check the attributes tab of the FM from SE37)
if you dont find a RFC to do t his you can wrap this FM with a custom RFC and use it.
if you want all the logged on users info (computer name and other info) then you can use THUSRINFO FM which a RFC
Raja -
Call function in external .js from stage.onCompletion
I have my edge composition, and some functions in sim.js
within the stage.onCompletion event, I have:
$("<script type='text/javascript' src='sim.js'></script>").appendTo("#Stage");
how can I call functions, e.g. "testMe()" that are in sim.js from within the stage.onCompletion event?
$("testMe()"); was my first thought, but no. what am I missing?Lloydie maybe you can help me with this similar problem here (i think it is similar)
I am uncertain that i can use "transform" in edge, transform belongs to jquery.transform.js library. I am particulalry interested in animate({transform:.... to animate rotation and scales.
Can I call the transform.js into the stage like the way you called your custom .js?
Can we import additional libraries ? -
What is the syntax for calling function from class file by jsp
does anyone here knows what is the syntax of how to call a function from java class file by javascript code or any way to call it?
and where should i put the calling function code? because the function is called depend on the user click.
for example
<%=pc.functionName(a,b)%>
for the variable a and b, how can i get the value from html textbox and put it in a and b...
urgent needed...
thxJsp's are executed before the Html forms are created and loaded. Dont try to use a java code function calling on a javascript click. You'll have to explicitly redirect it into a servlet where in you can call the function you want.
Well! another way could be using AJAX. That seems to be powerfull enough and it might also serve your purpose.
Hope this helps -
CALL function to extract data from a structure table
Hi Gurus,
Anyone knows how to write a call function to extract data from a structure table?
Your help is very much appreciated.
Thanks alot.Hi,
structure doesnot hold any data. instead of it you can check the stucture in which table it is used, find the table name,use select query to extract the data u needed.
you can use where used list option to find the structure in which table it is used.
regards
siva -
How to call function module from IP
Hi
I need to trigger the process chain from the input ready queries in Bex analyzer. I figured out that I need to call RSPC_API_CHAIN_START.
How do we go about in calling the above function module in IP.
Thanks in advance
IHi Matt
Thanks for your response, it was very productive at the right time as we saw our process chain running indefinetly. With selecting all chars to be changed, it ran just once with no errors.
what is TA ? I know rsplan- transaction code for the planning modeler.
Can you tell me how can we call function module in custom exit planning function.
Where should I embed the code
CALL FUNCTION 'RSPC_API_CHAIN_START'
EXPORTING
I_CHAIN = 'ZPC_CCATOPCA'.
I_T_VARIABLES =
I_SYNCHRONOUS =
I_SIMULATE =
I_NOPLAN =
IMPORTING
E_LOGID =
EXCEPTIONS
FAILED = 1
OTHERS = 2
thanks in advance -
HOW TO CALL FUNCTION MODULE FROM ABAP4 EDITOR
HI !
friends
I want to call function module from abap 4 editor.
is there any shortcut key from edit menu through which if give a function module name then it calls the function automatically?
points will be awarded.
Cheers
troycommand will be like this
<b> call function 'YW2_GET_MNW_PERIOD'
exporting
w_budat = v_datum
importing
w_period = i_date-period
w_period_desc = i_date-p_desc.</b>
Regards
prabhu
Maybe you are looking for
-
Hi all, first post. We are having a rather difficult time with Oracle Support around here, and we have finally decided to support our installation by ourselves. Last week he had an issue where our Web catalog was corrupt (BI Presentation didn't start
-
Font book disables Verdana fonts
for some reason, every time I enable all the Verdana fonts - stored in in /Library/fonts - to start Illustrator (17.10), three of the four are disabled by the next time I try to use Illustrator. I have a couple of versions of Suitcase installed, but
-
Is there a property for mixed signal graphs to control Y scrollbar visibility​?
Anyone know if it's possible? I can control the X-scale scrollbar visibility with a property but can't find one for Y-scale and have to do it from the front panel 'Visible Items > Y Scrollbar' context menu. I'd like to be able to configure it at runt
-
PsE Trial Installation Question
I cant install photoshop element trial on mack [Title was edited for clarity - Hunt]
-
Problems deploying an icefaces 1.8.2 application in weblogic 12
Good morning, I'm having several problems when I'm trying to launch an application in weblogic 12 developed with icefaces 1.8.2. The application was developed under Netbeans 7.0.1 and for Glassfish use initially, but now I'm trying to run it under We