Wrong selection of views
hi expert
i create a material master with T CODE- MM01 by mistake i select worng views and i save it
i also use the T CODE -MM02 but it not done
how we remove these view.
Pls suggest me
Anurudh singh
Dear
anurudh sinngh
as per my knowldge , u want to change the Material type, in views their in nothing called Finished view, for Semi/fin all most all views are same, , u go to Transaction .*MMAM* if u wnat to change material type. change material type. from finished to semi.
replay
madhu
Similar Messages
-
Hi,
I am facing this weird issue. Any help would be appriciated.
I have view with the following definition:
CREATE VIEW [marketing].[OpenedMails]
AS
SELECT
ID_EmailAddress,
ID_Date_Opened,
ID_Contact,
ID_MailSendJobs,
COUNT(ID_OpenedMails) AS OpenCount,
CASE
WHEN ROW_NUMBER() OVER (PARTITION BY CAST(ID_EmailAddress AS VARCHAR(10)) + ' ' + CAST(ID_MailSendJobs AS VARCHAR(10)) ORDER BY ID_Date_Opened) = 1 THEN 1
ELSE 0
END
AS UniqueOpenCount
FROM
dbo.Fact_OpenedMails
where ID_Contact = 382340
GROUP BY ID_EmailAddress, ID_Date_Opened, ID_Contact, ID_MailSendJobs;
order by ID_MailSendJobs
When I run the the select statement in the view definition I get combination of both 1 and 0 for the 'UniqueOpenCount' column.
But when I run the select from the view itself using the following query:
SELECT [ID_EmailAddress]
,[ID_Date_Opened]
,[ID_Contact]
,[ID_MailSendJobs]
,[OpenCount]
,[UniqueOpenCount]
FROM [marketing].[OpenedMails]
I get equal amount of rows but only 0 values for the 'UniqueOpenCount' column which seems to be very weird to me. Why is this happening ? Can anyone help regarding how to solve this ??
Result from the select inside view definition:
Result from the select query directly from the view:
Thanks in advance.
Vivek KamathPlease post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. You failed. Temporal
data should use ISO-8601 formats – you failed again. Code should be in Standard SQL AS much AS possible and not local dialect.
This is minimal polite behavior on SQL forums.
Things like “ID_Date_Opened” are wrong. The affixes “id” and “date” are called attribute properties in ISO-11179 and data modeling. Since a date is a unit of measurement on a temporal scale, it cannot be an identifier by definition. My guess is this would be
“open_date” if it were done right. And the only display format in ANSI/ISO Standard SQL is ISO-8601 (yyyy-mm-dd)
An email address of -1?? Email addresses are VARCHAR(256), not numeric. There is no reason to cast them AS string!
Your vague “mail_send_jobs” is plural, but columns hold scalars and cannot be plural by definition. The partition cause can hold a list of columns:
WHEN ROW_NUMBER()
OVER (PARTITION BY email_address, mail_send_job
ORDER BY open_date)
= 1
THEN 1 ELSE 0 END
This still makes no sense, but the syntax is better. You do not understand how ROW_NUMBER() works.
Would you like to try again with proper Netiquette?
--CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
in Sets / Trees and Hierarchies in SQL -
How to Pre-Select a View for ALV dashboard at runtime
Hello Experts,
The requirement is to pre-select 1 view initially (out of several configured) for 'All' users and disable the 'View-selection' dropdown function in a standard ALV dashboard. So whenever the dashboard loads, a particular view has to be set automatically for all users.
I need your help for the first part, which is to always pre-set a 'View' in a standard dashboard.
I tried to implement the suggestion provided in the following thread:
How to apply ALV view at runtime
However I couldn't make this work in my case. I created a Post-Exit of a method in Comp Ctlr of dashboard (Initialize method) - where I receive the refrence 'IWCI_SALV_WD_TABLE'. Then calling the method 'GET_CONFIG_DATA' with action 'if_salv_wd_table=>set', I try to set the view, but it has no effect.
Thanks a lot for your help,
AbirHi abir,
Use this and alv1 is my alv component name
DATA LO_CMP_USAGE TYPE REF TO IF_WD_COMPONENT_USAGE.
LO_CMP_USAGE = WD_THIS->WD_CPUSE_ALV1( ).
IF LO_CMP_USAGE->HAS_ACTIVE_COMPONENT( ) IS INITIAL.
LO_CMP_USAGE->CREATE_COMPONENT( ).
ENDIF.
DATA LO_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
LO_INTERFACECONTROLLER = WD_THIS->WD_CPIFC_ALV1( ).
LS_PARAM_IN TYPE IF_SALV_WD_TABLE=>S_TYPE_PARAM_CONFIG_IN.
ls_param_in-default = "your view name " ( view is of type wdr_pers_variant)
DATA LO_VALUE TYPE REF TO CL_SALV_WD_CONFIG_TABLE.
LO_VALUE = LO_INTERFACECONTROLLER->GET_CONFIG_DATA( ls_param_in )
Regards
Srinivas
Edited by: sanasrinivas on Dec 30, 2011 7:15 AM -
How to select plant view in BAPI_MATERIAL_SAVEDATA
Hi Friends,
I am using standard BAPI (BAPI_MATERIAL_SAVEDATA) to create Material Master. There is no option to select plant view in headdata itself but i need to populate plant data. So i've used PLANTDATA and PLANTDATAX parameter to pass plant name,storage location and period indicator.
say
PLANTDATA-plantname = '0011'.
PLANTDATA-storagelocation = '0011'.
PLANTDATA-periodind = 'D'.
PLANTDATAX-plantname = '0011'.
PLANTDATAX-storagelocation = 'X'.
PLANTDATAX-periodind = 'X'.
The material gets created but plant view is not created.
<<text removed>>
Thanks in advance.
Regards,
Prabhu
Edited by: Matt on May 5, 2009 11:15 AM - don't use ASAPHello,
Try this
Data:
PLANTDATA LIKE BAPI_MARC, "ins H 592229
PLANTDATAX LIKE BAPI_MARCX, "ins H 592229
Get plant
IF FT-FNAM = 'RM03M-WERKS'. "ins H 592229
PLANTDATA-PLANT = FT-FVAL. "ins H 592229
PLANTDATAX-PLANT = FT-FVAL. "ins H 592229
ENDIF.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA' "ins H 592229
EXPORTING "ins H 592229
HEADDATA = HEADDATA "ins H 592229
CLIENTDATA = CLIENTDATA "ins H 592229
CLIENTDATAX = CLIENTDATAX "ins H 592229
PLANTDATA = PLANTDATA "ins H 592229
PLANTDATAX = PLANTDATAX "ins H 592229
IMPORTING "ins H 592229
RETURN = RETURN_CODE2 "ins H 592229
TABLES "ins H 592229
MATERIALDESCRIPTION = MATERIALDESCRIPTION. "ins H 592229
Check this standard one is using in the same way
see this program MMCP3FP0 -
The Control A key is not working. I cannot multi-select my songs. I'm not sure if it is the problem with iTunes 10.6.1.7 or my PC settings encounter issues. Also, i cannot find Album Artwork online using iTunes and i cannot select any view form but List.
The Control A key is not working. I cannot multi-select my songs. I'm not sure if it is the problem with iTunes 10.6.1.7 or my PC settings encounter issues. Also, i cannot find Album Artwork online using iTunes and i cannot select any view form but List.
-
Although all photos in my libraries are rotated to the correct orientation, random pictures still show up in the wrong position when viewed on Apple TV.
Any suggestions?silvergc
Thanks for your comments
Several of our iPhone users in the UK reported the problem this morning, and as the Apple fan in the office I've got the job of resolving the issue
The original Excel was an old .xls file, but I have saved it as a .xlsx and the problem still appears
I haven't spoken with our developer yet, but I assume he has created the Excel file using some programming tools rather that directly using Excel
In the meantime I have created a simply spreadsheet with 8 cells contain values
In the first 4 cells, I have formatted them using Currency, and have used the currencies USD, DEM, GBP and CHF
In the remaining cells I have formatted them using the Accounting option, using the same currencies
When I review the spreadsheet on the iPhone (or iPad), the first 4 remain the same yet the last four all show the £ symbol
I have now changed the Region Format of the iPhone to United States, and when viewing on the iPhone the bottom 4 values are now all showing the $ sign!
If I had created the spreadsheet I would have put the Currency code in a seperate cell and purely used a numeric format for the number, and there would be no issue. That might be the only solution
Yes, the Director has the full MS Excel app on his Windows 8 device, but I can't expect all of our clients to go and do the same, in business many of them will have the iPhone
We may have to change the way we produce the report because of Apple's failings here, and it's not the first time that we have had to change something because Apple devices can't display them properly
In business, submitting a potential job contract only for the recipient to get the wrong idea of the costs is a major concern -
Event handler for selecting 3d views
Hi,
Is there any event handlers for when a user selects a view?
I would like to be able to base actions after a view is selected but can't figure away to do it other then creating my own list of views.
Thanks!...Yes indeed! :-) It's called the CameraEventHandler. It gets triggered whenever a user changes a view. You can use the returned "event" object to get info about the camera (or modify it), to just use the eventHandler to trigger other activity as you mentioned.
Here's a simple example which outputs all the camera properties to the console window at view change.
//===============================================
myCEH = new CameraEventHandler();
myCEH.onEvent = function(CameraEvent)
console.println("CameraEvent.binding = " + CameraEvent.binding );
console.println("CameraEvent.far = " + CameraEvent.far );
console.println("CameraEvent.fov = " + CameraEvent.fov );
console.println("CameraEvent.currentTool = " + CameraEvent.currentTool );
console.println("CameraEvent.canvas = " + CameraEvent.canvas );
console.println("CameraEvent.isNewCanvas = " + CameraEvent.isNewCanvas );
console.println("CameraEvent.near = " + CameraEvent.near );
console.println("CameraEvent.projectionType = " + CameraEvent.projectionType);
console.println("CameraEvent.targetDistance = " + CameraEvent.targetDistance);
console.println("CameraEvent.transform = " + CameraEvent.transform );
console.println("CameraEvent.viewPlaneSize = " + CameraEvent.viewPlaneSize );
runtime.addEventHandler(myCEH);
//=============================================== -
How to select multiple views in lsmw
Hi Friends,
i am uploading the falat file data using LSMW ..
MY QUESTION IS .. when uplodong data through lsmw
i want select 2 views ....
ex: i am uploding 100 records .. in this records ..
we don't no how many records are realated to perticular view??? for this how to run the lamw??
i am uploading MM02 data...for 100 records..
some recorsd are realted to classification view and others are
sales org view..how to run the lsmw??
pls. explain.
regards,hi
Using the read statement. y bcoz u r putting data in an internal table for a table control. so u want to retieve a particular row so use index position along with read statement.
if it is useful,please reward points.
Regards,
satish -
Can anyone tell me if you can select to view your podcasts in TILE VIEW like before. thanks
can anyone tell me if you can select to view your podcasts in TILE VIEW like before. thanks
I am having the same problems. Firstly found out that I had a duplicate email address on two apple ids so I fixed that but now it wont let me verify the email address. When I click on "verify email address" nothing happens. So frustrating cos cant set up Facetime or iMessage on my iPad.
-
Employee selection table view not opening in MSS while selecting process
Hello Everyone,
In MSS, Team->Start Process for Employee Employee selection table view is not visible, so without selecting employee if i click Select Process button its telling employee is not selected.. How make that Employee selection view visible in MSS..This may be structural authorization issue. Execute RHBAUS00 for the user then check what happens.
Sandip -
Select Accounting View in BDC Program
Hi Experts,
I am working on a BDC program in which I have to change the Accounting view data for Materials(MM02).
Each material has diferent number of views. So How can I select only the Accounting View when changing Material data through BDC.
Thanks
KumarHi ashok ,
ideally you should use BAPI_Material_savedata to change the material master.
as far as your problem goes you can use the following method to select appropraite view in MM02.
SET PARAMETER ID 'MXX' FIELD c_v.
c_v is a char 1 constant and can have values
User department Maintenance statu(Value of c_v)
Work scheduling A
Accounting B
Classification C
MRP D
Purchasing E
Production resources/tools F
Costing G
Basic data K
Storage L
Forecasting P
Quality management Q
Warehouse management S
Sales V
Plant stocks X
Storage location stocks Z
Regards,
N.
Edited by: navjot sharma on May 26, 2008 2:02 PM -
DefaultTableCellRenderer + html in cell = wrong selection
Hi All -
I may have found a bug, but I want to know if I am missing something. If I extend DefaultTableCellRenderer, override the getTableCellRendererComponent method and use any html in my cell text, then the cell to the right is always selected when I click on the table, if I have no HTML, all is well.
For example:
public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus, int row, int col) {
setText("<html>hi</html>);
return this;
}Does not work correctly (cell selection is shifted one to the right), but if I replace the setText line with:
setText("Hi");Then cell selection works fine.
Anyone have any ideas?
Thanks!Thanks for the suggestions. Calling super.getTablecellRenderer doesn't change the situation. I am extending DefaultTableCellRenderer so that I get the performance benefits over JLabel (see its java doc for details) but retain the ability to (in theory) use html. The super class's implementation of getTableCellRenderer just does a bunch of things that I don't need, but if I made my own implementation of TableCellRenderer I'd just be extending JLabel and overriding all the methods that this class does already, so there is no advantage to not just extending the default one.
I am in a situation where I can't just call setValue either.
I have made a custom selection model so that I can select cells in a normal way (multiple cells, support for shift and ctrl select). The problem is that when I use html in the text, the table reports the wrong selection to my model, but when there is no html in the text, all is well. -
How to block user create personal view and select ALL VIEW?
How to block user create personal view and select ALL VIEW?
Hello,
>create personal view
To restrict creating personal view, you need to modify your existing permission level or create new one. Login with admin account to your site and open role.aspx page (http://siteurl/_layouts/role.aspx). Then click on existing permission or add new permission
level-->and move to "Personal Permissions" section-->uncheck "Manage Personal Views - Create, change, and delete personal views of lists" option. Later you can assign this permission to all users, whom you don't want
to allow to create.
>and select ALL VIEW
Since SP does not supports view level permission directly so you have to use custom solution or use below designer solution to restrict user to open any view.
http://www.codeproject.com/Articles/433486/How-to-set-view-level-permissions-out-of-the-box-i
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
FCHU- Reference key Wrongly selected
Hi,
While executing FCHU, i wrongly selected Reference Key instead of Assignment field.
The reference key got populated with cheque No.'s in place of Assignment field.
Is there any way to rectify this. The line items are huge in no.
Regards,
SAPFICOplease check CHANGE_DOCUMENT bapi
you can change document no wise and also update reference instead of FCHU -
What is the process for mm01 datatransfer by selecting different views
what will be the basic thing to be done for selecting different views?
hi ..if want to upload master data for different views then first create material using MM01 and then update material for different views one by one in MM02..for mass data transfer u can use BDCs for MM01 and MM02
regards
Maybe you are looking for
-
How can I sync selected calendars?
I have a Mac at home and at work. The work machine is used by several people who maintain a single iCal for the office schedule. I'd like to sync this calendar with my home Mac (so that I can work from home and add it to my iPhone) but I don't want m
-
i have instaled the creative cloud but premiere pro still not installed [Thread title changed for clarity.] Message was edited by: Jim Simon
-
i am unable to download the eval of 10g. i am attempting to create an account and the link give an http page not found error. thanks. mel hines earthlink
-
Adobe not recognized in Panther
Referring to this archived thread: http://discussions.apple.com/thread.jspa?threadID=1265757&tstart=0 When downloading a PDF file from the internet, Adobe Reader 7.1.0 does not recognize the file and will not open it. I have successfully deleted the
-
Mechanical shutter for Nokia 5800 XM...
juz wandering is there a "mechanical shutter" for the Nokia 5800 XM's Carl Zeiss Tessar camera? anybody know about this? <kyuo here>