Sales text and Purchase Order Text
Hi,
in what tables are stored Sales text and Purchase Order Text of the material master ?
Best Regards
Hi
All long text is stored in STXH and STXL.
Object is MATERIAL.
Text-Id for basic data text is GRUN
Text-Id for purchase order text is BEST
For sales order text it is text object MVKE with text-id 0001
Go to SE37 function builder. Enter READ_TEXT and do a single test ( F8 )
Enter your parameters and execute. Example below.
NAME is a comibation of materialnumber (00000000008000000)WITH leading zeros
if numeric and sales org (1000) plus distribution channel (10)
Import parameters - Value
CLIENT - 010
ID - 0001
LANGUAGE - E
NAME - 000000000008000000100010
OBJECT - MVKE
ARCHIVE_HANDLE - 0
LOCAL_CAT
Just for future reference with regards to getting text id's etc.
eg: PO texts.
--> Go into the material master PO text
--> Double click into the required text.
--> Click the "GO TO" menu option.
--> click Header.
and all the info you need is there.
Thanks..
Similar Messages
-
Uploading sales text and Purchase order text for material master
Hi,
I have created, material master with LSMW byt not updated SALES TEXT and Purchase order text with LSMW now i want to uplaod the sales and po text for material master can you give some link or ref. code to upload the text i have near 1000 items for which i want to uplaod text when i have done the recording with SHDB i have not found filed in recording.
regards,
zafarHi,
I have made the code in se38
as below but still it is not working
REPORT ZTEST_TEXT.
data: headerl like thead occurs 0 with header line.
data itab3 like tline occurs 0 with header line.
headerl-tdobject = 'MATERIAL'.
headerl-tdname = '00000000000LSMW123'. "(Material : 000000000300000560, Sorg : 0001, Dist channel: 01)
headerl-tdid = 'BEST'.
headerl-tdspras = 'E'.
append headerl.
move '*' to itab3-tdformat.
move 'Testing PO text' to itab3-tdline.
append itab3.
call function 'SAVE_TEXT'
exporting
header = headerl
insert = ' '
savemode_direct = ' '
tables
lines = itab3
exceptions
id = 1
language = 2
name = 3
object = 4
others = 5.
IF SY-SUBRC = 0.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
OBJECT = headerl-tdobject
NAME = headerl-tdname.
ENDIF.
break-point.
regards,
zafar -
How to download material sales text and purchase order text information
Here is situation:
goto MM03 transaction,
Take any material -- and select below views
1. sales text
2. purchase order text
i have to write the download program with the sales text and purchasing text information of all the materials.
could you pls tell me in which table I will get all the above sales text and purchase order text infrmation.
I think it will store in standard text. I checked STXH table also for getting information text object, text id, text name, language, etc.
If anybody knows .. please share.
Thanks in advance.
Regards
RaghuDeclare internal tables as follows: - An example
TYPES: BEGIN OF TY_PO_LINES,
INCLUDE STRUCTURE TLINE.
END OF TY_PO_LINES,
TY_PO_LINES_T TYPE STANDARD TABLE OF TY_PO_LINES.
TYPES: BEGIN OF TY_PO_TEXT,
TDOBJECT TYPE TDOBJECT
TDNAME TYPE TDOBNAME,
TDID TYPE TDID,
SPRAS TYPE SPRAS,
TDLINES TYPE TY_PO_LINES OCCURS 0,
END OF TY_PO_TEXT,
PO_TEXT_T TYPE STANDARD TABLE OF TY_PO_TEXT.
DATA: PO_TEXT TYPE TY_PO_TEXT_T
PO text:
Looping at your internal table which consists of PO number,
SELECT TDID TDSPRAS FROM STXH INTO A INTERNAL TABLE say PO_TEXT
TDOBJECT = EKKO "PO Header Text
TDNAME = PO NUMBER
SELECT TDID TDSPRAS FROM STXH INTO A INTERNAL TABLE say PO_TEXT
TDOBJECT = EKPO "PO line item text
TDNAME = PO NUMBER
ENDLOOP
Looping at PO_TEXT
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = PO_TEXT-TDID
LANGUAGE = PO_TEXT-TDSPRAS
NAME = PO_TEXT-TDNAME
OBJECT = PO_TEXT-TDOBJECT
TABLES
LINES = PO_TEXT-TDLINES
ENDLOOP
Follow the same above logic for material with suitable TDID you need to extract
Hope this helps,
SKJ -
Long text in PURCHASE order text view in program RMDATIND
hi all,
ive to upload data for material master iam doing this using lsmw & standard object 0020 program RMDATIND.purchase order text.In this iam unable to upload purchase order text in Purchase order text view can anyone plz tell me how to do tht??? its a bit urgent
points will be awarded!
rgds
Message was edited by:
abbaper
Message was edited by:
abbaperHi
In LSMW
for Long texts Upload
Please take a look at this..
http://help.sap.com/saphelp_erp2005/helpdata/en/e1/c6d30210e6cf4eac7b054a73f8fb1d/frameset.htm
Regards
Anji -
The long text for purchase order text field in mm03
Hi,
Please provide me long text for purchase order field.in mm03 the view purchase order text having the long text for purchase order.this is enter when ever your creating the material.but we have table and field name for that and also how to handle this long text.please provide me urgently.
Thanks & Regards,
Radhakrishna.Hi,
A sample code for ur requirement.
TABLES : ekko, "Purchasing Document Header
ekpo, "Purchasing Document Item
thead. "SAPscript: Text Header
DATA: t_theads LIKE stxh OCCURS 0 WITH HEADER LINE.
DATA: t_tlines LIKE tline OCCURS 0 WITH HEADER LINE.
DATA: v_ebeln_ebelp(15) TYPE c.
TYPES: BEGIN OF t_download,
ebeln LIKE ekko-ebeln,
ebelp LIKE ekpo-ebelp,
tdobject LIKE stxh-tdobject,
tdid LIKE stxh-tdid,
tdspras LIKE stxh-tdspras,
count(4) TYPE c,
tdformat LIKE tline-tdformat,
tdline LIKE tline-tdline,
END OF t_download.
TYPES: BEGIN OF t_header,
line1(20) TYPE c,
line2(20) TYPE c,
line3(20) TYPE c,
line4(10) TYPE c,
line5(10) TYPE c,
line6(10) TYPE c,
line7(10) TYPE c,
line8(10) TYPE c,
END OF t_header.
DATA: g_filename TYPE string.
DATA: gt_header TYPE STANDARD TABLE OF t_header.
DATA: gs_header TYPE t_header.
DATA: gt_download TYPE STANDARD TABLE OF t_download.
DATA: gs_download TYPE t_download,
gt_tlines LIKE tline OCCURS 0 WITH HEADER LINE.
DATA: v_subrc TYPE subrc.
DATA: v_nb_lines TYPE i.
DATA: v_ok TYPE i.
DATA: v_ko TYPE i.
DATA: v_ow TYPE i.
DATA: p_fname TYPE string.
DATA: g_append.
SELECTION SCREEN *
SELECT-OPTIONS : s_ebeln FOR ekko-ebeln.
PARAMETERS:
p_filedn(132) TYPE c OBLIGATORY,
p_file(132) TYPE c OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_filedn.
PERFORM file_f4_get CHANGING p_filedn.
START-OF-SELECTION.
*Select all the purchase order corresponding to select criteria
CLEAR t_theads. REFRESH t_theads.
SELECT *
FROM ekko
WHERE ebeln IN s_ebeln.
*Select all the text for P.O. header
SELECT * FROM stxh
APPENDING TABLE t_theads
WHERE tdobject = 'EKKO'
AND tdname = ekko-ebeln.
*Select Item of each P.O.
SELECT *
FROM ekpo
WHERE ebeln = ekko-ebeln.
CONCATENATE ekpo-ebeln ekpo-ebelp
INTO v_ebeln_ebelp.
*Select the text for P.O. item.
SELECT * FROM stxh
APPENDING TABLE t_theads
WHERE tdobject = 'EKPO'
AND tdname = v_ebeln_ebelp.
ENDSELECT. "select ekpo
ENDSELECT. "select ekko
DESCRIBE TABLE t_theads LINES v_nb_lines.
LOOP AT t_theads.
Read the text from pool
CLEAR thead.
REFRESH t_tlines.
CALL FUNCTION 'READ_TEXT' "#EC *
EXPORTING
id = t_theads-tdid
language = t_theads-tdspras
name = t_theads-tdname
object = t_theads-tdobject
IMPORTING
header = thead
TABLES
lines = t_tlines
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
MOVE-CORRESPONDING thead TO gs_download.
gs_download-ebeln = thead-tdname+0(10).
IF thead-tdobject = 'EKPO'.
gs_download-ebelp = thead-tdname+10(5).
ENDIF.
gs_download-count = 0.
LOOP AT gt_tlines.
gs_download-tdformat = gt_tlines-tdformat.
gs_download-tdline = gt_tlines-tdline.
gs_download-count = gs_download-count + 1.
APPEND gs_download TO gt_download.
ENDLOOP.
CLEAR gs_download.
ENDLOOP.
END-OF-SELECTION.
Hope this helps.
please reward points if useful.
Regards
rose -
Hi,
what are the purpose of Basic data text (view "Basic data 1"), Purchase order text (view "Purchase order text" ), from the menu Edit, Long Text, Create Text?
Best regardsBasic data text:
You can use this text as you like, for example, to store additional, general information on the material
If a text has not yet been maintained, the system creates a blank text in the logon language. If you want to create a text in another language, choose Create text and specify the language in the dialog box that appears. Then enter your text as required. For more word-processing functions, choose Editor to enter your text in SAPscript. For information on how to use SAPscript, see the SAP library documentation .
Purchase order text:
A purchase order text is a text describing the material in more detail. This text is subsequently copied to purchasing documents (such as purchase requisitions or purchase orders) automatically, where you can change it if necessary. It is valid for all organizational levels, not for a specific plant. You can enter a purchase order text in the material master record in as many languages as you like, though only one text is allowed per language -
View "Purchase Order Text" in Material Master
Hi,
I need replicated text of view "Purchase Order Text" in ECC to Material Master in SRM.
Or When We create a shopping cart in the way in which the text replicated "Purchase Order Text" from the the Material Master(ECC).
Regards
AngieFor Purchase Order text in Material Master:
use this code for Purchase Order text,
DATA: l_lsize(3) TYPE n VALUE '132'.
DATA: lwa_tline TYPE tline,
lwa_thead TYPE thead,
lwa_valid TYPE ty_input(flat file data),
lwa_temp TYPE ty_input.
DATA: lit_tline TYPE STANDARD TABLE OF tline.
lwa_thead-tdobject = 'MATERIAL'.
lwa_thead-tdid = 'BEST'.
lwa_thead-tdspras = 'E'.
lwa_thead-tdlinesize = l_lsize.
LOOP AT pu_it_valid INTO lwa_valid.
lwa_temp = lwa_valid.
AT NEW matnr.
CLEAR: lwa_thead-tdname,
lwa_tline-tdformat.
lwa_thead-tdname = lwa_temp-matnr.
ENDAT.
IF lwa_tline-tdformat IS INITIAL.
lwa_tline-tdformat = ' \ '.
ELSE.
lwa_tline-tdformat = '='.
ENDIF.
CLEAR lwa_tline-tdline.
lwa_tline-tdline = lwa_valid-text_line.
APPEND lwa_tline TO lit_tline.
AT END OF matnr.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = lwa_thead
insert = c_x
savemode_direct = c_x
TABLES
lines = lit_tline
EXCEPTIONS
id = 1
language = 2
name = 3
object = 4
OTHERS = 5.
IF sy-subrc = 0.
REFRESH lit_tline.
ENDIF.
ENDAT.
CLEAR: lwa_temp,
lwa_valid.
ENDLOOP. -
How to get Sales Text & Purchase Order Text in MM based on (MSEG-MATNR)
Hi
Am working on a Report based on Purchase order & Sales, Could any body tell How to get Sales Text & Purchase Order Text in MM based on (MSEG-MATNR).
the Field i need to get are : SALES TEXT, PO TEXT.
Sunil.Hi Sunil,
For getting Material PO text and sales text, you have to rely on Purchase Order and Sales Order. And use READ_TEXT function module to fetch the text.
Below are examples of PO text and Sales Text:
1. PO text:
CALL FUNCTION 'READ_TEXT'
EXPORT
ID = 'F03'
LANGUAGE = SY-LANGU
NAME = '450000011200010' conacte PO number and line item number
OBJECT = 'EKPO'
TABLES
LINES = INT_TLINES "you will get text in this table
2. Sales order text:
CALL FUNCTION 'READ_TEXT'
EXPORT
ID = '0001'
LANGUAGE = SY-LANGU
NAME = '0000000036000010' conacte SO number and line item number
OBJECT = 'VBBP'
TABLES
LINES = INT_TLINES "you will get text in this table
ref: STXH and STXL tables.
Hope it will solve the problem.
Regards
Krishnendu -
Material master -sales text / purchase order text
Dear MM experts,
we are maintaining materials sales text & purchase order text while creating material master.
sales text is required for our customers quotations & purchase order text is required for our Vendors Purchase orders.
I have an issue, where sales text in material master is limited to 6.5 inch length, but need 7.5 inch length, where I can set this page length. Also i wanted to have same font characteristics to be changed from exiting font size and font style to required, how to do this?
pl help & how the above can be changed from default settings to flexible settings with regard to material master.
thanks in advance
regards
Sriharifrom http://help.sap.com/saphelp_erp2005/helpdata/en/f4/b49e8c453611d189710000e8322d00/content.htm
Text Entry Area
Type your text into the text entry lines. You can type continuously: SAPscript fills your text using a line length of 72 characters as soon as you choose ENTER or a function.
To enter text in the line editor continuously, the checkbox Automatic tab at field end must be marked. For more information on setting automatic tabbing, see Setting Automatic Tabbing and Entering Text.
Note that the line editoru2019s text filling has no influence on the final appearance of the text. Your text is formatted no earlier than at the time it is displayed or printed. For more information, see Previewing and Printing SAPscript Documents. -
Cant able to see new value and old value for change in purchase order text
Hi all ,
I am not able to see changes done in material's purchase order text in material master. When i use tcode MM04 to see changes done material master it does not report new and old value for change if it is done in purchase order text of that material .
Thanks in advance ,
ShikhaHi Shikha,
I'm not sure it works or not. But you can try SCU3 t.code and table DBTABLOG. May it can help you out.
I also faced this type of issue in Plant data and it get resolved.
Try and let me know...
Regards
Sunil Sisodia -
Display 'item text' and 'material PO text' in a purchase order ?
hello,
i am creating a purchase order and i have inputted the 'item text' and 'material PO text' in the ITEM TEXT of the ITEM DETAILS section. I have a smart forms where i am displaying the purchase order by displaying fields from various tables like ekko,ekpo,t024,eket etc ..
I want ti display the 'item text' and the 'material PO text' on the smartform but i cant find the table or the fields which keep these values(text) ??
help me on this one ? thanks for yur time...c the example below:
PERFORM read_text USING g_transp 'Z010'.
FORM read_text USING l_text l_id.
DATA : lt_text TYPE TABLE OF tline WITH HEADER LINE.
DATA : l_name LIKE thead-tdname.
CLEAR l_name.
l_name = g_delivery.
CLEAR lt_text.
REFRESH lt_text.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
id = l_id
language = sy-langu
name = l_name
object = 'VBBK'
TABLES
lines = lt_text
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.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CLEAR l_text.
LOOP AT lt_text.
CONCATENATE l_text lt_text-tdline INTO l_text.
ENDLOOP.
ENDFORM. "read_text -
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 -
Changes in short text in Purchase Requisition and Purchase Order
Dear experts,
Can you help me with the following issue:
During creation of Purchase Requisition and Purchase Order with Account assignment category K-Cost center the field Short text to allow input of data in it.
In all other cases During creation of Purchase Requisition and Purchase Order without Account assignment category K-Cost center the field Short text to be forbidden for input of data
Is it possible?
Thank you
RegardsDear Vasil Pavlov ,
This cannot be realize in sap standard system. You may want to write your own coding using
ME_PROCESS_REQ and ME_PROCESS_PO for purchase requisition and purchase order respectively.
Best Regards,
Loke Foong -
Transaction to Mass Update Header and Item text in Purchase Order
Dear All
Whether any Transaction in SAP to mass update the Header and Item text in Purchase Order.
One Single Text For Ex :" This is a Dummy PO" .
This text needs to be updated in large number of POs.
Please let me know your views
Reg
ShyamHi Shyam,
You can make use of BAPI_PO_CHANGE for this. See the documentation of this BAPI in SE37 for more information.
"You can transfer header and item texts in the PoTextHeader and PoTextItem tables. You import texts
for services in the PoServicesText table. Texts can only be replaced complete."
Regards,
Purnima. -
Purchase Order Text in MM01, MM02 dependant on Planyt ??
Hello,
In SAP standard, the purchase order text in MM01, MM02, MM03 will not be depedant on the plan , Is there any ways or configuration that allows user to create this text dependant on the plan in MM01 ?
ThanksHello,
I am afraid I must confirm you, that the System is working as designed.
Although the System asks for a plant when maintaining the Purchase Order Text view, the text is stored at client level and not at plant level.
The basic data text, the inspection text, the internal comment, the material description and the sales text are as well maintained at client level. The only text that can be maintained at plant level is the material memo in the MRP 4 view.
You can maintain plant specific texts in the purchasing info record.
Regards,
Mauro
Maybe you are looking for
-
Any apps for e6 to sync with the google calendar?
followed this instruction: http://support.google.com/mobile/bin/answer.py?hl=en&answer=147951 tried to use the Exchange ActiveSync to sync with the google email are synced but not the calendar and contacts is there a way I can sync the google calend
-
P-card functionaling in purchasing and in SAP 6.0
I have the following issue : My client wants to process P-card transactions in purchasing . In other words when creating a PO in R/3 to link it to the P-card as payment method i.e. the same functionality in SRM for P-card . I was told that this func
-
Plotting two graphs in one single graph
Hi. This is my first time using control and simulation. I want to plot two graphs within a single graph. It seems that I have to use bundle and build arrays functions but I just do not know how to plot them. The x points and y points of (2) are j
-
Fault in string comparisons?
Hallo. I have the following problem. An XML file, encoded in ISO8859-2, should be presented in a table in a browser's window. The file is "one level deep", something like: <type>animal</type> <name>cat</name> <type>insect</type> <name>ant</name> ...a
-
HT201210 Apple activation server's are down??
I am not able to activate my phone since yesterday. I tried so many times but its not working. Anyone else facing problems???