Lock Object error during batch load
Batch load was delayed about an hour. First error message in the Server Log said "Object is already locked by user""Error 1053010 processing request [Lock Object]-Disconnecting"Then it went through a series of "Object locked by user admin" and "received client request: create Temporary Object(from user admin)"It did this several times until connection.Although from time to time we have had problems with Objects getting locked and preventing maintenance in the Application Manager. This is the first time that is has prevented a batch load. Does anyone know what could have triggered this during the load process?
This happened to us a lot, I think it's due to people opening objects, then letting their session time out, leaving a phantom lock.We solved the problem by calling the UNLOCKOBJECT function before any dimbuilds. 99.9% of the time this raises an error, "..object x is not locked..", but the rare time that the otl is inadvertently locked, it prevents the script from failing.<br><br>HTH,<br><br>Jeff McAhren<br>Dallas, Texas<br><br>ex to unlock the outline for app/db flash:<br><br>UNLOCKOBJECT 1, "FLASH" "FLASH" "FLASH"
Similar Messages
-
Error during batch determination in sales order
Hi all,
I have this information error during batch determination: LB059 " Error when mixing configuration and selection criteria" .
Does anyone know what i´m doing wrong?
We are using materials with characteristics, and when i try the batch determination in a sales order, i got this messagge.
Thank you all!!Hello Juan
The characteristics you used to configure the product in the sales order are passed dynamically during run time as selection criteria to determine a matching class and that's where the problem is happening.
Sit with an ABAPer to debug and find out what's the issue. Your focus for this activity should be on the following includes to Program SAPLV01F:
LV01FFC1
and
LV01FM01
More specifically, test the following Function Modules with your live data to figure out which one is failing:
CLO0_DDB_OBJ_VALUATION_OPEN
CTMS_DDB_HAS_CHARACTERISTICS
CTMS_DDB_HAS_VALUES
CTMS_DDB_DEL_VALUE
CTMS_DDB_SET_VALUE_INTERNAL
CLO0_DDB_OBJ_VALUATION_CLOSE
Hope this helps. Sorry it is hard to give a functional type of response to this very technical issue. -
Error during database load in ECC 5.0
Hello All,
i am trying to install ECC.5 with oracle 10g during database load phase he is giving me a error when i saw in log file i found this.
C:\usr\sap\EPT\SYS\exe\run/R3load.exe: START OF LOG: 20090611085559
C:\usr\sap\EPT\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP
C:\usr\sap\EPT\SYS\exe\run/R3load.exe: version R6.40/V1.4
C:\usr\sap\EPT\SYS\exe\run/R3load.exe -ctf I E:/sap5/51031332_1/EXP1/DATA/SAP0000.STR C:\Program Files\sapinst_instdir\ECC50\SYSTEM\ABAP\ORA\NUC\DB/DDLORA.TPL C:\Program Files\sapinst_instdir\ECC50\SYSTEM\ABAP\ORA\NUC\DB/SAP0000.TSK ORA -l C:\Program Files\sapinst_instdir\ECC50\SYSTEM\ABAP\ORA\NUC\DB/SAP0000.log -o D
C:\usr\sap\EPT\SYS\exe\run/R3load.exe: job completed
C:\usr\sap\EPT\SYS\exe\run/R3load.exe: END OF LOG: 20090611085559
C:\usr\sap\EPT\SYS\exe\run/R3load.exe: START OF LOG: 20090611103425
C:\usr\sap\EPT\SYS\exe\run/R3load.exe: sccsid @(#) $Id: //bas/640_REL/src/R3ld/R3load/R3ldmain.c#6 $ SAP
C:\usr\sap\EPT\SYS\exe\run/R3load.exe: version R6.40/V1.4
C:\usr\sap\EPT\SYS\exe\run/R3load.exe -dbcodepage 1100 -i C:\Program Files\sapinst_instdir\ECC50\SYSTEM\ABAP\ORA\NUC\DB/SAP0000.cmd -l C:\Program Files\sapinst_instdir\ECC50\SYSTEM\ABAP\ORA\NUC\DB/SAP0000.log -stop_on_error
DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
DbSl Trace: CONNECT failed with sql error '1034'
DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
DbSl Trace: CONNECT failed with sql error '1034'
(DB) ERROR: db_connect rc = 256
DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
DbSl Trace: CONNECT failed with sql error '1034'
DbSl Trace: OCI-call 'OCISessionBegin' failed: rc = 1034
DbSl Trace: CONNECT failed with sql error '1034'
(DB) ERROR: DbSlErrorMsg rc = 99
C:\usr\sap\EPT\SYS\exe\run/R3load.exe: job finished with 1 error(s)
C:\usr\sap\EPT\SYS\exe\run/R3load.exe: END OF LOG: 20090611103428
can anybody help me to sort this out.
Any help highly appreciated.
Thanks & Regards
SubhashFirst of all thanks for helping me
i have tried this
Connected to an idle instance.
SQL> STARTUP MOUNT
ORACLE instance started.
Total System Global Area 205520896 bytes
Fixed Size 1248116 bytes
Variable Size 117441676 bytes
Database Buffers 83886080 bytes
Redo Buffers 2945024 bytes
Database mounted.
SQL> SET AUTORECOVERY ON
SQL> RECOVER DATABASE
ORA-00279: change 262364 generated at 06/11/2009 09:43:56 needed for thread 1
ORA-00289: suggestion : C:\ORACLE\EPT\ORAARCH\EPTARCHARC00052_0689209324.001
ORA-00280: change 262364 for thread 1 is in sequence #52
ORA-00308: cannot open archived log
'C:\ORACLE\EPT\ORAARCH\EPTARCHARC00052_0689209324.001'
ORA-27041: unable to open file
OSD-04002: unable to open file
O/S-Error: (OS 2) The system cannot find the file specified.
But i m not able to see any archive file on oraarch folder
Regards
Subhash -
Strange Error During Page Load in Debug Mode (only) - Please Help!
Hi All,
Data base version: oracle 11g
Apex version: Apex 4.1.1
Webserver: Apache
Need help with how to troubleshoot a Critical problem. The following error only occurs during page load in "Debug" mode. And, only occurs on a specific page within the application. A web page is served-up containing the following message and the application is blocked from running the page. The browser's (IE 8.0) back button must be clicked to proceed outside of "Debug" mode.
"Error occurred while painting error page: ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06502: PL/SQL: numeric or value error: character string buffer too small"
Debug log follows:
"S H O W: application="2006" page="6" workspace="" request="" session="500549669426301"
Computation point: Before Header
...Perform computation of item: APP_SERVER, type=FUNCTION_BODY
...Performing function body computation
...Execute Statement: declare function x return varchar2 is begin return owa_util.get_cgi_env('SERVER_NAME'); return null; end; begin wwv_flow.g_computation_result_vc := x; end;
......Result = 156.9.122.214
...Session State: Save "APP_SERVER" - saving same value: "156.9.122.214"
Processes - point: BEFORE_HEADER
...Process "GET_POSITION" - Type: PLSQL
...Execute Statement: begin wwv_flow.g_boolean := :F109_POSITION_ID IS NULL and :APP_PAGE_ID != 101; end;
......Result = FALSE
......Skip because condition or authorization evaluates to FALSE
...Process "Get JARS Sifter Log File Record Count" - Type: PLSQL
...Execute Statement: begin DECLARE vcnt NUMBER := 0; BEGIN d('Get JARS Sifter Log File Record Count'); Select count(*) into vcnt From JARS.JARS_SIFTER_LOG Where moveid = to_number(:P6_MOVEID) and sifter_status IN ('F','J'); :F1000_P6_SIFTER_LOG_COUNT := to_char(vcnt); END; end;
Custom: Get JARS Sifter Log File Record Count
...Process "Set PTM Planned Trip Status" - Type: PLSQL
......Skip because condition or authorization evaluates to FALSE
...compatibility mode - do not set mime type
...compatibility mode - do not set additional http headers
...close http header
...metadata, fetch item type settings
...metadata, fetch items
Show page template header
Rendering form open tag and internal values
Add error onto error stack
...Error data:
......message: Error processing request.
......additional_info: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
......display_location: ON_ERROR_PAGE
......is_internal_error: true
......apex_error_code: APEX.UNHANDLED_ERROR
......ora_sqlcode: -6502
......ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
......error_backtrace: ORA-06512: at "APEX_040100.WWV_FLOW", line 3027 ORA-06512: at "APEX_040100.WWV_FLOW", line 7867
...Show Error on Error Page
......Performing rollback
Rendering form open tag and internal values
...Unhandled Error while painting error page: ORA-06502: PL/SQL: numeric or value error: character string buffer too small ORA-06502: PL/SQL: numeric or value error: character string buffer too small
...Error Backtrace: ORA-06512: at "APEX_040100.WWV_FLOW", line 2707 ORA-06512: at "APEX_040100.WWV_FLOW_ERROR", line 185
End Page Rendering"
Thanks!
BernardAll,
It appears that the page Javascript maximum limit size was reached. The error stopped appearing after some of the page Javascript code was removed out to Application Static Files. I wonder if there exists any "direct" indicator by the system whenever the size limit has been reached?
Again, the run error only occurred when the page was loaded in "Debug" mode.
Bernard -
CRM 5.0 - Error during Initial Load
Hi,
We have connected CRM 5.0 with ECC 5.0.
During initial load we are getting error in the outbound queue of ECC system as 'Name or Password incorrect (Repeat Logon)'.
Any idea, why is this happening. We have double checked the user id and password entered in SM59 is correct.
Thanks in advance,
AmitHi Michael,
Yes, I had checked on both the systems.
Anyways, the problem is now solved, it seems the BASIS team did some goofup while configuring the RFC destinations. It is working now.
Thanks for your help.
Cheers,
Amit -
Sysfail error during initial load
Got sysfail error. Checked for shortdumps and found this
MESSAGE_TYPE_X SAPLCRMO
'No external system (such as CRM) connected'
Checked the RFC. Seems ok. Any idea?
Get the parameters for the RFC conection.
c_stshd-mass_queue = c_stshd-mass_data.
PERFORM get_download_params_and_queue
TABLES t_bapistructures
USING c_stshd-objname
c_stshd-objclass
gv_destination
gv_rfc_queue
gv_server_release
i_bapicrmdh2
c_stshd-mass_queue
c_stshd
i_transfer_data
i_crmrfcpar
e_rfcoltp.
Set variables
e_synchronous_call = gv_synchronous_call.
Raise an error if the destination of the foreign system could not be
found. (Only during Initial Load, Upload, Compare and Requests).
IF gt_rfcdest[] IS INITIAL AND
NOT i_bapicrmdh2-ref_id IS INITIAL.
MESSAGE x050(c_) WITH
'No external system (such as CRM) connected'(007).
ELSE.
t_rfcdest[] = gt_rfcdest[].
ENDIF.The RFC Destination for Replication & Realignment (Clt 000) isn't set because only the root admin has access to clnt000 and he's in vacation. Could that be the problem?
-
Error during initial load of object SI_CONNOBJ
Hi All,
I am not able to do initial load of object SI_CONNOBJ from OLTP R/3 to CRM using transaction R3AS. It is in "Abort" Status. When I am checking the relevant Bdoc generated for the same it is giving me the error as "No data records in transport structure BAPIMTCS Message no. IBSSI_CRMTO_MESSAGES010 ". Please help me in this regard.Hello Aishuman,
I am not sure what your question is. Yes, of course, you must have connection objects in the IS-U system. Otherwise, what do you want do download to CRM? You must have have the middleware in general and also the adapter SI_CONNOBJ enabled in the IS-U system. I am sure you know, that an IS-U connection object is represented as an IBASE in CRM.
Does a delta replication work (from IS-U to CRM and from CRM to IS-U)?
Kind regards,
Fritz -
Error during delta load for bulk upload data object
Hi All,
I am getting the following message in the backend integration logs for one of the bulk enabled data object.
Error message:
Unable to find parent record for record of node 'CHILD2'.
Message : SMMWKGN class 005.
Does anyone know about this error.
I have defined the the fields as key in child nodes which are defined as key fields in Header structure?
Also while executing the getlist and getdetail i am able to see all the related data?
Can somebody suggest?
Thanks
Devfound out the problem. Solved
-
Error during Batch Planning Redeploy
Hello, everyone
I'm trying to import planning metadata and redeploy an application by batch script:
set bpmaserverurl=http://0.0.0.0/hyperion-bpma-server;
set workspaceurl=http://0.0.0.0:19000/workspace;
Login;
Execute Import Parameters(importtype, profilename, filename, waitforcompletion)Values('InterfaceTables', 'CAPEX_TE_LOAD', '', 'true');
Execute Redeploy Parameters(ApplicationName, InstanceName, HubProject, ClearAll, CheckIntegrity, waitforcompletion, purgeTransactions, deployOption, escapeValidateRules, Notes) Values ('CAPEX_TE', 'Default', 'Planning', 'false', 'false', 'true', 'true', 'AppView', 'true', 'CAPEX_TE redeployment');
Logout;
Quit;
Metadata import does well. But during redeploy I get an error:
<h4>Invalid data source ''. Either the data source does not exist or the application has not been deployed to the data source...</h4>
Manual deploy/redeploy (through Planning) works fine.
Please, help.
Best regardsIf anyone interested, we have manually validated and deployed the application. From then on the batch was working fine again. It looks like validation has been failing during the batch, but once we did it manually, it seems to have cleared itself.
-
Hi,
Our end users are preparing their scripts for UAT and I have been asked to provide a list of data errors which they might need to test during UAT.
Can someone please help me in this. This is very urgent!!!
Thanks,
RPK.
Message was edited by:
RPKHI,
1.No IDocs could be sent to the SAP BW using RFC.
2.IDocs were found in the ALE inbox for Source System that are not
Updated. Processing is overdue
5.1st That it is a PC File Source System.
2nd - That there are Duplicate Data Records leading to error.
7.1st That it is a PC File Source System.
2nd For uploading data from the PC File it seems that the file was not kept at the application server & the job was scheduled in Background
8.The background processing was not finished in the source system.
It is possible that the background processing in the source system was terminated.System response .There are incomplete data packets present
9.After looking at all the above error messages we find that if we want to load data with the delta update you must first initialize the delta process.
10.Here we can see that the Activation of ODS has failed as the Request Status in the ODS may not be green.
13.While Fiscal year is mostly the financial year and varies depending upon the Client using which Fiscal year Variant. Client may consider April is the start month of year (financial) .So this can be achieved by defining the fiscal year.One client can have different fiscal year definations with different Fiscal varients.So Fiscal variants differ the starting and ending of fiscal year.
For example in India we follow Fiscal year from April to March. You can have a look at the Fiscal year Variant and the periods in transaction OB29
14.Due to space problem these types of errors occurs -
Error during page load in e-Recruitment
Hi SAPiians,
We are implementing SAP e-Recuitment using BSPs. We are done with the configuration part and also configured the ALE.
Also, generated the URLs using RCF_GENERATE_URLS. When i copy and paste the URL in a browser, the logon page pops up. When i enter the username(has all the e-Rec specific objects assigned to it) and password, it ends in a short dump. Below is the text:
Note
The following error text was processed in the system DER : Access via 'NULL' object reference not possible. The error occurred on the application server DV35_DER_01 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_HTMLB_ELEMENT_DELEGATED~DO_AT_END of program CL_HTMLB_HEADINCLUDE==========CP
Method: DELEGATED_END of program CL_HTMLB_ELEMENT==============CP
Method: IF_BSP_ELEMENT~DO_AT_END of program CL_HTMLB_HEADINCLUDE==========CP
Method: IF_BSP_PAGE_CONTEXT~ELEMENT_PROCESS of program CL_BSP_PAGE_CONTEXT===========CP
What can I do?
If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system DER in transaction ST22.
If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server DV35_DER_01 in transaction SM21.
If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 0 in transaction ST11 on the application server DV35_DER_01 . In some situations, you may also need to analyze the trace files of other work processes.
If you do not yet have a user ID, contact your system administrator.
Error code: ICF-IE-http -c: 200 -u: RCF_UNREG -l: E -s: DER -i: DV35_DER_01 -w: 0 -d: 20081017 -t: 145914 -v: RABAX_STATE -e: OBJECTS_OBJREF_NOT_ASSIGNED
The ST22 dump has following message:
What happened?
Error in the ABAP Application Program
The current ABAP program "CL_HTMLB_HEADINCLUDE==========CP" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
You attempted to use a 'NULL' object reference (points to 'nothing')
access a component (variable: " ").
An object reference must point to an object (an instance of a class)
before it can be used to access components.
Either the reference was never set or it was set to 'NULL' using the
CLEAR statement.
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"OBJECTS_OBJREF_NOT_ASSIGNED" " "
"CL_HTMLB_HEADINCLUDE==========CP" or "CL_HTMLB_HEADINCLUDE==========CCIMP"
"IF_HTMLB_ELEMENT_DELEGATED~DO_AT_END"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "DV35"
Network address...... "10.8.54.191"
Operating system..... "SunOS"
Release.............. "5.9"
Hardware type........ "sun4u"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 0
Shortdump setting.... "full"
Database server... "DV35"
Database type..... "ORACLE"
Database name..... "DER"
Database user ID.. "SAPSR3"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Feb 3 2008 21:08:24"
create on........ "SunOS 5.9 Generic_117171-13 sun4u"
Database version. "OCI_102 (10.2.0.2.0) "
Patch level. 146
Patch text.. " "
Database............. "ORACLE 9.2.0.., ORACLE 10.1.0.., ORACLE 10.2.0.."
SAP database version. 700
Operating system..... "SunOS 5.9, SunOS 5.10"
Memory consumption
Roll.... 16192
EM...... 4189848
Heap.... 0
Page.... 16384
MM Used. 2078976
MM Free. 2108272
User and Transaction
Client.............. 200
User................ "RCF_UNREG"
Language Key........ "E"
Transaction......... " "
Transactions ID..... "48F75A37D7085D19E10000000A0836BF"
Program............. "CL_HTMLB_HEADINCLUDE==========CP"
Screen.............. "SAPMHTTP 0010"
Screen Line......... 2
Information on Caller ofr "HTTP" Connection:
Plug-in Type.......... "HTTP"
Caller IP............. "10.125.6.207"
Caller Port........... 8001
Universal Resource Id. "/sap/bc/bsp/sap/hrrcf_cand_reg/application.do"
Source Code Extract
Line SourceCde
106 ** Wednesday
107 * CALL FUNCTION 'DATE_GET_WEEK' EXPORTING date = '20030101' IMPORTING week = week_num.
108 * IF week_num+4(2) = '01'. firstweekcode = firstweekcode + 8. endif.
109 *
110 ** Thursday
111 * CALL FUNCTION 'DATE_GET_WEEK' EXPORTING date = '20040101' IMPORTING week = week_num.
112 * IF week_num+4(2) = '01'. firstweekcode = firstweekcode + 16. endif.
113 *
114 ** Friday
115 * CALL FUNCTION 'DATE_GET_WEEK' EXPORTING date = '19990101' IMPORTING week = week_num.
116 * IF week_num+4(2) = '01'. firstweekcode = firstweekcode + 32. endif.
117 *
118 ** Saturday
119 * CALL FUNCTION 'DATE_GET_WEEK' EXPORTING date = '20000101' IMPORTING week = week_num.
120 * IF week_num+4(2) = '01'. firstweekcode = firstweekcode + 64. endif.
121 *
122 ** Sunday
123 * CALL FUNCTION 'DATE_GET_WEEK' EXPORTING date = '20060101' IMPORTING week = week_num.
124 * IF week_num+4(2) = '01'. firstweekcode = firstweekcode + 1. endif.
125 *
126 * sfirstweekcode = firstweekcode.
127
128 * Get date format
129 * SELECT SINGLE datfm FROM usr01 INTO datfm WHERE bname = sy-uname.
130 * if datfm is initial.
131 * datfm = '1'.
132 * endif.
133
134 data: stylepath type string,
134 data: stylepath type string,
135 popuppath type string.
136 stylepath = headinclude->mc_render_lib_d2_system->stylepath.
137 popuppath = stylepath.
138
The error is at line 136.
What could be the problem ?? I have done all the config related to e-Recruitment... Also activated most of the SICF services...
Could something be pending from BASIS front ?? Below are some of the keywords found in SM21 log.
1. Run-time error "OBJECTS_OBJREF_NOT_ASSIGNED" occurred
2. Task: 23834, Process:Dialog work process No. 001, Program: SAPMHTTP, Problem Class: Transaction problem, Package:SABP
Module Name:abdata, Line:0430, Error text:ab_DataAddrRead
Please guide...
Thanks.
Shashank ShiraliHi Friends,
The problem is solved. The issue was with SICF service activation.
Certain system services were not activated.
Thanks,
Shashank Shirali -
Error during data load due to special characters in source data
Hi Experts,
We are trying to load Billing data into the BW using the billing item datasource. It seems that there are some special characters in the source data. When the record with these characters is encountered, the request turns red and the package is not loaded even into the PSA. The error we get in the monitor is something like
'RECORD 5028: Contents from field **** cannot be converted into type CURR',
where the field **** is a key figure of type currency. We managed to identify the said record in RSA3 on the source system and found that one of the fields contains some invalid (special) characters that show up as squares in RSA3. The data in the rest of the fields, including the fields mentioned in the error looks correct.
Our source system is a non-unicode system wheras the BW system is unicode enabled. I figure that the data in the rest of the fields are getting misaligned due to the presence of the invalid characters in the above field. This was confirmed when we unassigned the field with the special characters from the transfer rules and removed the source field from the transfer structure. After doing this the data was loaded successfully and the request turned green.
Can anyone suggest a way to either filter out such invalid characters from the source data or make some settings in the BW systems such that the special characters are no longer invalid in the BW system? We cannot write code in the transfer rules because the data package does not even come into the PSA. Is there any other method to solve this problem?
Regards,
TedHi Thad,
I was wondering, if system is unicode or non unicode that should not matter the amount and currency field . As currencies are defined by SAP and it is in pure English at least a currency code part of 3 Chars.
Could this because of some incosistency of data ??
I would like to know for Which currency had some special characters it it in that particular record ??
Hope that helps.
Regards
Mr Kapadia -
Error during dimension load in planning using ODI adapter
I have created a Planning app in Classic and used ODI Planning adapter to load the dimension from a csv file. I tried this with Account and Entity dimension. Both fail at the same step. This is the error I get.
Error:
-22 : S0002 : java.sql.SQLException: Table not found: C$_0Entity in statement
java.sql.SQLException: Table not found: C$_0Entity in statement
at org.hsqldb.jdbc.jdbcUtil.throwError(Unknown Source)
at or
-22 : S0002 : java.sql.SQLException: Table not found: C$_0Account in statement
java.sql.SQLException: Table not found: C$_0Account in statement
I am following John Goodwin's blog and not sure if I am missing a step. I would appreciate any help with this.
ThanksThank you John for your respone. Here are the details:
Step 1 - Loading -SS_0 - Drop work table - It is failing in this step with the following message:
-22 : S0002 : java.sql.SQLException: Table not found: C$_0Account in statement [drop table "C$_0Account"]
java.sql.SQLException: Table not found: C$_0Account in statement [drop table "C$_0Account"]
Step 2, 3, 5 and 6 are successful
Step 7 - Integration - Interface name - Report Statistics - This fails with the following error:
org.apache.bsf.BSFException: exception from Jython:
Traceback (innermost last):
File "<string>", line 2, in ?
Planning Writer Load Summary:
Number of rows successfully processed: 0
Number of rows rejected: 8
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.k.a(Unknown Source)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(Unknown Source)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(Unknown Source)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execScriptingOrders(Unknown Source)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(Unknown Source)
at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(Unknown Source)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(Unknown Source)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(Unknown Source)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(Unknown Source)
at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(Unknown Source)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(Unknown Source)
at com.sunopsis.dwg.cmd.e.i(Unknown Source)
at com.sunopsis.dwg.cmd.h.y(Unknown Source)
at com.sunopsis.dwg.cmd.e.run(Unknown Source)
at java.lang.Thread.run(Thread.java:595)
I have checked the check box "Staging Area different from Traget" and selected "Sunopsis Memory Engine"
I would appreciate your help - Thanks -
Hi everybody
Ive run the tcode SHDB to get the recording of transaction XD02, in it, theres an input field called RMCLF-CLASS(01), but when Im running my program, its giving me an error message 'Field RMCLF-CLASS(1) is not an input field'.
Does anybody know why?heres the code
DATA : field1(20),
field2(20),
telf1 TYPE kna1-telf1,
adrnr TYPE kna1-adrnr,
ktokd TYPE kna1-ktokd,
wa_extab TYPE ty_tab1,
cname(20) VALUE 'KNVK-NAME1(00)',
banks(20) VALUE 'KNBK-BANKS(00)',
bankn(20) VALUE 'KNBK-BANKN(00)',
bankl(20) VALUE 'KNBK-BANKL(00)'.
DATA : field3(20) VALUE 'RCTMS-MNAME(00)',
field4(20) VALUE 'RCTMS-MWERT(00)',
pos(2) TYPE n VALUE 0.
DATA : head2(10).
DATA : t_smtp TYPE adsmtp OCCURS 0 WITH HEADER LINE.
FIELD-SYMBOLS : <fs1>, <fs2>,
<fs_ablad> TYPE ty_ablad.
CLEAR : bi_open, flags.
Fill in work area fields with the appropriate data
LOOP AT t_field ASSIGNING <fs_field>
WHERE value <> 00
AND flagname <> space.
CONCATENATE 'FLAGS' <fs_field>-flagname INTO field1
SEPARATED BY '-'.
ASSIGN (field1) TO <fs1>.
<fs1> = 'X'.
ENDLOOP.
IF flags-d0340 IS INITIAL AND p_unpnt = 'X'.
flags-d0340 = 'X'.
ENDIF.
IF flags-d0310a = 'X' AND flags-d0310 IS INITIAL.
flags-d0310 = 'X'.
ENDIF.
IF flags-d0320t = 'X' AND flags-d0320 IS INITIAL.
flags-d0320 = 'X'.
ENDIF.
IF p_bppy = 'X'.
flags-d0324 = 'X'.
ENDIF.
IF p_kzazu = 'X' AND flags-d0315 IS INITIAL.
flags-d0315 = 'X'.
ENDIF.
LOOP AT intab.
CLEAR: screen_cnt, t_ablad, t_knvp,
t_kssk.
REFRESH : t_ablad, t_knvp.
Fill in work area fields with the appropriate data
LOOP AT t_field ASSIGNING <fs_field>
WHERE value <> 00.
CONCATENATE :
Destination field
'WA_EXTAB' <fs_field>-sapname INTO field1 SEPARATED BY '-',
Source field
'INTAB-FIELD' <fs_field>-value INTO field2.
ASSIGN : (field1) TO <fs1>,
(field2) TO <fs2>.
<fs1> = <fs2>.
ENDLOOP.
Pad customer number
IF wa_extab-kunnr CO '0123456789 '.
UNPACK wa_extab-kunnr TO wa_extab-kunnr.
ENDIF.
CLEAR : telf1, adrnr, ktokd.
SELECT SINGLE telf1 adrnr ktokd FROM kna1
INTO (telf1,adrnr,ktokd)
WHERE kunnr = wa_extab-kunnr.
Check customer exists
IF sy-subrc <> 0.
MOVE : wa_extab-kunnr TO wa_errtab-kunnr,
text-001 TO wa_errtab-message.
INSERT wa_errtab INTO TABLE errtab. CLEAR wa_errtab.
CONTINUE.
ENDIF.
DPZ01
Check customer exists in sales area
SELECT SINGLE kunnr FROM knvv
INTO knvv-kunnr
WHERE kunnr = wa_extab-kunnr
AND vkorg = wa_extab-vkorg
AND vtweg = wa_extab-vtweg
AND spart = wa_extab-spart.
IF sy-subrc <> 0.
MOVE : wa_extab-kunnr TO wa_errtab-kunnr,
text-010 TO wa_errtab-message.
REPLACE : '&1' WITH wa_extab-vkorg INTO wa_errtab-message,
'&2' WITH wa_extab-vtweg INTO wa_errtab-message,
'&3' WITH wa_extab-spart INTO wa_errtab-message.
CONDENSE wa_errtab-message.
INSERT wa_errtab INTO TABLE errtab. CLEAR wa_errtab.
CONTINUE.
ENDIF.
DPZ01
Screens for the customer
PERFORM select_screens USING ktokd
CHANGING i_flags screens.
IF telf1 IS INITIAL.
wa_extab-sw_tel = 'X'.
ENDIF.
Number of contacts
SELECT COUNT( * ) FROM knvk INTO wa_extab-contact
WHERE kunnr = wa_extab-kunnr.
Number of bank accounts
SELECT COUNT( * ) FROM knbk INTO wa_extab-account
WHERE kunnr = wa_extab-kunnr.
IF p_unpnt = 'X'.
List of unloading points
SELECT ablad FROM knva APPENDING TABLE t_ablad
WHERE kunnr = wa_extab-kunnr.
UP exists in UP view ?
READ TABLE t_ablad WITH TABLE KEY ablad = c_up
ASSIGNING <fs_ablad>.
IF sy-subrc <> 0.
MOVE : wa_extab-kunnr TO wa_errtab-kunnr,
text-002 TO wa_errtab-message.
INSERT wa_errtab INTO TABLE errtab. CLEAR wa_errtab.
ENDIF.
ENDIF.
Class assigned to customer
IF NOT p_elevl1 IS INITIAL OR NOT p_elevl2 IS INITIAL OR
NOT p_elevl3 IS INITIAL OR NOT p_esfid IS INITIAL OR
NOT p_ehead IS INITIAL OR NOT p_etelcm IS INITIAL OR
*PCT
NOT p_ctype IS INITIAL OR
NOT p_eool IS INITIAL.
MOVE wa_extab-kunnr TO objek.
SELECT clint zaehl INTO CORRESPONDING FIELDS OF TABLE t_kssk
FROM kssk
WHERE objek = objek
AND klart = c_klart.
ENDIF.
BATCH INPUT
IF bi_open IS INITIAL.
PERFORM open_ses USING session_name.
bi_open = 'X'.
ENDIF.
First screen
DPZ01
PERFORM first_screen USING wa_extab-kunnr i_flags.
PERFORM first_screen USING wa_extab-kunnr wa_extab-vkorg
wa_extab-vtweg wa_extab-spart i_flags.
DPZ01
Address
IF i_flags-d0110 = 'X'.
PERFORM choose_okcode USING screens
CHANGING screen_cnt okcode.
PERFORM loadibatch USING : 'X' 'SAPMF02D' '111'.
fill_field : wa_extab-name1 'ADDR1_DATA-NAME1',
wa_extab-stras 'ADDR1_DATA-STREET',
wa_extab-pstlz 'ADDR1_DATA-POST_CODE1',
wa_extab-ort01 'ADDR1_DATA-CITY1',
wa_extab-land1 'ADDR1_DATA-COUNTRY',
wa_extab-spras 'ADDR1_DATA-LANGU',
wa_extab-telfx 'SZA1_D0100-FAX_NUMBER'.
Telephone number
IF NOT wa_extab-telf1 IS INITIAL.
IF wa_extab-sw_tel = 'X'.
No tel.nbr -> can put it in current screen
PERFORM loadibatch USING
' ' 'SZA1_D0100-TEL_NUMBER' wa_extab-telf1.
ELSE.
A tel.nbr exists -> add the new one
PERFORM loadibatch USING :
' ' 'BDC_OKCODE' '=$MTE',
'X' 'SAPLSZA6' '0200',
' ' 'BDC_OKCODE' 'NEWL',
'X' 'SAPLSZA6' '0200',
' ' 'ADTEL-TEL_NUMBER(01)' wa_extab-telf1,
' ' 'BDC_OKCODE' 'CONT',
'X' 'SAPMF02D' '0111'.
ENDIF.
ENDIF.
E-mail
IF NOT wa_extab-email IS INITIAL.
IF wa_extab-sw_mail = 'X'.
No e-mail -> can put it in current screen
PERFORM loadibatch USING
' ' 'SZA1_D0100-SMTP_ADDR' wa_extab-email.
ELSE.
An e-mail exists -> add the new one
PERFORM loadibatch USING :
' ' 'BDC_OKCODE' '=$INT',
'X' 'SAPLSZA6' '0600',
' ' 'BDC_OKCODE' 'NEWL',
'X' 'SAPLSZA6' '0600',
' ' 'ADSMTP-SMTP_ADDR(01)' wa_extab-email,
' ' 'BDC_OKCODE' 'CONT',
'X' 'SAPMF02D' '0111'.
ENDIF.
ENDIF.
IF NOT p_elevl1 IS INITIAL OR NOT p_elevl2 IS INITIAL OR
NOT p_elevl3 IS INITIAL OR NOT p_esfid IS INITIAL OR
NOT p_ehead IS INITIAL OR NOT p_etelcm IS INITIAL OR
*PCT
NOT p_ctype IS INITIAL OR
*PCT
NOT p_eool IS INITIAL.
CLEAR pos.
PERFORM loadibatch USING : ' ' 'BDC_OKCODE' 'KLAS',
'X' 'SAPLCLCA' '0602',
' ' 'RMCLF-KLART' c_klart,
' ' 'BDC_OKCODE' 'ENTE',
'X' 'SAPLCLFM' '0500'.
IF t_kssk[] IS INITIAL.
PERFORM create_new_class. "Create the first assignment
ELSE.
READ TABLE t_kssk WITH KEY clint = clint
ASSIGNING <kssk>.
IF sy-subrc = 0.
PERFORM change_class USING sy-tabix. "Change existing class
ELSE.
PERFORM create_add_class. "Add an assignment
ENDIF.
ENDIF.
IF NOT wa_extab-levl1 IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_level1,
' ' field4 wa_extab-levl1.
ENDIF.
IF NOT wa_extab-levl2 IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_level2,
' ' field4 wa_extab-levl2.
ENDIF.
IF NOT wa_extab-levl3 IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_level3,
' ' field4 wa_extab-levl3.
ENDIF.
IF NOT wa_extab-sfid IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_sfid,
' ' field4 wa_extab-sfid.
ENDIF.
IF NOT wa_extab-head IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
WRITE wa_extab-head TO head2 NO-ZERO.
PERFORM loadibatch USING : ' ' field3 c_head,
' ' field4 head2.
ENDIF.
IF NOT wa_extab-telecm IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_telecom,
' ' field4 wa_extab-telecm.
ENDIF.
IF NOT wa_extab-ool IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_ool,
' ' field4 wa_extab-ool.
ENDIF.
*PCT
IF NOT wa_extab-ctype IS INITIAL.
ADD 1 TO pos.
field312(2) = field412(2) = pos.
PERFORM loadibatch USING : ' ' field3 c_contract,
' ' field4 wa_extab-ctype.
ENDIF.
*PCT
PERFORM loadibatch USING : ' ' 'BDC_OKCODE' 'BACK',
'X' 'SAPLCLFM' '0500',
' ' 'BDC_OKCODE' 'ENDE',
'X' 'SAPMF02D' '0111'.
ENDIF.
PERFORM loadibatch USING ' ' 'BDC_OKCODE' okcode.
ENDIF.
PERFORM insert_ses USING 'XD02'.
FORM loadibatch USING start fname fvalue.
CLEAR ibatch.
IF start = 'X'.
ibatch-program = fname.
ibatch-dynpro = fvalue.
ELSE.
ibatch-fnam = fname.
ibatch-fval = fvalue.
ENDIF.
ibatch-dynbegin = start.
APPEND ibatch.
ENDFORM.
FORM create_new_class.
CONCATENATE 'RMCLF-CLASS(' '01)' INTO rmclf_class1.
PERFORM loadibatch USING:
' ' 'BDC_CURSOR' 'RMCLF-CLASS(01)',
' ' 'BDC_OKCODE' '=AUSW',
' ' 'RMCLF-CLASS(01)' c_class,
'X' 'SAPLCTMS' '0109'.
PERFORM loadibatch USING :
' ' 'RMCLF-CLASS(01)' c_class,
' ' 'BDC_OKCODE' '/00',
'X' 'SAPLCTMS' '0109'.
ENDFORM. " create_new_class
*& Form create_add_class
Create a new assignment
FORM create_add_class.
PERFORM loadibatch USING : ' ' 'BDC_OKCODE' 'NEUZ',
'X' 'SAPLCLFM' '0500',
' ' 'RMCLF-CLASS(02)' c_class,
' ' 'BDC_OKCODE' '/00',
'X' 'SAPLCTMS' '0109'.
ENDFORM. " create_add_class
*& Form change_class
Change an existing assignment
-->PAGPOS Position of the class
FORM change_class USING pagpos TYPE sy-tabix.
DATA : pagpos2(2) TYPE n,
field(20) VALUE 'RMCLF-KREUZ(00)'.
MOVE pagpos TO pagpos2.
REPLACE '00' WITH pagpos2 INTO field.
CONDENSE field NO-GAPS.
PERFORM loadibatch USING : ' ' field 'X',
' ' 'BDC_OKCODE' 'AUSW',
'X' 'SAPLCTMS' '0109'.
ENDFORM. " change_class -
Error during batch Input TCode ME11
Hi,
I'm working on a bath input for tcode ME11 to post the Record Info.
A warning message You have not entered a planned delivery time causes an error to the Batch Input. I cant ignore. How I can ignore this message?
If I call the transaction manually I can ignore the massge via "Enter".
Thanks.Hi Salvatore,
I'm in the same situation. I execute a BI, but it stops after a waring appears.
If I proceed the transaction manually, the warning appears, but if I press ENTER the transaction ends successful.
Did you solved your Problem or did you have an hint for me.
Kind regards
Yvonne Adler
Maybe you are looking for
-
How do I use a song as the text message?
How do I use a song as the text message?
-
Uploading image stored in blob & retrieving to disk
Hi there... Any help will be much appreciated !!! I have the following to tasks that I needhelp figuring out: I'm using the intermedia WebAgent and interface with a jsppage. 1. I have a table with a field that store images. The field isdeclared as bl
-
PB G3 333 - Continuously Beeps - Won't Start-up
As the subject says - I push the on-off button, I hear the Mac start-up sound, the hard drive starts to whir, then a continuous beeping starts. Not just 1 or 2 or 4 beeps - but a continuous beeeep, beeeep, beeep, beeep ... The screen is black and not
-
Purchase invoicing plan - good entry
Dear all, I have implemented the invoice plan in purchase order following SAP library ([SAP Link|http://help.sap.com/saphelp_46c/helpdata/en/ea/6e1b769e0111d1a39b0000e8a522f1/frameset.htm]) but SAP Library tells do NOT insert the "good receipt" flag
-
Multiple CFFORMs in a page w/ binding CFSELECTS
Howdy all. I have a page that has two CFFORMs, each uniquely named (form1 & form2 for example). Each form is essentially the same - each one has a cfselect with States pulled from a common query and also has a bound cfselect that shows the Area Codes