Sales Order Text from Material Master
Hi All,
I have a request to configure sales orders so that they will display the text maintained in the sales text tab in material master. I believe I have to use tcode VOTXN, and do something with the access sequence there, but I am a bit confused.
Could someone help me out with this? And where in the sales order will this text be displayed? Will this text show when the order is printed?
Thanks,
J
Hello,
Follow this procedure:
1. Go to tcode VOTXN
2. Customer-->Sales document Item ->click the Text types> Check 0001 Material sales text is there and copy or create in text type Z001 Material sales text
3. Come back to initial screen or press F3
4. Check Sales document Item and click Change mode
5. Check Text procedure 01 - Sales item copy like Z1
6. Click on Z1 and select Text ID's in Textprocedure
7. Assign sequence Seq1/ ID Z001- Material Sales text/ check Ref field/ select field Text is obligatory or not obligatory/Acc 21 - header note
8. Select Access sequence and click 21 Material Sales then select Access sequence for Text ID's
9. Assing seq 10, Text object MVKE, ID Z001- Material Sales Text
10. Assign text procedure 01 to your Item Category.
Note: You have to specify Sales text in Material master to show in sales order.
Go to Sales order Item and select Text tab... there you can see your text type Material sales text.
regards
rc gopi
Edited by: Gopi Chandrakesan on May 9, 2009 4:23 AM
Edited by: Gopi Chandrakesan on May 9, 2009 4:24 AM
Similar Messages
-
Create list of materials with its purchase order texts from material master
Dear all
Simple question I do wanna ask.
Just need to get out a list with my materials with its purchase order texts from the material master.
As I do know that PO text is not stored on a table, it might be difficult to get it out from the system.
Does anyone of you know how to retrieve it simply?
Regards
FrançoisCheck this link Material Master Purchase Order Text.
-
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. -
List of material number with PO text from material master
I want to get a list of materials number with PO text from material master. Can anybody help ?
The purchase order texts maintained in the material master are stored
as SAPScript text files in tables STXH (header) and STXL (lines). For
material master records:
Field TDOBJECT = 'MATERIAL'
Field TDNAME = material number (MARA-MATNR).
So you should be able to write a small report to extract the data. -
Printing long text from material master in from MM07ET
Hello,
I'm using WEE1 output condition to print labels for gr. I'm using the standard object MM07ET and I need to include in the label the long text from material master - table STXL. I know that there is a function READ-TEXT in ABAP for this but I don't have access to abap development. I need to know if it's possible to include a command in the sap scrip to retrive the long text without modifing the program SAPM07DR.
Thank you!Hi,
Sorry for the late Reply, Please use the following code in SAPSCRIPT
/: INCLUDE &EKPO-EMATN& OBJECT MATERIAL IDGRUN LANGUAGE EN
&EKPO-EMATN& material Number ( Here please maintain the Field value which is used to print Material Number )
MATERIAL is the Object Name
GRUN Is Text ID
EN Language
You can use the above code for priting long text in the SAPSCRIPT FORM. to find the object name and ID please follow the below Steps
Go to the window were you have maintained Long text... Double click on the text, then it will open a new window.. there Click on the top Goto-->Header.. here you will find the relevant data as follows:
Language: EN
Text ID : GRUN
Text Object: MATERIAL
Name: Material Code
Regards
GK. -
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 -
I understand text maintained in material master appears in PO under that item. In some purchase order I don't want to print that text. Also I don't want to remove that from material master since I want to use that for other purchase orders.
Can I delete or remove that PO text from purchase order without changing material master ?Hi,
This you can control through copy control function.
In SPRO > Materials Management > Purchasing > Purchase Orders > Texts for purchase orders > Define copying rule from item texts, there select material PO text and give the value for fix field as required.
Based on the fixed indicator, the below mentioned controls can have.
The text can be fixed (indicator "")*
A text with the status "*" is then displayed in the document and can be adopted in the document if:
You change the text and save the document
You select the text and adopt it (Item -> Texts -> Adopt text)
Until you adopt the text, changes in the master record will also be adopted in the text.
The text is fixed (indicator " ")
The text is copied into the document. Changes to the document text do not have any effect on the original text and changes to the original text have no effect on the document text.
The text is not fixed (indicator "N")
The text is only displayed in the document (i.e. it cannot be changed or printed).
Regards,
Prabu -
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 -
Can not open sales order balance from BP master data
Hello All,
for a particular customer i am not able to open the sales order balance field in BP master data.
It is showing the amount but the orange arrow does not appear.
can any one please tell me why i am not able to drill down into Sales order field in BP master data?
Thanks in advance.
Prachi Kulkarni.HI Gordon,
All the users are getting this issue for the particular customer.
even my self (super user) also not able to drill down into the sales order field.
we have assigned Professional Licenses to all the users.
Thanks,
Prachi. -
Get the sales order text from ITS and save it in SAP.
Hi,
I have created an application to create sales order from ITS. In this app i'm having a text field to fet the header text for the order. & after that I'm calling an RFC which has a BAPI to create the sales order.
Now, when i enter the text for header texts in frontend (separated by ENTER), then it saves only the first line of the text.
I've tried using :
SPLIT ordernotes AT cl_abap_char_utilities=>cr_lf INTO TABLE t_ordnotes.
and using FM: CREATE_TEXT,
but still, it is saving only the first line.
Can anyone please help me with this ?????
Its urgent.
Thanks in advance,
Hemant.Hi
See the sample BDC program that is used to upload the Material LONG Texts into SAP using MM01 Tcode
check this may be helpful
REPORT zmm_longtext
NO STANDARD PAGE HEADING
LINE-SIZE 255.
Internal Table for Upload of Long Texts Data
DATA: BEGIN OF itab1 OCCURS 0,
matnr LIKE mara-matnr, " Material
text LIKE tline-tdline, " Long Text
END OF itab1.
Internal Table for Upload of Long Texts Data
DATA: BEGIN OF itab OCCURS 0,
matnr LIKE mara-matnr, " Material
text LIKE tline-tdline, " Long Text
END OF itab.
To create Long Text lines for CREATE_TEXT function module
DATA:BEGIN OF dt_lines OCCURS 0.
INCLUDE STRUCTURE tline. " Long Text
DATA:END OF dt_lines.
Variable declarations for CREATE_TEXT function module
DATA : dl_name TYPE thead-tdname, " Object Name
dl_lan TYPE thead-tdspras, " Language
gv_matnr TYPE matnr.
Constants
CONSTANTS:
Object ID for Long Text of Material Basic Data 1
c_best TYPE thead-tdid VALUE 'GRUN',
c_material TYPE thead-tdobject VALUE 'MATERIAL'. " Object
Parameters
PARAMETERS p_file LIKE rlgrap-filename.
At selection-screen on Value Request for file Name
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
Get the F4 Values for the File
CALL FUNCTION 'F4_FILENAME'
EXPORTING
program_name = syst-cprog
dynpro_number = syst-dynnr
IMPORTING
file_name = p_file.
Start Of Selection
START-OF-SELECTION.
*To Upload Flat file
CALL FUNCTION 'UPLOAD'
EXPORTING
filename = p_file
filetype = 'DAT'
TABLES
data_tab = itab1
EXCEPTIONS
conversion_error = 1
invalid_table_width = 2
invalid_type = 3
no_batch = 4
unknown_error = 5
gui_refuse_filetransfer = 6
OTHERS = 7.
SORT itab1 BY matnr.
LOOP AT itab1.
CLEAR gv_matnr.
SELECT SINGLE matnr INTO gv_matnr
FROM mara WHERE bismt = itab1-matnr.
IF itab1-text NE ' '.
itab-matnr = gv_matnr.
itab-text = itab1-text.
APPEND itab.
ENDIF.
CLEAR itab.
ENDLOOP.
DELETE itab WHERE matnr EQ ' '.
Upload the Texts
SORT itab BY matnr.
LOOP AT itab.
dt_lines-tdformat = 'ST'.
dt_lines-tdline = itab-text.
APPEND dt_lines.
dl_lan = sy-langu.
dl_name = itab-matnr.
Call the Function Module to Create Text
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = c_best
flanguage = dl_lan
fname = dl_name
fobject = c_material
save_direct = 'X'
fformat = '*'
TABLES
flines = dt_lines
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
IF sy-subrc <> 0.
WRITE:/ 'Long Text Creation failed for Material'(001),
itab-matnr.
ELSE.
WRITE:/ 'Long Text Created Successfully for Material'(002),
itab-matnr.
ENDIF.
AT END OF matnr.
REFRESH dt_lines.
ENDAT.
ENDLOOP.
<b>Reward points for useful Answers</b>
Regards
Anji -
When a PO is created from ME57/ME59, the PO text from the material master is not carried over in to the PO. But For the same materials when a PO is created from Me51n it does get copied in to the PO.
I tried changing settings in 'copying rules for item texts' for Pos . but it didnt help.
Any suggestions??Thanks in advanceNeetu/W1n
Thanks for the replies.
I did maintain the Copy rules for item texts
Here are my settings for material Po texts
0 (Seq)Puchase order (Source object) Po text(Source text) Blank(fix indicator)
1 (Seq) material master(Source object) Po text(Source text) *(fix indicator)- in this case i tried using blank, still didnt work
Text is Copied fine when i use ME21n, It just doesnt work when we use me57 or me59?!?
Any more suggestions. thanks in advance -
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 -
Purchase Order text in Material Master
Hi experts,
A material code ( for ex 10000000 ) is opened in plant X and is also extended to plant Y. We want to enter purchase order text in the same material code 10000000 ( thru tcode MM02 ) for plant X only. At present, the purchase order text which we entered for plant X is also depiciting in plant Y for above material code.
Our requirement is that the purchase order text which we entered for plant X should not appear in plant Y.
Please suggest.
Solutions / suggestions will be highly appreciated.
Regds,
( Rajneesh Gulati )Hi,
You can try doing in 2 ways of keeping Purchase order text.
1. If you do not want the text maintained in Plant X and not to maintain the same in Plant Y , you can delete the same in Plant Y and save so that It wont appear.
2. IF you don want the the text to be maintained in Plant Y, You need not extent the purchase order text view in plant Y.
Regards
Ram -
Hi,
Can sombody let me know the logic to determine the Sales text from material master. I need to poppulated the material desc field on the order with the sales text.
I tried using STXH and FM read_text, but i doesn't help.
Thanks in Advance guysHi,
Do you want the Text from the Material master to be copied into the ORDER CONFIRMATION Output ?
If so then you can try with the READ _TEXT function module.
If you want to copy the text maintained in the Material master to Sales order then try VOTXN transaction as suggested above
thanks,
santosh -
Text linkages from material master to purchase requisition
I already set the text linkage between basic data text in material master with item text in PR. I left fix indicator blank since I want the text to be adopted automatically.
I run MRP and create planned orders. Then I convert planned order to purchase requisition. Material master basic data text is not shown in purchase requisition. I tested using N and * and they both show. With N it shows (reading from material master) and I accnot modify it. With * it shows but I have to adopted to actually store the text as part of this document. With blank is not working. We want the text from material master to be automatically adopted in PR without manual intervention as with *.
Thanks and regards, Jose Oyon.Hi
If got ur query correctly : you want to make short text field in Preq as Display.
If yes then go to Tcode OLME (or SPRO) -> Purchase requistion->Define Screen layout at doc level->select ME51N--->double click basic data, item and make short text filed as display.
regards
rahul.
Maybe you are looking for
-
Filename with tab returned by getFileName()
Our product uses JavaMail (1.4) to import mail messages from IMAP servers into our product. One of our clients is currently having a problem that sometimes attachments are not imported because they cannot be saved due to incorrect characters in the f
-
Catch the onClick event on Interactive Report to access columns content
Hi, I am using Apex 4 I would like to display some rows into an interactive report. I have define a dynamic action on that report in order to catch the Mouse OnClick Event. The Goal is to display the detail of the row in a form region in the sidebar.
-
Firefox 3.6.3. Https is not working (only recently) in a couple of sites including: https://www.google.com https://www.microsoft.com All the certificates provided where unable to verify the owner: "This web site does not supply ownership information"
-
Audio pops and crackles on MacBook Pro
Help!!! I have a Late 2011 15' MacBook Pro, 256gb SSD, 750gb (7200) and 16gb RAM. When listening back to music after about 30 seconds to a minute the sound starts to randomly pop and crackle. I've go to find a fix for this. I am running 10.8.4. I hav
-
Objects of application scope and clustering.
I understand that weblogic 6.1 replicates session data to a secondary server in a cluster. This replication should include objects declared with <jsp:useBean ... scope="session"/> as well as objects that are explicitly m