Facing issue with tRFC (CALL FUNCTION in BACKGROUND TASK DESTINATION
In transcation CJ20N there is aBADI call ZCL_IM_CL_IM_PROJ_UPDATE in which there is a method
IF_EX_PROJECTDEF_UPDATE~AT_SAVE. My requirement is that when the status of the project is changed and saved then after the SAVE some actions are to be performed (BDC for transcation CJ30 & CJ9FS are to be called).
Since this method is called AT SAVE and i need to call the bdc after the comit (of SAVE) is done. So I have made a RFC FM in which I am calling the bdc. and then calling the FM as
CALL FUNCTION <FM> in BACKGROUND TASK DESTINATION <sy-sysid>.
For the txn. CJ9FS bdc this method is working fine and bdc is called after SAVE but for txn. CJ30, at times,the bdc is not working though if I run the BDC FM seperately using SE37 then its working fine.
Can any body guide me where I am going wrong.
The scenario works fine for me. The issue was unable to create a proper test condition in the RFC.
CALL FUNCTION 'ZMY_RFCASYNC'
IN BACKGROUND TASK
EXPORTING...
TABLES...
EXCEPTIONS...
Simulated error condition in 'ZMY_RFCASYNC'
and got entry in SM58 by simply making an exception.
Thank you all.
Similar Messages
-
Save Order - Call function in background Task
Hi all,
I have written a function module which is called in order save Badi and copies the system status on the Master contract to the sub contracts.
This works fine but when I call this function in background task the status is not getting copied over.For testing I have created a program similar to function module and scheduled that in background and this was working as required.
Can someone please let me know if I missed out anything or how can i resolve this issue.
Any inputs in this regard would be very helpful.
Thanks and regards,
VijayHi Heinz,
You can check the result in SM58 transaction.
For more information pls. refer this thread :
No IMPORTING parameters allowed in CALL FUNCTION IN BACKGROUND TASK
Best regards,
Prashant -
Call function in background task... How to get the result?
I want to use Call function in background task parameter.
But I cannot find the result of this function. (No export parameter, no table result, no exception)
How to get the result of this function module? Correct or not?Hi Heinz,
You can check the result in SM58 transaction.
For more information pls. refer this thread :
No IMPORTING parameters allowed in CALL FUNCTION IN BACKGROUND TASK
Best regards,
Prashant -
Call Function in Background Task
Hi all,
I have written a method in which I call a function in background task, I would like to perform a task after the function has ended succesfully. this is possible with the addition PERFORMING 'next_task' ON END OF TASK.
This is sadly not possible in a global class.
How can I get info back on the state of the function in the background?
greetings Fred.Hi,
try using export import statement in FM
call function ...
flay = 'Y'.
export flag to memory id 'TESt'
endfunction
import flag from memory id 'TEST'.
if flag = 'Y'.
perform next_task.
endif.
Regards
amole -
CALL FUNCTION IN BACKGROUND TASK - enable tRFC
Hi Experts,
I want to call a Remote Function module 'IN bACKGROUND TASK' and get the status in SM58 within the same AS. Kindly help me to do this.
Requirement is to call the remote function module asynchronously in a guarentied way.
Thank you
NikhilThe scenario works fine for me. The issue was unable to create a proper test condition in the RFC.
CALL FUNCTION 'ZMY_RFCASYNC'
IN BACKGROUND TASK
EXPORTING...
TABLES...
EXCEPTIONS...
Simulated error condition in 'ZMY_RFCASYNC'
and got entry in SM58 by simply making an exception.
Thank you all. -
Call function IN BACKGROUND TASK don't work
Hello,
I've a interface RFC to JDBC asyncronous.
When i call function in R3 (IN BACKGROUND TASK), sy-subrc = 0, however i don't see any message in SXMB_MONI and runtime workbench.
The CC sender (for RFC) is OK,
what happen?
thanks very muchHave this code after your call function:
CALL FUNCTION 'START_OF_BACKGROUNDTASK'
EXPORTING
STARTDATE = SY-DATUM
STARTTIME = TIME
EXCEPTIONS
OTHERS = 1.
IF SY-SUBRC = 1.
EXIT.
ENDIF.
COMMIT WORK.
Also, if you want to call your RFC function module in async mode, you can try
Call function '<fm name>' in update task....
Regards,
Ravi Kanth Talagana -
CALL FUNCTION STARTING NEW TASK DESTINATION
Hi All,
I have tried to use CALL FUNCTION 'ZWHV_TEST' STARTING NEW TASK 'TEST' DESTINATION 'NONE' But it didnt work.
Please explain me to use above statement and detail me more about NEW TASK 'TEST'.
How to declare TEST in new task ?
Thanks ,
Vinay.>
Vinay parakala wrote:
> ...But it didnt work.
Moderator message - Give more information please in a new thread - post locked -
COMMUNICATION_FAILURE in CALL FUNCTION STARTING NEW TASK/Background task
Hi friends,
I am trying to use a FM in a Print Program (when user prints a document), using
CALL FUNCTION STARTING NEW TASK 'TASK' DESTINATION 'NONE'.
The program is triggered from VL02N tcode.
But it's giving an exception - COMMUNICATION_FAILURE. Message is Error when opening an RFC connection
I also tried
CALL FUNCTION IN BACKGROUND TASK as Separate Unit
then error message pops up - Database error when recording transactional RFC
We are attaching a PDF file of the print to content server within this function module and because the "attaching" takes a while, this part needs to be detached from the print program so that we can avoid performance issue.
I can't figure out the issue. i gues this is happening because print program is already running in Update task. I also tried with RFC enabled FM. Please help me resolve/understand the issue.
Appreciate your help.
Regards,
Ronjan.Hi Ronjan,
COMMUNICATION_FAILURE. Message is Error when opening an RFC connection
I guess the reason for the above is that every RFC call synchronous/Asynchronous issues a DB COMMIT and we cannot have DB COMMITs in the V1/V2 updates, please go through the link below.
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/23/e9aa61638e404d81575e939b5cd847/frameset.htm
Now, the possible solutions i can think of are,
1) Call the FM in update task delayed start and try.
2) Or create a report program and use SUBMIT (look at the job options as well).
@Mainak
3. Write a statement COMMIT WORK AND WAIT. This will actually invoke the FM
Mainak, this will lead to a Update termination, as the program is running in an update task.
Regards,
Chen -
CALL FUNCTION IN BACKGROUND UNIToref.
Hi All,
Please tell me the method how to use FM IN Backgorund job(only IN BACKGROUND UNIToref)
CALL FUNCTION IN BACKGROUND UNIToref.
it would be better if give practical example.
Regards,
Anuj jainHi Heinz,
You can check the result in SM58 transaction.
For more information pls. refer this thread :
No IMPORTING parameters allowed in CALL FUNCTION IN BACKGROUND TASK
Best regards,
Prashant -
'Missing parameter with PERFORM' error with a function IN BACKGROUND TASK
I am getting this error when calling a custom function in MIGO user exit ZXMBCU01. When I remove the 'IN BACKGROUND TASK' the function works fine and there are no error messages. When using 'IN BACK...' you can't debug within it to see where the message comes from. I see the message with SM58. I am working in an sap 4.7 environment. I have not found any solutions from google searches.
Here is the statement within ZXMBCU01:
CALL FUNCTION 'Z_UPDATE_MATERIAL_AVAIL_STATUS' IN BACKGROUND TASK
EXPORTING
work_order = xmseg-aufnr.
Here is the code for the function:
FUNCTION Z_UPDATE_MATERIAL_AVAIL_STATUS.
""Update function module:
""Local interface:
*" IMPORTING
*" VALUE(WORK_ORDER) LIKE AUFK-AUFNR DEFAULT '0000000000'
TABLES: eban, resb, aufk.
-Global Types----
TYPES: BEGIN OF t_data,
rsnum TYPE resb-rsnum,
rspos TYPE resb-rspos,
aufnr TYPE resb-aufnr, "Order Number
bdmng TYPE resb-bdmng, "Requirement Quantity
enmng TYPE resb-enmng, "Quantity withdrawn
bsmng TYPE eban-bsmng, "Quantity ordered against this purchase requisition
END OF t_data.
DATA: gt_data TYPE t_data OCCURS 0,
ga_data TYPE t_data.
-Global Variables----
DATA: gv_refused TYPE BAPIFLAG-BAPIFLAG,
gs_caufvd TYPE caufvd,
g_text TYPE t100-text,
gv_objnr LIKE aufk-objnr,
gv_status LIKE bsvx-sttxt,
gv_trig_stat TYPE c.
TABLES RETURNED FROM BAPI
DATA: BEGIN OF xreturn OCCURS 0.
INCLUDE STRUCTURE bapiret2.
DATA: END OF xreturn.
SELECT SINGLE objnr FROM aufk
INTO gv_objnr
WHERE aufnr = work_order.
CALL FUNCTION 'STATUS_TEXT_EDIT'
EXPORTING
flg_user_stat = 'X'
objnr = gv_objnr
only_active = 'X'
spras = sy-langu
IMPORTING
line = gv_status.
IF ( gv_status CS 'REL' ) AND
( gv_status NS 'NMAT' AND gv_status NS 'CNF' AND gv_status NS 'CLSD' AND
gv_status NS 'TECO' AND gv_status NS 'DLFL' ).
SELECT SINGLE *
FROM AUFK
WHERE aufnr = work_order AND
( auart = 'PM01' OR
auart = 'PM02' OR
auart = 'PM03' OR
auart = 'PM99' ).
IF sy-subrc = 0.
SELECT resbrsnum resbrspos resbaufnr resbbdmng resbenmng ebanbsmng
INTO CORRESPONDING FIELDS OF ga_data
FROM resb LEFT JOIN eban
ON resbrsnum = ebanarsnr AND
resbrspos = ebanarsps
WHERE resb~aufnr = work_order AND
resb~bdmng > 0.
SELECT rsnum rspos aufnr bdmng enmng
INTO CORRESPONDING FIELDS OF ga_data
FROM resb
WHERE aufnr = work_order
AND bdmng > 0.
SELECT SINGLE bsmng
INTO ga_data-bsmng
FROM eban
WHERE arsnr = ga_data-rsnum
AND arsps = ga_data-rspos.
IF sy-subrc <> 0.
CLEAR ga_data-bsmng.
ENDIF.
IF ga_data-bdmng = ga_data-enmng OR
ga_data-bdmng = ga_data-bsmng.
"update status - but all items must pass
ELSE.
gv_trig_stat = 'N'.
EXIT. "status won't change so get out now
ENDIF.
ENDSELECT.
IF ga_data~bdmng > 0.
IF ga_data-bdmng = ga_data-enmng OR
ga_data-bdmng = ga_data-bsmng.
IF gv_trig_stat <> 'N'.
CALL FUNCTION 'CO_IH_USERSTATUS_SET'
EXPORTING
I_AUFNR = ga_data-aufnr "'000005000263'
I_USR_STAT_INT = 'E0002'
I_USR_STAT_EXT =
I_SET_INACTIVE =
I_BUF_READ =
I_SPRAS = sy-langu
IMPORTING
E_CHNG_REFUSED = gv_refused
E_CAUFVD = gs_caufvd
TABLES
RETURN = xreturn.
LOOP AT xreturn
WHERE type = 'E'.
ENDLOOP.
IF sy-subrc <> 0.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
RETURN.
ELSE.
READ TABLE xreturn INDEX 1.
CALL FUNCTION 'PI_BP_GET_MESSAGE_TEXT'
EXPORTING
iv_message_id = xreturn-id
iv_message_type = xreturn-type
iv_message_number = xreturn-number
iv_message_v1 = xreturn-message_v1
iv_message_v2 = xreturn-message_v2
iv_message_v3 = xreturn-message_v3
iv_message_v4 = xreturn-message_v4
IMPORTING
ev_message_text = g_text.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDSELECT.
ENDIF.
ENDIF.
ENDFUNCTION.
Does anyone have any ideas? Thank you very much in advance.
Glenn Allen
Software Architect (specializing in SAP)I'd be starting a process of elimination... perhaps start with an "exit." right after
SELECT SINGLE objnr
FROM aufk
INTO gv_objnr
WHERE aufnr = work_order.
exit. "leave FM NOW
and if that doesn't crash, work down the code down the code in the function e.g. comment out the BAPI_commit call... and / or build a little test harness report to call the Z function in background task... btw, does the ST22 dump point to anything more specific...? -
Facing issues with oracle client installation 32 bit 10.2.0.1
Hi ,
I am facing issues with oracle client installation 32 bit 10.2.0.1
Windows 2008 R2 enterprise edition 64 bit
Java 1.6 update 34
Below is the error recieved:
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x8079055
Function=[Unknown.]
Library=C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\client\jvm.dll
NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.
Current Java thread:
at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(Native Method)
at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(OiipwWin32NativeCalls.java:516)
at oracle.sysman.oii.oiip.osd.win32.OiipwWin32NativeCalls.RegSetValue(OiipwWin32NativeCalls.java:473)
at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.setInstallerKey(OiipgBootstrap.java:511)
at oracle.sysman.oii.oiip.oiipg.OiipgBootstrap.updateInventoryLoc(OiipgBootstrap.java:418)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.doInvSetupOperations(OiicSessionInterfaceManager.java:401)
at oracle.sysman.oii.oiic.OiicInvSetupWCCE.doOperation(OiicInvSetupWCCE.java:217)
at oracle.sysman.oii.oiif.oiifb.OiifbCondIterator.iterate(OiifbCondIterator.java:171)
at oracle.sysman.oii.oiic.OiicPullSession.doOperation(OiicPullSession.java:1273)
at oracle.sysman.oii.oiic.OiicSessionWrapper.doOperation(OiicSessionWrapper.java:289)
at oracle.sysman.oii.oiic.OiicInstaller.run(OiicInstaller.java:547)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:935)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:872)
Dynamic libraries:
0x00400000 - 0x0040B000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\javaw.exe
0x77C60000 - 0x77DE0000 C:\Windows\SysWOW64\ntdll.dll
0x75AB0000 - 0x75BC0000 C:\Windows\syswow64\kernel32.dll
0x77420000 - 0x77467000 C:\Windows\syswow64\KERNELBASE.dll
0x77370000 - 0x77410000 C:\Windows\syswow64\ADVAPI32.dll
0x76610000 - 0x766BC000 C:\Windows\syswow64\msvcrt.dll
0x75DD0000 - 0x75DE9000 C:\Windows\SysWOW64\sechost.dll
0x776E0000 - 0x777D0000 C:\Windows\syswow64\RPCRT4.dll
0x757C0000 - 0x75820000 C:\Windows\syswow64\SspiCli.dll
0x757B0000 - 0x757BC000 C:\Windows\syswow64\CRYPTBASE.dll
0x77470000 - 0x77570000 C:\Windows\syswow64\USER32.dll
0x764F0000 - 0x76580000 C:\Windows\syswow64\GDI32.dll
0x77C30000 - 0x77C3A000 C:\Windows\syswow64\LPK.dll
0x75820000 - 0x758BD000 C:\Windows\syswow64\USP10.dll
0x74EA0000 - 0x74EEC000 C:\Windows\system32\apphelp.dll
0x6EF10000 - 0x6EF9D000 C:\Windows\AppPatch\AcLayers.DLL
0x76720000 - 0x7736A000 C:\Windows\syswow64\SHELL32.dll
0x761D0000 - 0x76227000 C:\Windows\syswow64\SHLWAPI.dll
0x76350000 - 0x764AC000 C:\Windows\syswow64\ole32.dll
0x75F30000 - 0x75FBF000 C:\Windows\syswow64\OLEAUT32.dll
0x74660000 - 0x74677000 C:\Windows\system32\USERENV.dll
0x74650000 - 0x7465B000 C:\Windows\system32\profapi.dll
0x74340000 - 0x74391000 C:\Windows\system32\WINSPOOL.DRV
0x74570000 - 0x74582000 C:\Windows\system32\MPR.dll
0x6E8B0000 - 0x6EAC8000 C:\Windows\AppPatch\AcGenral.DLL
0x6EFA0000 - 0x6F020000 C:\Windows\system32\UxTheme.dll
0x6F060000 - 0x6F092000 C:\Windows\system32\WINMM.dll
0x74840000 - 0x7484F000 C:\Windows\system32\samcli.dll
0x6F0D0000 - 0x6F0E4000 C:\Windows\system32\MSACM32.dll
0x74C80000 - 0x74C89000 C:\Windows\system32\VERSION.dll
0x6F340000 - 0x6F343000 C:\Windows\system32\sfc.dll
0x6F260000 - 0x6F26D000 C:\Windows\system32\sfc_os.DLL
0x6F040000 - 0x6F053000 C:\Windows\system32\dwmapi.dll
0x758C0000 - 0x75A5D000 C:\Windows\syswow64\SETUPAPI.dll
0x75C90000 - 0x75CB7000 C:\Windows\syswow64\CFGMGR32.dll
0x77570000 - 0x77582000 C:\Windows\syswow64\DEVOBJ.dll
0x75DF0000 - 0x75F27000 C:\Windows\syswow64\urlmon.dll
0x775A0000 - 0x77695000 C:\Windows\syswow64\WININET.dll
0x75FD0000 - 0x761CF000 C:\Windows\syswow64\iertutil.dll
0x76230000 - 0x7634E000 C:\Windows\syswow64\CRYPT32.dll
0x75FC0000 - 0x75FCC000 C:\Windows\syswow64\MSASN1.dll
0x6F0C0000 - 0x6F0C6000 C:\Windows\system32\SHUNIMPL.DLL
0x6F030000 - 0x6F03D000 C:\Windows\system32\SortServer2003Compat.dll
0x75CC0000 - 0x75D20000 C:\Windows\system32\IMM32.DLL
0x75BC0000 - 0x75C8C000 C:\Windows\syswow64\MSCTF.dll
0x08000000 - 0x08138000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\client\jvm.dll
0x10000000 - 0x10007000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\hpi.dll
0x003F0000 - 0x003FE000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\verify.dll
0x007B0000 - 0x007C9000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\java.dll
0x007D0000 - 0x007DE000 C:\Users\ADMINI~1\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\zip.dll
0x051D0000 - 0x052E2000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\awt.dll
0x052F0000 - 0x05341000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\fontmanager.dll
0x6E7C0000 - 0x6E8A7000 C:\Windows\system32\ddraw.dll
0x6F020000 - 0x6F026000 C:\Windows\system32\DCIMAN32.dll
0x75DA0000 - 0x75DCD000 C:\Windows\syswow64\WINTRUST.dll
0x6E6F0000 - 0x6E7BC000 C:\Windows\system32\D3DIM700.DLL
0x05770000 - 0x05793000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\JavaAccessBridge.dll
0x007E0000 - 0x007E5000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\jawt.dll
0x007F0000 - 0x007F7000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\JAWTAccessBridge.dll
0x06340000 - 0x06359000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\oui\lib\win32\oraInstaller.dll
0x06470000 - 0x0648E000 C:\Users\Administrator\AppData\Local\Temp\2\OraInstall2013-08-22_02-41-00PM\jre\1.4.2\bin\jpeg.dll
0x776B0000 - 0x776DA000 C:\Windows\syswow64\imagehlp.dll
0x6E600000 - 0x6E6EB000 C:\Windows\syswow64\dbghelp.dll
0x776A0000 - 0x776A5000 C:\Windows\syswow64\PSAPI.DLL
Heap at VM Abort:
Heap
def new generation total 704K, used 90K [0x10010000, 0x100d0000, 0x10770000)
eden space 640K, 13% used [0x10010000, 0x10026448, 0x100b0000)
from space 64K, 2% used [0x100c0000, 0x100c07a8, 0x100d0000)
to space 64K, 0% used [0x100b0000, 0x100b0000, 0x100c0000)
tenured generation total 8436K, used 5698K [0x10770000, 0x10fad000, 0x16010000)
the space 8436K, 67% used [0x10770000, 0x10d00a40, 0x10d00c00, 0x10fad000)
compacting perm gen total 12288K, used 12049K [0x16010000, 0x16c10000, 0x1a010000)
the space 12288K, 98% used [0x16010000, 0x16bd47a0, 0x16bd4800, 0x16c10000)
Local Time = Thu Aug 22 14:42:03 2013
Elapsed Time = 40
# HotSpot Virtual Machine Error : EXCEPTION_ACCESS_VIOLATION
# Error ID : 4F530E43505002EF
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
Thanks10.2.0.1 is not supported/certified on Win 2008, so expect issues with the install and/or with using the software.
Why cannot you use a supported version - minimum is 10.2.0.4, which is only available to customers with an Extended Support contract
http://docs.oracle.com/cd/B19306_01/relnotes.102/b14264/toc.htm#BABGFAJI
HTH
Srini -
I am facing issues with my music on my iOS device. I have five devices connected to my apple id. And out of which a Windows Machine and iPhone is not able to sync the purchased songs on the the Windows machine and the iPhone. The iPhone4 shows the songs are not supported and on the Windows Machine the songs do not play completely. Can anyone advice what could have gone wrong ? Because rest of the devices are synced to MacBook and they are able to sync the content normally. I have even subscribed to iTunes Match but the problem is still not fixed.
Firstly... a little Clarity...
Devices refer to iDevices... iPod... iPhone... iPad. .. Not Computers.
Authoriation applies ONLY to Computers... of which there is a Limit of 5 per Apple ID.
If the issue is with iTunes on your Windows Computer... Perhaps you need to Re-install iTunes...
See Here... to Uninstall and Re-Install iTunes...
http://www.apple.com/support/itunes/install/ -
Having issues with phone calls on my new phone.
Having issues with phone calls on my new phone. Other user is hearing echoes or nothing at all. This seems to be a common issue on here. VERY annoying! Anything seem to fix this problem?
I had similar issues - Turns out it was a hardware problem or bad antennae - Call the tech support number and they can do some testing to determine the issue. They might be able to give you a replacement if you do it quickly.
-
Is anyone facing issues with the iphone5 camera
Is anyone facing issues with the iphone5 camera
Demo wrote:
Posting the details takes all of the fun out of guessing, and I feel like I have been guessing for two days now. Must be an epidemic.
Sorry to go OT.
Does seem to be a bit of an epidemic of posters thinkng we are all John Edwards clones -
Parallel Processing Issue : call function starting new task
Hi
I am using the parallel processing functionality using the call function new task destination in group default Performing on end of task inside a loop ( i am splitting the internal table )
However when i am debugging the code, i am able to see the function module( it opens a new session in debugging ) , and i see that new task is started after the RFC Function module is executed .
How is this parallel processing ? I mean the new task starts after control returns back to main program , after the execution of the RFC FM.
I thought the idea was to have the same FM executing in multi threads. So that time is saved.Thanks for the answers.
There were too many complications in the 'call function in new task ' option.
So we are trying it with the job submit option. So we are splitting up the data into smaller tables and submiting it with this statement : Submit 'prog' with selection-table 's_sel' via job 'job' and return .
Thanks
Maybe you are looking for
-
A big thank you to the person who said to go to edit/preferences/advanced tab. That helped. My external hard drive is a passport. I know I have it , I just can't findit. Not in control panel or desk top. I don't know how they named it. Please
-
Statement not printing in language other than English
hi, In script, there is one statement 'Billing Address' to be printed as it is. It is declared as standard paragraph(AS). In English o/p it's printing where as language selected as DE, the same is not printing.
-
Sxmb_moni shows the returning string as a big string of letter 'A'
Hello Friends I am using the following scenario An outside application sends a huge variable string of data via XI using SOAP adapter. XI inturn using RFC and a ZBAPI writes this into a table. On the table side I am using the datatype 'VARILRAW' and
-
My ipod isnt fixed in my country..
hello.. my ipod was in plug and its plug suddenly sparked.. and then its main board was failed.. and in my country,Iran there isnt any appstore.. what i do? please help me.. thanks.
-
How do I send strings over a TCP/IP LAN N/W
I want to send string information over LANs which can be viewed on Hyperterminal in PCs on the N/W Pls help me out Solved! Go to Solution.