How to capture purchase order text view in mm01
Hello All,
Im doing recording for one material type in BDC but im not able to capture purchase order text view while creating material.
Its not getting recorded only pls guide bcoz i have to enter purchase and sales text for new materials.
Regards,
Sunny
Hi Sunny,
I have a different sugesstion. Never use BDC if u have BAPI available for the same functionality.
use this BAPI BAPI_MATERIAL_SAVEDATA for material creation. Even u can create the po texts here. Check the parameters MATERIALLONGTEXT and EXTENSIONIN. in FM documentation. It is pretty clear.
Different long texts (basic data texts, purchase order texts, internal comments, sales texts, material memos) can be created for a material. This requires the fields APPLOBJECT, TEXT_NAME, TEXT_ID, and LANGU or LANGU_ISO in table parameter MATERIALLONGTEXT to contain entries. Depending on the content of field TEXT_ID, the field TEXT_NAME must have the following structure:
The material number is transferred first. If it has fewer than 18 characters, the remaining characters must be filled with blanks. If it is a material memo (LTXT), the plant key must also be transferred from character 19 onwards; in the case of a sales text (0001), this must be the sales organization and distribution channel. The combinations allowed for the four different fields are indicated in the following table:
APPLOBJECT TEXT_NAME TEXT_ID LANGU
MATERIAL Matl no. (18 char.) BEST, GRUN, or IVER Language
MDTXT Matl no. (18 char.) LTXT Language
Plant
MVKE Matl no. (18 char.) 0001 Language
Sales organization and
distribution channel
Thanks,
Vinod.
Similar Messages
-
How to capture Purchase order text from MM02
Hi Friends ,
i have a requirement like i have to capture the purchase order text from MM02
from one program.
Pls give helpful code .
Thanks & Regards
Jagadeeshwar.Bachuhi
check this code
Hi,
declare the paramters like:
To fetch Long Text lines for READ_TEXT function module
DATA:BEGIN OF dt_lines OCCURS 0.
INCLUDE STRUCTURE tline. " Long Text
DATA:END OF dt_lines.
Variable declarations for Read_TEXT function module
DATA : dl_name TYPE thead-tdname, " Object Name
dl_lan TYPE thead-tdspras. " Language
Constants
CONSTANTS:
Object ID for Long Text of Sales Item Text
c_best TYPE thead-tdid value 'Z026', ID
c_object TYPE thead-tdobject . " Object
Object will be VBBK, and the Object name will be the concatenation of Sales order and Item No(for Item texts) and only Sales order for Header texts.
Language will be default sy-Langu.
In the loop of Sales orders call this fun module and use by passing all the above 4 paramters ID,OBJECT,NAME and LANG.
You double click on that text
GOTO -> header you will know the all above paramters.
READ_TEXT
READ_TEXT provides a text for the application program in the specified work areas.
The function module reads the desired text from the text file, the text memory, or the archive. You must fully specify the text using OBJECT, NAME, ID, and LANGUAGE. An internal work area can hold only one text; therefore, generic specifications are not allowed with these options.
After successful reading, the system places header information and text lines into the work areas specified with HEADER and LINES.
If a reference text is used, SAPscript automatically processes the reference chain and provides the text lines found in the text at the end of the chain. If an error occurs, the system leaves the function module and triggers the exception REFERENCE_CHECK.
Function call:
CALL FUNCTION 'READ_TEXT'
EXPORTING CLIENT = SY-MANDT
OBJECT = ?...
NAME = ?...
ID = ?...
LANGUAGE = ?...
ARCHIVE_HANDLE = 0
IMPORTING HEADER =
TABLES LINES = ?...
EXCEPTIONS ID =
LANGUAGE =
NAME =
NOT_FOUND =
OBJECT =
REFERENCE_CHECK =
WRONG_ACCESS_TO_ARCHIVE =
Export parameters:
CLIENT
Specify the client under which the text is stored. If you omit this parameter, the system uses the current client as default.
Reference field: SY-MANDT
Default value: SY-MANDT
OBJECT
Enter the name of the text object to which the text is allocated. Table TTXOB contains the valid objects.
Reference field: THEAD-TDOBJECT
NAME
Enter the name of the text module. The name may be up to 70 characters long. Its internal structure depends on the text object used.
Reference field: THEAD-TDNAME
ID
Enter the text ID of the text module. Table TTXID contains the valid text IDs, depending on the text object.
Reference field: THEAD-TDID
LANGUAGE
Enter the language key of the text module. The system accepts only languages that are defined in table T002.
Reference field: THEAD-TDSPRAS
ARCHIVE_HANDLE
If you want to read the text from the archive, you must enter a handle here. The system uses it to access the archive. You can create the handle using the function module ACHIVE_OPEN_FOR_READ.
The value '0' indicates that you do not want to read the text from the archive.
Reference field: SY-TABIX
Default value: 0
Import parameters:
HEADER
If the system finds the desired text, it returns the text header in this parameter.
Structure: THEAD
Table parameters:
LINES
The table contains all text lines that belong to the text read.
Structure: TLINE
Exceptions:
ID
The text ID specified in the parameter ID does not exist in table TTXID. It must be defined there together with the object of the text module.
LANGUAGE
The parameter LANGUAGE contains a language key that does not exist in table T002.
NAME
The parameter NAME contains the name of a text module that does not correspond to the SAPscript conventions.
Possible errors:
The field contains only blanks.
The field contains the invalid characters * or ,.
OBJECT
The parameter OBJECT contains the name of a text object that does not exist in table TTXOB.
NOT_FOUND
The system did not find the specified text module.
REFERENCE_CHECK
The text module to be read has no text lines of its own but refers to the lines of another text module. This reference chain can include several levels. For the current text, the chain is interrupted, that is, one of the text modules referred to in the chain no longer exists.
WRONG_ACCESS_ TO_ARCHIVE
The exception WRONG_ACCESS_TO_ARCHIVE is triggered if an archive is accessed using an incorrect or non-existing archive handle or an incorrect mode (that is, read if the archive is open for writing or vice versa).
regards
siva -
How to Display 'purchase order text' in MM03 using report program
Hi Friends,
Can anybody suggest me how to display 'purchase order text' in MM03 using report program.
'Purchase order text' tab displays purchase long text of particular material .
I coded as:
SET PARAMETER ID 'MXX' FIELD 'E'.
SET PARAMETER ID 'MAT' FIELD k_final-matnr.
SET PARAMETER ID 'WRK' FIELD k_final-werks.
CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN.
It displays Purchasing tab other than Purchase Order Text tab of MM03.
Please suggest me how can i solve this.
Is there any parameter id to set values for Purchase Order text tab>
Madhu Mano Chitra wrote:
> I want how to navigate to MM03 'Purchase Order text' tab/ view using ABAP code.
> could any suggest me
You can call a transaction and pass it a BDC table that tells it where you want it to go. You have to work out for yourself what to put into the BDC table. The code below works for tcode CATSSHOW.
DATA: bdcdata_wa TYPE bdcdata,
bdcdata_tab TYPE TABLE OF bdcdata.
DATA opt TYPE ctu_params.
CLEAR bdcdata_wa.
bdcdata_wa-program = 'CATSSHOW'.
bdcdata_wa-dynpro = '1000'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'SO_STATU-LOW'.
bdcdata_wa-fval = '20'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'ANDZEIT'.
bdcdata_wa-fval = SPACE.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'PAST'.
bdcdata_wa-fval = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
IF p_selscr = SPACE.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '=ONLI'.
APPEND bdcdata_wa TO bdcdata_tab.
ENDIF.
opt-dismode = 'E'.
opt-defsize = 'X'.
CALL TRANSACTION 'CAPP' USING bdcdata_tab OPTIONS FROM opt. -
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 -
Material Master - Purchase order Text view as plant specific
Is there any provision in standard SAP to make Material Master u2013 Purchase order Text view as plant specific.
Example: Material Master u2013 Sales text view is sales org & Distribution channel specific and the sales text is unique of each of the sales org and distribution channel combination.
i.e, if we change sales text for a sales org and distribution channel combination, it will not affect the sales text of another sales org and distribution channel combination.
Similarly, can we make the Purchase order Text view as plant specific? How to achieve this?
As of now, if we change the text for one plant, it will be affected to all other plants also.Hi Pankaj, thanks for the reply.
The solution you have given is applicable if the info record PO text is used only in Purchase order?
Moreover, we are not using plant specific info records.
We want to use material master PO text for some other custom transactions.
Please give your inputs.
Thank you. -
How to Make Purchase Order TEXTS Mandatory
Hi.........
I want to make some Purchase Order texts mandatory(for ex Header text) so that i should appear in PO Print and user should not be able to proceed unless he make an entry.
Please help me out......
ThanksHi,
In spro>mm>pur>po>define screen layout select filed selection AKTH Create for ref.data item make it
required entry
BR
Diwakar -
Hi,
What is the use of maintaining Purchase order text while maintaining the material master.
I had maintained some text in the material master ( Purchase order text view ) in MM01
But while creation of PO, i am unable to see the text getting copied in to the item text of the PO.
Please expedite.
RitiGHi,
The Purchase order text is exactly that, it is text that can be copied to the Purchase order. But it does not (and should not) replace the item text.
But if you want the Purchase order text to be printed on the PO in the item text area then this is possible, the program that controls the PO printing can be told to use the Purchase order text from the Material in the PO item text instead. But the display on ME23N etc. would still show the item text even though the PO is showing the Purchase Order text from the material master.
So for printing only, it can be done but it can't be done (without user exit etc.) within the PO record itself.
Steve B -
How to pull out Purchase Order text in ME11/ME12/ME13
Hi,
Kindly let me know how to extract Purchase Order text from TEXT tab in ME13.
I have got Info Record note but I am unable to get Purchase Order text.
I am using the following FM which is given below.It seems error.
Please kindly let me know how to do this.
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'BT'
language = sy-langu
name = g_tdname
object = 'EINE'
TABLES
lines = ig_read1
EXCEPTIONS
Thanks,
Bala RajaYour need to use READ_TEXT FM Properly:
text name -> you need to concatenate info record ,plant '0' purchase org
language : EN
text id BT
Object EINE
CALL FUNCTION 'READ_TEXT'
EXPORTING
client = sy-mandt
id = 'BT'
language = sy-langu
name = g_tdname
object = 'EINE'
TABLES
lines = ig_read1
EXCEPTIONS
Thanks
Seshu -
Dear Gurus,
I need to maintain text in some materials in purchase order text view in material master through LSMW.
Please tell field and table where this purchase order text is stored.
I have checked some threads also but not clear.
regards
VBit is explained in docu how to find the text name object and id, and I explained it as well many many times here in the forum.
Please read docu and search threads.
text fields in the Po are subject to customizing, so I cannot give you the text id you have to use.
What speaks against LSMW?
The docu link I gave you is for LSMW, so it certainly works with LSMW
I am using it at least once a month for loading texts to any kind of object. -
Hi experts,
How to create a Text in Purchase order with Mfr Part Number material
we have a material with MPN (Mfr Part Number)
every material having more than 2 or 3 MPN(Mfr Part Number)
every MPN having different characterstic .
so when i create with reference of Mfr Part Number material that character sticks has to come below material in purchase order paper(print preview)
i am trying to insert that text in Mfr Part Number PURCHASE ORDER TEXT view in material master data. i entered text but its not taking in to purchase order.
but when i entered text in material number purchase order text its taking text for all the (Mfr Part Number) materials.
i need it different (Mfr Part Number) different text.
Thanksin Advance,
AnthyodayaThanks yo for the reply.
which one i have to select ..
i am trying to sellect different but i am not getting the result.
Purchase order - Material PO text
Fix Short Descript.
Text automatically adopted in target object
User can have text adopted in target object
N Text cannot be adopted in target object
and
Material Master - Purchase order text
Fix Short Descript.
Text automatically adopted in target object
User can have text adopted in target object
N Text cannot be adopted in target object
which one i have to select .. can u please explain me.
Thankyou,
ANR -
Mass deletion purchase order text in the info record
Hi,
I'm trying to delete the purchase order text of the info record of some materials.
I thought to use MEMASSIN transaction... but it is not working because I can not choose the text to delete.
Anyone any idea how to?
Thanks a lot in advance!
PS: The purchase order texts comes from master data (the purchase order text view).Hi Jürgen,
You mention execute function module DELETE_TEXT to delete PO text in info record. I am trying to do that but I am not familiarizes with this function.
in DELETE_TEXT there is:
CLIENT
ID
LANGUAGE
NAME
OBJECT
SAVEMODE_DIRECT
TEXTMEMORY_ONLY
LOCAL_CAT
What is the specific input is necesary to delete PO text in info record?
thanking you in advance -
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 -
Purchase Order text field update in Material Mater
Hi experts,
Is't possible that we can give authorization to update ONLY Purchase Order text field
under the Purchase Order text view in MM?
But while giving authorization, I could only see "Maintenance statuses of Material" I could only see status code "E" in general for Purchasing view.
Please advise if this is possible to control to give authorization to update only this Purchase order text view in MM.
Regards,
PHi
Please try this way
Authorization object: M_MATE_STA
Define the fields this way
Fields Possible values Meaning
ACTVT 01 User may create data.
02 User may change data.
03 User may display data.
06 User may flag data for deletion.
08 User may display change documents.
STATM Here, you specify the
maintenance status for which
the user is authorized.
regards
sunny -
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 -
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
-
my itunes library has several albums that are split into two parts. one contains half of the album's songs and the other the other half. how do i combine these so the album only appears once in it's entirety?
-
Aperture / iPhoto Server solution
Hi, Apple is providing professional software for Pros and they offer XServer solutions, but they don't offer any Server/Network solutions for Pros to manage and store their Photos. Why not? And Who offers such solutions on OSX, today? Thanks, JO
-
Problem with customer exit EXIT_SAPLL03A_002:
hello all , i have to write some code in the customer exit 'EXIT_SAPLL03A_002'. this customer exit will trigger while creating a transfer order using LT01,LT02 or LT03 transaction . the standard program for all these transactions is SAPML03T . The cu
-
Recording info about how long an application has been open?
Hi. I would like to set up some kind of log that tells me when I've opened a particular application (Final Cut Pro) and how long (how many minutes/hours) the application has been open for that particular session or that particular day. Ideally, the l
-
Hi SAP Gurus, I have created a profile Z01SFCG014 for CM25. Can anybody please let me know how i can change the color of Planned orders and Production orders that are displayed on the left side of the Capacity planning board in order to distinguish b