Rfc - controlled execution.
Hi,
I connect to sap system using adaptive rfc in web dynpro to execute certain bapis.(portal , web dynrpo and sap r3 are on three different systems).
All is fine except for one bapi, which we know has a problem and takes around 30 minutes to execute
(I executed this bapi directly in the r3 and confirmed this) for certain input parameters.
When this bapi is invoked from my web dynpro application , the web dispathcer times out after 60 seconds as it did not receive any response from the WAS.No problem with this...
But after this ..all subsequent navigations or requests to the WAS fails with similar connection timeout message and nothing works for the user.
I guess the non performing bapi which was invoked by the user is the cause and is still executing in the backgroud on web dynrpo engine and on the sap r3 and causing futher requests to fail.
My question is: Is there a way I can control the model.execute() in the web dynpro code by specifying a time in secs for example ..so that web dynpro can terminate the execution after waiting for certain time
and report it with an exception or error.
(I guess there should be some way to deal as web dynrpo is single threaded and due to bapi not performing the entire user session goes for a toss)..
Or any other way this can be dealt with.
let me know.
Regards,
Ashok
Hi Ashok,
I dont think there is a way to set the timeout from the Java end. But, if you find one please post the solution.
There is a value in the R/3 to the set the value for timeout for process in the DIA process. Refer to the following thread for more info:
Runtime Error: "Time out" for RFC.
Regards,
Kartikaye
Similar Messages
-
Controlling execution of subreport on main Report in ssrs 2008 R2
Controlling execution of subreport on main Report in ssrs
Hi,
Am using more than 100 subreports in my main report using ssrs 2008 R2.
And given conditional Visibility in sub reports based on the Parameter selection in main Report . But the performance is very very slow in main report.
While selecting single sub report executes in seconds. The same report in main report executes in hours.
According to my view,
All the Sub reports executes and finally conditional visibility is working. Can we Control executing sub reports?
Regards, Gayathri devi P.S. : Please click the 'Mark as Answer' button if a post solves your problem! :)Hi,
I think the time to render 100 report sure will be long time and the main report want to render those reports.
So first why you do not separate those report on many reports for different purpose.
second if this is a dashboard report you may use many matrix in the same report and the parameters passed by default or based on expression.
I really hope if you make your report as dashboard report, many matrix many parameters render it once. As I remember I think SSRS will try to execute your
DataSets in parallel which will reduce your waiting time.
I hope this is helpful.
Elmozamil Elamir
MyBlog
Please Mark it as Answered if it answered your question
OR mark it as Helpful if it help you to solve your problem
Elmozamil Elamir Hamid
http://elmozamil.blogspot.com -
Best practice usage of system users for different RFC functions execution
Hello experts,
Could you guys share your thoughts on RFC type 3 - system userid usage:
Would it be recommended to use ONE RFC destination (type 3) for execution of various functions?
Is it recommended using the different RFC destinations (type 3) (with different system user ids) depending on the functions execution?
Thanks in advance for your thoughts.
Thanks
HimadamaThanks Julius for your information.
Option 1: System user id / password:
Password is sent over the network. But SNC control would take care of this.
1 destination = 1 system userid
If the useru2019s password is compromised the risk would be limited to that destination function group (RFC_NAME in S_RFC auth object)
System users only need RFC authorizations (S_RFC).
Only monitoring System users would be enough.
Better password management if required.
Option 2: u201CCurrent Useru201D option:
One user may need access for more than one function groups access ( RFC_NAME).
Compromising user's password would result more damage than the system user. Since this user has broad access to execute multiple function groups.
Monitoring these users would be overloaded job in this case becoz of increased users numbers.
The management of authorizations (roles) to these users may require strict approval process.
Option 3: Trusted system option:
u2022 RFC_SYSID :
u2022 RFC_CLIENT:
u2022 RFC_USER : ' '
u2022 RFC_EQUSER: Y (for Yes)
u2022 RFC_TCODE : *
u2022 RFC_INFO :
u2022 ACTVT : 16
Seems user requires both the auth objects S_RFCACL and S_RFC in this case.
Compromising user's password would result more damage than the system user. Since this user has broad access to execute multiple function groups.
Monitoring these users would be overloaded job in this case becoz of increased users numbers.
The management of authorizations (roles) to these users may require strict approval process.
Would you say considering the system userid/password is better option than other methods with SNC control in place? Please share your thoughts.
Thanks
Himadama -
RFC BAPI execution authorizations.
Hi all.
In my company development teams are trying to use SAP RFC connections in order to connect it's .NET, java, etc applications. They need a sap user to establish the connection and I don't know what authorizations (objects) I need to put in their roles in order to allow the connection estrictly to the BAPIs the need to use.
I used to put transactions on a role, but with BAPIs and function modules I don't know how to proceed. I need to create a transaction for every BAPI or FM they need?.
Thanks in advance for your help.Rolls-Royce solution: Create a test frame in SE37 and execute the BAPI(s) in sequence with an ST01 trace on providing only the import parameters which you want to use and activate in them. This will influence the checks performed, so just looking in the code is not enough...
Then maintain SU24 for the BAPI (not a transaction code!) and add the BAPI to the role menu (ignore S_DEVELOP and the other usual red-herrings in the trace).
BAPIs by definition should never make an S_TCODE authority-check so you should never need to grant any.
Cheers,
Julius -
Controlled execution of valiadations.
Hi,
I have created an entity object and the underlying database table has mandatory fields. I created a view and dragged the view to the user interface. I created one custom LOV (popup) on one of the fields, which prompts by clicking on LOV torch (custom image link).
The mandatory fields validation is getting executed when ever I click on the torch icon also. Is there any possibility to prevent the mandatory validation when ever I cick on torch icon and enable the validations only on click of save button or next button etc (controlled).
Thanks and Regards,
S R PrasadI have a strange problem with using the immediate=true. I have a double click listener in the popup window, which sets value to couple of text fields based on the selection on the popup window. This was working with out any problems before setting the immediate=true property on the image link.
If I change the immediate=false then it is working fine, i.e setting the values as expected.
Thanks and Regards,
S R Prasad -
Multiple script logics in default logic... can you control execution ?
Hi Gurus,
My default logic consists of two .LGF files both of which do two different Logics functions e.g. A and B
For one input template when the user saves the data I would like Logic A be run and not Logic B.
For the second input template I would like the Logic B to be executed and not Logic A.
Is there a way to achieve this ?
thanksHi Daniel,
The point is that his question not seems related to the data itself but to the screen, maybe a special operation for a screen?
First scenario where the data itself have the reference of the operation. He might be then be able to distinguish even in a scriptlogic.
Second scenario: The calculation is driven by the screen itself. Then he have several oportunities.
1) Add extra information if possible in one unused dimension for the purpose of this calculation and use this information to distinguish the operation
2) trigger the calculation on the default script logic of another application and bypass the calculation with a change of destination_app
3) In a routing schema in a BADI you will still need to implement one of the two above points or as you know drive the operations through the dimension file ;).
Best regards,
Philippe
Edited by: Martin, Philippe on Mar 30, 2010 3:45 PM -
Hey everyone.
I'm very new to LabVIEW and it's my first post. So please excuse that I'm not familar with the boardsearch and my question has already been answered.
I'm doing a vi with three sequences within a while-loop. The first one is used to collect data from sliders and buttons and sends them via TCP/IP to a server. The second one contains a Wait(ms) vi to wait a certain amount of time before polling on receiving socket starts in the third sequence. This one is used to receive and display the data send by the server.
I want to add a switch at the panel, so the user can switch either the simulation to run normally or the wait(ms) vi is replaced by a user action (Another button at the panel). I connected a "Wait For Front Panel Activity" inside a case-structure which I wired to a switch and left the false case empty. I expected it to hold the simulation until I press the button, but it starts running again when I start moving sliders which are not connected.
I want to preset the sliders and than do the simulation step by step.
Can anyone help me?Hi!
Wait for front-panel activity waits for ANY front-panel-activity, not only one button...as far as I understand, you want your program to hold until you press your button, right? The easiest way to accomplish this is to use a while-loop with a "Wait-for-frontpanel-activity"-Vi or a "Wait (ms)"-VI with a value of about 100ms inside. Wire your button to the loop-condition which you set to "stop if true". As you press your button, the while-loop exits and your program continues..
Hope this was your problem,
Good luck
Christian
Addendum: Mike is always a bit faster than me :-)
Message Edited by cschneider on 07-22-2008 11:49 PM
THINK G!! ;-)
Using LabView 2010 and 2011 on Mac and Win
Programming in Microsoft Visual C++ (Win), XCode (Mac) -
Hi,
I am having a scenario in a transaction from source to target(both oracle), Out of 10 records in source, 2 are error records(let us consider that as 6th and 7th).
I need to set the commit interval for every 3 records(I dont know how to do this.) So after transformation, only first 3 records should be commited, since the 6th record is a error one, the 4th and 5th record should be rolled back.
How can we achieve this in ODI?
Thanks in Advance,
Ram Mohan T.Ram
*1) Can you please point out where can i change the commit option in an interface as you mentioned -"change the "Commit" to Autocommit (on the step in the KM). ". I had seen this option only in the procedure and not in interface*.
KMs are very like procedures - open the KM, and on the KM step applicable, you will see the command on source/command on target. In each of these you will see the Commit drop-down, the bottom-right of the six boxes.
*2) Is the value 1000 records in commit option is configurable?*
No. Not without significant modification to the KM, essentially recoding it to do things procedurally (watch out for new KMs in future)
*3) Can we get the log details (like how many records succeeded or failed) while using an API Call(PL/SQL). I think we cant do this because its running independent of ODI.*
That is correct - we pass a SQL statement to the database to process, and as it is a set-wise operation, the database just returns a single number - like the number of rows inserted. One of the classic problems when using Oracle's MERGE syntax is that you won't know how many rows were inserted, and how many updated. You can modify the KM to pass over PL/SQL, but that may not be worthwhile in the short-term.
Craig -
Problem passing a table parameter in rfc call using the function control
I try to pass a Table as parameter to a Function Module using the SAP.Functions library (part of SAP frontend controls) from a Visual Basic (VBA) program.
The function module has been verified to work when invoked from SAP FrontEnd Function Builder.
The SAP RFC Control is created with
Set sapFunctions=CreateObject("SAP.Functions")
Following code snippet shows how I attempt to set exports and add a table row before calling the function module:
sapFunctions.Connection = sapConnection
Set sapMaterialUpd = sapFunctions.Add("Z_SD_BAPI_SALES_DATA_UPD")
With sapMaterialUpd
<i>'set exports</i>
.Exports("PA_GLPUPDLEVEL") = "S"
.Exports("PA_VKORG") = "FI14"
<i>'append table row</i>
.Tables("IT_SALES_DATA_UPD").AppendRow
.Tables("IT_SALES_DATA_UPD")(1, "VKORG") = "FI14"
.Tables("IT_SALES_DATA_UPD")(1, "MATNR") = "W_3100"
.Tables("IT_SALES_DATA_UPD")(1, "DATBI") = "99991231"
.Tables("IT_SALES_DATA_UPD")(1, "DATAB") = "20041231"
.Tables("IT_SALES_DATA_UPD")(1, "KBETR") = "2222"
.Tables("IT_SALES_DATA_UPD")(1, "KONWA") = "EUR"
End With
<i>'call the function module</i>
If sapMaterialUpd.Call() = True Then
<i>'do something with the return tables here...</i>Else
Debug.Print sapMaterialUpd.Exception
End If
The Call() returns <b>FALSE</b> and the exception is <b>"SYSTEM_FAILURE"</b>. The connection also resets.
The local logfile that the control generates shows that an exception occurs at the point of the call:
<i>10.02.2005 17:54:20.766 Packing Parameters for Z_SD_BAPI_SALES_DATA_UPD
Packing Parameter PA_GLPUPDLEVEL.
Packing Parameter PA_VKORG.
Packing Table 0.
Packing Table 1.
10.02.2005 17:54:20.766 *** Calling RFC Function 'Z_SD_BAPI_SALES_DATA_UPD'
10.02.2005 17:54:20.986 RFC CALL status = RFC_SYS_EXCEPTION
10.02.2005 17:54:20.986 RFC Error: RFC_IO27
-Status:CODE=CM_DEALLOCATED_NORMAL STATUS=CM_NO_STATUS_RECEIVED DATA=CM_COMPLETE_DATA_RECEIVED ID=69415076
-Message:connection closed
-Internal Status:IO HANDLE=23 DRV=EXT LINE=1420 CODE=27 : GET ID=ffff LINE=861 CODE=7
10.02.2005 17:54:20.986 Function call finished.</i>
Seen next code snippet. If the Table object is not touched, the function call goes through without any problems:
sapFunctions.Connection = sapConnection
Set sapMaterialUpd = sapFunctions.Add("Z_SD_BAPI_SALES_DATA_UPD")
With sapMaterialUpd
'set exports
.Exports("PA_GLPUPDLEVEL") = "S"
.Exports("PA_VKORG") = "FI14"
'do <b>not</b> append a table row, for testing only ;-)</b>
End With
<i>'call the function module</i>
If sapMaterialUpd.Call() = True Then
<i> 'do something with the return tables here...</i>
Else
Debug.Print sapMaterialUpd.Exception
End If
This code works perfectly when calling the function. It returns TRUE and behaves normally. The function module returns descriptive response text in a table telling that the table was empty, according to the BAPI implementation.
So is there something special needed here <i>after</i> appending the table row and <i>before</i> making the Call to properly attach the table as a parameter for the function module?
Can this be a bug in the SAP RFC Control? The version of the wdtfuncs.ocx is 6206.6.45.54.
Any hints are welcome!hi All partner,
who solved this problem , I meet it too and
can't clear it.
SAPfunc := sapfunctions1.Add('z_get_sfcs_dn_mo');
SAPitab := sapfunc.tables.item ('I_DNMO');
SAPitab.appendrow; SAPitab.value(1,'MANDT') := '220';
SAPitab.Value(1,'VBELN') := '2150000001';
SAPitab.Value(1,'POSNR') := '50';
SAPitab.value(1,'MATNR') := '19-99999-00';
SAPitab.value(1,'AUFNR') := '921241512001';
SAPitab.value(1,'DEDAT') := '2005/09/09';
SAPitab.value(1,'LFIMG') := '100';
IF SAPfunc.call = true then
begin
end
else
begin
showmessage('call fail!!') ;
end;
end;
RFC source code as below
FUNCTION z_get_sfcs_dn_mo.
""Local interface:
*" TABLES
*" I_DNMO STRUCTURE ZDN_MO
data: wa type zdn_mo.
LOOP AT i_dnmo.
wa-mandt = i_dnmo-mandt.
wa-vbeln = i_dnmo-vbeln.
wa-posnr = i_dnmo-posnr.
wa-matnr = i_dnmo-matnr.
wa-aufnr = i_dnmo-aufnr.
wa-dedat = i_dnmo-dedat.
wa-lfimg = i_dnmo-lfimg.
modify zdn_mo from wa.
insert into zdn_mo values wa. --dump at here
commit work.
ENDLOOP.
T/C: ST22 error message say at
insert into zdn_mo values wa. ---dump at here
the sapfunc.call returns fail.
Message was edited by: jorry wang -
RFC Call Error - from Portal End - For ESS Personal Information service
Hi,
I am getting "Syntax error in program SAPLHRXSS_PER_MAC ., error key: RFC_ERROR_SYSTEM_FAILURE " error Message on the portal (ESS--->Personal Information Screen).
When I did RFC trace analysis (using ST 22) this is what i get.
Can you let me know what could be the issue.
We are running HR Backend(Support Pack 15,ecc 5.0).
Portal (EP 6.0 SP19, ESS 100 (SP 10)).
Could you please let me know what could be the issue ?
Syntax error in program "SAPLHRXSS_PER_MAC ".
What happened?
Error in ABAP application program.
The current ABAP program "SAPMSSY1" had to be terminated because one of the
statements could not be executed.
This is probably due to an error in the ABAP program.
In program "SAPLHRXSS_PER_MAC ", the following syntax error occurred
in the Include "IF_HRPA_PERNR_INFTY_XSS=======IU " in line 114:
"The type "HRXSS_PER_SUPPLD_SUBTY_INFO_T" is unknown."
Author and last person to change the Include are:
Author "SAP "
Last changed by "C5069405 "
What can you do?
Please eliminate the error by performing a syntax check
(or an extended program check) on the program "SAPLHRXSS_PER_MAC ".
You can also perform the syntax check from the ABAP/4 Editor.
If the problem persists, proceed as follows:
Print out the error message (using the "Print" function)
and make a note of the actions and input that caused the
error.
To resolve the problem, contact your SAP system administrator.
You can use transaction ST22 (ABAP Dump Analysis) to view and administer
termination messages, especially those beyond their normal deletion
date.
is especially useful if you want to keep a particular message.
Error analysis
In program "SAPLHRXSS_PER_MAC ", the following syntax error occurred:
"The type "HRXSS_PER_SUPPLD_SUBTY_INFO_T" is unknown."
How to correct the error
Probably the only way to eliminate the error is to correct the program.
If you cannot solve the problem yourself and you wish to send
an error message to SAP, include the following documents:
1. A printout of the problem description (short dump)
To obtain this, select in the current display "System->List->
Save->Local File (unconverted)".
2. A suitable printout of the system log
To obtain this, call the system log through transaction SM21.
Limit the time interval to 10 minutes before and 5 minutes
after the short dump. In the display, then select the function
"System->List->Save->Local File (unconverted)".
3. If the programs are your own programs or modified SAP programs,
supply the source code.
To do this, select the Editor function "Further Utilities->
Upload/Download->Download".
4. Details regarding the conditions under which the error occurred
or which actions and input led to the error.
System environment
SAP Release.............. "640"
Application server....... "srv006"
Network address.......... "167.116.230.56"
Operating system......... "HP-UX"
Release.................. "B.11.11"
Hardware type............ "9000/800"
Character length......... 8 Bits
Pointer length........... 64 Bits
Work process number...... 1
Short dump setting....... "full"
Database server.......... "srv006"
Database type............ "ORACLE"
Database name............ "H81"
Database owner........... "SAPR3"
Character set............ "en_US.iso88591"
SAP kernel............... "640"
Created on............... "May 21 2006 20:29:01"
Created in............... "HP-UX B.11.00 A 9000/800"
Database version......... "OCI_920 "
Patch level.............. "129"
Patch text............... " "
Supported environment....
Database................. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE
10.2.0.."
SAP database version..... "640"
Operating system......... "HP-UX B.11"
Memory usage.............
Roll..................... 16128
EM....................... 4189928
Heap..................... 0
Page..................... 0
MM Used.................. 629192
MM Free.................. 3558216
SAP Release.............. "640"
User and Transaction
Information on where terminated
The termination occurred in the ABAP program "SAPMSSY1" in
"REMOTE_FUNCTION_CALL".
The main program was "SAPMSSY1 ".
The termination occurred in line 68 of the source code of the (Include)
program "SAPMSSY1"
of the source code of program "SAPMSSY1" (when calling the editor 680).
Source Code Extract
Line SourceCde
38
39 module %_rfcdia_call output.
40 "Do not display screen !
41 call 'DY_INVISIBLE_SCREEN'.
42 perform remote_function_diacall.
43 endmodule.
44
45 module %_cpic_start.
46 if sy-xprog(4) = '%RFC'.
47 perform remote_function_call using rfctype_external_cpic.
48 else.
49 call 'APPC_HD' id 'HEADER' field header id 'CONVID' field convid.
50 perform cpic_call using convid.
51 endif.
52 endmodule.
53
54
55 form cpic_call using convid type c.
56 communication send id convid buffer header.
57 if sy-subrc eq 0.
58 perform (sy-xform) in program (sy-xprog).
59 else.
60 message a800.
61 endif.
62 endform.
63
64 form remote_function_call using value(type).
65 do.
66 * test if sy-xprog and sy-xform are set
67 * sy-xform = 'quatsch'. sy-xprog = 'quatsch'.
>>>>> call 'RfcImport' id 'Type' field type.
69 perform (sy-xform) in program (sy-xprog).
70 rsyn >scont sysc 00011111 0.
71 enddo.
72 endform.
73
74 form remote_function_diastart.
75 do.
76 call 'RfcImport' id 'Type' field rfctype_rfcdia.
77 perform (sy-xform) in program (sy-xprog).
78 "Parking position for next request
79 rsyn >scont sysc 00011111 10.
80 "ALternativ : Free mode
81 "COMMIT WORK.
82 "SYSTEM-CALL FREE MODE 0.
83 enddo.
84 endform.
85
86 form remote_function_diacall.
87 sy-xcode = '%_@no@'.
Contents of system fields
Name Val.
SY-SUBRC 0
SY-INDEX 2
SY-TABIX 0
SY-DBCNT 0
SY-FDPOS 0
SY-LSIND 0
SY-PAGNO 0
SY-LINNO 1
SY-COLNO 1
SY-PFKEY
SY-UCOMM
SY-TITLE CPIC and RFC Control
SY-MSGTY
SY-MSGID
SY-MSGNO 000
SY-MSGV1
SY-MSGV2
SY-MSGV3
SY-MSGV4
Active Calls/Events
No. Ty. Program Include Line
Name
2 FORM SAPMSSY1 SAPMSSY1 68
REMOTE_FUNCTION_CALL
1 MODULE (PBO) SAPMSSY1 SAPMSSY1 30
%_RFC_START
Chosen variables
Name
Val.
No. 2 Ty. FORM
Name REMOTE_FUNCTION_CALL
%_DUMMY$$
2222
0000
SY-REPID
SAPMSSY1
5454555322222222222222222222222222222222
310D339100000000000000000000000000000000
SYST-REPID
SAPMSSY1
5454555322222222222222222222222222222222
310D339100000000000000000000000000000000
%_ARCHIVE
2222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
TYPE
3
0000
0003
SY-XPROG
SAPLSYST
5454555522222222222222222222222222222222
310C393400000000000000000000000000000000
SY-XFORM
HRXSS_PER_CLEANUP
455555545544444552222222222222
82833F052F3C51E500000000000000
%_SPACE
2
0
No. 1 Ty. MODULE (PBO)
Name %_RFC_START
%_PRINT
000 0 ##
2222333222222222222222222222222222222222222222222222222222222222222222222222222222222222223200
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
RFCTYPE_INTERNAL
3
0000
0003
Internal notes
The termination occurred in the function "ab_genprog" of the SAP
Basis System, specifically in line 1374 of the module
"//bas/640_REL/src/krn/runt/abgen.c#10".
The internal operation just processed is "CALY".
The internal session was started at 20070502223335.
Program name.........: "SAPLHRXSS_PER_MAC ".
Error message........: "The type "HRXSS_PER_SUPPLD_SUBTY_INFO_T" is unknown.".
Active Calls in SAP Kernel
Lines of C Stack in Kernel (Structure Differs on Each Platform)
( 0) 0x40000000016d6a8c CTrcStack2 + 0x2bc [dw.sapH81_DVEBMGS33]
( 1) 0x40000000016d67c0 CTrcStack + 0x18 [dw.sapH81_DVEBMGS33]
( 2) 0x4000000001d41438 rabax_CStackSave__Fv + 0x100 [dw.sapH81_DVEBMGS33]
( 3) 0x4000000001d4dbf8 ab_rabax + 0x1f68 [dw.sapH81_DVEBMGS33]
( 4) 0x40000000018cc09c ab_genprog__FPcPvUii + 0xdbc [dw.sapH81_DVEBMGS33]
( 5) 0x4000000000d3b4cc newload__FPcP13TmpSubpoolDirUi + 0x29c [dw.sapH81_DVEBMGS33]
( 6) 0x40000000016a7324 ab_LoadProg__FPcUi + 0xec [dw.sapH81_DVEBMGS33]
( 7) 0x40000000016831fc ab_link + 0x334 [dw.sapH81_DVEBMGS33]
( 8) 0x40000000015694d4 ab_rfcimport + 0xccc [dw.sapH81_DVEBMGS33]
( 9) 0x40000000018cff98 ab_jcaly__Fv + 0x598 [dw.sapH81_DVEBMGS33]
(10) 0x4000000000f98df8 ab_extri__Fv + 0x17a0 [dw.sapH81_DVEBMGS33]
(11) 0x40000000016ab2d8 ab_xevent__FPCc + 0x38 [dw.sapH81_DVEBMGS33]
(12) 0x400000000189c9a8 ab_dstep + 0x120 [dw.sapH81_DVEBMGS33]
(13) 0x4000000000ed4c00 dynpmcal + 0xd0 [dw.sapH81_DVEBMGS33]
(14) 0x4000000000ed1554 dynppbo0 + 0x1e4 [dw.sapH81_DVEBMGS33]
(15) 0x4000000000ed0af4 dynprctl + 0x43c [dw.sapH81_DVEBMGS33]
(16) 0x4000000000ecb7a0 dynpen00 + 0x2118 [dw.sapH81_DVEBMGS33]
(17) 0x4000000000fa598c Thdynpen00 + 0x6a4 [dw.sapH81_DVEBMGS33]
(18) 0x4000000000fa49b8 TskhLoop + 0x50d8 [dw.sapH81_DVEBMGS33]
(19) 0x4000000000f999f8 tskhstart + 0x1e0 [dw.sapH81_DVEBMGS33]
(20) 0x4000000000d42194 DpMain + 0x484 [dw.sapH81_DVEBMGS33]
(21) 0x400000000220d41c nlsui_main + 0x14 [dw.sapH81_DVEBMGS33]
(22) 0x4000000000992794 main + 0x14 [dw.sapH81_DVEBMGS33]
(23) 0xc000000000020ab0 $START$ + 0xa0 [/usr/lib/pa20_64/dld.sl]
List of ABAP programs affected
Index Ty. Program Group Date Time Size Lang.
0 Prg SAPMSSY1 0 06.11.2003 20:53:07 18432 E
1 Prg SAPLSYST 1 10.05.2006 09:57:38 30720 E
2 Typ SYST 0 04.12.2000 14:54:51 27648
Directory of Application Tables
Name Date Time Lngth
Val.
Program SAPMSSY1
SYST . . : : 00002404
ABAP Control Blocks (CONT)
Index Name Fl PAR0 PAR1 PAR2 PAR3 PAR4 PAR5 PAR6 SourceCde
118 CLEA 00 0035 SAPMSSY1
119 CLEA 00 0036 SAPMSSY1
120 CLEA 00 0037 SAPMSSY1
121 MESS 00 001C SAPMSSY1
122 ENDF 00 0000 SAPMSSY1
123 -
00 0000 SAPMSSY1
124 PERP 00 0001 SAPMSSY1
125 PERP 02 0000 SAPMSSY1
126 WHIL 00 0002 0000 0000 0000 0000 0000 0000 SAPMSSY1
130 WHIL 00 0003 0000 0000 0000 0000 0000 0000 SAPMSSY1
134 BRAN 05 000E SAPMSSY1
135 CALY 00 0003 0038 002A 0005 002B 0000 0000 SAPMSSY1
>>>>> CALY 02 0000 0039 8000 0000 0000 0000 0000 SAPMSSY1
143 xper 02 0000 0010 0011 SAPMSSY1
145 PERP 80 0000 SAPMSSY1
146 SYSC 1F 0000 SAPMSSY1
147 BRAX 00 FFEF SAPMSSY1
148 WHIL 00 0004 0000 0000 0000 0000 0000 0000 SAPMSSY1
152 ENDF 00 0000 SAPMSSY1
153 -
00 0000 SAPMSSY1Hi,
The error is occuring in the program file SAPLHRXSS_PER_MAC.
In program "SAPLHRXSS_PER_MAC ", the following syntax error occurred
in the Include "IF_HRPA_PERNR_INFTY_XSS=======IU " in line 114:
"The type "HRXSS_PER_SUPPLD_SUBTY_INFO_T" is unknown."
Information on where terminated
The termination occurred in the ABAP program "SAPMSSY1" in
"REMOTE_FUNCTION_CALL".
The main program was "SAPMSSY1 ".
This place where it has terminated is highlighted in bold letters.
form remote_function_call using value(type).
do.
test if sy-xprog and sy-xform are set
sy-xform = 'quatsch'. sy-xprog = 'quatsch'.
<b> call 'RfcImport' id 'Type' field type. </b>
perform (sy-xform) in program (sy-xprog).
rsyn >scont sysc 00011111 0.
enddo.
endform.
Thanks,
Manoj -
I am using Labview 7.1 and I am performing AI of
voltage on different channels of the same multifunction DAQ. I am
using while loops to aquire the data. I am writing the data to
spreadsheet file with an associated time as a 2D array. Currently I am
using the 'elapsed time' interactive subVI to get the time in seconds
(attempting to use the 'Get Date/Time in seconds' and converting it to
DBL results in time values that do not change. My thoughts are that
maybe the number of seconds is too large to display single second
precision with a DBL floating point number). When I run AI on two
multiple loops they execute at different rates and thus the time values
from "elapsed time" are accumulated at different rates. I have tried
using timed loops to control timing, but if one loop executes at a rate
slower than the timing of the loop the 'elapsed time' still accumulates
at different rates. I need to be able to associate both analog inputs
to the same time
value in the spreadsheet value and I would like to find a way to
associate a time with each data point that is independant of loop
execution speed (although I would still like to control execution speed
of the loops. I am pretty new to Labview and programming in general,
any help would be greatly appreciated.If you want to read more than one AI at the same time, you should use a trigger. You would need to set up the AI Trigger to an external source. Then you would have to use a function generator or digital out to create a clock. The clock would be wired to the AI external trigger. When the clock goes high (or low depending on configuration), both AIs would read. That is the method I use when needing to sync multiple AI inputs.
- tbob
Inventor of the WORM Global -
Order of execution in Function Main
I have two separate transfers in one mapping, which results in creation of two separate load functions when I generate the mapping. The function calls in function Main are in arbitrary order but I want to control in what order the functions are called. How do I do that?
I'm using version 9.2.0.2.8.
Thanks.Currently there is no explicit way to control order of load processes within one mapping if targets are completely independent, i.e. does not participate in some other transformations later in the same mapping. (But actually, if targets are really independent you should not bother).
Implicitly the order of loading is determined by the order you have dropped targets on the mapping editor. Unfortunately you couldnt rely heavily on this approach.
If targets within flow are interrelated (for example, after loading one table you are using it in loading second table) OWB correctly determine dependencies and build mapping package with loading process parts properly ordered. Your may want to actually employ this feature (together with loading dummy tables).
But again, I dont think you really need this. Instead, consider using having independent mappings for these tables and use Workflow to explicitly control execution order of mappings. For example, perform really parallel loading of these two tables - by forking two mappings for parallel execution (if hardware allows). -
Question regarding JDBC - XI -RFC
Hi all,
I have a scenario which XI will get data from database (using jdbc adpater) then send data to execute in RFC. This is an asynchronous call. My question is that.
1. If XI can get many records from database in 1 select, will it send many records to RFC at once? Is there any way i could tell XI to split input data into many message (1 message for each record) without using BPM? or Is it possible or better to set import parameter of RFC into table to get many record from XI at once?
2. If i manage to make 1 message for each record, Could i use queue for sending data to RFC? I want the first record to be completed before sending second record. Since this is an asynchronous call, I'm not sure that XI could be able to know when to send the second record or Do I have to make it synchronous call to get return response from RFC after RFC finish execution and use BPM to get return response before sending next data to RFC.
Any suggestion from expert?
Thanks,
PavinHi
1. If XI can get many records from database in 1 select, will it send many records to RFC at once? Is there any way i could tell XI to split input data into many message (1 message for each record) without using BPM? or Is it possible or better to set import parameter of RFC into table to get many record from XI at once?
Yes you can do multi mapping 1:N without BPM
Message Splitting Using the Graphical Mapping Tool
/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
2. If i manage to make 1 message for each record, Could i use queue for sending data to RFC? I want the first record to be completed before sending second record. Since this is an asynchronous call, I'm not sure that XI could be able to know when to send the second record or Do I have to make it synchronous call to get return response from RFC after RFC finish execution and use BPM to get return response before sending next data to RFC.
You can queue to process one by one. Response can be obtained with or without BPM
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/file-rfc-file(Without%2bBPM)
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC
JDBC to RFC Mapping Problem.
Thanks
Gaurav -
Schedule Receiver RFC communication channel to call R3 RFC-FM.
Hi,
I have requirement that I need to schedule/trigger from PI to RFC call R3 function module. Wonder if anyone here has done similar thing before? I tried to use ATP (Availability time planning) in RWB. But this seem does not success for me as there is no response and error message for this.
Below is my configuration detail:
Configured:
1. Receiver communication channel - RFC
2. Receiver agreement with the RFC message type assigned.
3. Scheduled receiver RFC communication channel via ATP daily
*(It is possible to make scheduling job in R/3 but we are not considering this way)
Please let me know if anyone has done this before or any other suggestion to do the scheduling from PI.
Thanks!
Regards,
SPHi SP,
As you mentioned, ATP would allow adapter to be open and in start state. Adapter's RFC, SOAP, JMS would need some other application to trigger the message processing because these are not like pooling adapter's File, JDBC and Mail. RFC adapter channel always listening to the RFC port and FM execution. Once FM from R/3 executed then the RFC adapter would trigger it's message processing.
For Sender RFC channel: In order to trigger the RFC adapter execution at particular time then you should write a simple ABAP code which would act a batch application and which does the triggering the FM and Sender RFC channel.
For Receiver Channel: For Receiver RFC channel it's bit trichy because here you have force Receiver RFC adapter to connect backend the execute or initialize the variables without having any XI message triggered from Sender PI channel.
I have 2 ideas:
1. A little difficult approach, similar to the ABAPbatch code, you need to write a java adapter module which can trigger RFC receiver channel to connect and do an initialisation at FM at regular interval.
2. Simple approch configure a File-> 2-> RFC receiver scenario, configure File sender adapter to pick a dummy file at regular interval and RFC receiver channel does the rest.
Please let me know still you have any doubts,
Thanks,
RK -
How to terminate/restart a execution?
I am using simple user interface(LabView) to develop a new custom UI.
But I find the Terminate/Restart Button doesn't work: After I use it to terminate one execution, not able to restart it anymore.
How to restart a terminated execution when run TestUUTs?
I'm appreciate any help on this.
Attachments:
Simple UI Restart not work.JPG 59 KBThere are a couple of possibilities for the cause of the issue you are seeing.
1) Terminate is asynchronous, so if you are programmatically terminating the execution and restarting it, the restart might be getting done before the termination is complete. Wait for the execution to complete before restarting it. You can use Execution.WaitEx, UIMessages, or polling with GetStates to tell when the execution is really complete.
2) Executions can be marked as not restartable. The batch model uses this setting (on the new execution sequence call) in order to keep you from incorrectly restarting the socket executions. For the batch model, only the controlling execution should be restarted. Restarting the controlling execution restarts the socket executions automatically.
-Doug
Maybe you are looking for
-
How to setup dvi to video adapter
do you just plug it in when i plug it in the macs screen will adjust going gray for a second but the tv never shows anything
-
E71 GPS Stopped Working After 3.03 (10wk11) Instal...
Had I known attempting this Map update would blow out my GPS, I wouldn't have done it. My current software version in my Straight Talk E71 is 500.21.009. I am a Mac user. I downloaded this file in hopes of updating my GPS Map software: nokia_maps_3
-
Creation of Invoice based on Qty wise
Hi SD Experts, I want to know how to split invoice based on quantity? --Sales order A material is 5 qty --Delivery is created with qty 5 --Now I need to create 5 invoices for a qty of 1 each. Regards Pradeep
-
Change of objectImage source ?
Hi All, please could someone point me in the right direction on how to code the following... i have the following query that is displayed onto a page... select a from table where b = 'x' i will always have one row returned. what i need to happen is i
-
Resize and change button-tex​t in example-OI
Hello, i´m currently looking at the example Labview operator-interface which is delivered with TestStand and installed at: C:\Programme\National Instruments\TestStand 3.5\OperatorInterfaces\NI\Simple\LabVIEW\TestExec.llb It works without problems, b