Preprocessing
I am creating a MIDlet that uses the location API. The problem is that when i install it on a phone that does not support JSR179 (Location API), i get the NoClassDefFoundError. My code is as follows
import javax.microedition.location.*;
public class MyLocationListener implements LocationListener {
public MobileApplication app;
public MyLocationListener(MobileApplication app) {
this.app = app;
public void locationUpdated(LocationProvider provider, Location location) {
QualifiedCoordinates qc = location.getQualifiedCoordinates();
app.updateCoordinates(qc.getLongitude(), qc.getLatitude());
public void providerStateChanged(LocationProvider provider, int newState){
}I try putting this preprocessor directives
//#ifdef JSR179
import javax.microedition.location.*;
//#endif
//#ifdef JSR179
public class MyLocationListener implements LocationListener {
public MobileApplication app;
public MyLocationListener(MobileApplication app) {
this.app = app;
public void locationUpdated(LocationProvider provider, Location location) {
QualifiedCoordinates qc = location.getQualifiedCoordinates();
app.updateCoordinates(qc.getLongitude(), qc.getLatitude());
public void providerStateChanged(LocationProvider provider, int newState){
//#endifbut when i build the project using an emulator that does not support the JSR179 API (for example disable it from "Optional Packages" from the project's emulator properties in NetBeans) i get the error
package javax.microedition.location does not exist
Will this still work on a mobile that doesn't support the Location API if i run the MIDlet using an emulator that does? Or is this a wrong way i am using the preprocessor?
...is this a wrong way i am using the preprocessor?As far as I know, there is no preprocessor in Java (as opposed to say, C).
So, to me it looks like the very idea to use preprocessor is a +"wrong way"+ in Java.
Similar Messages
-
Hi All ,
We are facing error in preprocessing phase of upgrade to EHP 7 ,Let me know if anyone can help us in this critical situation
System details:Oracle 11gr2,Linux x86-64 ,
Below is the error :
During the phase MAIN_SHDIMP/SUBMOD_SHD2_RUN/RFCDEST_CREATE_S2OX in
Pre-processing of the SUM we are facing below error.
1 ETQ233 Calling function module "FUNCTION_EXISTS" by RFC
2 ETQ373 parameter "FUNCNAME" = "RFC_DESTINATION_CREATE"
1 ETQ234 Call of function module "FUNCTION_EXISTS" by RFC succeeded
4 ETQ010 Date & Time: 20140912043336
1 ETQ359 RFC Login to: System="XXX", AsHost="sapXXXpas" Nr="12",
GwHost="sapa10pas", GwService="sapgwZZ"
2 ETQ232 RFC Login succeeded
4 ETQ010 Date & Time: 20140912043336
1 ETQ233 Calling function module "RFC_DESTINATION_CREATE" by RFC
2 ETQ373 parameter "DESTINATION_NAME" = "SAP_UPGRADE_ORIG_SYSTEM"
2 ETQ373 parameter "USER" = "DDIC"
2 ETQ373 parameter "HOST" = "sapXXXpas"
2 ETQ373 parameter "SYSTEMNR" = "11"
2 ETQ373 parameter "CHECK" = "X"
1EETQ235 Call of function module "RFC_DESTINATION_CREATE" by RFC failed
(error-status "3")
2EETQ360 RFC of "RFC_DESTINATION_CREATE" failed:
2EETQ361 code/exception : 3
2EETQ362 key : CALL_FUNCTION_NO_DEST
2EETQ399 RFC destination SAP_UPGRADE_ORIG_SYSTEM does not exist.
Regards
Bharat
Mob No: 91 9008804153Hi Reagan ,
The issue was taken to SAP development security team :::Below is the weird issue ::
Firstly ,for the authorizations to work correctly, all authorization tables must be in a consistent state as below :
ust04, ust10c, ust10s, ust12, usrbf2, usrbf3.
If we want to maintain authorizations, also usr04, usr10, usr12 are required.
But here , a mismatch of tables usrbf2 and usrbf3 in 2 instances are the reason for the stuck in the upgrade :::
SQL> select count(*) from sapsr3.USRBF2 where MANDT = '000' and BNAME =
'DDIC';
COUNT(*)
2997
SQL> select count(*) from sapsr3.USRBF3 where MANDT = '000' and BNAME =
'DDIC';
COUNT(*)
1
SQL>
SQL> select count(*) from sapsr3shd.USRBF2 where MANDT = '000' and
BNAME =
'DDIC';
COUNT(*)
673
SQL> select count(*) from sapsr3shd.USRBF3 where MANDT = '000' and
BNAME =
'DDIC';
COUNT(*)
1
This issue was resolved by SAP and then upgrade went fine ,This is not an issue with password of DDIC !!!!!
Regards
Ram -
ERP - EHP5 upgrade - error in phase Preprocessing - MAIN_SHDRUN/DDIC_UPG
Dear SAP,
I have started my upgrade from ERP EHP4 to EHP5.
During phase PreProcessing - the phase MAIN_SHDRUN/DDIC_UPG fails for the following reason :
In TP.SAV, I have this error :
ERRORS: Highest tp internal error was: 0232
TRACE-INFO: 32: [ dev trc,00000] OCIServerAttach(OCI_DEFAULT) failed with SQL error 12537: 58 0.045050
TRACE-INFO: 35: [ dbsloci.,00000] *** ERROR => CONNECT failed with sql error '12537' 32 0.045096
TRACE-INFO: 36: [ dev trc,00000] set_ocica() -> SQL error code 12537 15 0.045111
TRACE-INFO: 38: [ dev trc,00000] OCIErrorGet -> SQL error code: 12537 51 0.045175
TRACE-INFO: 41: [ dev trc,00000] SAPUSER or connect error 99=DBSL_ERR_DB, oerr=12537. 28 0.045221
TRACE-INFO: 43: [ dblink ,00000] ***LOG BY2=>sql error 12537 performing CON 60 0.045304
ERRORS: Highest tp internal error was: 0232
I have already changed the R3trans and tp executable.
Any help is very welcome.
Best regards
SAP NetWeaver AdminHi,
The phase is stopped with the following error
ERROR => CONNECT failed with sql error '12537'
SAPUSER or connect error 99=DBSL_ERR_DB, oerr=12537.
***LOG BY2=>sql error 12537 performing CON
***LOG BY0=>ORA-12537: TNS:connection closed
1AETW000 ===> HALT: reconnect to DB failed Please contact the SAP support.
4 ETW000 End of Transport (0016)
This issue is caused by misconfigured parameters for Oracle. The main
ones are the parameters: PROCESSES and SESSIONS.
Please check SAPnote # 1431798 and correct/increase the parameters.
then repeat the phase to proceed further with the upgrade.
Thank You.
Regards,
Deepika -
Error in Preprocessing Roadmap step JOB_RSUPDTEC_SHD aborted
Dear All,
We are upgrading our server from R3 4.7 to ECC 6 EhP4. Our OS is AIX and database is DB2 9.5.
during Preprocessing Roadmap step JOB_RSUPDTEC_SHD aborted. This job run in phase JOB_RSUPDTEC_SHD on shadow system. We are getting the dump in shadow system
Runtime Errors DATA_LENGTH_0
Exception CX_SY_RANGE_OUT_OF_BOUNDS
|
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_RANGE_OUT_OF_BOUNDS', was not
caught in
procedure "MODIFY_TABSPACE_DB6" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
In the executed program "RSUPDTEC", the system attempted to access the field
"DATA_TBSP_NAME" using the length 0.
However, a partial field access with the length specification 0 is not
| allowed.
We have upgraded our kernel, dp_wp, R3trans, tp of 620 and 701 to latest avaliable. But still the problem cannot shortout.
ON seeing SAPUP log file PSUPDTECSHD.LOG we got this information
4 ETQ260 Starting batchjob "RSUPDTEC"
4 ETQ010 Date & Time: 20101018143359
4 ETQ260 Starting batchjob "RSUPDTEC"
4 ETQ230 Starting RFC Login to: System = "PRD", GwHost = "haeccsbx", GwService = "sapgw01"
4 ETQ233 Calling function module "SUBST_START_BATCHJOB" by RFC
4 ETQ233 Calling function module "subst_start_batchjob" by RFC
4 ETQ399 JOBNAME='RSUPDTEC', REPNAME='RSUPDTEC', VARNAME='', BATCHHOST='haeccsbx', IV_SCHEDEVER=' '
4 ETQ234 Call of function module "SUBST_START_BATCHJOB" by RFC succeeded
4 ETQ233 Calling function module "SUBST_CHECK_BATCHJOB" by RFC
4 ETQ010 Date & Time: 20101018143409
4 ETQ234 Call of function module "SUBST_CHECK_BATCHJOB" by RFC succeeded
4 ETQ239 Logging off from SAP system
1EETQ242 Error code "-1" during analysis of logfiles matching "RSUPDTEC\.PRD"
2EETQ262 Batchjob "RSUPDTEC" aborted
4 ETQ359 RFC Login to: System="PRD", Nr="01", GwHost="haeccsbx", GwService="sapgw01"
4 ETQ232 RFC Login succeeded
2WETQ360 RFC of "subst_list_sys_logs" failed:
2WETQ361 code/exception : DUMP_ERROR
4 ETQ359 RFC Login to: System="PRD", Nr="01", GwHost="haeccsbx", GwService="sapgw01"
4 ETQ232 RFC Login succeeded
By analysis its seem that this is data length error but not able to understand how to solve this as we are using standared sap method of upgrade.Hi Pritpal,
Please check note 1474361
Also you can update the system with latest database library dbdb6slib.The library has to be updated
for the SHADOW system in directory <upgdir>/abap/exe (and
<upgdir>/abap/exe_new as well) .Put the 7.01 version of library.
Regards
Ashok Dalai -
MAIN_SHDRUN/PARDIST_SHD were negative in Preprocessing phase of Upgrade
Hello All,
We are doing an upgrade in our landscape and getting in to errors in the preprocessing phase
Landscape Details : R/3 4.6C to ECC 6.0 EHP4 with DB2 database in AIX.
The error at the phase is MAIN_SHDRUN/PARDIST_SHD
Checks after phase MAIN_SHDRUN/PARDIST_SHD were negative!
Last error code set: Single errors (code <= 8) found in logfile 'PARDSHD.ELG'
The logs which i got in the PARDSHD.LOG is pasted below
4 ETQ359 RFC Login to: System="HMD", Nr="01", GwHost="devccp01", GwService="sapg
w01"
4 ETQ232 RFC Login succeeded
4 ETQ233 Calling function module "SUBST_CHECK_BATCHJOB" by RFC
4 ETQ234 Call of function module "SUBST_CHECK_BATCHJOB" by RFC succeeded
4 ETQ239 Logging off from SAP system
4 ETQ263 Batchjob "RDDGENBB_7" finished successfully
3 ETQ399 log analyse: search for '.[WT ]' in '^DS......\.HMD$'
4 ETQ399 2009/12/12 12:22:14: put_execute: (tp) forkpid:1110020
4 ETQ399 Set environment for standard connect:
4 ETQ399 ENV: dbs_db6_schema=SAPR3
4 ETQ399 ENV: auth_shadow_upgrade=0
4 ETQ399 Set RFC variables for standard connect:
4 ETQ399 System-nr = '00', GwService = 'sapgw00'
4 ETQ399 Set tool parameters for standard connect:
4 ETQ399 default TPPARAM: DEFAULT.TPP
4 ETQ399 Set environment for shadow connect:
4 ETQ399 ENV: dbs_db6_schema=SAPR3
4 ETQ399 ENV: auth_shadow_upgrade=1
4 ETQ399 Set RFC variables for shadow connect:
4 ETQ399 System-nr = '01', GwService = 'sapgw01'
4 ETQ399 Set tool parameters for shadow connect:
4 ETQ380 computing toolpath for request "TP_SHADOW_CONNECT"
4 ETQ381 request "TP_SHADOW_CONNECT" means "tp needs to connect to shadow system
4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"
4 ETQ383 translates to path "exe"
4 ETQ383 translates to path "exe"
4 ETQ399 default TPPARAM: SHADOW.TPP
4 ETQ010 Date & Time: 20091212122214
I have tried to repeat the phase and searched in SDN and in SMP. What I am getting is that its more related to SQL database and DB trigger of the table.
Its nothing related to my issues, If you anyone have any view on this please suggest me
Regards
VijayHi
Thanks for the Reply
Herewith I have attached the log files of PARSHD.ELG
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
DISTRIBUTION ERRORS and RETURN CODE in DS091212.HMD
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2EEDA480 Update fails (mode flag "M" to "V" in DDXTT. Table: "OGV1_VAPMA_WSOP"
Long text:
Cause
This error message indicates that internal inconsistencies exist.
System Response
What to do
Please consult SAP.
2EEDA471 Result "OGV1_VAPMA_WSOP": Action: "MDF" Mode flag: "V"
Return code: "0"
2EEDA480 Update fails (mode flag "M" to "V" in DDXTT. Table: "ROG_VBAPUP")
Long text: see above
2EEDA471 Result "ROG_VBAPUP": Action: "MDF" Mode flag: "V" Retur
n code: "0"
2EEDA480 Update fails (mode flag "M" to "V" in DDXTT. Table: "OGV1_VAPMA_WSOP"
Long text: see above
2EEDA471 Result "OGV1_VAPMA_WSOP": Action: "MDF" Mode flag: "V"
Return code: "0"
2EEDA480 Update fails (mode flag "M" to "V" in DDXTT. Table: "ROG_VBAPUP")
Long text: see above
2EEDA471 Result "ROG_VBAPUP": Action: "MDF" Mode flag: "V" Retur
n code: "0"
2EEDA480 Update fails (mode flag "M" to "V" in DDXTT. Table: "OGV1_VAPMA_WSOP"
Long text: see above
2EEDA471 Result "OGV1_VAPMA_WSOP": Action: "MDF" Mode flag: "V"
Return code: "0"
2EEDA480 Update fails (mode flag "M" to "V" in DDXTT. Table: "ROG_VBAPUP")
Long text: see above
2EEDA471 Result "ROG_VBAPUP": Action: "MDF" Mode flag: "V" Retur
n code: "0"
2EEDA480 Update fails (mode flag "M" to "V" in DDXTT. Table: "OGV1_VAPMA_WSOP"
Long text: see above
I can see thre are no entries in sm13 or problem in ST22.
Regards
Vijay -
SL controller not getting started in preprocessing stage
Hi All,
We are performing a ECC upgrade in our landscape from ECC5.0 NUC to ECC6.0 with EHP5 UC and now we are in the Preprocessing phase. When I restart the upgrade from the upgrade directory, SL controller is getting exit with the fatal error.
What I have done is that,
I got a signal from ABAPER that SPAU / SPDD is completed and I just started the upgrade process again and noticed that system seems to be very slow and hence we have added Physical memory for the better performance ( In a proper way, like stopped the upgrade process, stopped SAP instance and then rebooted the machine ). Now when i try to continue the upgrade from the upgrade directory its surpirsingly throwing an error in this stage,
What I have done in the upgrade directory is ( WIndows 2003 system, x64 bit)
STARTUP.bat
Its throwing a java.lang exception in the command prompt.
WHen i see the log from sdt directory, it throws the below logs
Oct 27, 2011 6:10:02 AM [Info ]: Starting service "StorageService" ...
Oct 27, 2011 6:10:02 AM [Info ]: Stable storage file 'X:\UpgradePEC\sdt\data\.sdt_storage' not found
Oct 27, 2011 6:10:02 AM [Info ]: Creating stable storage file 'X:\UpgradePEC\sdt\data\.sdt_storage'
Oct 27, 2011 6:10:02 AM [Info ]: Stable storage file 'X:\UpgradePEC\sdt\data\.sdt_storage' read
Oct 27, 2011 6:10:02 AM [Info ]: Service "StorageService" started.
Nov 21, 2011 9:18:16 AM [Info ]: Starting service "StorageService" ...
Nov 21, 2011 9:18:16 AM [Info ]: Stable storage file 'X:\UpgradePEC\sdt\data\.sdt_storage' read
Nov 21, 2011 9:18:16 AM [Info ]: Service "StorageService" started.
Nov 29, 2011 9:53:37 AM [Info ]: Starting service "StorageService" ...
Nov 29, 2011 9:53:38 AM [Info ]: Stable storage file 'X:\UpgradePEC\sdt\data\.sdt_storage' read
Nov 29, 2011 9:53:38 AM [Info ]: Service "StorageService" started.
Dec 6, 2011 1:22:44 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 1:22:44 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 1:22:44 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 1:23:36 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 1:23:36 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 1:23:36 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 1:31:13 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 1:31:13 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 1:31:13 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 1:35:55 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 1:35:55 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 1:35:55 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 1:47:56 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 1:47:56 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 1:47:56 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 1:51:19 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 1:51:19 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 1:51:19 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 1:56:15 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 1:56:15 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 1:56:16 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:16:21 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 2:16:21 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:16:21 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:16:33 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 2:16:34 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:16:34 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:17:58 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 2:17:58 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:17:58 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:20:06 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 2:20:06 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:20:06 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:24:12 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 2:24:12 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:24:12 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:34:26 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 2:34:26 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:34:26 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:43:00 PM [Info ]: Starting service "StorageService" ...
Dec 6, 2011 2:43:00 PM [Error ]: java.io.EOFException: null
Dec 6, 2011 2:43:00 PM [Error ]: java.io.EOFException: null
I am not sure what happened ( I have resumed the upgrade twice in the check phase and that time I didnt get such errors), Now I am worried that most of the activities are completed and I am not able to resume my process.
Kindly help me out on this with your valuable suggestions
Note : I believe, since its the latest Startup.bat, we dont need to explicity mention the java jurisdiction policy - However I have tried that as well, but it throws an error by stating that parameter invalid - So, I believe we dont need to mention this and also I have resumed the ugprade process the same like now in the check phase, so I hardly believe it must be some other problem.
Regards
Vijay
Edited by: Vijay Kumar on Dec 6, 2011 8:17 PMHi,
Can you please stop SL controller and move the files .sdt_storage and
.sdt_keystore from DIR_PUT\upg\sdt\data\ to a different location and
restart the SL controller. Also make sure you have checked the below
SAP note
##[1302772|http://service.sap.com/sap/support/notes/1302772] - Central Note - SAP Enhancement Package Installer
Please refer to the following:
Windows: Applying Microsoft Security Patch
Due to a missing Microsoft security patch, your target system may not
start properly during the EHP installation. For this reason, apply the
Microsoft security patch before you start the enhancement package
installation.
For information about how to apply the security patch, see SAP Note
[1375494|http://service.sap.com/sap/support/notes/1375494].
Regards,
Aidan -
Preprocessing - Write; automatically for MM_EKKO?
Hello,
In SARA customizing for archiving object MM_EKKO you can set Write -> Delete to process automatically.
Is there any customizing that will allow you to automatically trigger the Write step following Preprocessing?
Regards,
PeterHi Juergen,
Just for my information.... to know if i am missing something...
I have tried this, but there is a catch when we want to schedule this job as a repetitive one using SARA...
1. When we schedule pre-processing job, the job which is released is a submit job (SUB) and not a pre-processing job (PRE), so if we schedule the write job to start 'after job', then it will start as soon as the SUB job is completed, so in reality Write job starts in parallel with the pre-processing job and not after that
2. when we schedule the pre-processing job as a repetitive one, say for example every month, each time the job name is different as it includes the time field. so the 'after job' just works for the first time and not for the subsequent runs.
Am i missing something?
Thanks,
Naveen -
PreProcess Event Handler setting default password
Greetings.
We developed a custom preprocess event handler and is working fine, but I want to set a default password for a new user using the sentence orchestration.addParameter("Password","defaultpassword") However I got the message :
<Error> <oracle.iam.identity.usermgmt.impl.handlers.create> <IAM-3050009> <Unknown attribute for entity user.
oracle.iam.platform.entitymgr.UnknownAttributeException: User : [Password]
I think that is necesary use a method like setXelleratePassword or something like that.
How to set a default password in a preprocess event handler associated to the create user event?
Thanks!Hi
Try with this.
Use orchestration.addParameter("USR_PASSWORD","defaultpassword") -
Hi,
I am developing a logic for UserID Generation using PreProcess Handlers. I am using the following code snippets for generating UserID.
====================================================
import oracle.iam.identity.usermgmt.api.UserManager;
import oracle.iam.platform.authz.exception.AccessDeniedException;
import oracle.iam.platform.entitymgr.vo.SearchCriteria;
public class CustomUserIDGeneration implements UserNamePolicy {
public String getUserNameFromPolicy(Map map) {
//Get FirstName and Last Name of the User Account
printMap(map);
FirstName = ((String)map.get("First Name"));
LastName = ((String)map.get("Last Name"));
public boolean isUserNameValid(String username, Map map) {
System.out.println((new StringBuilder()).append("MyCustomUserNameGenerator####isUserNameValid: username=").append(username).toString());
printMap(map);
List<String> userLogins = new ArrayList<String>();
UserManager usrService = oimClient.getService(UserManager.class);
Set<String> retAttrs = new HashSet<String>();
retAttrs.add(UserManagerConstants.AttributeName.USER_LOGIN.getId());
SearchCriteria criteria = new SearchCriteria("User ID", UserID2Search, SearchCriteria.Operator.EQUAL);
=======================================================================
While searching for the User ID exists in OIM or not, i am getting the below error.
oracle.iam.platform.authz.exception.AccessDeniedException: You do not have permission to search the following user attributes: User ID.
I am logging as "xelsysadm" user in the code.
If i use OIM 10g "findAllUsers()" API, I am able to generate the USERID and validate against the OIM. But when i am using 11g API's i am not able to complete. Can somebody help me on this.
Urgent help is highly appreciated.
Thanks,
SandeepD
Edited by: user13476138 on Jul 12, 2011 11:45 AMThank you for your reply. I just need some more clarifications. I need to populate 'User Login', with a generated username. Are you populating this field as well? This field is mandatory in oim 11g. I am unable to change it to be non-mandatory.
I did change the Default Policy for username, and set it to the plugin I implemented.
Here the steps I followed:
1- Created the Java class
2- Created plugin.xml
3- Created zip file then registered plugin.
4- Updated the Default User Name Policy.
Am I missing any steps??
Again thank you for all your help... -
Issue in SHADOW_IMPORT_INC phase during preprocessing step
Hello Guys,
I am facing issue in Preprocessing phase as per the attached screenshot.
***LOG BBC=>nametab inconsistency for table TADIR~ regarding view buffering
For this error.. I have changed the index from unique to non-unique and activated and adjusted the table COMC_ATTRIBUTE.
Still I am facing the same issue.
Kindly help .
BR,
MadhuraLogs:
#!---- MASKING file "SHDALLIMP.ELG" from "/usr/sap/SUM/abap/log"
#!---- TIME: 20140515202730 PHASE:
MAIN_SHDIMP/SUBMOD_SHDIMP/SHADOW_IMPORT_INC
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SHADOW IMPORT ERRORS and RETURN CODE in SAPKB74005.MDD
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3 ETW674Xstart import of "LIMUADIRLIMUCOMMCTS_TODO_CHECKS" ...
4 ETW000 [ dev trc,00000] Thu May 15 19:08:05 2014 153837 87.272694
4 ETW000 [ dbrsbuf ,00000] ***LOG BBC=>nametab inconsistency for
table TADIR~ regarding view buffering
4 ETW000
30 87.272724
4 ETW000 1 entry for TADIR~
updated (LIMUCOMMCTS_TODO_CHECKS ).
2EETW000 internal error in tw_mod_enhobj: nametabinfo of 'ENHOBJ~' not yet
read
4 ETW000 [ dev trc,00000] Thu May 15 19:08:45 2014 122098917 127.992332
4 ETW000 [ dev trc,00000] table logging switched off for all clients 22 127.992354
4 ETW000 [ dbrsbuf ,00000] ***LOG BBC=>nametab inconsistency for
table TADIR~
regarding view buffering
4 ETW000
2607 127.994961
4 ETW000 1 entry for TADIR~
updated
(R3TRCLASCL_TREX_COMPONENT_DESCRIPTOR ).
2EETW000 internal error in tw_mod_enhobj: nametabinfo of 'ENHOBJ~' not yet
read
4 ETW000 [ dev trc,00000] Thu May 15 19:09:23 2014
159937501 165.893725
4 ETW000 [ dev trc,00000] table logging switched off for all
clients
23 165.893748
4 ETW000 [ dbrsbuf ,00000] ***LOG BBC=>nametab inconsistency for
table TADIR~
regarding view buffering
4 ETW000
14195 165.907943
4 ETW000 1 entry for TADIR~
updated (R3TRCLASCL_ESH_TAU_TOOLS ).
2EETW000 internal error in tw_mod_enhobj: nametabinfo of 'ENHOBJ~' not yet
read
4 ETW000 [ dev trc,00000] Thu May 15 20:13:23 2014 -295576564 4005.412022
4 ETW000 [ dev trc,00000] table logging switched off for all
clients
22 4005.412044
4 ETW000 [ dbrsbuf ,00000] ***LOG BBC=>nametab inconsistency for
table TADIR~
regarding view buffering
4 ETW000 2172 4005.414216
4 ETW000 1 entry for TADIR~
updated (LIMUCOMMCTS_TODO_CHECKS ).
2EETW000 internal error in tw_mod_enhobj: nametabinfo of 'ENHOBJ~' not yet
read
1 ETP111 exit code :
"8"
#!---- MASKING file "SHDALLIMP.ELG" from
"/usr/sap/SUM/abap/log"
#!---- TIME: 20140516114433 PHASE:
MAIN_SHDIMP/SUBMOD_SHDIMP/SHADOW_IMPORT_INC
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SHADOW IMPORT ERRORS and RETURN CODE in SAPKB74005.MDD
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 ETW000 [ dev trc,00000] Thu May 15 20:28:56 2014 80292149 84.167582
4 ETW000 [ dev trc,00000] table logging switched off for all
clients 24
84.167606
4 ETW000 [ dbrsbuf ,00000] ***LOG BBC=>nametab inconsistency for
table TADIR~
regarding view buffering
4 ETW000
110864 84.278470
4 ETW000 1 entry for TADIR~
updated (LIMUCOMMCTS_TODO_CHECKS ).
2EETW000 internal error in tw_mod_enhobj: nametabinfo of 'ENHOBJ~' not yet
read
4 ETW000 [ dev trc,00000] Thu May 15 20:32:56 2014 319890475 323.780196
4 ETW000 [ dev trc,00000] table logging switched off for all
clients
23 323.780219
4 ETW000 [ dbrsbuf ,00000] ***LOG BBC=>nametab inconsistency for
table TADIR~ regarding view
buffering
4 ETW000
2159 323.782378
4 ETW000 1 entry for TADIR~
updated (LIMUCOMMCTS_TODO_CHECKS ).
2EETW000 internal error in tw_mod_enhobj: nametabinfo of 'ENHOBJ~' not yet
read
1 ETP111 exit code :
"8"
#!---- MASKING file "SHDALLIMP.ELG" from
"/usr/sap/SUM/abap/log"
#!---- TIME: 20140516120306 PHASE:
MAIN_SHDIMP/SUBMOD_SHDIMP/SHADOW_IMPORT_INC
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SHADOW IMPORT ERRORS and RETURN CODE in SAPKB74005.MDD
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
4 ETW000 [ dev trc,00000] Fri May 16 11:45:59 2014 80287765 84.179597
4 ETW000 [ dev trc,00000] table logging switched off for all
clients
23 84.179620
4 ETW000 [ dbrsbuf ,00000] ***LOG BBC=>nametab inconsistency for
table TADIR~
regarding view buffering
4 ETW000
120597 84.300217
4 ETW000 1 entry for TADIR~
updated (LIMUCOMMCTS_TODO_CHECKS ).
2EETW000 internal error in tw_mod_enhobj: nametabinfo of 'ENHOBJ~' not yet
read
4 ETW000 [ dev trc,00000] Fri May 16 11:49:56 2014
317016281 320.974530
4 ETW000 [ dev trc,00000] table logging switched off for all
clients
24 320.974554
4 ETW000 [ dbrsbuf ,00000] ***LOG BBC=>nametab inconsistency for
table TADIR~
regarding view buffering
4 ETW000
2125 320.976679
4 ETW000 1 entry for TADIR~ updated (LIMUCOMMCTS_TODO_CHECKS ).
2EETW000 internal error in tw_mod_enhobj: nametabinfo of 'ENHOBJ~' not yet
read
1 ETP111 exit code :
"8"
BR,
Madhura -
Preprocess Program for MM_EBAN (ECC 5.0)
Hello everyone,
I am currently trying to add the Preprocess program to the achiving transaction SARA. Our version us 5.0. I am unable to locate the program that does the Preprocessing. Currently the system is configured for RM06BW30 for the Write Program, RM06BD30 for the Delete Program and there is nothing set for the Preprocessing Program. I did a search for program RM06BV30 or anything similar and found nothing.
Can some please help me get the Preprocessing program added to the archive for MM_EBAN?
Thanks in advance.Anyone? I could really use some help on this one. Thanks.
-
Debugging a sourcecode that uses Antenna's "preprocessing" feature.
I wonder if there's a way to use Eclipse(or any other IDEs) to debug(stepping through, set breakpoints, etc.) a code that look something like this:
//#ifdef conditionA
public class Screen implements Runnable
//#else
public class Screen implements Runnable, CommandListener
I tried searching Eclipse's documentation for "preprocess" but found nothing.
Thanks in advance!
Message was edited by:
KakyoinSeveral days passed but still 0 reply.
I'll assume that currently it's impossible to do the mentioned debugging then. ^_^; -
TREX preprocessing failed, HTTP Status Code 401
Hello everybody!
I'm using SAP NetWeaver 7.0 (2004s), TREX 7.0 on Win2003 Server.
I'm trying to index files, but it doesn't work for files bigger than 10KB. I know that for these documents > 10KB only the URI is transmitted to TREX. So it seems the problem is based on the communication between TREX and portal.
Error messages:
TREX monitor: preprocessing failed, error number: 6401, error message: HTTP Status Code 401: Unauthorized
Indexmonitor: Trex: Preparation failed: index operation
- all TREX server status icons are green.
- I'm not using any SSL communication.
- indexing doesn't work for any data sources, neither web repositories nor KM content.
- I've checked the host and alternative host parameter in the URL generator service (both http://<myservername>:50100).
- I am able to access the URL of the resource directly.
- I've added the "unescape_url=no" entry in the TREXPreprocessor.ini like SAP Note 650521 says.
- my system ID is properly set.
- the password of user index_service does not expire.
Does anybody have any further ideas?
Many thanks in advance
Steffi, working on it for days...Hello Robert and Steffi,
With the help of SAP support, I could solve the problem !
Certificate for SAPLogonTickets had expired, so authentication was no longer possible. Solution : recreated the certificates with Visual Admin.
In Visual Admin, go to "Key Storage" service, then choose "TicketKeystore" view.
Delete SAPLogonTicketKeypair and SAPLogonTicketKeypair-cert certificates (or rename them in a first time).
Then recreate "SAPLogonTicketKeypair" :
- fill the Entry Name with "SAPLogonTicketKeypair",
- fill "Common Name" with the value from the previous ticket
- check "Store Certificate" (this will automatically create SAPLogonTicketKeypair-cert)
- choose "DSA" as Algorithm
and click on "Generate"
That worked fine for us on two platforms.
Hope that gonna help...
Nicolas -
XSL Preprocessing: Does Xalan's document(URI) work?
Hi fellows,
For the first time I have XML source file with xi:include tags, like
<xi:include href="other.xml"/>
Many XSLT processor automatically process the xi:include element, but Xalan-C as shipped with FrameMaker apparently does not. So I added this to my preprocessing stylesheet:
<xsl:template match="xi:include">
<xsl:apply-templates select="document(@href)/*" />
</xsl:template>
FrameMaker 10 (in this case, hadn't had the time to test with previous version) hangs with 100% processor usage as soon as I access the document() function.
Has anyone successfully used the XSLT document() function with FrameMaker?
Thanks,
- MichaelSolved.
What I found was: The use of xi:include moved data into external files which was expected in the main XML file. Because it was not there, some variable value was set to zero, and following this a division by zero made FrameMaker use the processor but never reported any error or problem.
Lesson learned: Before you use the div operator, always check the value of the denominator!
- Michael -
Preprocess​ing for DAQ Counter Input
Greetings,
I am using an NI DAQ device (USB-6431) to capture angular motion via a three-channel optical quadrature encoder. I have constructed my LabVIEW VI with DAQmx VIs to configure my DAQ (I'm using one of the onboard counters to measure angular position). I noticed throughout the process that there are many built in 'conveniences' that make the setup of the counter quite simple; the VI will automatically process the signals using X4 encoding and Z-indexing with the introduction of a few constants. I am making the assumption that the DAQ device and/or the computer does preprocessing on the input stream before it enters a buffer in order to convert ticks on three channels to values such as '-5.13 radians'. Firstly, is that a correct assumption? Is this is indeed the case, I would like to do some of my own preprocessing to deal with some of the idiosyncrases of my encoder. I am concerned that my computer would not be able to keep up if I do this processing within a LabVIEW loop using the DAQmx Read VI to grab the data from the buffer, so my next thought was to do the processing along with whatever code manages the position measurements from the counter BEFORE it enters the buffer and gets logged to disk. My question is, how would I go about adding this preprocessing behavior to my workflow? I am not at all opposed to writing some C if necessary. I would also appreciate any comments/corrections on my method; I am new to LabVIEW and data aquisition, so I am not sure if this is the right way to go about gathering and processing my data. Thank you for your time.Just a few quick thoughts:
1. X4 encoding and Z-indexing happens on the board hardware (when configured), no processing involved
2. Scaling to radians or whatever is done by the DAQmx driver. Trivial processing takes place. (You can also choose to perform a U32 format read to get the raw count value instead of the scaled value.)
3. I can just about guarantee that your computer and the DAQmx driver can keep up if you program the data acq and the processing to run in parallel. LabVIEW makes parallelism pretty easy, to learn more search out the producer - consumer design pattern.
4. It won't be productive to try to wedge in some low-level processing between the board and the DAQmx API. I doubt it's even feasible. Learning to spin off parallel work with the producer - consumer pattern will let you use DAQmx as is without a hitch.
Sorry, no more time now, gotta run. Hopefully someone will be able to point you to a couple specific examples to illustrate.
-Kevin P -
Duration between Preprocessing and Downtime phase
Hello All,
We are currently upgrading our system from SAP ECC 6.0 EHP4 to EHP5. To reduce the performance issues caused to our production system due to the preprocessing phase running inthe background during productive use, we are planning to complete the Preprocessing phase over one weekend and start the Downtime phase during the subsequent weekend.
Though logically I think we can do it, can anyone confirm if there could be any issues by seperating the end of the Preprocessing phase and start of the downtime phase by a week?
Let me know what precautions we need to take in case if this is possible.
Thanks
DHello Jorge,
Sorry for the delay in my response, SCN was not letting me logon. SSO error. Yes you can start the downtime phase later. Just take care that there is a change freeze so that no changes/transports being moved to production.
Hope this helps.
Regards
Dee
Maybe you are looking for
-
Here maps hangs when finding directions
I am bringing my lumia 720 to the uk. Origin country is indonesia. Problem is that the Phone hangs whenever i try to find directions on here maps. Sometimes it Works when the destination is very close, like 5 mules away. But when my destination is 50
-
How do I get songs on iTunes to stop skipping?
I've had no trouble with iTunes up until recently, when my music began to skip. Songs will just randomly start to skip, and even if I press the pause button and try to restart them they still skip. I've also tried shutting down and retarting iTunes,
-
Hello, I've been able to setup my J2EE web server on localhost (my computer). But now I want to access this web server from within my intranet network, on another machine. How do I do this? Right now the URL to the servlet is http://locahost:8000/foo
-
Spaces - Window disappears when I turn Spaces off
After using Spaces for a while I decided it was not a feature I care for. I turned it off and found that every so often a window I am working in (so far Mail and MS Word) will disappear. It is not minimized in the dock but the application is still ru
-
About selecting record from a list
hai sir , i have displayed on list using alv function module . but ,i want to select one or more record from the list. and press any function key it shoud display the records which i was selected.how its possible give some idea.