Delete material description
how to delete material description and language exclude language EN.
Moderator Message: Very vague question. Learn to frame your questions properly with sufficient information.
Edited by: kishan P on Nov 15, 2010 10:44 AM
Sitting here and reading your crisp question (after I've locked your even more crisper question), it's very difficult to suggest you to do anything.
Firstly, we need to know why you need to delete the Material Description from a standard transaction. If this is a Business requirement, only your Business know why this is needed - Im sure you have no clue about it either.
Secondly, we need to know if this is a requirement that has been handed down to you by your Functional Consultant, or if it's a figment of your own imagination.
Thirdly, we want to know why your Functional Consultant (if any) has not suggested you a suitable suggestion, especially when a "fresher" abap is behind the controls.
Fourthly, please tell us why you are not ready to contact SAP and seek their advice.
pk
Similar Messages
-
Language of material description in Outbound Delivery
Hi,
I have created an STO for a new Greek customer Plant and the communication language in the customer master data for this plant was set to Greek.
As consequence, my Outbound Deliveries from an Italian Plant have been created with a Material Description in Greek...In the meantime, I changed the communication language in the customer master data to english to have the description in english for any new outbound delivery created...
I deleted the deliveries with wrong language and tried to re-create them after this language change but the problem is still the same (material description in Greek).
So, it seems that the customer language taken into account is the one that was assigned to the customer at the time the STO was created...The language change will only solve my future documents (STO) so I am looking for a way to correct my deliveries already created as I can not cancel my STO...
Thanks,
KAKHi,
Thanks for reply. But I dont think this works. In another instance of SAP where this functionality is working, I have checked the Item usage and its not CHSP. It is V and batch split is happening.
Still, I will try once and let u know if this works.
Regards,
Vishal -
API_MATERIAL_SAVEDATA for Material Description ?
dear Friends:
How to modify function API_MATERIAL_SAVEDATA Material Description?Hi
hope this coding will help you look especially at
IT_MAKT-LANGU = IT_DATA-SPRAS.
IT_MAKT-MATL_DESC = IT_DATA-MAKTX.*
APPEND IT_MAKT.
REPORT ZKAR_MATMAS_BAPI.
* TABLES
* FLAGS *
DATA: F_STOP. " Flag used to stop processing
* DATA DECLARATIONS *
DATA : V_EMPTY TYPE I, " No. of empty records
V_TOTAL TYPE I. " Total no. of records.
* STRUCTURES & INTERNAL TABLES
*BAPI structures
DATA: BAPI_HEAD LIKE BAPIMATHEAD, " Header Segment with Control Information
BAPI_MAKT LIKE BAPI_MAKT, " Material Description
BAPI_MARA1 LIKE BAPI_MARA, " Client Data
BAPI_MARAX LIKE BAPI_MARAX, " Checkbox Structure for BAPI_MARA
BAPI_MARC1 LIKE BAPI_MARC, " Plant View
BAPI_MARCX LIKE BAPI_MARCX, " Checkbox Structure for BAPI_MARC
BAPI_MBEW1 LIKE BAPI_MBEW, " Accounting View
BAPI_MBEWX LIKE BAPI_MBEWX, " Checkbox Structure for BAPI_MBEW
BAPI_RETURN LIKE BAPIRET2. " Return Parameter
*--- Internal table to hold excel file data
DATA: IT_INTERN TYPE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
*--- Internal table to hold Matetrial descriptions
DATA: BEGIN OF IT_MAKT OCCURS 100.
INCLUDE STRUCTURE BAPI_MAKT.
DATA: END OF IT_MAKT.
*--- Internal to hold the records in the text file
DATA : BEGIN OF IT_DATA OCCURS 100,
WERKS(4), " Plant
MTART(4), " Material type
MATNR(18), " Material number
MATKL(9) , " Material group
MBRSH(1), " Industry sector
MEINS(3), " Base unit of measure
GEWEI(3), " Weight Unit
SPART(2), " Division
EKGRP(3), " Purchasing group
VPRSV(1), " Price control indicator
STPRS(12), " Standard price
PEINH(3), " Price unit
SPRAS(2), " Language key
MAKTX(40), " Material description
END OF IT_DATA.
* SELECTION SCREEN. *
SELECTION-SCREEN BEGIN OF BLOCK SCR1 WITH FRAME TITLE TEXT-111.
PARAMETER : P_FILE TYPE RLGRAP-FILENAME OBLIGATORY DEFAULT " Input File
'C:\Material_master.XLS'.
PARAMETER : P_MAX(4) OBLIGATORY DEFAULT '100'. " no.of recs in a session
PARAMETERS: P_HEADER TYPE I DEFAULT 0. " Header Lines
PARAMETERS: P_BEGCOL TYPE I DEFAULT 1 NO-DISPLAY,
P_BEGROW TYPE I DEFAULT 1 NO-DISPLAY,
P_ENDCOL TYPE I DEFAULT 100 NO-DISPLAY,
P_ENDROW TYPE I DEFAULT 32000 NO-DISPLAY.
SELECTION-SCREEN END OF BLOCK SCR1.
* AT SELECTION-SCREEN *
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
*--- Validating file
PERFORM VALIDATE_FILE USING P_FILE.
* START-OF-SELECTION
START-OF-SELECTION.
*--- Perform to convert the Excel data into an internal table
PERFORM CONVERT_XLS_ITAB.
IF NOT IT_DATA[] IS INITIAL.
*--- Perform to delete Header lines
PERFORM DELETE_HEADER_EMPTY_RECS.
ENDIF.
* END OF SELECTION. *
END-OF-SELECTION.
*--- Perform to upload Material Master data
PERFORM UPLOAD_MATMAS.
* Form : validate_input_file
* Description : To provide F4 help for file if read from PC
FORM VALIDATE_FILE USING F_FILE TYPE RLGRAP-FILENAME.
CALL FUNCTION 'KD_GET_FILENAME_ON_F4'
CHANGING
FILE_NAME = F_FILE
EXCEPTIONS
MASK_TOO_LONG = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
MESSAGE S010(ZLKPL_MSGCLASS). " 'Error in getting filename'.
ENDIF.
ENDFORM. " validate_input_file
*& Form CONVER_XLS_ITAB
* text
FORM CONVERT_XLS_ITAB.
CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
EXPORTING
FILENAME = P_FILE
I_BEGIN_COL = P_BEGCOL
I_BEGIN_ROW = P_BEGROW
I_END_COL = P_ENDCOL
I_END_ROW = P_ENDROW
TABLES
INTERN = IT_INTERN.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
*--- Perform to move the data into an internal data
PERFORM MOVE_DATA.
ENDFORM. " CONVERT_XLS_ITAB
*& Form MOVE_DATA
* text
FORM MOVE_DATA.
DATA : LV_INDEX TYPE I.
FIELD-SYMBOLS <FS>.
*--- Sorting the internal table
SORT IT_INTERN BY ROW COL.
CLEAR IT_INTERN.
LOOP AT IT_INTERN.
MOVE IT_INTERN-COL TO LV_INDEX.
*--- Assigning the each record to an internal table row
ASSIGN COMPONENT LV_INDEX OF STRUCTURE IT_DATA TO <FS>.
*--- Asigning the field value to a field symbol
MOVE IT_INTERN-VALUE TO <FS>.
AT END OF ROW.
APPEND IT_DATA.
CLEAR IT_DATA.
ENDAT.
ENDLOOP.
ENDFORM. " MOVE_DATA
*& Form DELETE_HEADER_EMPTY_RECS
* To delete the Header and empty records
FORM DELETE_HEADER_EMPTY_RECS.
DATA: LV_TABIX LIKE SY-TABIX.
IF NOT P_HEADER IS INITIAL.
LOOP AT IT_DATA.
IF P_HEADER > 0 AND NOT IT_DATA IS INITIAL.
DELETE IT_DATA FROM 1 TO P_HEADER.
* P_HEADER = 0.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
CLEAR IT_DATA.
*--- To delete the empty lines from internal table
LOOP AT IT_DATA.
LV_TABIX = SY-TABIX.
IF IT_DATA IS INITIAL.
V_EMPTY = V_EMPTY + 1.
DELETE IT_DATA INDEX LV_TABIX..
ENDIF.
ENDLOOP.
CLEAR IT_DATA.
*--- Total no of recs in file
DESCRIBE TABLE IT_DATA LINES V_TOTAL.
IF V_TOTAL = 0.
MESSAGE I013(ZLKPL_MSGCLASS). " No records in the file
F_STOP = 'X'.
STOP.
ENDIF.
ENDFORM. " DELETE_HEADER_EMPTY_RECS
*& Form UPLOAD_MATMAS
* to upload Material Master data
FORM UPLOAD_MATMAS .
LOOP AT IT_DATA.
* Header
UNPACK IT_DATA-MATNR TO IT_DATA-MATNR.
BAPI_HEAD-MATERIAL = IT_DATA-MATNR.
BAPI_HEAD-IND_SECTOR = IT_DATA-MBRSH.
BAPI_HEAD-MATL_TYPE = IT_DATA-MTART.
BAPI_HEAD-BASIC_VIEW = 'X'.
BAPI_HEAD-PURCHASE_VIEW = 'X'.
BAPI_HEAD-ACCOUNT_VIEW = 'X'.
* Material Description
REFRESH IT_MAKT.
IT_MAKT-LANGU = IT_DATA-SPRAS.
IT_MAKT-MATL_DESC = IT_DATA-MAKTX.
APPEND IT_MAKT.
* Client Data - Basic
BAPI_MARA1-MATL_GROUP = IT_DATA-MATKL.
BAPI_MARA1-BASE_UOM = IT_DATA-MEINS.
BAPI_MARA1-UNIT_OF_WT = IT_DATA-GEWEI.
BAPI_MARA1-DIVISION = IT_DATA-SPART.
BAPI_MARAX-MATL_GROUP = 'X'.
BAPI_MARAX-BASE_UOM = 'X'.
BAPI_MARAX-UNIT_OF_WT = 'X'.
BAPI_MARAX-DIVISION = 'X'.
* Plant - Purchasing
BAPI_MARC1-PLANT = IT_DATA-WERKS.
BAPI_MARC1-PUR_GROUP = IT_DATA-EKGRP.
BAPI_MARCX-PLANT = IT_DATA-WERKS.
BAPI_MARCX-PUR_GROUP = 'X'.
* Accounting
BAPI_MBEW1-VAL_AREA = IT_DATA-WERKS.
BAPI_MBEW1-PRICE_CTRL = IT_DATA-VPRSV.
BAPI_MBEW1-STD_PRICE = IT_DATA-STPRS.
BAPI_MBEW1-PRICE_UNIT = IT_DATA-PEINH.
BAPI_MBEWX-VAL_AREA = IT_DATA-WERKS.
BAPI_MBEWX-PRICE_CTRL = 'X'.
BAPI_MBEWX-STD_PRICE = 'X'.
BAPI_MBEWX-PRICE_UNIT = 'X'.
*--- BAPI to create material
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
HEADDATA = BAPI_HEAD
CLIENTDATA = BAPI_MARA1
CLIENTDATAX = BAPI_MARAX
PLANTDATA = BAPI_MARC1
PLANTDATAX = BAPI_MARCX
* FORECASTPARAMETERS =
* FORECASTPARAMETERSX =
* PLANNINGDATA =
* PLANNINGDATAX =
* STORAGELOCATIONDATA =
* STORAGELOCATIONDATAX =
* VALUATIONDATA = BAPI_MBEW1
* VALUATIONDATAX = BAPI_MBEWX
* WAREHOUSENUMBERDATA =
* WAREHOUSENUMBERDATAX =
* SALESDATA = BAPI_MVKE1
* SALESDATAX = BAPI_MVKEX
* STORAGETYPEDATA =
* STORAGETYPEDATAX =
IMPORTING
RETURN = BAPI_RETURN
TABLES
MATERIALDESCRIPTION = IT_MAKT
* UNITSOFMEASURE =
* UNITSOFMEASUREX =
* INTERNATIONALARTNOS =
* MATERIALLONGTEXT =
* TAXCLASSIFICATIONS =
* RETURNMESSAGES =
* PRTDATA =
* PRTDATAX =
* EXTENSIONIN =
* EXTENSIONINX =
IF BAPI_RETURN-TYPE = 'E'.
WRITE:/ 'Error:' ,BAPI_RETURN-MESSAGE ,'for material:' ,IT_DATA-MATNR.
ELSEIF BAPI_RETURN-TYPE = 'S'.
WRITE: 'Successfully created material' ,IT_DATA-MATNR.
ENDIF.
ENDLOOP.
ENDFORM. " UPLOAD_MATMAS
* 1 children | View in hierarchy
Regards,
V.Balaji
Reward if usefull -
Different material description in one language for single material
Hi folks,
Is it possible to maintain different material descriptions (In one language-english) for a single material.
if it so how can u provide me steps.
Thx in advance,
Neelima.NHi,
For a single material code maintaining multiple text in the same language is not possible,
this contradicts the basic principle of consistancy.
Howevery you are free to do R&D, if sucessful please let me know.
Regards
Bikas -
Material description is not showing in VL10H
Hi All,
I am running the report VL10H and facing a problem, step which is being followed by me, given below:-
1.Put plant and delivery date and execute.
2.click on label Edit -> Show/hide delivery.
3.Chose the field u201CMaterial descriptionu201D from Layout for output field.
Now here I am seeing that all the materials in this report, having SD Doc i.e. delivery has been created,
Material description is showing and remaining materials which have no delivery (showing in green color),
Material description is not being shown.
Can anybody suggest me regarding this?Tiwari Himanshu wrote:
Yes there is no issue regarding description maintained in the material master.
>
> If you run the VL10H as steps, I have given above, then you will see Material descriptions comes only those material which delivery are pending for creation, all those which delivery is posted not showing material description.
now you are just telling it the other way around:
Now here I am seeing that all the materials in this report, having SD Doc i.e. delivery has been created,
Material description is showing and remaining materials which have no delivery (showing in green color),
Material description is not being shown.
I tested it, and all my sales order and STO order items are showing a material description.
I do not have any items shown which have already deliveries created
About which description are you talking, as I can see 2, one at item level and another one at header level ? -
Material description VS Purchase order Text when creating a PO
Hi Gurus,
When creating a PO for a specific material, I have to print a purchase order text different from the material description.
To do this, a specific text has be added to the material master data in the tab "Purchase order Text" with the italian language maintained.
But, when i start to create a new PO for this material, the short text that is shown is retrieved form the Material description and not from the Purchase order text that has been added before.
How can I do to have the purchase order text shown in the PO instead of the common material description?
Thanks in advance for your support.
Regards,
Valentino
Edited by: Valentino Rosso on Sep 9, 2009 10:58 AMHi Rajaram,
thansk a lot for your answer, it has been very helpful.
Could you please clarify me the below points?
1) Could you please confirm me that this is the functionality of the standard SAP System? That means that in case we want to put the purchase order text in to "short text" we would need to create an ad hoc development, right?
2) In case we print the PO with the purchase order text added for the material, is there any point where we can find this information for the material, or we will see just the material description from the Material Master Data?
Thanks a lot for your support.
Regards,
Roberto -
SAP Script : to display the material description in two lines
Hi All,
I'm working on scripts.
the material description field is been passed from my driver program ..into the script..
Ex: &gs_final-maktx& ..
There r a number of other fields to be displayed ...after this field ....
Is there any option to split the 'Material description into two lines'?
Ex: at present it is :
This is material description
Requirement is:
This is material
description
I mean that there a number of field berfore and after this field......in the same line
I need to jst split the materia description ...& make it to appear in two lines.....!!
Expecting your suggestions....
Edited by: vidya vidya on Nov 11, 2008 3:17 PM
Edited by: vidya vidya on Nov 11, 2008 3:20 PMFM TEXT_SPLIT ?
..but i handled this by code.
DATA: zzboldsx(18) TYPE c,
zzboldsx2(18) TYPE c,
zzboldsx3(18) TYPE c,
zzboldsx4(18) TYPE c.
DATA: i_lines TYPE STANDARD TABLE OF tline WITH HEADER LINE ,
r_lines TYPE tline,
v_cnt LIKE sy-tabix.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = stxh-tdid
language = stxh-tdspras
name = name
object = stxh-tdobject
TABLES
lines = i_lines[]
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc = 0.
* Only 4 lines of Header text supported. Can add if needed
LOOP AT i_lines INTO r_lines.
CONDENSE r_lines-tdline NO-GAPS.
v_cnt = v_cnt + 1.
CASE v_cnt.
WHEN 1.
zzboldsx = r_lines-tdline.
WHEN 2.
zzboldsx2 = r_lines-tdline.
WHEN 3.
zzboldsx3 = r_lines-tdline.
WHEN 4.
zzboldsx4 = r_lines-tdline.
WHEN OTHERS.
EXIT.
ENDCASE.
* zzbolDSX = i_lines-tdline .
ENDLOOP. -
Dear Experts,
I have a requirement for making material description as non mandetory in change request view of mdg material screen.
I have done that using field usage in get data method of feeder classes, but still message is displaying.
This message 'Material description is mandatory is displaying with check action only, but not with save or submit after i anhance field property as not mandetory.
How to prevent error message for material description in MDG material detail screen, when user click on check action.
Thanks
SukumarHello Sukumar
In IMG activity "Configure Properties of Change Request Step", you can completely deactivate the reuse area checks (but will then loose all other checks of the backend business logic as well).
You can also set the error severity of the checks from Error to Warning (per CR type, not per check).
Or you provide a default value for the material description, e.g. by implementing the BAdI USMD_RULE_SERVICE.
Regards, Ingo Bruß -
Display mode for Material Description in MM02 for Partucular User/UsrGroup
Dear friends,
I required to set: Display mode for Material Description in MM02. (Configured thruu2019 Maintain field selection to data screen)
For Particular User / User group, it should be Change mode. How to achive this. Please advice.
Thanks and regards,
RAMANHi,
I don't think you can realize it, because in SAP system there are 6 influncing factors:
Material Type
Plant
Industry sector
Transaction
Procurement indicator
SAP Delivery
Field selection is controlled by field references. You can assign field references to the influencing factors material type, plant, and industry sector in Customizing. SAP maintains the assignment of the field reference to the transaction codes, to the procurement types, and for the SAP delivery. You cannot change this assignment of these field references in Customizing.
So from my point of view, you can't use the factors of material type, plant and industry sector to distinguish different users' authorization.
Good day
Tao -
Material descriptions in chinese language is not transferred to SRM
Hi All,
We have an issue in transfering material description in chinese language from ECC to SRM.
We are on SRM 5.5 and ECC 6.0
I've set filter in R3AC1 with Table name "matk" anf field "SPRAS" to take care of language.
This works fine for all language except chinese both for initial and delta down load.
Any help is greatly appreciatedHi,
Which your support package?
Did you already seek OSS?
Rgs,
Pedro Marques -
Issue in maintaining hazardous material description in different language.
Hi All,
I have a requirement to display hazardoues material description in xyz langauge on a script.
Table MGEF is the primary table for hazardous material. There is no text table for it.
Field STOFT holds the description of the hazardous material.
Now issue is that as no text table is available for hazardoues material , how the description can be available into multiple langauges ? Also if the text is made available in XYZ langauge in this table on login to XYZ langauge ,then it must be also be displayed in english on login with 'EN' langauge .
Kindly help me in this regard. Also it will be great is someone can tell me how hazardoues material description is maintained in multiple langauages.
Regards,Hi Ujjwal,
You need to maintain the region code "PT" in SPRO>LE>WM>Hazardous material>Master data-->Define region code.
Once done..relogin into system with "PT" language at login page of SAP.
Use VM01.. give material number and region code "PT"..it'll take you to next screen where you can maintain description in Portuguese.
Hope this will help.
Reg,
Sudhir -
Routine for Material Description in language DE instead of EN in report o/p
Hi all,
We need to display material description/text in terms of DE language insted of EN at o/p the report.
It's a masterdata(0material) info object.There are many fields at report level,Only for this perticular field text only they want in DE language,remaining all in EN only.
How can we do langualge translations in BI.How can we achive this?
If any body implimented with routines plz share the information.
Regards,
VS.Hi Varun ,
Please follow these steps :
go to RSA1-> Translation ->infoobject ->select object ->Create a piece list for Translation ->Create a Object List Go to transaction LXE_MASTER. In the evaluations tab, choose Object List->in the object List dialog box, choose create option ->Assign the Piece List->Generate the Object List.->
Schedule the background job which will generate the object list
Once the job for generating the object list is finished, please go to se63 ->Check your Default settings ->select Source Language and Target Language ->
Access your personal work list ->Enter target Language texts for BI objects in the Worklist ->Run the program RSO_AFTER_TRANSLATION ->Verify the translation in the respective object maintenance screen.
Regards,
Jaya -
Material Description is not displaying for few records in Report
Dear Experts,
Report Material Description is not displaying for few records in Bex Report but for records it is coming and even the heading of the material Description is also not coming for this report.
Cud u plz suggest a good solution for it.
Regards,
Sai Phani.Hi Phani,
For the text of the material in records, check if there is text maintained for that material in the master data. also try by changing the text to medium text and long text.
regarding header, you will have same heading for key and text, you may use Materail ID / Description as the heading if you want.
regards,
Rk. -
Material description in the SUS vendor screen in MMSUS scenario
Hi All,
We are working on MM SUS scenario with SRM5.0 and ECC 6.0 as the backend.
We are sending the PO and SAR from R3 to SUS. When vendor logs in to create a POR and ASN, he is not able to see the material description rather only material code is available in the screen.
Same thing for the business object BUS2231 ( for ASN) we are able to see the same in BBP_PD in GUI.
What could be the reason?
We are using standard BSP pages for SRMSUS service.
Best regards,
SridharHi All,
Any clues on this, are we missing any standard jobs which are to be scheduled for bringing material description to the SUS screen?
Best regards,
Sridhar -
Different material description for RG1 register
Dear Experts,
I have a client requirement for change in material description (materialmaster) to a different description.
The description maintained in material master is for viz
SS CT BT 200mm-123-093MKO
But excise need description
SS BILLET
Where to maintain this additional description in material master and fetch the same for RG1 register.
Let me know any stranded user exit is available. If the above case is possible than also let me know what would be the bad implications on processes (like stock will not match with description).
Regards,
RB
Edited by: RB on Feb 26, 2009 6:18 PMyou either create a quickview by joining MARC and MAKT tables for this.
or much easier. you press F4 in a material number field.
then you go to search help W plant material.
there you erase the language from the selection pop-up and execute
in the hitlist do a right mouse click and you can directly download
Maybe you are looking for
-
How to delete the songs in the music
how to delete the songs in the music
-
"Some videos were not copied because they cannot be played on this iPod
I just bought my new 5th generation today, its 30G and i know its video, so why do i get this error message? Im authorized too. its kind of frustrating!
-
File to RFC scenario with no BPM
I want to create File to RFC scenario with no BPM. I want to invoke RFC synchronously to verify that I'm getting correct response back, but i dont wanna process the response. So, In SXMB_MONI i can check the response back from RFC right? Or do I need
-
Need help unjailbreaking my iphone 3GS so I can update to iOS5
My BIL helped me jailbreak a few months ago so I could tether. I no longer need to tether, and I do need to update the iOS. I have tried updating, and keep getting error message 1394. I looked up the fix for that, and everyone says to download Tin
-
Extending Abstract Classes & Program Entry Point
I have the following classes: CopServlet - which extends PercServlet PercServlet - abstract class which extends HttpServlet HttpServlet is the base class. I'm using Visual Age with a web.xml file that points to CopSerlet as the controller servlet. So