Variable (optional) and exclude value(#) for single characteristic
Hi,
In the reporting i want to apply variable and also fixed value restriction for one characteristic.
Example: I want to apply variable(single and optional) for plant and also restrict not assigned values(#)
I created variable (given single and optional)and also excluded # for plant but at the run time the variable act as a mandatory variable.
please help me.
Thanks
vijj
Hi Vijj
in your case that is not possible.here i am providing diagnosis of the SAP in which cases the optional is not possible.so try creating a customer exit variable.
Diagnosis
An optional entry for is not possible in the following cases:
is used in a selection row with Exclude (SIGN = E).
v1& is used in a selection row whose operation is not EQ or BETWEEN.
The selection row is an interval and both the from value and the to value are optional variables.
The selection is a structure element (FEMS >0) and comprises multiple rows for the same characteristic.
System response
Procedure
If you are able to accept the mandatory entry, you need not do anything. In the third case, you can use an optional interval variable. In the latter case, you define two or more (not visible) selection
elements that you combine with a formula element.
Procedure for System Administration
Praveen.
Message was edited by:
praveen
Similar Messages
-
Value for a characteristic changed with an other value in Query Design
I want to change the value for a characteristic (Type) in Query Design (not the description, the value).
In my cube I have these values:
Customer *** Type
22222********SmallCorp
22223********SmallCorp
22224********MedCorp
The report should like:
Customer *** Type
22222********LEGALENTITIES
22223********LEGALENTITIES
22224********LEGALENTITIES
Or only the "SmallCorp" value should be changed in LEGALENTITIES.
How to do that?
Thanks,
DragosYou can write an exit to replace Type SmallCorp to LEGALENTITIES.
But this will reflect in other queries too....
Or If change in modelling is still an option, you can add one more Type 2 in the cube and update in the transformation with Constant = LEGALENTITIES. Use the Type 2 in the queries. -
How to use one variable as a default value for another variable?
Hi Experts,
Is it possible to use one variable as a default value for another variable?
For example:
Variable 1 = current calendar year month
Variable 2 = mandatory input ready variable for calendar year month
I want to use variable 1 as default value for variable 2, but also have the ability to change the month if required.
Thanks!
Kathrynu can use replacement path variable
in that case u can replace the values of 1 variable with the another variable...
but u cannot do this setting
u cannot make variable 2 as mandatory
u cannot enter value for variable 2
because by default it will take the value of variable 1
u have to make follow settings
variable 2
name , technical name
processing by = replacement path
infoobject = ocalmonth
next tab
replaced by another variable
variable name
offset start , offset lenght
save and hit okey -
Attributes and attribute values for a Product
Hi all
Is there any table or FM from where I can get a list of all the attributes and the attribute values linked to a particular product?
I got tables which link product with Prod Category, Prod Category with Set types and so on.
Could anyoe please provide me an FM which will give the attribute and its values for a particular product?
Please help!!
Regards
DebolinaAttributes created under s settype will be under the table with the name of that particular settype itself i.e Table name and the settype name are the same.
The other part of your question of where to find the list of all settypes and their corresposing attributes, you can make use of COMM_PR_FRG_REL.
Regards,
Harshit -
Cant able to see new value and old value for change in purchase order text
Hi all ,
I am not able to see changes done in material's purchase order text in material master. When i use tcode MM04 to see changes done material master it does not report new and old value for change if it is done in purchase order text of that material .
Thanks in advance ,
ShikhaHi Shikha,
I'm not sure it works or not. But you can try SCU3 t.code and table DBTABLOG. May it can help you out.
I also faced this type of issue in Plant data and it get resolved.
Try and let me know...
Regards
Sunil Sisodia -
Can anybody tell me how to extract sales value and cost value for an materi
dear all,
Can anybody tell me how to extract sales value and cost value for an material sold .
All the values of cost value and sale values are getting stored in bseg-wrbtr field .
How to identify them uniquely.
Or there is another way to find the sale and cost values.
Regards
MaveHi Mave!
Normally there is no condition change, when something is sold.
But sales price depends on sales conditions (not only price, but also surcharges, discounts, taxes - if customized).
Nevertheless, after selling you have a invoice document, where correct values <i>should</i> be stored (see VBRP fields mentioned above). If here is a problem, then customizing of price determination is in question, not a programming of user-exits with MARD selection for costs (or some other tries to get a price).
When you specify your requirements more in detail, you might get better answers - but currently only general hints are possible ('see in invioce / G/L accounts').
Regards,
Christian -
Trigger how to get new and old value for nested table column?
Hi,
I have created a nested table based on the following details:
CREATE TYPE typ_item AS OBJECT --create object
(prodid NUMBER(5),
price NUMBER(7,2) )
CREATE TYPE typ_item_nst -- define nested table type
AS TABLE OF typ_item
CREATE TABLE pOrder ( -- create database table
ordid NUMBER(5),
supplier NUMBER(5),
requester NUMBER(4),
ordered DATE,
items typ_item_nst)
NESTED TABLE items STORE AS item_stor_tab
INSERT INTO pOrder
VALUES (800, 80, 8000, sysdate,
typ_item_nst (typ_item (88, 888)));
Now I would like to create a trigger on table pOrder for after insert or update or delete
and I would like to track the new and old value for the columns inside nested table.
Can anybody direct me how to do it?
I would like to know the sytax for it like:
declare
x number;
begin
x := :new.nestedtablecolumn;--how to get the new and old value from nested table columns
end;
Hope my question is clear.
Thanks,
LavanHi,
Try like this:
CREATE OR REPLACE TRIGGER PORDER_I
BEFORE INSERT
ON PORDER
REFERENCING OLD AS old NEW AS new
FOR EACH ROW
DECLARE
items_new typ_item_nst;
ordid_NEW NUMBER;
BEGIN
FOR i IN :new.items.FIRST .. :new.items.LAST LOOP -- For first to last element
DBMS_OUTPUT.PUT_LINE(':new.items(' || I || ').prodid: ' || :new.items(I).prodid );
DBMS_OUTPUT.PUT_LINE(':new.items(' || I || ').price: ' || :new.items(I).price );
END LOOP;
END;Regards,
Peter -
Where could we find the CT and PT values for Particular Device ???
I 'm facing a scenario in a report i need to place a field device number and assosiated CT's and PT's .
where could we find the CT and PT values for Particular Device ??? basically im MM consultant we don't ahave DM consultant please help with this issue???
means actually i got the table and field details for transformation ratio (or) CT/PT ratio
ETYP_UEBERVER. from the screen EG03 , t-code
but im not sure this is the exact field that i require ....
can any one help .... i will be very thankfull to your solution inadvance....The transformation ratio are the attributes of a "Winding Group". Find winding group of a device and then you'll get the desired information.
-
How to avoid the Amount and Date values for VOID Cheques
Hi All,
I had created a two window i.e For Amount and Date. If I process the cheque the Amount value and Date should not trigger for VOID CHEQUES.
Can any one tel me how to avoid the Amount and Date values for VOID Cheques
Your help will be greatly appreciated.
Regards
YathishHi,
I dont know which tablel you are referring to, is it PAYR table and the field VOIDR?
If a cheque is voided, it would have a reason and it is stored in VOIDR field of this PAYR table.
Check if the field VOIDR is filled, if it is filled, do not print the amount and date.
Regards
Subramanian -
Query to reterive the list of parameters and there values for scheduling
I am develeoping a web application using java sdk want to reterive a parameter list for scheduling.
i want a query that will reterive the list of parameters
as we see on the parameters screen in CMC when we schedule the report.// Loop through the parameters to get the parameter names and parameter values.
for(int i=1;i<=numberPrompts;i++)
// Each prompt has the name SI_PROMPT + a digit starting from 1. For example, if
// there are 2 prompts, the first one would be called SI_PROMPT1 and the second
// one would be called SI_PROMPT2.
IProperties prompt = (IProperties)siPrompts.getProperty("SI_PROMPT"+i).getValue();
// Get the parameter name.
String promptName = prompt.getProperty("SI_NAME").getValue().toString();
// Start displaying a row.
out.println("<tr>");
// First column in the row is the parameter name.
out.println("<td>Parameter Name = "+promptName+"</td><td><table>");
// Get the current values property bag.
IProperties currentValues = (IProperties)prompt.getProperty("SI_CURRENT_VALUES").getValue();
// Get the number of values for this particular parameter.
int numberValues = ((Integer)currentValues.getProperty("SI_NUM_VALUES").getValue()).intValue();
// Loop through all of the values for this particular parameter.
for(int j=1;j<=numberValues;j++)
// Print out the values.
// Each value has the name SI_VALUE + a digit starting from 1. For example, if
// there are two values, then the first value would be called SI_VALUE1 and the
// second value would be called SI_VALUE2.
IProperties currentValue = (IProperties)currentValues.getProperty("SI_VALUE"+j).getValue();
// Check for the existence of the "SI_MIN" and "SI_MAX" properties.
// If it exists, then display the value.
if (currentValue.getProperty("SI_MIN") != null && currentValue.getProperty("SI_MAX") != null)
// The SI_MIN and SI_MAX properties exist.
if (currentValue.getProperty("SI_MIN").getValue() != null && currentValue.getProperty("SI_MAX").getValue() != null)
// The properties have values.
// Get the SI_MIN property bag.
IProperties minRange = (IProperties)currentValue.getProperty("SI_MIN").getValue();
// To store the minimum and maximum values.
String minValue = "";
String maxValue = "";
// Get the SI_DATA property of the SI_MIN property bag.
// First verify that SI_DATA exists.
if (minRange.getProperty("SI_DATA") != null)
// SI_DATA exists within SI_MIN
if (minRange.getProperty("SI_DATA").getValue() != null)
// SI_DATA has value so set the minValue to this.
minValue = minRange.getProperty("SI_DATA").getValue().toString();
// Get the SI_MAX property bag.
IProperties maxRange = (IProperties)currentValue.getProperty("SI_MAX").getValue();
// Get the SI_DATA property of the SI_MAX property bag.
// First verify that SI_DATA exists.
if (maxRange.getProperty("SI_DATA") != null)
// SI_DATA exists within SI_MAX
if (maxRange.getProperty("SI_DATA").getValue() != null)
// SI_DATA has value so set the maxValue to this.
maxValue = maxRange.getProperty("SI_DATA").getValue().toString();
// Print out the Minimum and Maximum values for the parameter.
out.println("<tr><td>Range " + j + " Min Value " + minValue + " Max Value " + maxValue + "</td></tr>");
else
// The SI_MAX and SI_MIN properties exist, but they don't have values.
out.println("<tr><td>The SI_MIN and SI_MAX properties exist, but they don't have any values.</td></tr>"); -
BEx variable screen to exclude values from selection
Hi,
I have a requirement in the BEx report variable screen here my user want to select values for the variable and
from the values in selection on right hand user wants to exclude few values.I want the red color exclude button to appear in the screen.can anyone tell me whether there are any commands in WAD for variable personalization.
Thanks,
HarshaHi,
Try this.
TABLES : ztable.
SELECTION-SCREEN:BEGIN OF BLOCK b1 WITH FRAME TITLE text-t01.
PARAMETER : p_field1 TYPE field1_in_ztable,
p_field2 TYPE field2_in_ztable.
p_field3 TYPE field3_in_ztable.
p_field4 TYPE field4_in_ztable.
p_field5 TYPE field5_in_ztable.
SELECTION-SCREEN:END OF BLOCK b1.
DATA : itab TYPE TABLE ztable,
wa_itab TYPE ztable.
AT SELECTION-SCREEN.
MOVE p_field1 TO wa_itab-field1.
MOVE p_field2 TO wa_itab-field2.
MOVE p_field3 TO wa_itab-field3.
MOVE p_field4 TO wa_itab-field4.
MOVE p_field5 TO wa_itab-field5.
INSERT ztable FROM wa_itab.
IF sy-subrc = 0.
MESSAGE 'Successfully saved' TYPE 'I'.
ENDIF.
Thanks,
Sri.
Edited by: Sri on Jul 28, 2009 4:15 PM -
Custom Report for the Stock and Stock value for a specific date
Hi SAP Gurus,
Is there any SAP standard t-code or any logic to get the transcations (additions (for example: Purchases) and subtractions (Sales) to the inventory) for a particular materials in a plant and with Total Stock and also Total Stock value when that particular transaction happened?
Our system is R/3 4.7
I looked at the MB5B, MBCE, MBCA, MC44, MB51 and some other standard T-codes but could not find the total stock value at the time of Transaction happened.
The history tables MBEWH and MARDH are updated after the month end closing procedures, right, which means I will have the inventory value changing every month if material has Price "S".
Thank you,
-HarterHi Harter,
Unfortunately, you cannot see in a single tcode the value of stock and stock quantity on a specific date. As you yourself have pointed out, we only have to make use of the history table MBEWH, MARDH for the month wise stock quantity and value. Along with that you should also make use of the table MBEW to take teh stock quantity and value. So the total value of stock on a particular date will be
Stock qnty = MBEWH value until the previous month (for teh specific valuation class, period etc) + MBEW value for the present date.
But this will nto work out if you want to find out teh stock quantity and stock value on a past date basis. For past data, only m onthwise data is available. For this anyway you can refer to MC.1 and so on reports. -
How to set threshold value for single tablespace in grid control 11g
Hi,
I want to set the threshold value for a single tablespace in grid control 11g,
please provide me a navigation path.Sandy wrote:
Can you please provide me the full navigation path?go to Targets --> Databases
Select the Database you like to set this alert for
Select link Metrics and Policy Settings -
Multiple values for single field
hi
In order to upload Purchase order details, how you handle multiple values for a single field?
Eg: Item field may contain no. of values for a recordHi,
It is generally taken care using BDC's by Table Control, and if you are using BAPI's then there are tables for ITEMS.
Regards,
Atish -
Import and default values for columns
Hi guys
I have a table in which there are default values for some columns. I take export of this table.
I go to another database where this table structure is already there (but default values are not set). I run the import of table with ignore=Y. It does all...import the data...create the indexes and all...but doesn't set the default values for the columns.
Shouldn't it do that also ? ignore=Y means that ignore the object creation errors and proceed with the rest of the stuff ? Or there is some problem in my understanding ?
Version 10gR2 on AIX 5.3 and using traditional export/import.
Thanks
Amardeep SidhuHanji Sidhu Sahib.
Mein Tuhade liye eh example try kita hai.
SQL> conn simar/simar
Connected.
SQL> SQL> create table orders (
dept varchar2(20) primary key,
place varchar2(20),
intcol integer default 12
2 3 4 5
Table created.
SQL>
Inserted few values ...........+ commit.
SQL> conn simar/simar
Connected.
SQL> select * from orders;
DEPT PLACE INTCOL
SALES TORONTO 12
HR LA 12
BILLING FLORIDA 12
IT HALIFAX 5
exp simar/simar@RACDB file=exptest.dmp log=exptest.log
rac01:/software/backup>exptest.dmp log=exptest.log <
Export: Release 10.2.0.3.0 - Production on Tue May 6 23:35:58 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
Export done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
About to export specified users ...
. exporting pre-schema procedural objects and actions
. exporting foreign function library names for user SIMAR
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions for user SIMAR
About to export SIMAR's objects ...
. exporting database links
. exporting sequence numbers
. exporting cluster definitions
. about to export SIMAR's tables via Conventional Path ...
. . exporting table ABC 12 rows exported
. . exporting table ORDERS 4 rows exported
. exporting synonyms
. exporting views
. exporting stored procedures
. exporting operators
. exporting referential integrity constraints
. exporting triggers
. exporting indextypes
. exporting bitmap, functional and extensible indexes
. exporting posttables actions
. exporting materialized views
. exporting snapshot logs
. exporting job queues
. exporting refresh groups and children
. exporting dimensions
. exporting post-schema procedural objects and actions
. exporting statistics
Export terminated successfully without warnings.
rac01:/software/backup>strings exptest.dmp |grep -i 'create'
CREATE TABLE "ABC" ("A" VARCHAR2(10), "B" VARCHAR2(10)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS" LOGGING NOCOMPRESS
CREATE TABLE "ORDERS" ("DEPT" VARCHAR2(20), "PLACE" VARCHAR2(20), "INTCOL" NUMBER(*,0)) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS" LOGGING NOCOMPRESS
rac01:/software/backup>strings exptest.dmp |grep -i 'alter'
ALTER TABLE "ORDERS" MODIFY DEFAULT
ALTER TABLE "ORDERS" MODIFY ("INTCOL" DEFAULT 12
ALTER TABLE "ORDERS" ADD PRIMARY KEY ("DEPT") USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 STORAGE(INITIAL 65536 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) TABLESPACE "USERS" LOGGING ENABLE
SQL> conn simar/simar
Connected.
SQL> drop table orders;
Table dropped.
imp simar/simar@RACDB file=exptest.dmp log=imp_exptest_1.log tables='ORDERS'
rac01:/software/backup>exptest.dmp log=imp_exptest_1.log tables='ORDERS' <
Import: Release 10.2.0.3.0 - Production on Tue May 6 23:46:48 2008
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, Real Application Clusters, OLAP and Data Mining options
Export file created by EXPORT:V10.02.01 via conventional path
import done in WE8ISO8859P1 character set and AL16UTF16 NCHAR character set
. importing SIMAR's objects into SIMAR
. importing SIMAR's objects into SIMAR
. . importing table "ORDERS" 4 rows imported
Import terminated successfully without warnings.
SQL> conn / as sysdba
Connected.
SQL> set heading off;
set echo off;
Set pages 999;
set long 90000;
SQL> SQL> SQL> SQL> SQL>
SQL> select dbms_metadata.get_ddl('TABLE','ORDERS','SIMAR') from dual;
CREATE TABLE "SIMAR"."ORDERS"
( "DEPT" VARCHAR2(20),
"PLACE" VARCHAR2(20),
"INTCOL" NUMBER(*,0) DEFAULT 12,
PRIMARY KEY ("DEPT")
USING INDEX PCTFREE 10 INITRANS 2 MAXTRANS 255 COMPUTE STATISTICS
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS" ENABLE
) PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 NOCOMPRESS LOGGING
STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT)
TABLESPACE "USERS"
SQL>
Here the alter table statement is in the dmp file as well as in the imported table.
Regards
Maybe you are looking for
-
Can no longer run Photoshop Elements 12, Premier Elements 12 of Photoshop CC on iMac
I have a mid-2011 iMac i7 quad processor 27" iMac and after Yosemite can no longer use Photoshop Elements 12, Premier Elements 12 of Photoshop CC on my iMac. I keep getting the following msg even though I have uninstalled and reinstalled several time
-
My laptop will not connect to a tv by Hdmi. It works with a different Samsung tv. Just wondering if this laptop is compatible with this smart Samsung TV.
-
Mic wont work please someone help!
I've Creative Webcam Live Pro, and my mic wont work. I used the installation CD(webcam CD), and I tried plugging the outlet in the mic slot, and line in slot, but it still wont work. I went to the sound recording program that is installed in the XP,
-
Having problem with charger mac-book pro retina display
I've bought in UK 15'' macbook pro retina display on Augest 2012, But having problem with charger, but i am in NEPAL now! so is there any apple Store in NEPAL? or What can i do?
-
Using an Oracle SQL Function from JPA/TopLink
How do I get the return value from a simple (one string input parameter, returns a string) Oracle SQL Function? Thanks!