Use Word Editor for purchase order header text
Dear community!
Currently in our system when we create purchase order header text we are using the standard sap text editor.
I saw another system where they are using some kind of microsoft word editor plug in to create purchase order header texts and purchase order item texts.
I would like to figure out how I can activate this editor in the system.
Any help is appreciated - full points will be rewarded
Thanks & regards
Alex
Hi,
I tried to do that....
but we are on SAP_BASIS 701 / 0008 / SAPKB70108
when i start the report I get the message:
MS Word is a default editor now. Please read SAP Note 742662.
hints???
Similar Messages
-
User Exits for Purchase order Header Text Validation
Hi Experts,
I need user exit for validate a Long text in Purchase order header data for a Particular Doc type.
We are using 4.6 B so badi is not available .
So pls tell me user exit for the same or any other method as i was unable to find user exit for this scenario.
Note : This valiadation should trigger whhile creating PO.
Warm Regards
Santosh Kumar
Edited by: Santosh L on Mar 19, 2010 9:58 AMi have used concept of global memory through call stack
-
Table Name for Sales Order Header Text.
Hi.
Whats the Table name for Sales Order Header Text???
Reg,
AmolHi Amol,
please Try to check the below link
http://scn.sap.com/thread/1361272
http://scn.sap.com/thread/416757
https://scn.sap.com/thread/1909247
https://scn.sap.com/thread/811915
Regards,
Gurunath -
Bdc for sales order header text
we need to write a bdc program for va01. In that we need to
upload header text also .
So please kindly tell me how to upload flat file to va01 along with
header text.And how we need to declare the flat file.
if it is not possible through bdc then tell me how to do with bapi.
thank you so much for all the repliesHi,
Using BDC, You can not uplaod sales order header text. You can upload the header text using FM
CREATE_TEXT.
Here giving sample code. This code is written for Material master text. You change this code according to your requirement
REPORT ZMM_INSERT_LONGTEXT.
*Internal table to hold long text...
DATA:
BEGIN OF T_UPLOAD OCCURS 0,
MATNR LIKE MARA-MATNR, " Material number
ID(2) TYPE C, " Identification
LTEXT LIKE TLINE-TDLINE, " Long text
END OF T_UPLOAD,*Internal table to hold long text....
T_LINE LIKE TLINE OCCURS 0 WITH HEADER LINE.DATA:
W_GRUN LIKE THEAD-TDID , " To hold id
W_OBJECT LIKE THEAD-TDOBJECT VALUE 'MATERIAL',
" To hold object id
LV_VALUE(70). " Value to hold material number
START-OF-SELECTION.* This perform is used to upload the file
PERFORM UPLOAD_FILE.* This perform is used to place the text in MM02 transaction
PERFORM PLACE_LONGTEXT.
*& Form create_text
* This routine used to create text in MM02 transaction
* Passed the parameter w_grun to P_C_GRUN
* and lv_value to P_LV_VALUE
FORM CREATE_TEXT USING P_C_GRUN
P_LV_VALUE. DATA:
L_ID LIKE THEAD-TDID,
L_NAME(70). MOVE : P_C_GRUN TO L_ID,
P_LV_VALUE TO L_NAME. CALL FUNCTION 'CREATE_TEXT'
EXPORTING
FID = L_ID
FLANGUAGE = SY-LANGU
FNAME = L_NAME
FOBJECT = W_OBJECT
* SAVE_DIRECT = 'X'
* FFORMAT = '*'
TABLES
FLINES = T_LINE
EXCEPTIONS
NO_INIT = 1
NO_SAVE = 2
OTHERS = 3
IF SY-SUBRC <> 0.
CLEAR LV_VALUE.
ELSE.
DELETE T_LINE INDEX 1.
ENDIF.ENDFORM. " create_text*&---------------------------------------------------------------------*
*& Form upload_file
* This routine is used to upload file
* No interface parameters are passed
FORM UPLOAD_FILE . CALL FUNCTION 'UPLOAD'
EXPORTING
* CODEPAGE = ' '
* FILENAME = ' '
FILETYPE = 'DAT'
* ITEM = ' '
* FILEMASK_MASK = ' '
* FILEMASK_TEXT = ' '
* FILETYPE_NO_CHANGE = ' '
* FILEMASK_ALL = ' '
* FILETYPE_NO_SHOW = ' '
* LINE_EXIT = ' '
* USER_FORM = ' '
* USER_PROG = ' '
* SILENT = 'S'
* IMPORTING
* FILESIZE =
* CANCEL =
* ACT_FILENAME =
* ACT_FILETYPE =
TABLES
DATA_TAB = T_UPLOAD
EXCEPTIONS
CONVERSION_ERROR = 1
INVALID_TABLE_WIDTH = 2
INVALID_TYPE = 3
NO_BATCH = 4
UNKNOWN_ERROR = 5
GUI_REFUSE_FILETRANSFER = 6
OTHERS = 7
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF. SORT T_UPLOAD BY MATNR ID.
ENDFORM. " upload_file
*& Form place_longtext
* This routine places the text in MM02 transaction
* No interface parameters are passed
FORM PLACE_LONGTEXT . LOOP AT T_UPLOAD. T_LINE-TDFORMAT = 'ST'.
T_LINE-TDLINE = T_UPLOAD-LTEXT.
APPEND T_LINE. IF T_UPLOAD-ID EQ 'BT'.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'GRUN' TO W_GRUN. "Test ID for Basic data text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IT'.
CLEAR W_GRUN.
MOVE T_UPLOAD-MATNR TO LV_VALUE.
MOVE 'PRUE' TO W_GRUN. "Test ID for Inspection text
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF. IF T_UPLOAD-ID EQ 'IC'.
CLEAR W_GRUN.
MOVE : T_UPLOAD-MATNR TO LV_VALUE,
'IVER' TO W_GRUN.
"Test ID for Internal comment
PERFORM CREATE_TEXT USING W_GRUN LV_VALUE.
ENDIF.
ENDLOOP.ENDFORM. " place_longtext -
Table for Sales Order Header Text
Hi,
I want Table Name for Sales Data -> Header Text.
Path--
When we open the Sales order, Click on Display Document Header Details --> Here select the Text tab. Here, see the written text in Form Header (1st option).
I want that table Name which contain the Header Text. Because If header text is more than 1 line, where it stores??
Plz. helpHi,
Text data are stored in tables STXH (Header) and STXL(Item).
But you can't find the exact text in these tables as the text are stored in binary form.
You need to use function module READ_TEXT to read any document texts.
Check the link [Use FM READ_TEXT to Read the Various Text|http://www.sap-img.com/abap/use-fm--read-text-to-read-the-various-text.htm] which explains how to use this module to read the text.
Regards, -
Problem in using output type for purchase order
Hi experts,
I am using output type for first time so may be i have done wrong configuration for po output type.The steps i have done are :-
1) Going to tcode NACE->Selected the row u201CEF Purchase Orderu201D and clicked on u201CProcedures".
2) In procedures there are 2 procedures for the application EF (Purchase Order). To proceed further, we would need to find out the procedure that is currently active.Gone to transaction SPRO. In this, navigate as Materials management -> Purchasing ->Messages -> Output control -> Message Determination Schemas ->Define Message Schema for Purchase Order
3) Clicking on u201CAssign Schema to Purchase Orderu201D. So, the procedure RMBEF1 is active for EF (Purchase Order) .
4) Go back to transaction NACE. Select u2018EFu2019 and click on u201COutput typesu201D.
5) Let us use the output type u201CNEU name purchase orderu201D for this purpose. Double-click on NEU.
6) Ensured that the checkboxes u201CAccess to conditionsu201D and u201Cmultiple issuingu201D are checked and the access sequence is 0001(DocType/PurchOrg/Vendor).Only 0001 and 0002 is available in f4 help for this.
7) Now clicked on u201CProcessing Routinesu201D on the left hand side. Ensured that there is an entry for Medium u2018Au2019 (Distribution ALE).
8) After that going back to the main screen of NACE. Select EF (Purchase Order) and clicked on u201CCondition Recordsu201D.
Select NEU and clicked on u201CCondition recordsu201D. The pop-up box appears that gives three radio button option :-
1) Purchasing output determination :purchasing org / vendor for EDI
2) Purchasing output determination :doc. type / purchasing org /vendor
3) Purchasing output determination :document type
but it is not having option only for purchasing organisation through which we can send idoc for changes or creation of PO in that particular pur.org now if i choose 2) i have to give doc type and purchasing org both bcoz they are mandatory fields and value for vendor.
9) Also i have done the necessary ALE configuration (not covered in this document). In the partner profiles, use the message type u201CORDERSu201D and the IDOC type u201CORDERS05u201D.In the tab u201CMessage Controlu201D, used the process codes u201CME10u201D and u201CME11u201D for u201CPO Createu201D and u201CPO Changeu201D respectively.
but the idoc is not generated many times when po is changed and when once it is generated it is giving error
Please suggest solution.
Thanks in advance
nehavtIn me22n in messages tab after looking into processing log it is giving->No recipient found for message type ORDCHG in the
ALE model ,next time giving error as no idoc items belonging to purchasing document found,when i changed message type to ORDCHG the status is green in messages tab it is giving-> error occured while idoc xyz is sent and in WE02 status is red 02
error passing data to port(could not find code page for receiving system) -
Purchase Order Header Text.
Dear all,
We maintain the header text in PO. There are around 10 different text items in the PO header text.
All these 10 text items are nearly same for some vendors( around say 300 vendors) when purchases are made from these vendors.
Please note that it is not for all vendors and not for material vendor combination (Not in Info records) but only vendor specific.
My requirement is that is it possible to configure system so that when i create the PO for any one of 300 vendor system should automatically put/insert those header text items.
i.e. 300 Vendors-----> Common PO Header Text
Regards,
SPHi
Either you can carry out the Process as specified above or.
Create a Z table for the 10 Text Objects & maintain them.
Create another Z table & Maintain the Vendors
Use the Business Add-In (BAdI) ME_PROCESS_PO_CUST , which enables you to extend the business logic of the Enjoy purchase order on an individual basis.
Use the method Process_HEADER
Maintain the Logic of populating the Texts based on the Vendor.
Thanks & Regards
Kishore -
Default text in Purchase Order Header text
Hi,
When i create a PO, only for a specific plant I want a default text description to be captured automatically in the Header Text.
How to get this done?
Please post your inputs.
In case you need any additional info please revert.
Thanks,
Suresh.Hi
Use this BAdi
The Business Add-In (BAdI) ME_PROCESS_PO_CUST enables you to extend the business logic of the Enjoy purchase order on an individual basis.
You can thus influence the dialog transactions ME21N, ME22N, ME23N, and ME29N, and the BAPIs BAPI_PO_CREATE1 and BAPI_PO_CHANGE.
Typical applications for this BAdI include:
Processing of own objects
Processing of additional data on standard objects
Implementation of additional checks and derivations
Change of data in standard fields
Change in field selection
The PROCESS_ITEM method enables you to change the item data and check it for correctness.
Thanks & Regards
Kishore -
Query on Purchase order header texts
Hi everybody,
Can any one please help me on some info regarding hearder texts used in Purchase orders.
I have a requirement like, for one of the header texts in PO like "TERMS OF PAYMENT", if the user inputs a text like "Payment terms" in taht particular header text, a standard text should be called, it can be a 4 to 5 pages standard text..
Did anybody work on this one?
Your help will be certainly appreciated.
Thank yu
Regards
PriyaHi,
Use FM READ_TEXT to get header texts.
* read the several textlines for each text-ID
loop at sel_thead.
clear: tline.
refresh: tline.
call function 'READ_TEXT'
exporting
id = sel_thead-tdid
language = sel_thead-tdspras
name = sel_thead-tdname
object = sel_thead-tdobject
tables
lines = tline
exceptions
others = 1.
if sy-subrc eq 0.
loop at tline.
po_header_texts-po_number = purchaseorder.
po_header_texts-text_id = sel_thead-tdid.
po_header_texts-text_form = tline-tdformat.
po_header_texts-text_line = tline-tdline.
append po_header_texts.
endloop.
endif.
endloop.
Regards,
Raju. -
Purchase order header text in ME21n upgrade from 4.6c to ecc6
We had changed the nomenclature of the header text from SAP standard to the way we required as per our business needs
in Purchase order.
Now we have done technical upgrade form 4.6c to Ecc6.0.However, the nomenclature of the header text is reset to original SAP standard names.
Hence suggest the way to restore as per our business requirement.
Thanks in advance.in other words: you had modified SAP programs.
If you upgrade or apply hotpackages then you have to perform the transaction SPAU, where you define whether you accept SAP changes or keep the modification as is.
It can be that basis just resets all to SAP standard. hence you have to redo your changes. -
Reg Purchase Order Header text
Hi PPL,
I have a requirement where in i need to print the Header text that is maintained in a PO in to the Script form.My requirement is that for a specific combination of a Plant and a Vendor i need to populate the Header text automatically on the PO , once the PO is saved.
I need to know how i can populate the Header text for a particular combination as i mentioned earlier.I ll be grateful for ur advice.
Regards,
Kevin Nick.HI Anji,
Wat u r telling is correct.The requirement for the Text to be printed in to the form ,
we ll use the READ_TEXT with the parameters which u have specified will
be passed to the function module.
Still one part of my question is unanswered in the sense , How do i populate
the text in the PO for a particular combination of Vendor and plant when i save the PO.
The case which you have explained is when we enter the Text manually
in the header , we will be able to read it using 'READ_TEXT' and print it in the form.
Regards,
Kevin Nick. -
Purchase order Header text as mandatory text
Hi,
We would like to set some of the PO header text as mandatory text while creating the PO.
Is there a way to configure this?
thanx
MiriHi
Not possible through configuration.
Last time when I faced with this requirement, I used User exit: EXIT_SAPMM06E_012 of enhancement MM06E005.
You can use BADI ME_PROCESS_PO_CUST to trigger an error message. Need abap developer for this.
Best regards
Ramki -
Use of SAVE_TEXT in customer exits / BADI for purchase order
Hi All,
I am trying to save some long text by using SAVE_TEXT function module in a badi implementation for purchase order header text. The same is working fine if i try to update the PO header text via a report. But if i try using badi (the code is written in a PAI event for the BADI), then though the text transfer and save is successful during the code excution, but for the first time when i add any text its not visible in ME22N tcode. Since its an online event. But when i double click on that editor and the sap script editor gets opened. then i press back button, the text is appearing on the same small screen edtor . after this any number of time i edit or delete text, the save_text function module works fine.
My issue is why for the first time always i have to double click on the editor to open the sap script editor. I have also included commit_text in this case after save_text FM.
the requirement here goes like this. in one tab for PO header the user will enter some number (This is a customizing screen implemented through badi.) and the corresponsing discription should appear when user clicks on text tab in po header screen (me21n / me22n).
Kindly help.
Thanks
MamataHi mamata rath
I have solve the problem which similar to yours. the code which is as the following
DATA: textline TYPE tdline,
name TYPE c LENGTH 70,
glines TYPE TABLE OF tline,
gline LIKE LINE OF glines,
ls_header TYPE thead.
CONCATENATE ch_eban-banfn ch_eban-bnfpo INTO name.
ls_header-tdobject = 'EBAN'.
ls_header-tdname = name.
ls_header-tdid = 'B01'.
ls_header-tdspras = sy-langu.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
* CLIENT = SY-MANDT
header = ls_header
* INSERT = ' '
* SAVEMODE_DIRECT = ' '
* OWNER_SPECIFIED = ' '
* LOCAL_CAT = ' '
* IMPORTING
* FUNCTION =
* NEWHEADER =
tables
lines = glines
EXCEPTIONS
ID = 1
LANGUAGE = 2
NAME = 3
OBJECT = 4
OTHERS = 5
IF sy-subrc = 0.
CALL FUNCTION 'COMMIT_TEXT'
EXPORTING
OBJECT = 'EBAN'
NAME = name
* ID = '*'
* LANGUAGE = '*'
* SAVEMODE_DIRECT = ' '
* KEEP = ' '
* LOCAL_CAT = ' '
* IMPORTING
* COMMIT_COUNT =
* TABLES
* T_OBJECT =
* T_NAME =
* T_ID =
* T_LANGUAGE =
ENDIF. -
How to disbale the Purchase order item texts (Material PO text)
Hi,
In ME22n, i want to disable texts for material at item level . i tried thru SPRO , but it disables header and item level texts.
How can i achieve this ?
Thanx,Hi Khushi,
I think you cannot disable them but you can delete them using T.Code OLME(But it is not suggestible).follow the path Purchase Order>Texts for Purchase Orders>Define Text Types for Item Texts. Here you have to delete.
But why you want to disable any text to be written in PO?
Thanks & Regards,
Rock. -
Update Sale Order Header Text through Enhancement
Hi Experts,
I Have a requirement to update the sale order Header Text , when the sale order is opened in VA02 and saved.
Here in I tried using edit_text, it updates sale order header text directly in DB during run time even before the save action is completed.
But I need to just fill the header text and that has to be saved during the save action only.
I tried coding the same in the user exit (userexit_save_document) but this user exit gets triggered only when there is some changes made to the document when opened in VA02 & Saved.
Is there any user exist to pass sale Order Header text and save when save button is clicked irrespective of the document been changed or not.
Thanks in advance
SathishHi Brad Bohn,
My actual requirement is to trigger an Idoc when the user goes to VA02 transaction and clicks save.
IDoc gets triggered only when there is some changes to that document, that is through NAST table entry based on the output configurations in NACE transaction.
Now that the user wants to trigger an IDoc even if there is no change (ie. to reprocess the IDoc) when he just opens a sale order in VA02 and click save.
It is not possible to trigger an IDoc through configurations when there is no actual change in VA02 and saved.
So it has to be forcefully sent by making some additions to the Order through coding, so I choose that Text box to fill some additional data and save .
Kindly Let me Know any thing could be done for this scenario.
Thanks in advance
Sathish
Maybe you are looking for
-
What is a good screen capture app non root for ios?
I am hoping to find a good non root screen capture app in the app store so i can record game play for clash of clans i've found one for android but not for apple.... Maybe someone could help me out?
-
Create and save a BuilMktAttribute entity in a report?
Hi all, I've to do a mass import of marketing attributes from a flatfile to some business partners. I try to do this using the BOL (see test coding below). All values are submitted to the BOL entity and corresponding to the values of the tables KLAH,
-
I need help with my ichat (version 2.0 I believe)
I have an ibook G4 with Mac 10.3.9. I accidentally deleted my ichat application (version 2.0) I believe and now can't find a download for that, nor can I download the new version 2.1 since there is no 2.0 found in my applications. What can I do? Is t
-
Aperture runs but does nothing when importing, updating vault, emptying trash
I'm new to Aperture but experienced with similar applications (I've made the move from PC to Mac). I downloaded the latest version 3.2.2 on to my new 27" iMac, 2.7Ghz, Lion, 4Gbyte RAM, terabyte HD etc (standard config). I very much like Aperture, ap
-
hi all, can any body tell me the diff between all views projection view ,database view,maintance view,help view plz tell me the difference with a example hope for positive reponse