Which table do "Basic data text" of material master record in?
Hi All:
There is tab with name of "Basic Data text" in additional data of material master, my question is which table record this information?
BR
Kevin
Hi Kevin,
Please check this:
Read the long text of material master
Regards,
Csaba
Similar Messages
-
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. -
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 -
How to retrieve the basic data text in material master to SAPSCRIPT?
Besides using the function module READ_TEXT in the calling program, what alternatives are there if I don't want to modify the program but make changes in the sapscript only?
I've tried to use the include statement in the sapscript editor, but I don't know how to call the text object whose ID is GRUN, object is MATERIAL.
Should I use the include statement or any other ways to do it?
Thanks.Thanks for replying this message.
But the problem is that the object is not found,
as I tried to print &SAPSCRIPT-SUBRC& and 4 is resulted.
I've tried:
/:INCLUDE &MARA-MATNR& OBJECT MATERIAL ID GRUN LANGUAGE &SY-LANGU&
and
/:INCLUDE &ISEG-MATNR& OBJECT MATERIAL ID GRUN LANGUAGE &SY-LANGU&
But nothing is displayed. Anything wrong? -
Dear All,
In which table for a material, Basic Data text can be seen.
Please advice.
RegardsHI,
You can refer this post
Basic Data Text in MM03 -
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 -
Old material number - Field in Basic Data 1 View Material Master
Hai Techies,
We have a field called old material number - MARA-BISMT in material master basic data 1 view. Is that field is just for reference of old material or does it have any effects in the SAP MM when using the material for purchasing or in BOM or so on.
Could any one please highlight me the consequences of using this field to refer a old material number for the new number created.
Thanking you in advance.
Regards,
Kris.SHello Kris,
Number under which you have managed the material so far or still manage it,
for example, in another system or in a card index.
You can use the old material number to systematically search for material
master records via matchcodes.
Your understanding for the use of this field is correct.
regards
Ray -
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 -
Puchase order text in material master record
Good morning,
I would like to know if the purchase order text (in the material master recor) is stocked in a table? If so in wich table?
Is there any way that I can extract the purchase order text of a list of materials?
thanks for the answer.
Regards,
SSSHi
In Table STXL you will get the text available
Text Object - MATERIAL
Text Name - Material number.
TEXT ID - BEST
You can retreive the data from the table using the function module READ_TEXT.
by providing the input parameters
CLIENT 100
ID BEST
LANGUAGE EN
NAME 000000000000300074
OBJECT MATERIAL -
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 -
System table for Additional Data - Basic data text (MM03)
Hi
How can I get the system table for stroring data in MM03 in "Additional Data" the "basic data text" ?
Thanks in advance.Hi,
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = 'Z610'
LANGUAGE = SY-LANGU
NAME = V_TDNAME
OBJECT = 'VBBK'
ARCHIVE_HANDLE = 0
IMPORTING
HEADER = I_TEXT_HEAD
TABLES
LINES = I_TEXT_LINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
Regards,
Bharani -
How to find ObjectID for Basic Data Text?
I need to figure out what the ObjectID for the basic data text is in CRM...but, have had limited success in figuring out what the object name is for it.
Using transaction SE75 ---> Text Objects and IDs ---> Double click row with Object = PRODUCT
This brings up a list that says ID = BASE
So, if this is correct, would I declare the jsp code for the ISA to search in Basic Data Text like this?
<tr>
<td align="right" nowrap><isa:translate key="catalog.isa.description"></isa:translate>: </td>
<td><input type="text" class="textInput" name="<%= catalog.getCatalog().getAttributeGuid(AttributeKeyConstants.PRODUCT.BASE) %>" size="15" style="width:150px"></td>
</tr>You can use Transp. Table TBD62 .
enter Message Type CREMAS
you will get the list of tables and the fields from which data is pulled based on the change pointers in Transp. Table BDCP. -
Purchase order Text and Basic data text needed from MM03 tcode
Hi
I need Purchase order text and Basic data text to be fetched by material number.
Purchase order text and Basic data text are present in MM03 Tcode.
Can anyone please guide me how to do it.
Kind Regards
Sajidhi
Purchase order text
GotoMM03 ->view purchase order text.
In purchase order text screen, below you find one icon 'Editor'
click on this icon. It will open another screen.
In this screen -> click Goto Menu->Header.
It will open the details about Purchase order text.
TextName (Generally it is material name)
Language
Text ID : BEST
Text Object: MATERIAL.
Pass the above to READ_TEXT to get the text
*Basic data text *
Basic Data Text in MM03 -
Upload Basic Data Text for Materials
Hi,
I'm trying to upload Basic Data Text for Materials using FM SAVE_TEXT. Everything works fine except long text. It is not accepting more than 132 charactors. What logic should I use so that it will append the remaining text for the same material on the other line?
Please help !!!
Thanks.If your text is longer than 132 characters, you have to wrap the text into multiple lines (FMs you should be using are FORMAT_TEXTLINES & RKD_WORD_WRAP).
Search in SDN for details on these FMs.
BR,
Suhas
PS: You can also explore uploading the material long texts using BAPI_MATERIAL_SAVEDATA. Uploading Basic Data Longtext into Material Master -
Problem updating basic data text for a certain language via MM01 / MM02
We are facing the following problem :
We have materials where we maintain the basic data text via MM02 in different languages ( Dutch, English, French, German, Japanese and polish).
When we copy a material to a new one and we would like to update the basic data text we can do this directly except for some reason for Japanese.
For japanese we first must press the Editor Icon, we than get the editor were we can change the text and from that moment on everyting is ok.
But we would like to update the text like we do for the other languages without first pressing the editor icon.
We are running 4.7 and the sapgui is 7.1 patch 18.We are facing the following problem :
We have materials where we maintain the basic data text via MM02 in different languages ( Dutch, English, French, German, Japanese and polish).
When we copy a material to a new one and we would like to update the basic data text we can do this directly except for some reason for Japanese.
For japanese we first must press the Editor Icon, we than get the editor were we can change the text and from that moment on everyting is ok.
But we would like to update the text like we do for the other languages without first pressing the editor icon.
We are running 4.7 and the sapgui is 7.1 patch 18.
Maybe you are looking for
-
A website is not showing completely on an ipad and I need to show content that is outside of the brower window. (Shows fine on laptop). Is there a keystroke similar to pressing Control and minus key which shrinks browser content. I am aware of pinchi
-
Error message while viewing Purchase order summary
Hi all, we are in 11.5.10.2 , we are getting error message while viewing purchase order "Currency formatting cannot be performed without a currency code". is it beacuse of currency not popluated in Purchase order? Verified metalink note - 960504.1 Th
-
How to avoid the dialog box "SAVE, Open, Cancel" When we take a pdf print.
I have an item entry form. User select different items and then submit the order by pressing submit button. I want that when the user click the submit button he is directet to the print preview page. I have done that and it is running fine but the is
-
Assigning more than 1000 orders in one WBS
Hi Experts, I have a requirement of assigning more than 1000 Orders to one WBS element. As per SAP note, a maximum of 1000 Orders can be asssigned to one WBS otherwise system performance may get affected. But as per the client requirement, either I s
-
Importing UDO with DTW ...
Check it out at /people/lisa.mulchinock/blog/2009/07/27/how-to-use-macros-to-importupdate-data-for-di-objects-not-yet-exposed-via-the-dtw-eg-udo-tables Great development on top of the DI for UDO.