To upload values into material master table
Hi,
Can anyone tell me how to upload the changed values in a screen to material master table?
Hi,
Actually my requirement is,there is an update screen.There are many fields in the update screen.When the user changes the value of a partiacular field and click on the checkbox beside it of which he wants to get uploaded into material master table,and click on the execute button,the values should get uploaded into material master table.
Can we upload all the field values at a time into material master table?How can we do that?
Similar Messages
-
Updating values in material master table
Hi,
I have a requirement where in which if the user wants to change the value of some fields of a particular record in the o/p,then he checks the checkbox of that record and click on the change button.Then the control goes to the update screen.There are many fields present in the update screen and also checkboxes were present beside each field.The user can change the values of the fields here and click on th execute button.Then only the checked field values should get updated in the material master table.
Can anyone tell me how only the checked field values can be updated in the material master tableare you attempting to program the standard transaction MM17 all over again?
-
Uploading Basic Data Longtext into Material Master
Hi Experts,
While creating material master i need to upload Basic Data Long text into material master.
For this iam using a BDC.How we can get this long text into sap systen and how we will update in material master.Hi,
you can use the below function module instead of Save_text..
BAPI_MATERIAL_SAVEDATA.
in the above function module
headdata-material = matnr.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = headdata "contains materail number
IMPORTING
return = return
TABLES
MATERIALLONGTEXT = t_longtext "pass long text here
returnmessages = returnmessages.
Prabhudas -
Material master table/field that can store a value that indicates the sales
Hello Gurus....
My Client is looking for a material master table/field that can store a value that indicates the sales volume (quantity) of a material. If the sales volume of a material falls within the top 80% of the total sales volume, then the material will have an indicator of "A", 15% will be "B", bottom 5% will be "C". Business wants to use this field to drive the automatic putaway into different pick zones.
We cannot use ABC Analysis field (MARC-MAABC) or CC phys.in.ind. (MARC-ABCIN) since they are used for ABC analysis and cycle count based on value, nor volume. Using these fields will limit our future use of the true SAP functionality.
field in Purchasing view in the material master called Mfg Part Profile. However, this is also against the original functionality of the field.
Other than, this any other field we can use it? or the only option is to do a custom field?
Regards,
KumarHi
I think the only option is to have a custom field.
Regards
Prasad -
How to add basic data text into material master?
Hi anybody,
I want update only basic data text into material master. how to update basic data text ?
is it any bapi or functional module is there in abap?
anybody please tell me.
tks
s.muthuHi Subramanyan,
Check this function module:
CREATE_TEXT
Check out this sample program:
REPORT ZMM_INSERT_LONGTEXT.*Internal table to hold long text...
DATA:
BEGIN OF T_UPLOAD OCCURS 0,
MATNR LIKE MARA-MATNR, " Material number
ID(2) TYPE C, " Identification
LTEXT LIKE TLINE-TDLINE, " Long text
END OF T_UPLOAD,*Internal table to hold long text....
T_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE.DATA:
W_GRUN LIKE THEAD-TDID , " To hold id
W_OBJECT LIKE THEAD-TDOBJECT VALUE 'MATERIAL',
" To hold object id
LV_VALUE(70). " Value to hold material number
START-OF-SELECTION.* This perform is used to upload the file
PERFORM UPLOAD_FILE.* This perform is used to place the text in MM02 transaction
PERFORM PLACE_LONGTEXT.
*& Form create_text
This routine used to create text in MM02 transaction
Passed the parameter w_grun to P_C_GRUN
and lv_value to P_LV_VALUE
FORM CREATE_TEXT USING P_C_GRUN
P_LV_VALUE. DATA:
L_ID LIKE THEAD-TDID,
L_NAME(70). MOVE : P_C_GRUN TO L_ID,
P_LV_VALUE TO L_NAME. CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = L_ID
FLANGUAGE = SY-LANGU
FNAME = L_NAME
FOBJECT = W_OBJECT
SAVE_DIRECT = 'X'
FFORMAT = '*'
TABLES
FLINES = T_LINE
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
CLEAR LV_VALUE.
ELSE.
DELETE T_LINE INDEX 1.
ENDIF.ENDFORM. " create_text&----
*& Form upload_file
This routine is used to upload file
No interface parameters are passed
FORM UPLOAD_FILE . CALL FUNCTION 'UPLOAD'
EXPORTING
CODEPAGE = ' '
FILENAME = ' '
FILETYPE = 'DAT'
ITEM = ' '
FILEMASK_MASK = ' '
FILEMASK_TEXT = ' '
FILETYPE_NO_CHANGE = ' '
FILEMASK_ALL = ' '
FILETYPE_NO_SHOW = ' '
LINE_EXIT = ' '
USER_FORM = ' '
USER_PROG = ' '
SILENT = 'S'
IMPORTING
FILESIZE =
CANCEL =
ACT_FILENAME =
ACT_FILETYPE =
TABLES
DATA_TAB = T_UPLOAD
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. SORT T_UPLOAD BY MATNR ID.
ENDFORM. " upload_file
*& Form place_longtext
This routine places the text in MM02 transaction
No interface parameters are passed
FORM PLACE_LONGTEXT . LOOP AT T_UPLOAD. T_LINE-TDFORMAT = 'ST'.
T_LINE-TDLINE = T_UPLOAD-LTEXT.
APPEND T_LINE. IF T_UPLOAD-ID EQ 'BT'.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'GRUN' TO W_GRUN. "Test ID for Basic data text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IT'.
CLEAR W_GRUN.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'PRUE' TO W_GRUN. "Test ID for Inspection text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IC'.
CLEAR W_GRUN.
MOVE : T_UPLOAD-MATNR TO LV_VALUE,
'IVER' TO W_GRUN.
"Test ID for Internal comment
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF.
ENDLOOP.ENDFORM. " place_longtext
Hope this helps you.
Regards,
Chandra Sekhar -
Classification values in Material master
hi ,
m using the BTE event to capture the values of material master but the characteristics name and value fields are not there.
Is there any way to capture those values??
i have one solution by assigning the program and table to the field symbols like--
CLEAR field .
field = '(SAPLCLFM)allausp[]' .
...but i need some more elaboration if someone has worked on this...or any other better solution...?
Edited by: Jeetu@SAP on Jul 11, 2011 2:43 PMhello ganti,
can u check ur MARC table and re-confirm, is thar really available.... -
Modeling: how to place Material Grp in Material Master TABLE instead of DIM
Hi,
I just completed a review of the "...Modeling with BI" document and I will appreciate some clarification on the following:
Some key points leading to question:
--"..In order to cover all requirements, master tables in a BI Data model are NOT linked directly to cube .."
e.g. While Material Number is in the Material Dimension; Material Type and Material Group are outside the Star Schema (page 14) i.e. in the Material Master, Material Text, Material Hierarchy TABLES.
--".. translation tables called SID tables are used in the BI data model to link the master tables of the BI data model to cubes" (page 16)
--So, the discussion goes on to point to the different LOCATIONS that a dependent attribute (which are not in 1:N relationships) of a characteristic such as Material Group may be located:
in the
i) Material Dimension table or
ii) Material Master table or
iii) Material Hierarchy table or
iv) combination of i/ii/iii
My question:
When building a cube, I know how to add Material Group to the same dimension as in case of i.
How do I add Material Group in the cube, in such as way that it is ii?
If I created a separated InfoObject, Material Group, it will not meet ii, since it will not be part of the Cube in question.
Can you help me with how to make the LOCATION for Material Group as ii and iii in this example?
i.e. to make Material Group as part of the model but not added to the Material Dimention table but to "Material Master table"
i.e. I am trying to get this line well:
--".. translation tables called SID tables are used in the BI data model to link the master tables of the BI data model to cubes"
ThanksHi Amanda.........
I am not getting ur question properly...........but I will try to explain u .......
translation tables called SID tables are used in the BI data model to link the master tables of the BI data model to cubes.......
Do u know.........what is Extended star schema.............it is a purely that concept..........
Look.......Infocube will never store Master data...........Master data will be stored in Infoobject...............
Now look...........if u make a Infoobject Master data enable.........then it will be connected to Four Master data table.......
Attribute Table
Text Table
SID table
Hierarchy table.........
Different Master tables are........
/BIC/M -- View of Master data Tables
/BIC/P -- Master data Table, Time Independent attributes
/BIC/Q -- Master data Table, Time Dependent attributes
/BIC/X -- SID Table, Time Independent
/BIC/Y -- SID Tabel, Time Dependent
/BIC/T -- Text Table
/BIC/H -- Heirarchy Table
/BIC/K -- Heirarchy SID Table
When u r creating the Infoobject........in the Masterdata/text tab...........if u check the box With Master data.........the characteristic may have attributes........... In this case the system generates a P table for this characteristic.............. This table contains the key of the characteristic and any attributes that might exist.........
Again if u check the With Text...........then it will hav text table..............
For Hierarchy in the Hierarchy tab page..u hav to select with hierarchy.................
Now while activating the Master data SID gets generated..........this is stored in SID table.........SID table contains the Key field of the Attribute table and SID............suppose material...........then SID table will contain Material number and SID value........
Now the DIM table of an infocube contains..........SID and DIM.............so DIM tables r connected to the Master data table with this SID.......Again in turn SID tables are conneected to the Master data table.........
So cube will access this Master data table with the help of SID..........ie.......ID tables are used in the BI data model to link the master tables of the BI data model to cubes
Check this.........
http://sapbwneelam.blogspot.com/2007/10/extended-star-schema.html
Regards,
Debjani...... -
Can COPA pull values from material classification tables
Hi All,
I know COPA can pull values from standard SAP tables like material master tables (e.g. MARA) but can it also pull values from material classification table(s)?
Your help is greatly appreciated,
Points will be rewardedHi Kati,
In order to derive CO-PA chars from material classification view for a
specific material value you have to implement the CO-PA derivation exit
(include ZXKKEU11) accordingly. It's indeed table AUSP from which you
can get the corresponding value (field ATWRT) for each classifying
attribute (field ATINN). In order to find out the field name for each
ATINN number (so that the mapping to corresponding CO-PA chars can be
done in a sensible way) you have to select additionally the ATNAM value
from table CABN (for given ATINN number).
BR,
MLM -
Updation of Consumption values in material master
Dear Experts,
For a FERT ,
When I use strategy 40 , Consumption values ( PGI - Deliveries )are getting updated in MM02 in Forecast view.
whereas,
When I use strategy 50 , Consumption values are not getting updated in MM02 in Forecast view.
Is there any setting to control this updation of Consumption values in Material Master ?
Regards,
SheikHi,
Update of consumption is based on movement type, and you can decide which movement types should have or have not consumption updating.
Check in transaction OMJJ if the movement types in question have indicator "Consumption posting" (field V_156_VC-KZVBU) as marked.
If it is the case, consumption is updated, opposite for un-ticked.
Hope that helps.
Thanks. -
Interactive ALV to report to get into Material Master Sales View
Hi,
I want to know way to get into Material master Sales view from an Interactive ALV report.
In the output we have (custom report for Sales) the Sales Order item information. If the user double clicks on the material, it should directly goes to the Material Master Sales org 1 view. I can able to get to MM03 initial screen to display the list of views, but it would be better we can use the Plant, Sales Org and plant info from Sales Item to get into the material master Sales view.
I checked that this functionality is there in the standard code. If you double click on the material in Purchase order display(ME23N) from the item level, it is directly getting into Material Master Purchasing view. Is there a way to achieve this.
Your suggestions would be appreciated with points. Thanks!Hello,
Yes, it's possible using the CALL TRANSACTION command with the addition AND SKIP FIRST SCREEN. The only thing that you need is to fill the fields from the first screen (SET PARAMETER command).
DATA: carrid TYPE spfli-carrid,
connid TYPE spfli-connid.
SET PARAMETER ID: 'CAR' FIELD carrid,
'CON' FIELD connid.
CALL TRANSACTION 'FLIGHT_TA' AND SKIP FIRST SCREEN.
Regards. -
Change the characteristic Values in Material master date
Hi Experts,
How do change the characterstic values in material master ? Is there any standard BAPI or t.ocde or LSMW
Best Rgds
SumaI often changed classification with LSMW using IDOC CLFMAS
-
Change the characteristic Values in Material master dat
Hi Experts,
How do change the characterstic values in material master ? Is there any standard BAPI or t.ocde or LSMW
Best Rgds
SumaHi Suma,
Probably this question should be asked in another forum (MM) then the one for DMS related questions -
Defalt values in material master?
Hi All,
Is it possible to make default values in material master.
Like material group should be 001 for material type ROH etc
Regards,
RRHi Raj,
You can default the org elements and views in the material master.
But you can not make fields inside the views as default.
But coming to your problem, what you can do is:
Try to copy it from existing material, so by default all values inside the views will come.
Hope it helps...
Utsav... -
Hi,
how can I understand what views are opened for materials using material master tables ?
RegardsGo to the MARA table - Execute with the material you want to see.
Check the maintenance status field (PSTAT) and that will show the views created for that material.
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 -
In SOP- transfer forecasted values from material master to info structure?
Hi All,
I wanted to test out a few scenarios. Do you know the answers / can you help simulate and check the below?
1. If I run the forecast using different models for different materials using the total forecast run (MP38), the forecast values will get updated in the material master. Can I get these values transferred directly into the SOP (standard or flexible), without re-running the forecast in SOP? What I am looking at is a possible scenario where individual materials have different forecast model, so do not want to run forecast from SOP using one model for all.
2. Can you have the capability of selecting diff model (say based on material master data) in SOP for diff materials? When I ran SOP, the model I specify there for forecasting is applied for all materials
3. If I upload historical values/forecasted values in the material master, can I directly transfer them to SOP without any change to the value?
Appreaciate your inputs.Hi All,
I wanted to test out a few scenarios. Do you know the answers / can you help simulate and check the below?
1. If I run the forecast using different models for different materials using the total forecast run (MP38), the forecast values will get updated in the material master. Can I get these values transferred directly into the SOP (standard or flexible), without re-running the forecast in SOP? What I am looking at is a possible scenario where individual materials have different forecast model, so do not want to run forecast from SOP using one model for all.
2. Can you have the capability of selecting diff model (say based on material master data) in SOP for diff materials? When I ran SOP, the model I specify there for forecasting is applied for all materials
3. If I upload historical values/forecasted values in the material master, can I directly transfer them to SOP without any change to the value?
Appreciate your inputs.
Maybe you are looking for
-
This computer is no longer authorized message over and over- please help
got a new laptop, tried to sync ipod touch and got message "this computer is no longer authorized". when I hit authorize my husbands email comes up, rather than mine, it is his old itouch. when I type in my email and password and hit authorize it s
-
Windows 7 Home Premium Peer-to-peer network over a switch
Sorry for asking such a basic question here. I am trying to setup a small office network. There are 5 computers all running Windows 7 Home Premium. Using a switch I want to connect all 5 together. I have a software package running on PC1, which will
-
How do i open a cs6 file in cs5
how do i open a cs6 file in cs5
-
Every link shows a pop-up on iWeb published site. Why? Must it be so?
I've noticed that my very simple blog page shows pop-ups if I rest the cursor over the hyprelinks for just a brief moment. It's kind of annoying, because it shows my weak titles for the files and directories iWeb is using. Normal web pages don't do t
-
Hi all, Is there any Z function modules for OLE, which will download the data directly to Excel with 2 sheets. Regards, Shalini