"Short Text" on Batch Master
Hello Experts,
I wanted to see in which table the "Short Text" field on Basic Data2 view of MSC3N is getting stored (I need to display this text on a program output list when batch and material is known). But it is using a structure field. Can I use FM "READ_TEXT" to grab this field value(text)? If yes, What is the "Text ID"?
How to know this?
Please let me know. Your help is appreciated.
Thanks.
RK
Hi Benjamin,
I am not sure if you still need this. But this is what I have done:
form get_batch_text using f_matnr
f_charg
changing f_btext.
data: l_matnr type matnr,
l_charg type charg_d,
zlines like tline occurs 0 with header line,
zthead like thead,
l_char(4) value ' '.
l_matnr = f_matnr.
translate l_matnr to upper case.
*-- Convert Material Number to Input format.
call function 'CONVERSION_EXIT_MATN1_INPUT'
exporting
input = l_matnr
importing
output = l_matnr
exceptions
length_error = 1
others = 2.
l_charg = f_charg.
translate l_charg to upper case.
concatenate l_matnr l_charg into zthead-tdname separated by l_char.
move: 'VERM' to zthead-tdid,
'CHARGE' to zthead-tdobject.
*-- Call function to get the text.
call function 'READ_TEXT'
exporting
client = sy-mandt
id = zthead-tdid
language = sy-langu
name = zthead-tdname
object = zthead-tdobject
* importing
* header =
tables
lines = zlines
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.
read table zlines index 1.
if sy-subrc = 0.
f_btext = zlines-tdline.
endif.
endif.
Similar Messages
-
Hello,
When I enter a material in the sales order it throws the following error:
Material ABCD is not defined for sales org XXXX, dist ch. YY, language EN
Please check whether
A short text with the appropriate language exists in the material master record (a short text must be available in the language of either the customer or the sales org)
I have entered the correct material and have maintained the material in the correct sales org, dist. ch. The problem is due to this short text in material master.
The question is where is this short text in the material master?
Thanks,
ShankarDear Shankar,
Please go to MM02 transaction enetr your material number then select the Basic data 1 view go in to that from here you click on Additional data Tab or Cntrl+F6 here you can maintaion the Language for that material under Discriptions tab.
Once again the check the material master is maintainig for sales org XXXX, dist ch. YY or not.
I hope it will help you,
Regards,
Murali. -
Transfer of Service master short text from PR to PO
Hi All,
We have a scenario where we use Generic service number to order one time services. Based on the requirement we keep on changing the short text (description) of the service master in PO or Purchasing requisition. The issue is - Short text on generic service master is changed in PR but it is keep on reverting to original short text as in service master while converting PR to PO. .
For Example :
Service master - Code - 100001 - Description - "Generic Corp Miscellaneous Services"
I created a PR, included service no 100001 and changed the description of short text to - "Fixing tiles at foyer". Now when I converted PR to Purchase order service description should transfer to PO. But it is showing as 'Generic Corp Miscellaneous Services'. After investigation I found it is coming from the Contract that is linked with the PR as source of supply. And if I removed the Contract from the source of supply short text transfers from PR to PO. So Contract get precedence over PR.
The requirement is - short text of service master should transfer from PR even when source of supply is Contract. It means always transfer short text from PR to PO not from contract. Is there any user exit/ config or change to ABAP code is required.
Any help is greatly appreciated.Hi
If you have document management system active in your system and if it the document type of documnet (which you created in CV01N) has link object PO and PR. Surely it will be transafred from PO to PR. But if you have added document in service object in Me52N then it will never go to PO automatically.
Thanks and Regards
Antony -
Material description in batch master
Hello SAP Gurus,
My requirment is at the time of Process order relese or GR for FERT material systm should copy the material master text in batch master record for this i have created one characetristic. in CT04 as material description it is assigned in class & the same class is assigned to fert material in material master record. Now as per my requirment how can link this REL Or GR for updating material description please suggest.
Regards,Dear
Pass the batch no. in table MCH1 and pass MATRN into MAKT and also get CUOBJ, Pass CUOBJ in AUSP table in field OBJEK to get the char. description and values in ATINN and ATWART/ATFLV respectively.
Check this thread : Material batch characteristics
Just try and discuss with your ABAPer in this .
Regards
JH -
Report is by defualt picking up short text for variable selection screen.
Hi all,
Reports(WAD/BEX) by default pciks short text of the master data , i want it to pick long text ; any idea ?
Thanks ,
MadhavHi Madhav,
The BEx query setting made in infoobject can be overwritten by the settings made in the query .
You need to select Long Text in the query for that characteristic.
This setting will overwrite whatever is made in the info object level and so make will diplay the long text.
Hope it helps:)
Regards,
Asha -
Batch master (searching of field )
Hi all,
We required the table name which stored the information of short text of batch. To access this field you may use T-Code MSC3N , click on Basic data, where screen field is short text.
I have found the structure named DFBATCH-KZTXT but unable to find the transpart table which stored this field's data.
Kindly reply asap.
ThanksHi Asif,
I have no idea if you'll get this on time, probably not, but here it goes for future reference.
That is a text, it can be found in STX+ tables.
Get header in STXH with tdobject = 'CHARGE', tdname = matnr&charg and tdid = 'VERM'
Get lines in STXL with relid = 'TX', tdobject = 'CHARGE', tdname = matnr&charg and tdit = 'VERM'
you can get the lines from the cluster using function 'TEXT_READ'. use the same info and set i_readonly = 'X' so you won't get a display.
regards,
Edgar -
Production order no is missing the Batch short text field in MSC2N T.code
Hi Guys,
I have some requirement in my project. I have maintained Batch management in my project.
When I create & release the Production order in CO01, immediately Batch number (Produciton order: Goods receipt tab) creates automatically by the system.
Also this same production order should be appeared in the Short text field in Basic data 2 tab in the transaction MSC2N.
But this production order no. is not updated automatically in the short text field in MSC2N.
Is there any standard settings available for this case?
Please help me the same.
Regards,
MohanHi Mohan,
There is no standard link between Production Order and Batch Master Record, If your client needs the production order number in Batch Master record, short text field. we need to achieve it thro user exits with the help of developers.
Thanks
Balasubramanian NSD -
Guideline for Using 40 Char in Short Text Field of Material Master
Dear Experts & Forum Members,
In MM01 while creating a Material Master record (spare part) we need to fill in Basic Data. It has a field known as "Short Text Field " This Field has limitation of 40 characters. This is the same field which has Searched associated with it. This description is what we see when we look for Stock Overview of Material in the Stores through MEMBER.
To use this 40 characters efficiently people usually come up with a guideline so that maximum and meaningful information crucial information for identification of spare part/material is VIEWED when we see it.
For example for an AC Motor the description may look like
*MOTOR AC SQ 100KW 1500 RPM 8P CLA FRXYZ
which describes AC Motor, Squirrel Cage Type, 100 KW, 1500 RPM, 8 Pole, Class A, Frame Size XYZ
Request the forum members to provide / share any guideline they might have come up with to use these 40 characters to describe different spare parts.
Thanks in advance for your help.
Regards
Vinay
Edited by: VINAY MAITHANI on Jul 15, 2010 6:51 PMHi Vinay,
We are also doing the same activity and we are arranging the material description in a manner which is almost simlar to you.
But, except one thing which is Classification. We have classification feature mapped with material master for the details of Dimension,Brand,Color and Orgin.
For further commets, rever back.
Regards,
NAK
Edited by: abdul kader on Jul 28, 2010 9:36 AM
Edited by: abdul kader on Jul 28, 2010 9:38 AM -
Message ME095 No short text is mantained, update material master
Hi,
While creatin a Preq in ME51N I'm Getting an error message if I log on in Spanish saying there is no short text for that material in Language ES; mantain material master and the error message is ME095 but I'm sure that I already mantaines correctly in MM02 this material, and I don't get this error if create the Preq logged in English.
Any ideas?
ThanksHi,.
GO to MM02 -> Basic view --> additional data --> desctription language .
set the EN & enter.
Save. After that error won't come for this.
SAM
Edited by: Saminathan Gopalan on Jul 28, 2010 10:04 AM -
Please specify short text more precisely
Hello All
when i create a free text sc and reffered a material group GOA item text are same.
sc description text = goa item text same (product category GOA)
i get this error "Please specify short text more precisely" while creating a PO (classic)
SAP options to make error message to warning message in ECC Version = 00
Appl.A = 06
No. = 474
Cat = W
what are the business impacts will be there if i make E to W.
Br
muthuHi
06474 is a MM-PUR error . It will also have effection to MM prochase order process.
Error message 06 474 with item category W and M contracts occurs if the
material on the PO has the same short description (text) as a non-stock
item from the referring contract.
If you change the description of your short text on the PO item (ex.
text1) or you insert a material master with a description the error
message will not appear.
The error message that is generated is part of standard functionality.
It is designed to prevent you from having a duplicate material.
LMEPOF2B
IF ekpo-ematn IS INITIAL. "371796
IF ekpo-txz01 NE space AND ekpo-konnr NE space AND
ekpo-txz01 EQ kekpo-txz01 AND
( kekpo-pstyp EQ pstyp-munb OR kekpo-pstyp EQ pstyp-wagr ).
PERFORM enaco_2(sapfmmex) USING '06' '474'. "371796
mmpur_metafield mmmfd_short_text. "431879
CASE sy-subrc. "371796
WHEN 1. "371796
MESSAGE w474 INTO gl_dummy. "371796
mmpur_message 'W' '06' '474' '' '' '' ''. "371796
WHEN 2. "371796
MESSAGE e474. "specify the short description of the item
WHEN 3. "< message not customized "371796
MESSAGE e474. "371796
ENDCASE. "371796
ENDIF.
ENDIF. "371796
The code listed above is where the error is generated. When there is no
material master (EKPO-EMATN) and the short text on the PO (EKPO-TXZ01)
is the same as the short text on the contract (KEKPO-TXZ01) and the
contract is item category M (PSTYP-MUNB) or W (PSTYP-WAGR) then the
error is generated.
You can set the message to 'W' in SPRO t-code:
SPRO > Materials Management > Purchasing > Environment Data >
Define Attributes of System Messages
I hope this information will help you. -
Enter short text error when creating a purchase requisition using ME51
Hello
I would be grateful if someone can help. I am currently trying to raise a purchase req using ME51. The purchase req is for one item so i enter details of this item on line 1. However when i try to save the purchase req i get an error message stating "enter short text" on line 3 and it does not let me continue. Line 3 however does not contain any item information so i dont understand why i am getting this error message.
Another user created the same purchase req and it worked fine for them so i am not sure why i am getting this message.
I would be grateful if you can please help.
Thank you
Regards
BindiSyed
I have tried logging off and logging back in and still having this issue.
Jurgen
No im only having this problem in a ME51 creating purchase requisitions and not in a CATT or any batch input recording
Regards
Bindi -
PR TO PO "SHORT TEXT" CHANGED IN PO ERROR MSG
Sir,
while making po with pr for short text if user changes the PR short text description in PO
error message should be issued
ply help
regards
ameyIn standard SAP you can set the configuration to issue a message if the PR is different than the PO.
Examples
055 Purchase requisition &, item &, not released for ordering
056 Purchase requisition &, item &, has a different material number
057 Purchase requisition &, item &, has a different plant
058 Purchase requisition &, item &, has a different supplying plant
059 Purchase requisition &, item &, has different account assignment category
068 Requisition & item & has different purchasing group
076 Materials of requisition & item & alr. ordered in full
However, if there is no material master involved and the text is altered from PR to PO during PO creation, there is very little that can be done. You may be able to check this with some customer exit, but I do not normally use them. Hopefully someone with customer exit knowledge can advise you in that area.
Regards -
How to get the short text in tcode "msc3n" -- Basic data 2 -- short text.
I have to display the short text in my report output.
How to get the short text in tcode "msc3n" ( msc3n --> Basic data 2 --> short text.)?
Is there any function module availble to get this short text or is this stored in any data base table ?
Please help me. Your help will be highly appreaciated.
THANKS.Hi,
Use FM 'READ_TEXT' to get this values.
Say for exampele my material is 1900001 and batch is 0000000517.
Then my parameters to the FM will be as follows:-
Text Name 000000000001900001 0000000517
Language EN
Text ID VERM
Text Object CHARGE
This information you can get as follows.
Open the short text window in the text editor.
Here you can enter the long text.
In the editor Go to Header and you will find the details.
Please note that the text name will comprise of
Material
Batch
Plant
Stor. Location
if all the details are given.
I hope this helps you.
Regards,
Ankur Parab -
LSMW - Purchase Order Text in Material Master
All MM Experts,
I tired to create simple Batch Input Recording but the screen does not get recorded for Purchase Order text maintenance in mass for article master data. we are maintaining Purchase Order Text in article master data in basic data screen on additional data button under purchase order text tab.
Any suggestion on creating LSMW for purchase order text.LSMW has a standard direct input for long texts, hence it is not necessary to do a recording.
help.sap.com gives real good help for loading loading long texts with LSMW, further has this been discussed many many times here in MM and in the data migration forum.
try to search a bit, you dont really need more than the words you already have used on the subject to get a good variety of answers -
How to display the 'language code' for language dependent 'Short text' ?
Hi,
I am new to BW.
Can somebody help me with the following issue?
I have an attribute 'Material category description' and I chose short text exists and made it language dependent. I had loaded the master data successfully.
Now I want to know how to check the 'language code' for this material category description. When I display the data, will the language code display by defalult?
I had checked the text table using SE11
It displays the following fields over there.
/BIC/TS1_MCT_DS [ /BIC/TS1(InfoObject name) ]
LANGU
TXTSH
I appreciate your help!
Thank you
SekharDinesh,
I went to RSD1 -> info-object -> Master Data/text tab. It shows my language selections there (Short text selected, language time dependent etc.) with everything grayed out.
In SE16, I could display the data in the following format.
/BIC/ST_PRID TXTSH TXTMD
P01 umbrella rainyday
P02 tent waterproof
etc.
I want to see the 'language code' as one of the columns in this table.
Can you help me do that?
Thank you,
Sekhar
Maybe you are looking for
-
using what do i read array of bytes that is on a stream... i send an array of bytes to the invoking stream using void write(byte buffer[]).... how do i read it from the other side.... uzair
-
Hi! We've got a DVCPRO HD 720p25 master sequence. The goal is to downscale it to 720x576 anamorphic video for DigiBeta output with the most quality available. As I understand we are to render it, for example, to ProRes HQ, load it into Shake, downsca
-
Missing cables.....
Missing cables.....< ?This is a current subject of EXTREME frustration for me. A whille back I purchsed an X-Fi Elite Pro sound card on a special deal with Creative HS-900 headphones. A month or so later I went ahead and purchsed the X-Fi I/O Consloe
-
Calendar Sync Problem - Tour 9630
I need to change the "appointment range" for syncing my calendar to outlook. I've followed the help instructions to the screen below, but when I get there the "setup" button appears recessed and will not let me click on it. Suggestions?
-
Photoshop elemnts 12 is a %%^&*(*().
This is the **&&^%$% most stupid community I've ever used. All I want is my photoshop elements 12 to work. Maybe somebody will ready this rant and fix this *(*&^%%$&**I damn web site. It's useless. Why do we the buyers of your software have to be