Reporting On Classification Data Out Of Material Master Inquiry (MM03)
I have a question for anyone who can help. Getting classification data out of SAP table is not straight foreward as most other data in MM03. Has anyone ever extracted classification data ?? If so, how ??
Thank-You
Jeff
hello there,
were you able to obtain any information on your query? I have a similar requirement and I'd be grateful if you could help.
Thanks,
Yusuf
Similar Messages
-
Classification Data Creation for Material Master Record
Hi all.
I've a batch that update material master record with a Bapi "Bapi_material_savedata". After Material creation or changing we also need to insert or to change a classification data in the classification view of the material master record.
Is there a function module that could be useful to update the classification data of a material?
Thanks
CarloHi Ravikumar,
I tried to use the function module, but it doesn't works well, is it necessary thet material must have the Calssification view already set on?
Thanks
Luigi/Carlo -
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 -
Automatic creation of Warehouse No. data in the material master
Hi all,
I want the automatic creation of Warehouse No. data in the material master record at the time of the first goods receipt is allowed.
Similar to the way where we can do the same for Storage Location by clicking on Create SLoc. automatically in the plant parameters settings.
can it be done..plz guide.
Regards,
SandeepHi Deepak ,
Such facility is not available for Warehouse .
Regards
Ramesh Ch -
How to Update the Basic Data text in Material Master.
Hi Abapers,
I have more than 5000 materials for update basic Data text inside Material Master.
how to update basic data text using abap programe? is there any bapi or normal program?.
anybody give me sample of this.
Thanks
S.Muthu.
IT Dept.Hi
You can do by using the FM SAVE_TEXT.
Just populate text into table i_tline.
Local data declaration
DATA: l_wa_thead TYPE thead, " Header
l_wa_tline TYPE tline. " Work area for tline
Populate header
l_wa_thead-tdobject = c_obj_material.
l_wa_thead-tdname = wa_data-matnr.
l_wa_thead-tdid = c_id_best.
l_wa_thead-tdspras = sy-langu.
l_wa_thead-tdluser = sy-uname.
l_wa_thead-tdfdate = sy-datum.
l_wa_thead-tdtxtlines = '1'.
IF i_tline[] IS NOT INITIAL.
l_wa_tline-tdformat = c_slash.
APPEND l_wa_tline TO i_tline.
ENDIF.
Text shd start from next line
l_wa_tline-tdformat = c_slash.
CONCATENATE c_text wa_data-text
INTO l_wa_tline-tdline SEPARATED BY space.
Append the new text to the int table
APPEND l_wa_tline TO i_tline and l_wa_thead
C* Local data declaration
DATA: l_wa_thead TYPE thead, " Header
l_wa_tline TYPE tline. " Work area for tline
Populate header
l_wa_thead-tdobject = c_obj_material.
l_wa_thead-tdname = wa_data-matnr.
l_wa_thead-tdid = c_id_best.
l_wa_thead-tdspras = sy-langu.
l_wa_thead-tdluser = sy-uname.
l_wa_thead-tdfdate = sy-datum.
l_wa_thead-tdtxtlines = '1'.
IF i_tline[] IS NOT INITIAL.
l_wa_tline-tdformat = c_slash.
APPEND l_wa_tline TO i_tline.
ENDIF.
Text shd start from next line
l_wa_tline-tdformat = c_slash.
CONCATENATE c_text wa_data-text
INTO l_wa_tline-tdline SEPARATED BY space.
Append the new text to the int table
APPEND l_wa_tline TO i_tline.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = l_wa_thead
savemode_direct = c_check
TABLES
lines = i_tline
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc = 0.
COMMIT WORK.
endif. -
Consumption data in the material master
Dear All,
Can anyone explain me about consumption data in the material master?
1. How the consumption datau2019s are automatically updated in the material master?
2. List of movement types, that creates consumption data in the material master
Thanks in advance
Regards,
Krishna samyKrishna Samy wrote:
Dear All,
>
>
> Can anyone explain me about consumption data in the material master?
>
>
> 1. How the consumption datau2019s are automatically updated in the material master?
>
> 2. List of movement types, that creates consumption data in the material master
>
>
> Thanks in advance
>
>
> Regards,
>
> Krishna samy
Hi,
When a PO is created (say for Cost Center(s)), and if the material has a Material Master record, after the goods are received the same goes directly into Consumption account and not in stock account since it is meant for direct consumption by Cost Center(s). (Ex`s. of consumables are Office supplies).
Please go thru this document to understand how automatic postings works: [CLICK HERE|http://help.sap.com/saphelp_46c/helpdata/en/12/1a39516e36d1118b3f0060b03ca329/content.htm]
Reetesh
Edited by: Reetesh on Nov 27, 2011 7:47 PM -
Can anyone Explain about Data conversion for Material master In SAP MM
Can anyone Explain about Data conversion for Material master, Vendor In SAP MM
ThanksHi,
Refer following link;
[Data Migration Methodology|http://christian.bergeron.voila.net/DC_Guide/Data_Migration_Methodology_for_SAP_V01a.doc] -
Label Data View in Material Master
Dear Team,
Despite of performing all below standerd steps, i am not able to view Label Data view in Material Master.
pls guide
steps performed.
1. Check whether the screen sequence SP exists in Customizing for the Material Master under Define Structure of Data Screens for Each Screen Sequence.
2. Check whether screen 92 has been assigned to screen sequence SP and has the screen type 1 (main screen).
3. Check under Subscreens whether the subscreens were assigned to screen 92 of the screen sequence SP.
4. In the Assign Screen Sequences to User/ Material Type/Transaction/Industry Sector IMG activity, set up the users who are allowed to edit the screen sequence and when it appears.
also I have SAP_ALL Authorization.
Regards,
Amol JoshiHello Amol,
For IMG activity: Define Structure of Data Screens for Each Screen Sequence, for screen sequence 21, with logical screen 92, in subscreen, please see below settings:
Program: SAPLMGD1 , screen no. is 1002
Program: SAPLCBGL_LD00 , screen no. is 8020
Program: SAPLCBGL_LD01, screen no. is 1010
Regards,
Niraj -
Error in Excise Data subscreen in Material Master:Foreign Trade-Import Data
SAP Net Weaver ECC6.0
I have added the 'Excise data' subscreen in Material master 'Foreign trade IMport' and 'Foreign Trade Export' tab. But facing the following problem. please help.
There are two buttons called 'More' and 'PreVals' in that subscreen. If I click either of them, it gives an error message as below
"Record 21 MORE does not exist in table T133E
Message no. M3748"
and
"Record 21 J1PR does not exist in table T133E
Message no. M3748"
Kindly help what to doOK
Lets starts from first step.
Go to OMT3B
1. Copy 21 and make it 91
2. Then from left hand side select Data screens no 15 copy it and make it 91 - Z1
3. Then again go to left hand side Subscreens and copy 6 and make it 91 - 71 - z and assign screen no 2205 and add prograne as SAPLJ1I_MATERIAL_MASTER
save it
Then go to OMBt3E and copy 01 -* HERS * 12 and mahe it 01 -* ROHor FERT * 91 and save it and then check and revert back
regards -
Tax classification field of the material master - Mandatory
At the "Sales: sales org. 1" view of the material, there exist the tax classification field of the material master. How can I make this field mandatory?
Hi
Go to T-code OMSR
Select Field name MARA - TAKLV and click on the arroow sysmbol on the right against that line.
For Field Ref MM01 - select the radio button "Reqrd Entry".
Hope this answers your question
Regards
Madhu -
Report with Classification Data & Batch
Hi,
We have created a Material, say 10001, with Classification View with the following details:
Class Type: 023
Class: PAPER_BATCH
Characteristic: 1. Paper Bulk, 2. Paper Brightness
While doing Goods Receipt for the Material 10001, we have entered the values 10 & 15 for Characteristic Paper Bulk & Paper Brightness respectively and Batch 082010.
Now I want a report where in I can view the following all the above data like Material, Batch, and the Values of the Characteristic entering during the Goods Receipt
What all are the reports related with Class & Batch?
Please guide.
Regards,
PKHi,
There is No Standard SAP report
Check this link
Re: Table for Material Classification data
check the above link for the table
Using the table you can write Z reports
Regards
G.Ganesh Kumar -
Report for expiry date of the material
All SAP Gurus,
We have certain Materials which are expirable.
These Materials are batch managed, and each batch is having different expiry date.
Is there any standard report available which can give is the days remaining to reach the expiry date (for that material)?
Regards,Hi,
Try MB5M,
here
Field name Field value
Material Enter the material code to which the report is desired.
Plant Enter the plant in which the report is to be generated.
Storage Location Enter the storage location in which the report is to be generated. Optional entry. Leave it blank.
Batch Batch number to be displayed. Optional entry. Leave it blank.
Remaining shelf life Minimum amount of time for which the material must keep upon goods receipt for the goods receipt to be accepted by the system. Optional entry.
Remaining shelf life warehouse Indicates that the remaining shelf life of a batch in
Total remaining shelf life Indicates that the system displays the total remaining shelf life of a batch.
The total remaining shelf life is calculated from the shelf life
Expiration date minus the current date. Select this radio button.
Indicates that the system also displays materials with zero stock. Optional, leave it blank.
Display of remaining shelf life in days. Select this radio button to display the remaining shelf in days in the report.
Regards,
Pardeep Malik -
Palletization Data in the material master
Hi,
If I defined the palletization data in the warehouse management view of material master as follows:
LE qty: 2
Unit : PC
SU type: IP
the system should separate the transfer orders into several items by LE quantity when put away, for example, If I put away 10 pcs, the system should separate the transfer order into 5 items, each item have 2 pcs, is it right?
Kindly please advise.
Thanks.http://help.sap.com/saphelp_47x200/helpdata/en/c6/f83fb14afa11d182b90000e829fbfe/frameset.htm
http://help.sap.com/saphelp_47x200/helpdata/en/c6/f83fb14afa11d182b90000e829fbfe/frameset.htm
Regards,
Ashok -
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 -
To change the classification data for a material using BDC
I have to update clssification data for material in MM02 using BDC so when i record the transaction MM02 using SHDB i am not able to see the value assignment window which i a able to see when i am changing using MM02 transaction directly. So can anyone have an idea regarding this ?
I have even tried updating classification data using a BAPI BAPI_OBJCL_CHANGE but i am not getting desired results....can anyone suggest me what are the parameters need to be passed to the BAPI. Thanks in advance for your help....Hi Nagarjuna,
<b>BAPI_OBJCL_CHANGE</b> : This BAPI changes an existing classification, or creates the classification if it does not yet exist. The classification is defined by the required entry fields for the object key (ObjectKey), object table (ObjectTable), class name (AllocDetail-Class_Num), and class type (AllocDetail-Class_Type). The default value for the optional date field (KeyDate) is the system date, on which all classifications become valid. The new characteristics and/or values are transferred to different tables according to data type. Numeric, time, and date characteristics are transferred to table AllocValuesNumNew, character and boolean characteristics are transferred to table AllocValuesCharNew, and currency characteristics are transferred to AllocValuesCurrNew.
The object key (OBJECTKEY) must be transferred in internal format. This means before conversion exits. For example, a material number must be transferred with leading zeros.
If the BAPI runs without errors, table Return contains no messages of type "E".
Assignment created: message CL735
Assignment changed: message CL737
Assignment not changed: message CL738
This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
You can only use this BAPI for objects that are not classes!
This BAPI only processes assigned values for classification - not for configuration.
Reward points if helpful.
Regards,
Hemant
Maybe you are looking for
-
How can i find and finish downloading a tv show i purchased
does anyone know how to find and finish downloading a item i recently bought.anyone? Message was edited by: shugochara3000
-
Message bundle Please help !
Hey Im trying to make the message bundle <application> <message-bundle>webadmin.MyErrors</message-bundle> </application>I would like to make another file "MyErrors2 and have it switch based on a variable in the controller.. is that poss
-
Can not get past program load-up
The program was working fine however recently I can not move past loading up the program. I access aperture and the program comes up however then I go in to a in-definate loadup and cannot move forward. This all happened after I deleted a project and
-
Hi everyone, I am having trouble to experience data deduplication in saving storage space. I basically created a virtual server, Windows Server 2012 R2 and only has Data deduplication enabled on the server roles/features. An extra virtual SCSI disk
-
Hi gurus, i have executed a query and i have tried to drill on material then i got an error saying that internal system error....BMG135 which says material conversion settings not found... how to solve this error and fix so that i can see the materia