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 ?
Thanks
Hello,
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
Similar Messages
-
BDC for Purchase order text updation in MM02 Transaction
Hi ALL,
I am updating purchase order text of a material in MM02 using BDC program.
I have done recording, and the program is updating text if the text field already contains some value. but,
when the field is empty and if the program tries to feed new data then it is not working.
Please help me!
regds,
RajanHi
material master purchase order long text
you can use through BDC or LSMW it is possible,
here we need to check in lsmw Direct input mentod Program name "/SAPDMC/SAP_LSMW_IMPORT_TEXTS" object name (0001) method(0001) program type (D).
Header we have --- MATNR and TEXT ID
Item ---LINE(Text line).
in header- for NAME and ID map the source fields MATNR and TEXID respectively.
OBJECT and SPRAS pass the constants.
in Item--for TEXTFORMAT pass the constant '*' and for the TEXTLINE map the input field LINE of the ITEM structure.
or else u can check in SE37 'CREATE_TEXT' , in that function module check it object Id , name , spras, lineitem, language "E"
here i mention example of text flat file,
H 100-100 best
longtext1 -
hi friends
how to upload purchasing order text in mm01 transaction.
when i record purchasing order text it is storing in as a module pool program screen when i watch in the after recording , it does not have field and table name.
how to upload it?
thanks®ards
deepikaHi,
You can use the function module CREATE_TEXT for uploading the long text in the purchase order but this one has to be done after you have created the Purchase order succesfully. To use the above function module use the following steps.
1) Upload the longtext seperately into an internal table using GUI_UPLOAD and then use the following code to upload that text.
TYPES : BEGIN OF ty_upload,
matnr(18) TYPE c,
txline(5000) TYPE c,
END OF ty_upload.
DATA : it_upload TYPE STANDARD TABLE OF ty_upload,
wa_upload TYPE ty_upload.
DATA : v_tdid TYPE tdid,
v_tdobject TYPE tdobject,
v_en TYPE spras VALUE 'EN'.
CALL FUNCTION 'IQAPI_WORD_WRAP'
EXPORTING
textline = wa_upload-txline
outputlen = '132' ( Give the length depending upon your requirement)
TABLES
out_lines = it_outlines
EXCEPTIONS
outputlen_too_large = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
v_sno = 1.
CLEAR it_outlines.
LOOP AT it_outlines.
READ TABLE it_outlines INDEX v_sno .
IF sy-subrc = 0.
it_tlines-tdline = it_outlines-tdline.
APPEND it_tlines.
CLEAR: it_tlines,it_outlines.
v_sno = v_sno + 1.
ENDIF.
ENDLOOP.
CALL FUNCTION 'CREATE_TEXT'
EXPORTING
fid = v_tdid
flanguage = v_en
fname = v_matnr
fobject = v_tdobject
save_direct = 'X'
fformat = '*'
TABLES
flines = it_tlines
EXCEPTIONS
no_init = 1
no_save = 2
OTHERS = 3.
IF sy-subrc = 0.
Here if sy-subrc is Zero means the text is updated successfully.
Here for getting the tdid and tdobject go to the Tcode ME21 and there inside that one get the values for them and in the PO text of the header text tab.
Hope this one will help you.
Regards,
Venkat. -
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 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,
SunnyHi 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. -
LSMW MM02 - CHANGE PURCHASE ORDER TEXT
I need to change the purchase order text in mm02 using the LSMW.
Can you help me?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 -
Hello,
i want to ask if while the creation of the material in MM01 in the tab Purchase order text
is there possibility attach not only txt file but also jpeg or pdf-doc.
ThanksHi,
This can be done via Document Management System (DMS).
Refer following links for more details;
[SAP DMS - Document Management System 1|http://www.sap-img.com/sap-dms.htm]
[SAP DMS - Document Management System 2|http://www.saptechies.com/sap-dms-document-management-system/] -
MM02 Purchase Order text display only
We have transaction variants with screen variants set up for transaction MM02 and want to make the purchase order text display only. This does not seem possible with transaction variants as the display only is greyed out for the purchase order text.
Is there an enhancement or exit available where we can do this ?Hi
Check it in SPRO - SAP IMG- Logistics general - Material master -field selection
In this u can do it.
Regards,
Raman
Edited by: Raman S on Sep 4, 2009 10:30 AM -
Hello...
which Bapi should I use for enter to a material Purchase Order Text(MM01 or MM02)??
Thanks ......Hi,
i am not shure about the bapi
but this FM solves u r problem.
K_PURCHASE_ORDERS_READ_TEXTS
Thanks -
Mm2 remove purchase order text from central data M_MATE_MAN
Hi,
we restricted the material master data in mm01/mm02 with the authorisation object M_MATE_MAN to activity 03. This setting meets our requirements to 99%!
We saw in sap note 545380 that the purchase order text is a central text.
Surprisingly the sales text is created with reference to the sales organization. Is there a similar purchase order text which can be created on the level of the purchase organization and language?
Or can we use an user exit or something else to allow maintenance and exclude the purchase order text from the M_MATE_MAN authorisation check?
Thank you in advance for your help!
Best regards,
FrankHi,
have you tried to invalidate item instead of account assignment? You can get a reference to item with method GET_ITEM. I can see only one class which implements interface IF_PURCHASE_ORDER_ACCOUNT_MM. It is CL_PO_ACCOUNTING_HANDLE_MM and this class has no code for this method.
Cheers -
Upload Purchase order text tab using BDC
Is it possible to upload Purchase order text tab in material master (tcode mm01) using a BDC.
If so pls tell me how to upload the same, what is the field name of the box.
Regards,
Senthilu need to use READ_TEXT or SAVE_TEXT or WRITE_TEXT or COMMIT_TEXT to upload text into SAP.
-
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 -
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 All,
I want to take report of "Purchase order text" which is stored in material master.
Any Idea pls let me know....
Thanks
HariDear Hari,
You can use BAPI_PO_GETDETAIL1 or BAPI_PO_GETDETAIL to retrieve the data in your program.Enter the PO number and tick the item text and header text indicator.
Regards,
w1n -
Upload of purchase order text in the material master
Now we have information of Purchase order text for all the material.
Is it possible to upload the Purchase order text using LSMW.
Some friends were telling that LSMW is not possible for Purchase Order text.
Can anyone suggest how I can upload this purchase order text for all 1000
material using LSMW program.
/if not LSMW is there any other method to upload it
thanks in advance
deepak.s.gouraDear Deepak,
there is standard direct upload i believe
go to lsmw
Execute 1st option
then inLSMW:Object Attribute screen
in standard batch/ direct input
firsr radio button
select object 005
and method 003
Program name RSTXLITF.
Then go by normal process i.e source field , field mapping...
In this way u can also upload Text in the Material master.
Rewards if helpful
Regards
Sanjay L
Maybe you are looking for
-
Need to be logged in to get help with logging in? ...
While this is obviously a vent, I really would welcome suggestions for password help in the future. Here goes... We don't use Skype often, but when we want to use it, we want to use it NOW. Because we don't use it often, we forget the Skype name and
-
XML scrolling thumbnail, image loader, & Buttons [halfway works]
Intro: I started a flash-based website a few years ago. Back in 2006 I was able to get a xml scrolling thumbnail, image loader to work without a glitch. For numerous reasons I had to put the project on hold until now. [one was that my 30 day trial of
-
Difference in supplier invoice Excise duty and po duty
Request your guidance for the below scenario. ie when we put a PO for vendor we will fix a tax code in po with ed cess and local tax.entire postings for tax is based on this tax code.now if the excise value in vendor invoice may differ from our PO ta
-
DP3 project won't load into DP4 mapping workbench
I have a toplink mapping project created with Toplink DP3r2. I tried to load it using the mapping workbench in Toplink DP4 (Build 050715). Here's the error: oracle.toplink.workbench.framework.OpenException: java.lang.NullPointerException at orac
-
want to buy a iphone 4 in asia, can i get swedish meny and lett, want to buy a iphone 4 in asia, can i get swedish meny and type board, want to buy a iphone 4 in asia, can i get swedish meny and dash board