Sales text and config for a material
Hi,
I need to know on which table are the maintained Sales text, languages and configuration for a material are stored on R/3
Thanks for any comments
Kamran
Hi vahed kamran,
As said by Aparna, the text are stored in table STXH. we need to fetch them by using the fields
TDOBJECT Texts: Application Object
TDNAME Name
TDID Text ID
TDSPRAS Language Key
we can use READ_TEXT Function module to get the text.
For Example
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = '0001'
LANGUAGE = 'E'
NAME = XNAME
OBJECT = 'VBBP'
TABLES
LINES = i_XTLINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6.
Best regards,
raam
Similar Messages
-
Seeking to fetch thcorrect sales text and comment for a material number
Ladys and Gents,
Currently I have the problem to fetch correct sales text and comment text on the data base for a certain material.
For this purpose Ill can use the CALL FUNCTION 'READ_TEXT' as bellow which works quite good. I just have to call it two time, once for the sales text and next time to fetch the comment text. But first I need to know for which languages a sales text is maintained before I call this function and give the language as an input like E. I would be very thankful for any comments.
/Kam
PS:
CALL FUNCTION 'READ_TEXT'
EXPORTING
ID = '0001'
LANGUAGE = 'E'
NAME = l_tdname that contains mat.Number
OBJECT = 'MVKE'
TABLES
LINES = i_sales_text contains the return text
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.hi check this...
http://help.sap.com/saphelp_nw04/helpdata/en/e0/7846ec17e111d2b429006094b944c8/frameset.htm
regards,
venkat -
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 -
Sales text and Purchase Order Text
Hi,
in what tables are stored Sales text and Purchase Order Text of the material master ?
Best RegardsHi
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.. -
Hi friends,
Please somebody tell me what is sales text and Purchase order text???and why these are used???Hi Reema ,
The usage of texts in SAP is very generic and it is used for all entities and documents . For example the texts exist for Vendor master / CUstomer master and in Sales as well as Purchase orders at item and header level .The long texts are used to maintain certain informative texts which the user wants to have and major benefit is that the additional long texts can be provided to the user through functional customising in IMG - SPRO you do not need any ABAP exit or enhancement for this.
Now you can maintain these texts programatically using the FM :
CREATE_TEXT
SAVE_TEXT
while you can read the existing texts using the FM ' READ_TEXT' .
For this purpose you can also go thru this blog /people/deepak.bhalla/blog/2005/01/24/storing-and-retreiving-of-texts .
I am giving extract from same below :
Please let me know if you need anything further on this .
There are following ways of storing text in SAP.
1. Using Text Object and Text ID
2. Using Standard text with placeholders
<U>1. Using Text Object and Text ID:</U>
I am assuming that we already have a data in structure required by function module save_text for tables paramenter lines.
1. Use Transaction SE75 to create Text Object and Text ID.
2. Choose first radio button Text Object and ID's
3. Click at create. It will create Text Object.
4. Create Text ID for Text Object.
Now this created Text ID and Text Object can be used to Save and Retreive texts using following function module.
CALL FUNCTION 'ZSAVE_READ_TEXT'
EXPORTING
Save_read_indicator = 'X'
header = p_header
TABLES
lines = p_line.
Exporting parameter Save_read_inidcator type char1. default 'X' for Save.
Header should be of type thead
Tables parameter lines should be of type tline.
Header values should be populated as follows.
p_header-tdobject = name of the text object created.
p_header-tdname = It can be any Unique name.
p_header-tdid = name of text id created.
p_header-tdspras = sy-langu.
p_header-tdtitle = title of text.
Table P_lines will contain all data that is to be saved.It may be through Text control.
call function module save_text as follows to Save text.
If save_read_indicator = 'X'.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = p_header
IMPORTING
FUNCTION =
NEWHEADER =
TABLES
lines = p_line
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5.
ELSE.
CALL FUNCTION 'READ_TEXT'
EXPORTING
CLIENT = SY-MANDT
ID = TEXT_ID
LANGUAGE = SY-LANGU
NAME = Same as TDNAME in Save_text
OBJECT = TEXT_OBJECT
TABLES
LINES = LI_LINE
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
OBJECT = 5
REFERENCE_CHECK = 6
WRONG_ACCESS_TO_ARCHIVE = 7
OTHERS = 8.
Endif.
<U>2. Using Standard text with placeholders</U>
Here I am assuming that for all placeholders we will have value availble.
1. Maintain standard text with place holder using transaction SO10.
for example :
Dear &1,
Your purchase requisition &2 was approved on &3 .
2. Use following following function module to read Standard text.
CALL FUNCTION 'READ_STDTEXT'
EXPORTING
id = 'ST'
language = sy-langu
name = name of standard text
USE_AUX_LANGUAGE = ' '
USE_THRUCLIENT = ' '
LOCAL_CAT = ' '
IMPORTING
HEADER =
TABLES
lines = p_std_text
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
NOT_FOUND = 4
REFERENCE_CHECK = 5
OTHERS = 6.
3. Use following code to replace Placeholders returned in table p_std_text.
Loop at p_std_text.
SEARCH p_std_text-tdline FOR '&1'.
IF sy-subrc = 0.
REPLACE '&1' WITH p_name INTO p_std_text-tdline.
ENDIF.
SEARCH p_std_text-tdline FOR '&2'.
IF sy-subrc = 0.
REPLACE '&2' WITH p_name INTO p_std_text-tdline.
ENDIF.
SEARCH p_std_text-tdline FOR '&3'.
IF sy-subrc = 0.
REPLACE '&3' WITH p_name INTO p_std_text-tdline.
ENDIF.
MODIFY p_std_text.
Endloop. -
What is category and subcategory for a material?
Hi all,
Can anyone explain about what category and subcategory for a material are?
Thanks,
Balajicategory is to specify what type of material it belongs to....
sub-category is like what is the componnent of the category for the material...
These are category....
00 Single material
01 Generic material
02 Variant
10 Sales set
11 Prepack
12 Display
20 Material group material
21 Hierarchy material
22 Group material
30 Material group reference material
These are sub-category....
00 Single material
10 Raw
20 Paper
30 Park
etc....... -
How To Find Opening Stock And Value For a Material
Hi Experts,
How To Find Opening Stock And Value For a Material in Given Dates
Moderator Message: Search.
Edited by: kishan P on Sep 15, 2010 4:05 PMThanks For Answering.....
But I Need Any Function Module To Get Opening Stock And Value For Given Material With in Dates. -
How to find classtype and class for a material.
Hi,
How to find classtype and class for a material.
which table contains this data.
Thanks
KiranHi Kiran,
Check below sample code. Use this BAPI which will give all info about the class for the material.
DATA: l_objectkey_imp TYPE bapi1003_key-object
VALUE IS INITIAL.
CONSTANTS: lc_objecttable_imp TYPE bapi1003_key-objecttable
VALUE 'MARA',
lc_classtype_imp TYPE bapi1003_key-classtype
VALUE '001',
lc_freight_class TYPE bapi1003_alloc_list-classnum
VALUE 'FREIGHT_CLASS',
lc_e TYPE bapiret2-type VALUE 'E',
lc_p(1) TYPE c VALUE 'P',
lc_m(1) TYPE c VALUE 'M'.
SORT i_deliverydata BY vbeln posnr matnr.
CLEAR wa_deliverydata.
LOOP AT i_deliverydata INTO wa_deliverydata.
REFRESH: i_alloclist[],
i_return[].
CLEAR: l_objectkey_imp.
l_objectkey_imp = wa_deliverydata-matnr.
*Get classes and characteristics
CALL FUNCTION 'BAPI_OBJCL_GETCLASSES'
EXPORTING
objectkey_imp = l_objectkey_imp
objecttable_imp = lc_objecttable_imp
classtype_imp = lc_classtype_imp
* READ_VALUATIONS =
keydate = sy-datum
language = sy-langu
TABLES
alloclist = i_alloclist
* ALLOCVALUESCHAR =
* ALLOCVALUESCURR =
* ALLOCVALUESNUM =
return = i_return
Thanks,
Vinod. -
Is there a mobile device for just text and games for a child?
is there a mobile device for just text and games for a child?
iPod touch? That's the only "iPod" that can play games (run apps). It connects to the Internet over WiFi (not mobile carrier). It's basically an iPhone without the phone parts. If you get a used one, earlier models cannot run all the software available to the latest model (include the latest version of iOS). That may be perfectly OK for a child, but you should look into and understand the imitations of older models, before getting one used or refurbished. Apple-certified refurb iPod touch is available here
http://store.apple.com/us/browse/home/specialdeals/ipod
(The current version of iPod touch is 5th gen.) -
PROCESS AND STEPS OF CONFIG FOR IMPORT MATERIAL RECEIVED AND SALE TO CUSTOM
Hi,
We have plan to develop new process is import the material at plant then repack the material in different size and sale
the material to customer.
I am not fully aware of entire process of MM/FI/SD integration part and process steps.
Can anybady help me to provide Entire process and steps of transaction and config process ?
Thanks in advance
Regards
TarunkumarYou are asking almost the entire configuration of MM/SD/FI which is not possible. Please describe your process where you need to answer for the following:-
a) whether the import material would be sold to domestic customer
b) whether the import material would further be processed in a plant
c) whether the import material would be cleared at domestic customs
For each and every above question, you need to follow a different configuration in SAP. Also first search the forum based on your current scenario and wherever you are unable to proceed further, please post that issue only instead asking for entire configuration.
thanks
G. Lakshmipathi -
Enquiry and quotation for MTO material
Friends,
can we create IN & QT for MTO material? If yes, what is item category in this case for Enquiry and Quotation? How it is determined?
As we know item category for MTO is TAK in the order. What abouyt Enquiry and Quotation?
Thanks
Shivplease find below list of Item categories already there in std SAP
Item category detail configuration
IMG -> Sales --> Sales documents --> sales document item --> define item categories
AFN Inquiry Item
AFNN Free of Charge Item
AFTX Text Item
AGN Quotation Standard Item
AGNN Free of Charge Item
BVN Cash Sales
L2N Request
L2W Request
NLC Inter Co Stock Transfer Item
NLN Stand Stock Transfer Item
REN Standard Item
RENN Free Goods Item
TAD Service
TADC Configurable Service
TAE Explanation
TAF Configurable Service
TAL Ret. Packag. Shipment
TALS Standard Item: SLS
TAN Standard Item (Rush Order Item Category)
TANN Free of Charge Item
TAO Milestone-Bill. Plan
TAP Pric. at Item Level
TAQ Pric. at Header Level
TAS Third Party Item
TATX Text Item
TAW Value Item
WKC Val Contr Item-Config.
WKN Value Contract Item
IMG -> Sales --> Sales documents --> sales document item --> define item category Group
0001 Make-to-order
0003 Make to order / Assembly
BANS Third-party item
DIEN Service w/ Delivery
ERLA Structure/Mat. Above
LEAS Leasing
LEER Empties
LEIC Service w/o del. conf
LEIH Returnable packaging
LEIS Service w/o Delivery
LUMF Structure/mat. Below
NLAG Non-stock material
NORM Standard item
VCIT Value contract item
VERP Packaging
ITEM CATEGORY DETERMINATION
Sales Document Type + Item Category Group + Item Category Usage + Higher Level Item Category =
Default Item Category -
How to make Delivery block at Sales Order Header level for specific materia
Hi,
My client want to create a delivery block EDI order at the Order Header level for specific materials
How can we achieve this.Dear Varada rajan
Go to material master, select "Sales: sales org.1" view and assign "01" against the field "DChain-spec. status" and save. By assigning, for a particular sales area, you can block that material.
Now go to OVSU select 01 and assign "B" against the field "Block delivery".
Now create a sale order and post the outcome.
thanks
G. Lakshmipathi -
Amount Difference in sales order and billing for one line item
Hi experts,
User created one sales order with three line items say line item10, line item20
Line item 30.Line item 10 value is 5024.26 EUR in sales order. He did delivery for three line item and invoiced. But the problem is that the line item 10 value is changed i.e. 5024.28 EUR in Billing and the remaining line item values are correct. All the line items having same item category.
I asked the user to cancel the invoice and PGI. He did that. And again he created the PGI and Invoice. But the value of line item 10 become 5024.27 EUR and again he cancels the invoice and the PGI. and again he created the PGI and Invoice. Now the value of line item 10 is correct i.e. 5024.26EUR in invoice.
Note: No changes are carried out from sales order to billing and even in material also.
I checked copy control settings also all are correct.Hi
I think this is standard SAP issue of rounding the condition records at item level. Can you please share the netvalue for all the three items and the header net value at sales order and invoice level.
kind regards
sandeep -
Automatic TO creation and confirmation for a Material document
Hi Dear All,
i am new to MM andWM.
I have to customization for auto transfer orders and confirmations for material documents what ever created with 101 movement type in Inventory Management. I have down configuration like below.
SPRO->Logistics Execution->Warehouse Management->Activities->Transfers-> Set Up Autom. TO Creation for TRs / Posting Change Notices
Double click on control data tab
Hear for my warehouse I given input like Auto TO = 1,
AddId = select check box.
And in Assign control tab for 101 movement type I have given input like below.
Automatic TO = 1.
TO item can be confirmed immed. = tick checkbox
Propose Confirmation = tick checkbox.
Foreground/Backgrnd = D.
After creating of Material document I am executing report RLAUTA10 in SE38.When I execute this report system showing message like TO processing finished: TR total: 17, TO created: 0, Errors: 17.
If I check header details of transfer requirements in LB03, i am not seeing Tick Mark in Auto TO Creation field.
Can any one tell me what the mistake i have down or if i need to do any further configuration. Please help me regarding this concern?
Thanks in Advance..Dear Steve,
Thanks a lot for giving reply with what I need to do, but I am unable to see result.
I have down configuration like below even though system not processing Auto TO creation. Can you explain me if I have down any mistake below.
Click on Assign button,
Press on New entries
WhN = 900
Reference Movement Type = 101
Movement indicator = B
Movement type for Whse Mgmt = 101
TR create Transfer Requirement = X
Immed.TO Creation
Mail confirmation for background processing = 01.
GR date = 2
Maybe you are looking for
-
I lost my bookmarks while trying to sync with another device. Can I get them back?
I have tried to sync with a new device. I Had a lot of trouble finding the code which I used last time I synced devices. It seems that I didn't need to do that anymore after signing out and in, it suddenly seemed to work. All the bookmarks that wasn'
-
Save as dialog box hides behind the dock
Ever since upgrading to Yosemite, the 'save as' dialog box will partly hide behind the dock. I can't see the 'save' nor the 'cancel' button. Now I don't want the dock to auto hide, nor do I want to make it so small I can hardly see the icons, because
-
Can I use a iTunes gift card to pay for 3G
Thanks
-
Is it possible to burn onto CD a 1hour voice recording recorded via your ipod2 directly to a USB external hardrive CD burner attached to your ipod via USB, without having to use itunes or be online (wifi). i would like to reduce my carry load when tr
-
How to stop the selection of an empty table?
Hello , everyone. I created a JTable : tableView : tableView.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION); tableView.getSelectionModel().addListSelectionListener(this); tableView is a empty table , that is to say , tableView.getRo