Crystal error: A summary has been specified on a non-recurring field.
Hi,
Im encountering the following error while trying to aggregate a formula field in one of my reports:
"A summary has been specified on a non-recurring field"
The report calls a subreport in the details section which returns a shared currency variable for every record generated. Im capturing this varaiable using a formula field say Temp1 as below,
Temp1
====================
WhilePrintingRecords;
Shared CurrencyVar ExRate;
ExRate
Im using Temp1 in another formula field Temp2 to perform calculation using another formula field as below,
Temp2
=====================
@Temp1 * @Actual
I have to aggregate Temp2 for each group of records the report generates.
But the report isnt letting me do so via the insert menu. On manually adding the sum function in a formula, it says "cannot summarize field". If i add sum(temp2) to an existing formula field on the report, it gives the error 'A summary has been specified on a non-recurring field' while running it.
Have been stuck on this for a while.
Any Pointers will be appreciated.
Thanks
Dhiraj
I"m not 100% sure about the reason behind this but I think it has something to do with the data not being part of the records on the main report. I've come across it many times myself and the only solution I have ever been able to get work it to create my own calculation for the subtotal, insert it in the same section as @Temp2 and indicate to EvalutateAfter(@Temp2).
Hope this helps, rasinc
Similar Messages
-
Re: Crystal error: A summary has been specified on a non-recurring field.
Hi,
I managed to retrieve a value from a sub-report with a shared variable, but when I try to summarize that value, I receive an error. I found out that you can't summarize a shared value. Is there any other way to retrieve a value from a sub-report and use it in a summarization formula? What about the storenumbervar & fetchnumbervar functions, wil that work??
Tks!!Romeo,
If you can't automatically summarize your "other" formula automatically, then again an option would be to create a manual running total.
something like this:
whileprintingrecords;
global numbervar sumvalue;
sumvalue:=sumvalue+{@your formula};
Insert this in the section that is printing your other formula.
Then, create another formula called @calculation. In it, do the following:
whileprintingrecords;
global numbervar sumvalue;
shared numbervar yoursharedname;
....Here you can do your calculation and place it in the footer section.
I hope that helps,
Regards,
Zack H. -
Error: "a summary has been specified on a non recurring field"
Hi,
I have a formula which calculates a quantity amount based on different quantity types & finally sums all the quantity to give a
result, tis result i want to show in crystal report, This field is put in report footer, when i try to run the report i get the following error for that field 'a summary has been specified on a non recurring field' below i put my formula:
//sum for qty type Fuel
numberVar qtyFuel;
if
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-THEO_ACT_IND]} = 'A' and
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-MEDIUM]} = 'GAS' and {2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-QTY_TYPE]-[22O0GHO_C06-QTY_TYPE]} = '01'
then
qtyFuel := Sum ({2O0GHO_C06_0GHO_T06_Q0002.[Measures]-[DWQWE23XXYJCROQ978M8NX3J5]});
//sum for qty type Inventory
numberVar qtyInventory;
if
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-THEO_ACT_IND]} = 'A' and
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-MEDIUM]} = 'GAS' and {2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-QTY_TYPE]-[22O0GHO_C06-QTY_TYPE]} = '03'
then
qtyInventory := Sum ({2O0GHO_C06_0GHO_T06_Q0002.[Measures]-[DWQWE23XXYJCROQ978M8NX3J5]});
//sum for qty type Non Sales
numberVar qtyNonSales;
if
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-THEO_ACT_IND]} = 'A' and
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-MEDIUM]} = 'GAS' and {2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-QTY_TYPE]-[22O0GHO_C06-QTY_TYPE]} = '04'
then
qtyNonSales := Sum ({2O0GHO_C06_0GHO_T06_Q0002.[Measures]-[DWQWE23XXYJCROQ978M8NX3J5]});
//sum for qty type Sales
numberVar qtySales;
if
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-THEO_ACT_IND]} = 'A' and
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-MEDIUM]} = 'GAS' and {2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-QTY_TYPE]-[22O0GHO_C06-QTY_TYPE]} = '05'
then
qtySales := Sum ({2O0GHO_C06_0GHO_T06_Q0002.[Measures]-[DWQWE23XXYJCROQ978M8NX3J5]});
//sum for qty type Enhanced Recovery
numberVar qtyEnhancedRecovery;
if
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-THEO_ACT_IND]} = 'A' and
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-MEDIUM]} = 'GAS' and {2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-QTY_TYPE]-[22O0GHO_C06-QTY_TYPE]} = '14'
then
qtyEnhancedRecovery := Sum ({2O0GHO_C06_0GHO_T06_Q0002.[Measures]-[DWQWE23XXYJCROQ978M8NX3J5]});
//sum for qty type Load Oil Sales
numberVar qtyLdOilSales;
if
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-THEO_ACT_IND]} = 'A' and
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-MEDIUM]} = 'GAS' and {2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-QTY_TYPE]-[22O0GHO_C06-QTY_TYPE]} = '08'
then
qtyLdOilSales := Sum ({2O0GHO_C06_0GHO_T06_Q0002.[Measures]-[DWQWE23XXYJCROQ978M8NX3J5]});
//sum for qty type receipt
numberVar qtyReceipt;
if
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-THEO_ACT_IND]} = 'A' and
{2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-MEDIUM]} = 'GAS' and {2O0GHO_C06_0GHO_T06_Q0002.[2O0GHO_C06-QTY_TYPE]-[22O0GHO_C06-QTY_TYPE]} = '13'
then
qtyReceipt := Sum ({2O0GHO_C06_0GHO_T06_Q0002.[Measures]-[DWQWE23XXYJCROQ978M8NX3J5]});
numberVar Total_Production;
//summing all quantity types
Total_Production := qtyFuel + qtyInventory + qtyNonSales + qtySales + qtyEnhancedRecovery + qtyLdOilSales - qtyReceipt;
I want to display the Total_Production in the report.
The formula name is: Total_Gas_Production.
kindly help me in this issue.
Regards,
Deepakis this one formula?
have you tried to run each formula seperatly to check which is the culprit. if you search the web there are some reasons why this could be happening.
generally you should use evaluation times on formulas
are you using manual running totals or this is the entire formula?
try
MANUAL RUNNING TOTALS
RESET
The reset formula is placed in a group header report header to reset the summary to zero for each unique record it groups by.
whileprintingrecords;
Numbervar X := 0;
CALCULATION
The calculation is placed adjacent to the field or formula that is being calculated.
(if there are duplicate values; create a group on the field that is being calculated on. If there are not duplicate records, the detail section is used.
whileprintingrecords;
Numbervar X := x + ; ( or formula)
DISPLAY
The display is the sum of what is being calculated. This is placed in a group, page or report footer. (generally placed in the group footer of the group header where the reset is placed.)
whileprintingrecords;
Numbervar X;
X -
No database connector has been specified - Error code:-2147467259 error
Hi,
Iu2019m trying to populate a report and preview it using JRC. Iu2019m using the JRC jar files versions from CR XI R2 SP4. I have created a report using locale data source xml file and scheme file. I can preview the report from Crystal Report Designer without any probelm. When I try to preview the same layout using my Java application I get the error " No database connector has been specified.---- Error code:-2147467259 Error code name:failed " when I try to set the table location (reportClientDoc.getDatabaseController().setTableLocation(tables.getTable(i),table);) I even get this when I try to set the date source (reportClientDoc.getDatabaseController().setDataSource(xmlDataSet, " FND_SESSION_REP/FNDSESSION", "FND_SESSION_REP/FNDSESSION");) I tried shifting the order of setDataSource and setTableLocation but that didnu2019t help as well.
Can you please help me?
Thanks you in advance.
Regards,
Chanaka
Code to set connection info
public void setDBLogonXML(String xmlFilePath, String xsdFilePath)
final String SERVER_TYPE = "XML";
final String CONVERT_MULTIVALUE_TO_TABLE="false";
final String DATABASE_DLL = "crdb_xml.dll";
try {
Tables tables = reportClientDoc.getDatabaseController().getDatabase().getTables();
//Set the datasource for all main report tables.
for (int i = 0; i < tables.size(); i++) {
ITable table = tables.getTable(i);
//Keep existing name and alias.
table.setName(table.getName());
table.setQualifiedName(table.getQualifiedName());
table.setAlias(table.getAlias());
//Change connection information properties.
IConnectionInfo connectionInfo = table.getConnectionInfo();
//Set new table connection property attributes.
PropertyBag propertyBag = new PropertyBag();
propertyBag.put("Server Type", SERVER_TYPE);
propertyBag.put("Database DLL",DATABASE_DLL );
propertyBag.put("Local XML File",xmlFilePath);
propertyBag.put("Local Schema File",xsdFilePath);
String conString = "Local XML File=s("+xmlFilePath+");Local Schema File=s("+xsdFilePath+")";
propertyBag.put("Connection String",conString);
connectionInfo.setAttributes(propertyBag);
table.setConnectionInfo(connectionInfo);
//Update old table in the report with the new table.
reportClientDoc.getDatabaseController().setTableLocation(tables.getTable(i),table);
catch(ReportSDKException ex) {
System.out.println(ex);
catch(Exception ex) {
System.out.println(ex);
Main programu2026..
setDBLogonXML("D:\\Reports\\Current Sessions.xml","D:\\Reports\\FndSessionRep.xsd");
xmlDataSet = new XMLDataSet(new ByteArray(xmlFile), new ByteArray(xsdFile));
reportClientDoc.getDatabaseController().setDataSource(xmlDataSet, "FND_SESSION_REP/FNDSESSION", "FND_SESSION_REP/FNDSESSION");
Error Stack
- JRCAgent1 detected an exception: No database connector has been specified.
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.z.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ak.if(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.ad.int(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.bk.for(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.v.a(Unknown Source)
at com.crystaldecisions.proxy.remoteagent.v.if(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setTableLocation(Unknown Source)
at com.crystaldecisions.reports.sdk.DatabaseController.setTableLocation(Unknown Source)
at jrc_xml_test_app_01.testDlg.setDBLogonXML(testDlg.java:378)
at jrc_xml_test_app_01.testDlg.jButton3ActionPerformed(testDlg.java:117)
at jrc_xml_test_app_01.testDlg.access$200(testDlg.java:23)
at jrc_xml_test_app_01.testDlg$3.actionPerformed(testDlg.java:67)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5501)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:525)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: No database connector has been specified.---- Error code:-2147467259 Error code name:failed
- JRCAgent1 received request: setDataSourceRequest
- command SETUP: Create Data Connection
- command PERFORM: Create Data Connection
- -- command is undoable -> purge redo stack
- command SETUP: Set Data Connection Property
com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: No database connector has been specified.---- Error code:-2147467259 Error code name:failed
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
- command PERFORM: Set Data Connection Property
at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
- -- command is NOT UNDOABLE -> purge undo stack
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
- --- Purging command Create Data Connection
at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
- command SETUP: Set Data Connection Property
at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
- command PERFORM: Set Data Connection Property
at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
- JRCAgent1 detected an exception: No database connector has been specified.
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.lib.ReportSDKException.throwReportSDKException(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
at com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Unknown Source)
at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
at jrc_xml_test_app_01.testDlg.jButton3ActionPerformed(testDlg.java:121)
at com.businessobjects.reports.sdk.b.e.a(Unknown Source)
at jrc_xml_test_app_01.testDlg.access$200(testDlg.java:23)
at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
at jrc_xml_test_app_01.testDlg$3.actionPerformed(testDlg.java:67)
at com.crystaldecisions.proxy.remoteagent.y.a(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at com.crystaldecisions.proxy.remoteagent.r.a(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at com.crystaldecisions.sdk.occa.report.application.cf.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.a(Unknown Source)
at com.crystaldecisions.sdk.occa.report.application.DatabaseController.setDataSource(Unknown Source)
at com.crystaldecisions.reports.sdk.DatabaseController.setDataSource(Unknown Source)
at jrc_xml_test_app_01.testDlg.jButton3ActionPerformed(testDlg.java:121)
at jrc_xml_test_app_01.testDlg.access$200(testDlg.java:23)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5501)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at jrc_xml_test_app_01.testDlg$3.actionPerformed(testDlg.java:67)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.Component.processMouseEvent(Component.java:5501)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.processEvent(Component.java:5266)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.Component.dispatchEventImpl(Component.java:3968)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.Window.dispatchEventImpl(Window.java:1778)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.Dialog$1.run(Dialog.java:525)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.Dialog$1.run(Dialog.java:525)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
No database connector has been specified.
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)Post Author: ililal
CA Forum: Data Connectivity and SQL
I spoke directly with Business Objects. They said,"Sun Application Server 8.2 is not supported." -
Error no logical path has been specified
iam transfering inventory balance using standard object goods movement by direct
input method .when iam uploading file at step 7 specify files iam getting error as
no logical path has been specified.can someone answer for this errorAs find in forum -
You just put any, not used logical file name in your file definition step. LSMW will create this logical file byself und will use when is needed, but you just forget about it in future. Don't forget to recreate this file, when you move your LSMW to test and production systems, it is not created automaticaly there.
The way you enter logical path and logical name is,
Within the LSMW option 'Specify Files', Double click on
'Converted Data' and a popup box will allow you enter
file name , logical path and logical file.
Re: LSMW : Unable to Specify Files . Logical path incorrect ?
Hope this may help you.
Regards,
Amit -
LSMW No logical path has been specified
Dear All,
I am trying to create characteristic through LSMW. in the Specify file step i am geeing this error"No logical path has been specified".
Any body can have idea about the error?
Regards
DhirenHi Dhiren,
I have the same problem. I am trying to change a batch characteristics and I am getting the same error.
Could you please share how you resolved your issue?
Regards,
R.S
This is a old and answered thread - please open a thread for your specific query.
-Paul
Moderator
Edited by: Paul Meehan on Aug 25, 2011 11:39 AM -
LSMW - Logical Path/File - No logical path has been specified
Hello,
I am trying to create a LSMW with the RM06EEI0 direct input program for ME21N transaction.
At the SpecifyFiles step I get the error message "No logical path has been specified".
My dilemmas are:
1. How can I solve this error? Is the FILE transaction only solution? If yes, where and how I must define the logical path/file?
2. Why in the case of the Batch Input Recording LSMW Method this files are created automatically? (I can see them in the AL11 transaction and I didn't define them by myself).
3. Why on other system this error is just an warning message? If you look at this tutorial http://****************/Tutorials/LSMW/PO/Page4.htm at Step7.g. you can see that there is no need of defining the file/path in FILE transaction.
More info about the system I am working in:
SAP ECC 6.0.
LSMW 4.0.0. Version.
Thank you.
DanielaHi
Refer the oss note 753511 released for this kind of error you face in LSMW, I am pasting the content of the note below,
******************Note Content,
Symptom
The system issues an error message for the logical path or file when you perform the "Specify files" step in the Legacy System Migration Workbench (transaction LSMW) although you have made the correct assignment in transaction FILE.
The error messages are as follows:
The logical path <PATH> does not point to the physical directory.
The logical file <FILE> is not assigned to the physical file.
or
A logical path was not specified.
Other terms
Logical path, logical file, transaction FILE, LSM Workbench
Reason and Prerequisites
Some import interfaces that you can also use with transaction LSMW work with logical path and file names.
Transaction LSMW itself, however, works with physical file names. To be able to transfer the LSMW file with the converted data to the import program, you must specify a logical file name for the file with the converted data in addition to the physical file name. In this case, the system displays additional fields in the 'Specify files' step in which you must enter the logical path and file name.
Solution
The error messages may be due to several causes. Check the following:
Have you maintained the logical path and logical file name and have you assigned them to the physical file specified in the "File" input field of transaction LSMW?
These settings are maintained in transaction FILE.
When you use logical file and path names, you must specify the name of the physical file with its path. If you have not specified any directory, you cannot assign any directory to the logical path in transaction FILE. In this case, the system uses the SAP Home directory on the application server by default. Bear in mind that the file name must not exceed the maximum length of 45 characters, including the path.
Up to LSMW version 1.7.2 (*):
If the logical file name specified does not point to the physical file (although it should do), the system adjusts the logical file name, that is, the information in transaction FILE is changed to the entries made in transaction LSMW. This may lead to unwanted side effects if the logical file is also used somewhere else. Therefore, SAP recommend that you always use separate logical paths and file names for transaction LSMW (the problem is corrected as of LSMW version 1.8.0, see below). If the logical file does not exist yet, it will be created upon request.
As of LSMW version 1.8.0 (*):
The settings of the logical file are checked but no longer adjusted automatically as in version 1.7.2 (see above). If there are inconsistencies, the system issues an error message. If the user is authorized to maintain logical paths and file names (as for transaction FILE: "Maintenance authorization for cross-client tables"), transaction LSMW can create the logical path, the file name and the file. Due to this automatic generation, the user no longer needs to make adjustments in transaction FILE. Therefore, we especially recommend this procedure.
To display the version of transaction LSMW, select "Extras" --> "Display LSMW version" in the main menu of the initial screen.
You should also bear in mind that as of Basis Release 6.20, that is, as of LSMW version 4.0, transaction LSMW is no longer an add-on but is delivered with the standard system.
Hope this helps,
Sunil -
No G/L account has been specified for O /USD for the bank
Dear All,
When i run automatic payment using F110 there are an error message "No G/L account has been specified for O /USD for the bank"
What should I do to solve this problem ?
Thank You.
-tweety-Hi,
I think 'o' is your payment method. In automatic payment program, ranking order you given payment method as 'o' and house bank. Check in FI12 for this house bank the gl account attached.
Regards,
Sankar -
How to fix "More than one receiving system has been specified for the BAPI"
Due to patching the HR system I am testing the functionalities in our test environment before patching the production system. When doing a hiring action (in our test environment) I get this error message at infotype 0000 when I try to save:
"More than one receiving system has been specified for the BAPI (AcctngServices, CheckAccountAssignment)"
It is message no. B1811
My first suggestion weas that it could be the presence of dual connections in SALE, but disabling one of them didn't help.
Since the Basis team is currently patching the HR system I wonder if that has any affect that might end out in the above error.
Anyone who can help me out here? Please?Usually, when you have HR and FI on separate boxes, certain FI information (e.g. cost center) do not physically locate on HR box. Instead of replicating these data into HR for integrity check, you have an option (for a few countries) of remotely connecting from HR box to FI to do these checking though BAPI. I think this is the scenario you have (i.e. when doing the hiring, a new ee will be assigned to a personnel area which in turn default a cost center which SAP would need to check for integrity).
Please go into distribution model, and check if for some reason, this is set up to go to to more than 1 destination for HR accounting integrity check.
Rgds.
Edited by: Ted Dinh on Jun 12, 2009 8:55 AM -
No servlet class has been specified for servlet null
Hi,
I�m trying to bend tomcat in my own application. Therefore I�m using the Embedded Tomcat version 5.5.23.
I have started only a server, engine, host and context, so I have a server without the sockets etc. this because it has to become a test-application for the web-app of the company.
The server starts gracefully, but when I call context.invoke(request,response) I get this error:
SEVERE: Allocate exception for servlet null
With this stacktrace:
javax.servlet.ServletException: No servlet class has been specified for servlet null
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1016)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:791)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:127)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:870)
at nl.realworks.embedTomcat.EmbedTomcat.invoke(EmbedTomcat.java:74)
at nl.realworks.embedTomcat.StartEmbedTomcat.main(StartEmbedTomcat.java:29)
Exception in thread "main" java.lang.NullPointerException
at org.apache.catalina.connector.Request.setAttribute(Request.java:1383)
at org.apache.catalina.core.StandardWrapperValve.exception(StandardWrapperValve.java:331)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:145)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:870)
at nl.realworks.embedTomcat.EmbedTomcat.invoke(EmbedTomcat.java:74)
at nl.realworks.embedTomcat.StartEmbedTomcat.main(StartEmbedTomcat.java:29)
does anyone has a idea what the cause of this problem is? The request I send is �GET /index.jsp� using a MockHttpServletRequest of the spring framework. I convert the mockhttpservletrequest to a org.apache.cataline.connecor.Request. and that works.
The code in tomcat where the error is caused by:
// Complain if no servlet class has been specified
if (actualClass == null) {
unavailable(null);
throw new ServletException
(sm.getString("standardWrapper.notClass", getName()));
Thanks in advance.
Auke NoppeTobias
Yes , you are correct. We dont need to replicate DDIC tables for direct BW replication. This was the first time we were working with BW on Hana and never installed DMIS component on that system. The error was gone after we put the addon.
Mahesh Shetty -
When I try to buy an album or buy/rent a movie on iTunes Store Argentina it gives me the following error: "Cannot buy/rent (item name here). A duplicate filename has been specified."
Below that it says:"There is an error in iTunes Store. Please try again later."After getting your password reset you might then need to log out of your account on your iPhone by tapping on your id in Settings > Store (Settings > iTunes & App Stores on iOS 6) and then log back in so as to 'refresh' the account on it.
-
Smartform run-time error 5825: object has been deleted
While modifying a smartform, I keep on getting run-time error 5825 object has been deleted.
(microsoft visual basic)
I have already restarted sap gui, even deleted my smartform and started another.. it keeps on haunting me.
Anybody an idea how to get rid of this error???Hi,
Do you use MS Word 2007 as the ediitor for sapscript and smartforms? In this case you need the support packs specified in SAP note #1115157. Make sure you have the satest SAPGUI patch also.
You can switch to the old graphical editor via transaction I18N -> I18N Customizing -> MS Word as Editor.
regards,
Aidan -
Using InfoPath 2013 browser enabled form.
I am getting the above error on ALL Infopath Designed Rich Text fields, where the "Cannot be blank" attribute is set.
To reproduce it, I create a custom list and custom list form with InfoPath 2013. I add 2 Rich Text fields and enable "cannot be blank". To raise the error, I put some data in the RT field. Skip to another field (so focus is changed and a postback
occurs), then back to original field to delete the contents (to raise the validation).
I originally thought it was associated with the HTMLCHKR.DLL not being registered (and I have re-registered it just in case), but the exception I get from the ULS logs reads (it is from a list AFTER I have re-registered the DLL):
There was a form postback error. (User: 0#.w|myDomain\jc, Form Name: Template, IP: , Request: h t t p ://MyWebApp/MySite/Lists/rtAfterHtmlCHkrReg/Item/newifs.aspx?List=2212ff41-77b4-445b-931b-d7e538c9da91&Source=h t t p://MyWebApp/MySite/Lists/rtAfterHtmlCHkrReg/AllItems.aspx&RootFolder=&Web=3db49106-bdca-47bb-b4cd-a549d2d86aa7,
Form ID: urn:schemas-microsoft-com:office:infopath:list:-AutoGen-2015-01-16T21:51:48:853Z, Type: InvalidOperationException, Exception Message: No content generated as the result of the operation.) 8cc5e09c-3665-903b-575a-faaac506c40a
I noticed that errors associated with the HTMLCHKR.DLL not being registered would have some sort of COM exception (example: TYPE_E_LIBNOTREGISTERED or REGDB_E_CLASSNOTREG)
I also should mention that this problem started happening about 3 weeks ago. We have extended the web application to handle HTTPS on the intranet zone (we had a reverse proxy project that did not eventuate) - would that cause something? How can I do further
checking?Hi,
I have done a test in my SharePoint, and I met the same issue with you.
I created a custom list and custom list form with InfoPath 2013. I added 2 Rich Text fields and enabled "cannot be blank". I put some content in the RT field, then delete the contents, I got the error message:"there has been an
error while processing the form."
Here is a similar post said that executing the command: regsvr32 "C:\Program Files\Common Files\Microsoft Shared\
OFFICE14\htmlchkr.dll" will solve the issue.
https://social.msdn.microsoft.com/Forums/en-US/eb2e0f6e-c8e4-4e92-ac5e-a09d72759eda/rich-text-field-error-in-webform?forum=sharepointcustomizationprevious
But I just disabled "cannot be blank", and it solved the issue.
Best Regards,
Lisa Chen
Lisa Chen
TechNet Community Support -
I have created a farm solution and then i deploy it to SharePoint server, the code looks as follow, and i use it to update a page info values (as the current page values represents old info):-
[ToolboxItemAttribute(false)]
public partial class VisualWebPart1 : WebPart
// Uncomment the following SecurityPermission attribute only when doing Performance Profiling using
// the Instrumentation method, and then remove the SecurityPermission attribute when the code is ready
// for production. Because the SecurityPermission attribute bypasses the security check for callers of
// your constructor, it's not recommended for production purposes.
// [System.Security.Permissions.SecurityPermission(System.Security.Permissions.SecurityAction.Assert, UnmanagedCode = true)]
public VisualWebPart1()
protected override void OnInit(EventArgs e)
base.OnInit(e);
InitializeControl();
using (SPSite site = new SPSite(SPContext.Current.Site.Url))
using (SPWeb web = site.OpenWeb())
SPList list = web.Lists["Pages"];
web.AllowUnsafeUpdates = true;
foreach (SPListItem items in list.Items)
items["Author"] = "SharePoint";
items["Created"] = "01/08/2014 01:44 PM";
items.Update();
list.Update();
web.AllowUnsafeUpdates = false;
protected void Page_Load(object sender, EventArgs e)
but when i try adding this web part to a page i got the following error:-
Invalid data has been used to update the list item.The field you are trying to update may be read only
so can anyone advice?i only changed lines bitween
web.AllowUnsafeUpdates = true;
and
web.AllowUnsafeUpdates = false;
and other parts of code remains without change
so it will updates all pages in current web
yaşamak bir eylemdir -
Why does it show "No logical path has been specified" in LSMW
When I specify files in LSMW, save, the systems always shows "No logical path has been specified". I heard it need to config logical path in 'File', but I don't know how to cofig it? Any people can tell me? Thanks a lot!
Hi,
This path of the file names is in the following format:
Projectname_Subprojectname_Objectname.lsmw.read
Projectname_Subprojectname_Objectname.lsmw.conv
You can change this path manually in the following way
click on imported data or converted data
clickon change entery button (Ctrl + F8)
you will find this path in edit mode.
here you can adjust it's length by removing some words from the project,subproject,object name.
Regards,
Amol
Maybe you are looking for
-
How can i see BAPI in BOR ?
Hi All, I have created BAPI object through SWO1 under application '<b>Asset Accounting</b>'. But in BOR i could not able to see, can you please let me know how can i see my bapi in BOR. Thanks in advance. jaya
-
I changed my laptops OS and now when I try to sync my music from phone to the new itunes it is saying Remove and replace. What do I do to keep the music and playlists from myphone?
-
User-Defined Message Search - PI 7.1 - EHP1 - SP06 - Not working
Hi Friends, Recently, we have imported SP06 in our PI system (PI 7.1 EHP1). The SXMB_MONI has now new tab "User-Defined Selection Criteria". To implement user-defined search, I have created filer, extractor, namespace prefix for one outbound interfac
-
Compilation errors on CommandLine works ok in JDeveloper!
Hi, I am trying to run the application on a commandline. I am able to run it fine in JDeveloper as the application is created in JDeveloper. But I need to run it on a commandline. I need some help how to make it work. Here is the scenario: I have two
-
IPhones using photo share not sharing all photos
I have an iPhone 5 and my friend has an iPhone 5S. We use different Apple accounts so we do not share an Apple ID. We both are using photo sharing through iCloud but she is not getting all the photos that I have posted via iCloud. We are using the sa