Wrong sy-sysid value
Hello,
An ABAP program which makes use of sy-sysid picks up a wrong value. The system id is TST, but it picks up production id which is PRD. Therefore, when user runs transaction that needs to place a text file in the local directory, it is looking for /PRD/pce/outdata instead of the existing /TST/pce/outdata, and cannot find it. Clients are refreshed via client import and local client copy. Logical System is defined properly. Where is wrong sy-sysid is coming from?
Thanks
Galina
George,
There is nothing in ABAP program that uses PRD directly. Here is the ABAP statement:
concatenate '/' sy-sysid '/pce/outdata/' 'PGP-CDR-64009E-UCFR914' into out_file.
Thanks
Galina
Similar Messages
-
HI
Thre is a tax code with combination
ED-DE, AED-4%, VAT 12.5%-DE
ED IS DEDUCTABLE
Additional excise duty is 4%
& vat % is 12.5%
the problem is for eg:
the toatal after excise 26,346.52
Vat 12.5 % is calculated correctly but the system show wrong condition base value
Regrd
samcheck your tax procedure. The sequence for VAT calculation could be wrong.
Amit -
PLS-00394: wrong number of values
Hi,
I have this
SET SERVEROUT ON
DECLARE
v_line varchar2(100);
Cursor C_TBS is
Select A.tablespace_name,
A.total_size "Taille totale Ko",
B.Free_space "Space disponible Ko",
((A.total_size-B.Free_space)*100/A.total_size) "% Occupied Espace "
From
(select tablespace_name, sum(BYTES)/1024 total_size
from dba_data_files
group by tablespace_name) A ,
(select tablespace_name, sum(BYTES)/1024 Free_space
from dba_free_space
group by tablespace_name) B
where a.tablespace_name = b.tablespace_name
AND
((A.total_size-B.Free_space)*100/A.total_size) > 80;
BEGIN
DBMS_OUTPUT.ENABLE(10000);
Open C_TBS;
Loop
Fetch C_TBS into v_line;
DBMS_OUTPUT.PUT_LINE('TABLESPACE8NAME is : '||v_line);
EXIT WHEN c_TBS%NOTFOUND;
END LOOP;
END;
With this error :
Fetch C_TBS into v_line;
ERROR at line 23:
ORA-06550: line 23, column 4:
PLS-00394: wrong number of values in the INTO list of a FETCH statement
How do I define v_line variable to avoid PLS-00394 error ?
Many thanks.Hi!
When you have a cursor retrieving more than one column you need to define a record to fetch the row like:
v_line C_TBS%rowtype;
but in your dbms_output you have to use
DBMS_OUTPUT.PUT_LINE('TABLESPACE8NAME is : '||v_line.tablespace_name);
because you have to refer to the individual column in the record.
Regards,
Petra -
How to Avoid wrong spell MD values at Qry selection
Hi all,
The issue is at Query Selection:
We set:
Query def. Filter value selection = Only values in infoprovider
Query Execution Filter Val. Selectn = Only values in InfoProvider
I want to see only Info provider(TD) values not Master values @ Qry selection for the info object (customer)
Example
Customer MD:
CID:
John - correct name
JOKN - Wrong spell
We Don't want to delete these values.
- NO records there in cube for (CID = JOKN) and in reports with the name JOKN
I want to see only JOHN in selection not JOKN(Wrong spell).
Please tell me how to avoid wrong spell values at Qry selection level without deleting Master data.
Thanks in advanceHello Nara,
One solution is to write customer-exit variable that will be populated only by correct values. You can archieve this by joining master data table with DSO active table
or master data table with dimension table and fact table(s).
Now restrict query with this non-input variable in restrictions and create input variable that will take place in default values.
But since it's customer master data you may encounter serious performance problems. I guess that's the reason why BEx doesn't do this by default.
BR
Ondrej -
Wrong condition base value when an order is copied from another order
I am copying sale order to sale order and encounter an issue with pricing .
I have an excise condtion for which the condition basis is the price condition . I copy the order and update the pricing in the new document ( I have to do this because the pricing type in copy controls is A ) . The price is being copied and the value calcualated as per the order quantity . But the same value is not flowing as the condition base value for the excise condition type mentioned above. It is taking some different value as the base value . There is no alt base value assigned in the procedure.
As per the settings in the procedure , the condtion value of the price should be the base value for the excise condition type and this is not happening
Could somebody throw light as to what is going wrong ?
Thanks in advance
Regards
MaheshMany thanks for this.
I can see entirely why it's designed as such, but I just find it slightly frustrating that there's no way to break the link between the order and the shipment out to the depot. Just to clarify, we're not requiring the orders to change - they will still be made and will come in - but just that the orders themselves don't specifically need to be the stock that is used for the replenishment.
So -
1. Min Max identifies depot needs replenishing.
2. Central distribution does not have (enough) stock to replenish.
3. Order is made to replenish central distributions stock.
4. We ship whatever we've got, when we've got it, to depot to replenish.
It's the bit where Min-Max is trying to replensih a specific depot rather than our central distribution centre that's my problem.
I suspect that, as you say, that specific issue is not directly fixable without getting our IT contractors to do a customisation.
I'm going to look into your Supply Date Offset suggestion now, though I'm not sure how this affects the shipping after the orders are placed. The orders themselves are approved manually after we've checked our stock position (i.e. what's in with the recycling team), but we recycle & refurb probably 60% of our maint stock so there'll always be kit turning up after the order has been made because of the long lead times.
Thanks again. -
Wrong Condition base value for Z Condition
I have activated smartform Y640_SDORC_A and everything has the right value except for a Z condition based on weight.
If for example the weight is 30 kilos it shows 300 kilos.
Althought it has the wrong base quantity everything else gets copied ok, and the total its correct.
Does anyone know where should I check why is taking the value 10 times?
Thanks
Regards,
CarlosHi Carlos,
this program is probably working with fixed decimals (attributes of program) -> all amount fields have two decimals. KG is defined with 3 decimals (per customizing, might be changed) -> conversion is done by write, when the currency-option is used. If you calculate values, you have to take care of the decimal-shifting yourself.
Best regards, Christian -
Rounding ist wrong for float value (MS SQL 2005)
Hello
I have a simple report with a command:
select num = convert(float, 4.145)
Field round over "Format Field" or ToText( num, 2) the result is 4.14 -> Wrong
if i use Round(num, 2) result is 4.15 --> OK
In CR 8.5 result is always correct
ThxI know the problematic of the floating values.
My big trouble is the inconsistency in the report!
It can't be that the formula function Round(x,y) show another result than the integrated field-rounding function.
Also in the formula that ToText(x, y) is different to Round(x,y).
Following another stupid difference:
Command.num = 4.145 Result: TRUE
Command.num - 4.145 = 0 Result: FALSE
Mathematical it's the same.
CR8 was consistence, after migration we have different result on our reports! -
Wrong updation of value fields
hello,
In a sales return invoice, the cost is getting updated in value field cost of free goods rather than value field cost .
Please guide me in this .
ThanksHi Muscan
What is the condition type in SD Pricing procedure for Cost during sale return? (Check your Sales Order - Pricing tab)
See assignment of that cond type to val field in KE4I
Regards
Ajay M -
In MIGO wrong excise base value in import po
Hi,
We have done import PO applied the excise tax code EI, then we try to create MIGO except miro, but in MIGO in we changed the qty for example in PO 100qty and price 100 so total amount is 10000 so we get excise base value is 1000, but now we change the qty in mIGO as 10qty we get same excise base value as 1000 its not calculted.
please suggest me the any config
Thanks
ShitalHi,
i have test in SAP note u suggested
Excise base defaulted incorrectly at the time of excise invoice capture in the imports scenario with ADC (additional duty of customs) being applicable. The excise duty values are picked from the commercial invoice captured but the excise base value is being calculated incorrectly.
but my scenario is different
Thanks
Shital -
Wrong pricing condition values when using GN_INVOICE_CREATE
Hi all,
I am currently handling a program where I have to display all the materials in a given sales area and some corresponding values that depend on pricing conditions. I am using FM GN_INVOICE_CREATE to extract table komv. However, I am experiencing a problem because the values I am getting are different from those in table konv. I am getting the price conditions without the value of field KNUMV.
I would like to ask if anybody has any idea on how to go about this or maybe another function module that I can use to get the data I need.
Thanks a lot..
Regards,
jacHi,
Thanks for your reply. I only have the field AUART for checking on the pricing conditions.
Here is a the part of my code
CALL FUNCTION 'GN_INVOICE_CREATE'
EXPORTING
vbsk_i = i_vbsk
id_kvorg = ''
id_no_dialog = c_exis
invoice_date = p_datum
pricing_date = p_datum
IMPORTING
vbsk_e = i_vbsk
TABLES
xkomfk = i_komfk
xkomfkgn = i_komfkgn
xkomfkko = i_komfkko
xkomv = i_komv
xthead = i_thead
xvbfs = i_vbfs
xvbpa = i_vbpa
xvbrk = i_vbrk
xvbrp = i_vbrp
xvbss = i_vbss
EXCEPTIONS
OTHERS = 1.
The only parameters in those that have values are c_exis = X, p_datum = given date, and xkomfkgn. The other parameters are all initial when passed to the function module. I get a resulting komv table however, values are incorrect.
Thanks again for the help..
Regards,
jac -
GetFloatProperty gives wrong result for values out of range
Hi
When the method setFloatProperty is called by setting the float values out of the range,then calling getFloatProperty does not give NumberFormatException.
Float value set more the MAX_VALUE of float returns infinity when getFloatProperty is called.Similar problem occurs with setDoubleProperty.This behavior is confusing.can anyone help me out.
Regards
saroj13Throwing a NumberFormatException would never make sense in this situation. The exception indicates that you are trying to convert a String to a number, but the String does not contain a valid number. eg. "as3"; when a conversion was attemted would throw a NumberFormatException.
Floats and Doubles in Java comply with the IEEE 754 standard which mandates the behaviour of the types.
Could you explain why you find this confusing?
Hope this helps. -
Wrong display of values in the document after saving
Hello;
We have a problem in our SOLMAN system about our service documents.
When we change the user staus or priority or something like that(F4
fields) and then save the document, the changed values are updated in
the database but old values are shown again. When we re-enter the
document we can see the true values.
May you please help us in solving the problem?
Best Regards,
Erkan Kaya
SAP CRM ConsultantFor what it's worth I have been having similar problems. Check the application log SLG1. Every time you save it creates entries.
I haven't been able to change the component. Also, I can't get SAP to acknowledge that it is not normal to save text in the description and not have it show up anywhere. Note 1001810 covers my situation exactly but I am above the support pack recommended. I have decided to just apply the new SPS 12 that is just out. -
Dear All,
In ME2K, System is not showing the net order value in the report. I have found a OSS note 985769 and implemented the same.
Now system is showing the netorder value in the report but its not calculating the net order value. Its just showing zero value.
Help me if you have faced this problem and fixed it.
Regards
Senthil KumarHello Senthil,
Net order value in ME2K corresponds to net value stored in accounting (table EKKN-NETWR) which is filled only in case of service purchase order. So for service PO, system will display this in ME2K or ME2J report which are based on account data display but not for material PO.
This is not correspond to EKPO-NETWR.
Please, consider that EKKN-NETWR is not the same as EKPO-NETWR. They come from two different database tables. In the accounting view of the report, we list what is read from the database table EKKN. In the basic list, we read from EKPO. EKKN-NETWR is only used in service items, so you will see zero values for non-service item categories. The F1 help might have the sameexplanation for NETWR, and I could see how this might cause some confusion. However, the help is based on the data element, which is the same for both tables. It would not make sense for us to change thisreport.
I hope I have been able to clarify your doubts.
Regards,
Mauro -
I am trying to Creating an Analog Input Task with Multiple Measurement Types: Voltage and K-thermocouples (the system is PCI6034E – SCXI1000 –SCXI1122-SCXI1322). It does not work properly: as soon as I add second "DAQmx create channel" for voltage I start reading wrong K-thermocouple values (100-160 deg C instead of 24.3-24.7) and it does not depend on sampling rate, etc. The Labview example "Multiplechannels_Created.vi" gives me same wrong temperatures. Did somebody meet this problem? Thanks.
Lorne,
Thank you, for detail explanation about temperature shift.
I am sorry for confusion. The program, which was attached in my previous message: DAQ_Task is not working properly with my hardware as I have already described it above. Do you have any ideas where can it be a problem: PCI6034E?, Chasse?, thermocouples?, Computer?
As I mentioned, currently, another approach for Temperature and Voltage data acquisition (see attached file) is realized, but it will be not suitable for fast data acquisition tasks.
With best regards,
Donatas
Attachments:
Data_Log.zip 144 KB -
hi when i click mt delete button it delete wrong information or values,it does not delete the value from the table it goes and delete value from my forms i drag and drop the correct delete button,am in jdeveloper 11.1.1.6.0
my button is
<af:commandButton actionListener="#{bindings.Delete1.execute}"
text="Remove Member"
id="cb8" immediate="true"/>hi this is what i have done
<af:commandButton actionListener="#{bindings.Delete1.execute}"
text="Delete"
id="cb10">
<af:setActionListener from="#{true}"
to="#{pageFlowScope.addMember.deleteAction}"/>
</af:commandButton>
private boolean deleteAction = false;
private boolean EditAction = false;
private boolean createAction = false;
private ViewRowImpl selectedJobs;
public void setDeleteAction(boolean deleteAction) {
this.deleteAction = deleteAction;
public boolean isDeleteAction() {
OIDOperations oIDOperations= new OIDOperations();
Map<Object,String> mp=new HashMap<Object, String>();
mp.put(getusrname(),getusrname());
oIDOperations.dropUsrRole(getorgname(), mp);
System.out.println("deleted user" +mp);
return deleteAction;
public void setEditAction(boolean EditAction) {
this.EditAction = EditAction;
public boolean isEditAction() {
FacesContext ctx = FacesContext.getCurrentInstance();
ExpressionFactory ef = ctx.getApplication().getExpressionFactory();
ValueExpression ve = ef.createValueExpression(ctx.getELContext(), "#{row.Username}",String.class);
//ValueExpression ve1 = ef.createValueExpression(ctx.getELContext(), "#{row.jobId}",String.class);
String Username = (String)ve.getValue(ctx.getELContext());
if(this.getSelectedJobs() != null){
this.EditAction=getSelectedJobs().getAttribute("Username").equals(Username);
return EditAction;
public void setCreateAction(boolean createAction) {
this.createAction = createAction;
public boolean isCreateAction() {
return createAction;
public void setSelectedJobs(ViewRowImpl newselectedJobs) {
this.selectedJobs = newselectedJobs;
if(this.selectedJobs != null){
this.EditAction = true;
}else{
this.EditAction = false;
this.createAction = false;
this.deleteAction = false;
public ViewRowImpl getSelectedJobs() {
return selectedJobs;
}
Maybe you are looking for
-
I have been trying to put in new apps but it says I need a newer ios version. It currently has 5.1.1. I have tried resetting it back to factory. I have tried updating it through itunes and the ipad and they both say it is up to date.
-
11.5.10.2 Planning Manager MRCRLF
We are upgrading from 11.5.8 to 11.5.10.2 and are having difficulty with the status of the planning manager. In 11.5.8 it cylcles based on a period of time and enters a log in the planning manager form every time it runs. Therefore its status changes
-
Windows 8.1 will not copy files from intranet site.
I am using Windows 8.1 and I am trying to copy files from an Apple Time Capsule disk to a local hard drive. First I got the message box that said "Your Internet security settings suggest that one or more files may be harmful. Do you want to use it an
-
A problem about paining within Swing
Now I have developed a project aiming to drawing line between two component,here is two internalframe. Problem here is that it could work well with JDK1.4,but it could not work well with JDK1.3. The detailed is that there is something wrong between d
-
I have a Photopshop Elements 10.0 on my Mac, I purchased it in English, did an upgrade of my Mac to OS Yosemite and suddenly the language of Photoshop is German. How can I fix this ?