Material select views in lsmw??
Hi Guru:
I am encountering a strange question that I selected some tab when creating material in mm01and I ticked create views selected check box,but when I am going to lsmw and trying to record transaction,the system asked me to select tab views again although I had set it in mm01,so it will be causing the issue when I am do recording transaction in lsmw,help!!!!
hii
This LSMW shows how to mass load material master characteristics. The LSMW used is exactly the same as what was used to load release procedure values. Input file is obviously different.
Material Master classification can be used to store additional information against a material master. Example: if it is finished products you may want to store: brand, pack, etc. If it is maintenance materials, you may want to store: size of item, grouping, etc.
Before loading the values (per material), you first need to create the fields (characteristics) and group them together in a class. This is done with following transaction codes:
u2022 Create class u2013 transaction CL02
u2022 Create characteristic(s)s u2013 transaction CT04
u2022 Assign characteristic(s) to class - transaction CL02
No screen shots about CL02 and CT04 u2013 you should be be able to get that right.
Material characteristic values can be viewed from a few places:
u2022 MM03 Display material and select characteristic view
u2022 CL20N Specify class type 001 and material master number
u2022 CL24N Specify class name and class type (001 in this case)
Similar Messages
-
Material select views ( costing ) maintenance
Hİ all,
I want to create automatically costing 1 and costing 2 views for all of the materials. How can I do this?
thank you and best regards,
hilalHi,
I think , I didn't exlplain it very well.When I created the materials , the materials had'nt got the costing1 and costing 2 views. But now we will start to use product costing , so I must create costing views for all the materials. I customized views in material types. but I don't want to create manually thsese views. Because there are lots of materials for this situtation. How can I create automatically? -
How to Upload different Material with Different Selection View
Hello Experts!
Iu2019m new in ABAP and trying to understand methods of LSMW. Now I get a question for you guys. Let say I need to upload 10 different materials. Now for instance.
1st material has Basic data 1 and Basic data 2.
2nd material has Basic data 1, Purchasing and Purchase Order text
3rd material has Basic data 1, Classification, Purchasing, MRP 1, MRP 2 & MRP 3.
4th material has Basic data 1 & Basic data 2.
5th material has Basic data 1, Classification, Purchasing, MRP 1, MRP 2 & MRP 3.
And so on. Now here Iu2019ve notice that every material has different INDUSTRY SECTOR, MATERIAL TYPE AND SELECTION VIEWS. I understand that Industry Sector, Material Type and other data I can specify in my file but how I can control SELECTION VIEWS for different materials. Because for different Selection view coming screens will become different accordingly.
So can somebody can please tell me how I can control different select views for different material and upload it in SAP.
Thanks.Hi
I understand that you are performing LSMW on MM01 transaction code..and are uploading through batch input in LSMW.
Actually, for a tcode like MM01 I dont think you should use LSMW, instead you can go with the BAPI: BAPI_MATERIAL_SAVEDATA.
The views is a serious problem with MM01 when performing using batch input..
So, go through the documentation in SE37 tcode for the BAPI...
The information you get there will help you on how to proceed.
Regards,
Vishwa. -
Create Material Master Views in mass-change
Dear All,
We have to add a additional view to the material master of some products.
Is this possible to do as a mass change (ex. MM17) or have we to do it with transaction SCAT/ MASS?
Do you know an other solution?
Thank you.
Best regards,
ThomasHi,
Use
LSMW using standard SAP provided RMDATIND program- check with ABAPer - You can extend all views or you can pick and choose selected views.
or
BDC scripts - If u have only 1/2 views extended use this.
Mass change doesn't help.
Hope this helps -
Creating a Selection View : HR ABAP
Hi All,
How to create a selection view in HR Abap.
I found some information related to it.
Call the Object Navigator, (SE80), and from the Workbench menu, select
Edit object. Under More.., click Selection view and choose Create.
I tried it but unfortunately i got stuck.
Can anyone navigate me how can i create a selection view.
Thanks
AI got it sorted now, what you need to do is type /nse80 and before you enter the into the actual program for editing you will see workbench on the top left then the rest of the path is available, as described in the reading material!
Enjoy
Regards
Tatenda -
Display MM03 screen with out selecting views using interactive list.
Hi Experts,
I have one query, I am displaying material data in a list. when i click on material number in the list it should show material data i.e should call MM03 with all the view data .
When i am using call transaction 'MM03' skip first screen. I am able to call MM03 screen but unable to skip the View Pop up screen it should be selected default and the veiw data should be displayed.
Ex: when i am clicking on materil number from the list it will directly take to the Basic data1 screen with out the pop up screen for selecting views.
hope this is clear...
Thanks
Sunil kairam.Hi Dzed Maroz ,
Thanks for the quick reply... its works.. !
Can you please tell me the methodology behind SET PARAMETER ID 'MXX' FIELD 'K'.
I was trying using below code earlier was showing the pop up screen.
SET PARAMETER ID 'MAT' FIELD P_MATNR. "
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
but now it works... thanks..
kindly explain SET PARAMETER ID 'MXX' FIELD 'K'. hw it works... which filed parmeter id is MXX and y we have choosen 'K' ??
Thanks & Regards
Sunil kairam -
Selection view in MM02 BDC program
Hi Experts,
I am doing BDC Session method for Tcode MM02.There i am getting selection View screen for different material.But if i select a material in Sales view i need to select Sales :Sales org dAta.
It's coming third position.
But for some material it's coming fourth view.
If i record bdc in third position it'll take third view some other. how i can select the view in selection view.
Please,Anybody knows give me the suggestion.
Thanks & Regards,
NandhaHi,
use this Function module <b>SELECTION_VIEWS_FIND</b> to find the view position.
This One of functional modules for those who still has to use BDC for Material Master transactions (MM01 and MM02). Allows to determine line number for desired view in the "Select View(s)" window, to prepare BDC for the view access
Find the positon of the View based on this function module and write the code to select that perticular view.
Hope this solves your problem
Thanks
Sudheer -
how can we keep selection view in MM01 remain unchanged irrespective of fields that we input in the selection screen
Hi,
This is defined in SPRO -> Logistics-general ->Configuring the material master,
Hope this helps,
Rgds, -
Hi Experts,
I am doing BDC Session method for Tcode MM02.There i am getting selection View screen for different material.But if i select a material in Sales view i need to select Sales :Sales org dAta.
It's coming third position.
But for some material it's coming fourth view.
If i record bdc in third position it'll take third view some other. how i can select the view in selection view.
Please,Anybody knows give me the suggestion.
Thanks & Regards,
NandhaHi Experts,
I am doing BDC Session method for Tcode MM02.There i am getting selection View screen for different material.But if i select a material in Sales view i need to select Sales :Sales org dAta.
It's coming third position.
But for some material it's coming fourth view.
If i record bdc in third position it'll take third view some other. how i can select the view in selection view.
Please,Anybody knows give me the suggestion.
Thanks & Regards,
Nandha -
MM02 Select View option releated
I would like to confirm my understanding regarding MM02 Select View popup screen where we get list of views like Basic data1, MRP 1, etc.
Is this views are only controlled in OMS2 and OMT3E for one particular material type?
Is there anyway where we can restrict these number of views to any specific user, if this can be done how these can be restricted?
Thank you very much
Regards,
ArvindHi,
1) control though spro
You can control the view through Logistics general--> Material master >Configuring material master> User setting.
Here you can select the User name & then select the view selection--> list of screen.
you can select the which you want control
2) better control form authorization object
restrict by authorization object:
M_MATE_STA ( for particular view authorization )
M_MATE_MAR with ( for particular material type authorization) -
Selecting view in MM03 (not manually)
Hi all,
In my report am displaying all the material number and its details. If i click any material number then it has to call transaction MM03. After calling transaction MM03 defaultly it is selecting view Accounting but i have to display basic data has a selected view..How to write code to select view in MM03..Actually am displaying the datas ALV grid format. if i click the matnerial number it has to call MM03 and defaultly it has to select view Basic data.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = ' '
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = SY-REPID
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT = W_LAYOUT
IT_FIELDCAT = FIELDCAT1
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = ' '
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
T_OUTTAB = I_OUT.
CLEAR : V_COL , S_KOSTL.
CLEAR : RET_TAB[] , S_KOSTL[] , I_COSTCENTER_LIST[].
*& Form USER_COMMAND
text
-->P_UCOMM text
-->P_SELFIELD text
FORM USER_COMMAND USING P_UCOMM TYPE SY-UCOMM
P_SELFIELD TYPE SLIS_SELFIELD.
IF P_UCOMM = '&IC1'.
IF P_SELFIELD-FIELDNAME = 'MBLNR' AND P_SELFIELD-VALUE IS NOT INITIAL.
READ TABLE I_MKPF INTO WA_MKPF WITH KEY MBLNR = P_SELFIELD-VALUE.
SET PARAMETER ID 'MBN' FIELD P_SELFIELD-VALUE.
SET PARAMETER ID 'MJA' FIELD WA_MKPF-MJAHR.
CALL TRANSACTION 'MB03' AND SKIP FIRST SCREEN.
CLEAR: P_UCOMM.
ENDIF.
*am having probliem in this statement
IF P_SELFIELD-FIELDNAME = 'MATNR' AND P_SELFIELD-VALUE IS NOT INITIAL.
READ TABLE I_MKPF INTO WA_MKPF WITH KEY MATNR = P_SELFIELD-VALUE.
SET PARAMETER ID 'MAT' FIELD P_SELFIELD-VALUE.
CALL TRANSACTION 'MM03' . "AND SKIP FIRST SCREEN.
CLEAR: P_UCOMM.
ENDIF.
ENDIF.
ENDFORM. "USER_COMMAND<b></b> -
Reading MS Project column names and data on the fly from a selected View
Hi guys,
I have several views on my project file (MSPROJECT 2010) and I want to build a macro so that;
1. User can select any view ( Views can have diffrent columns and the user may add new columns as well)
2. User runs the Macro and all the coulmns along with the tasks displayed in the view will be written to a excel file. ( I don't want to build several macro's for each view, I'm thinking of a common method which would work for any selected view)
The problem I'm facing is that how will i read the column names and data for a particular view on the fly without hard coding them inside the vba code ?
The solution needs to work on a master schedule as well.
Appreciate your feedback.Just to get you started the following code writes the field name and data for the active task to the Immediate window.
Sub CopyData()
Dim fld As TableField
For Each fld In ActiveProject.TaskTables(ActiveProject.CurrentTable).TableFields
If fld.Field >= 0 Then
Debug.Print Application.FieldConstantToFieldName(fld.Field), ActiveCell.Task.GetField(fld.Field)
End If
Next fld
End Sub
Rod Gill
Author of the one and only Project VBA Book
www.project-systems.co.nz -
What will happen if don't set follow-up material in material mas view MRP4
Client get the information that some materials will not manifacture until one date. After this date, client want this material can't create BOM or PO anymore.
I gave solution for set delete flag for this material so that when create BOM or PO error happens.
But client want to use discontinue material in material master view MRP4, so that he can enter the last date when this material is out of use.
Will discontinue material in material master view MRP4 can meet this requirement? enter discontinuation indicator and date then after this date will not create BOM or PO.As per my understanding discontinuation is related only to MRP (how system handles requirements).
http://help.sap.com/erp2005_ehp_04/helpdata/EN/b1/c044d1439a11d189410000e829fbbd/frameset.htm
If you want to disallow the creation of BOM / PrdOrd / etc, you have to apply to the suggested material status control or to your own solution (marking the material for deletion), etc.
n my opinion discontinuation makes sense if the real situation is also discontinuation (you have a real follow-up material). In this case you can use it to manage the requirements properly.
Edited by: Csaba Szommer on Sep 2, 2010 1:37 PM -
In iPhoto if I select View, then Sort Photos by title, how do I stop it reverting to sorting by date when I close iPhoto and re-open it later?
In what mode, Events, Photos or in an Album, are you when you select View ➙ Sort ➙ By Title?
As a first fix attempt try the following:
1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
User/Home/Library/ Preferences folder.
2 - delete iPhoto's cache file, Cache.db, that is located in your
User/Home/Library/Caches/com.apple.iPhoto folder (Snow Leopard and Earlier).
or with Mt. Lion from the User/Library/Containers/com.apple.iPhoto/
Data/Library/Caches/com.apple.iPhoto folder
3 - launch iPhoto and try again.
NOTE 1: If you're moved your library from its default location in your Home/Pictures folder you will have to point iPhoto to its new location when you next open iPhoto by holding down the Option key when launching iPhoto. You'll also have to reset the iPhoto's various preferences.
NOTE 2: In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
OT -
How can i select view attribute in a method
hi how can i select view attribute in method and pass that attribute to procedure
public void DeleteAgr(Integer agrid) {
ViewObject svo = this.findViewObject("AGR");
//select current view id from agr and link id with agrid
callPerformSdmsLogon("SMS_FORM_TO_ADf.delete_agr(?)", new Object[] { agrid });
}Edited by: Tshifhiwa on 2012/06/30 1:01 PM
Edited by: Tshifhiwa on 2012/06/30 1:22 PM
Edited by: Tshifhiwa on 2012/06/30 1:24 PMhi i use your sample but now am geting this errror (oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null
----- Level 1: Detail 0 -----
(java.lang.NullPointerException) null check the code below
public String getCurrentagrid(String currentagrId) {
if (currentagrId != null && currentagrId.length() > 0) {
ViewObjectImpl agrVO =
this.getAGR1();
if (agrVO != null) {
Key key = new Key(new Object[] { currentagrId });
//Searching for the row with key
//getRow(key) will search in the cache which contain atmost
//2000 records Becoz the MaxFetchSize of EmpVO is 2000
AGRRow agrRow =
(AGRRow)agrVO.getRow(key);
//if the record with key is not present in the cache
if (agrRow == null) {
//Searching for the row with key in the DataBase
//findByKey() searches in DB
Row[] agrRows = agrVO.findByKey(key, 1);
if (agrRows != null && agrRows.length != 0) {
//agrRows = (AGRRow)agrRows[0];
if (agrRow != null) {
//currentagrId = (String)agrRow.getAttribute("id");
//agrVO.executeQuery();
//agrRow = agrVO.first();
callPerformSdmsLogon("SMS_FORM_TO_ADf.delete_agr(?)", new Object[] { currentagrId });
return currentagrId ;
}Edited by: Tshifhiwa on 2012/07/01 10:51 AM
Edited by: Tshifhiwa on 2012/07/01 11:38 AM
Maybe you are looking for
-
Why does firefox crash when i am trying to use the google search function?
I use Windows 7 and have Firefox 3.6.23 installed. I have no problem with most websites, but Firefox crashes every time I try to do Google searches. So far this issue is only happening with Google.
-
Images wont load for a certain website how do I fix this ?
Please help me !! I do a lot of surveys but on one website in particular (Global Testmarket) has for a while stopped showing me their images when I come out of one survey to start another, all I see is a blank white screen. I have asked their support
-
Column name in the database starts with a number!
Hello, Recently we updated out database and we changed our tables' and columns' names, I'm developing an adf application with EJB3.0 the question is that the new column names start with a number (eg. 001U_ID), its a kind of encoding the names of the
-
I cannot get the numerical keys to work on my Mac pro any ideas?
HI I am trying to return something bought on line and need to fill out various information on the website. I cannot get the numerical keys to work anybody any ideas as to what I may be doing wrong? GL
-
Hi all, Can anyone provide me info on work flows . Any documents is highly appreciated. Regards, Rajashree