Purchase order item text and material valuation class

Dear Experts,
A purchase order item text needs to be maintained for a particular material valuation class when the PO is created, is there anyway that this can be customized?

Hi,
Maintained Text in Material master record
patah:Goto material mater change view,select plant view, then go to puchase order text there u
can maitain material text. same text is automatically comes while creating Purchase order.
regards,
Ali

Similar Messages

  • Display 'item text' and 'material PO text' in a purchase order ?

    hello,
    i am creating a purchase order and i have inputted the 'item text' and 'material PO text' in the ITEM TEXT of the ITEM DETAILS section. I have a smart forms where i am displaying the purchase order by displaying fields from various tables like ekko,ekpo,t024,eket etc ..
    I want ti display the 'item text' and the 'material PO text' on the smartform but i cant find the table or the fields which keep these values(text) ??
    help me on this one ? thanks for yur time...

    c the example below:
    PERFORM read_text USING g_transp 'Z010'.
    FORM read_text USING l_text l_id.
      DATA : lt_text TYPE TABLE OF tline WITH HEADER LINE.
      DATA : l_name LIKE thead-tdname.
      CLEAR l_name.
      l_name = g_delivery.
      CLEAR lt_text.
      REFRESH lt_text.
      CALL FUNCTION 'READ_TEXT'
        EXPORTING
      CLIENT                        = SY-MANDT
          id                            = l_id
          language                      = sy-langu
          name                          = l_name
          object                        = 'VBBK'
        TABLES
          lines                         = lt_text
       EXCEPTIONS
         id                            = 1
         language                      = 2
         name                          = 3
         not_found                     = 4
         object                        = 5
         reference_check               = 6
         wrong_access_to_archive       = 7
         OTHERS                        = 8
      IF sy-subrc <> 0.
       MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
               WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
      CLEAR l_text.
      LOOP AT lt_text.
        CONCATENATE l_text lt_text-tdline INTO l_text.
      ENDLOOP.
    ENDFORM.                    "read_text

  • Class for Purchase order item components and Production order components

    I'm looking for a some classes.   I'm very new to objects, so I could be searching for them incorrectly.
    The first class I'm looking for is a purchase order class that contains the item components.  I've looked at CL_PO_ITEM_HANDLE_MM and CL_PO_HEADER_HANDLE_MM.  I couldn't find components as a part of either of the classes.
    The second one I'm looking for is not as critical.  It is for the components for a production order.   I have a function module: BAPI_PRODORD_GET_DETAIL that gets the components for the order.  However, to take advantage of objects - I read somewhere - that if possible I should avoid calling a function module.
    Any help that you could give would be greatly appreciated.
    Thank you!
    Michelle

    Hello Michelle
    I do not think there are already classes available on ERP 6.0 for reading production order (yet I might be wrong...). However, regarding purchase order you are already on the right track.
    *& Report  ZUS_SDN_OO_READ_PO
    *& Thread: Class for Purchase order item components and Production order components
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1206523"></a>
    "& NOTE: Coding adapted from BAPI_PO_GETDETAIL1
    REPORT  zus_sdn_oo_read_po.
    TYPE-POOLS: abap, mmpur.
    PARAMETER:
      p_ebeln   TYPE ebeln  DEFAULT '3000000045'.
    DATA: gs_document    TYPE mepo_document,
          go_po          TYPE REF TO cl_po_header_handle_mm,
          gs_header      TYPE mepoheader,
          gd_tcode       TYPE sy-tcode,
          gd_result      TYPE mmpur_bool.
    data: gt_items       type PURCHASE_ORDER_ITEMS,
          gs_itm         type PURCHASE_ORDER_ITEM,
          gs_item        type mepoitem.
    START-OF-SELECTION.
    *  prepare creation of PO instance
      gs_document-doc_type    = 'F'.
      gs_document-process     = mmpur_po_process.
      gs_document-trtyp       = 'A'.  " anz.  => display
      gs_document-doc_key(10) = p_ebeln.
    *  object creation and initialization
    **  l_ebeln = purchaseorder.
      CREATE OBJECT go_po.
      CALL METHOD go_po->po_initialize( im_document = gs_document ).
      CALL METHOD go_po->set_po_number( im_po_number = p_ebeln ).
      CALL METHOD go_po->set_state( cl_po_header_handle_mm=>c_available ).
    *  read purchase order from database
      gd_tcode = 'ME23N'.
      CALL METHOD go_po->po_read
        EXPORTING
          im_tcode     = gd_tcode
          im_trtyp     = gs_document-trtyp
          im_aktyp     = gs_document-trtyp
          im_po_number = p_ebeln
          im_document  = gs_document
        IMPORTING
          ex_result    = gd_result.
    *  there was a problem in reading the PO
      IF ( gd_result EQ mmpur_no ).
    **    l_messages = l_handler->get_list_for_bapi( ).
    **    PERFORM return TABLES l_messages return
    **                          poitem poschedule poaccount.
    **    CALL METHOD l_po->po_close( ).
      ELSE.
        gs_header = go_po->if_purchase_order_mm~get_data( ).
        WRITE: / gs_header-ebeln,
                 gs_header-bukrs,
                 gs_header-bsart,
                 gs_header-lifnr.
      ENDIF.
      gt_items = go_po->if_purchase_order_mm~get_items( ).
      LOOP AT gt_items INTO gs_itm.
        gs_item = gs_itm-item->get_data( ).
        write: / gs_item-ebelp,
                 gs_item-matnr,
                 gs_item-menge.
      ENDLOOP.
    END-OF-SELECTION.
    Regards
      Uwe

  • Issue at Purchase order Item Text Transferring

    Hello,
    I have an issue with Purchase order Item text transferring from SAP R/3 to EDI.
    Here I am using Function Module - IDOC_OUTPUT_ORDERS.
    within the function module i have user exit to populate this.
    User Exit Name : EXIT_SAPLEINM_002
    Include name : ZXM06U02
    I need to populate data manually ( Hardcode ) for E1EDPT1 is 'LINK'.
                                                     and    E1EDPT2 is " some text".
    When I write the code at user exit ,it is populating so many time Link Field.
    However i need to get only one time for each Item of Purchase order.
    and also I have one more question as per SAP Standard Purchase order each item has :
    1. Item text
    2. Info record PO Text
    3. Material PO Text
    4. Delivery Text
    5. Info Record Note
    when Create PO and it created Idoc ,even when i fill all the text ,when i see data at WE02 ,it has only few text not all.
    Please give me advice ,how should i follow.
    Thanks
    Seshu
    Issue at Purchase order Item Text Transferring

    Hi,
    Do this check before adding the text..
    IF INT_EDIDD-SEGNAM = 'E1EDPT1'.
    add the text..
    ENDIF.
    Thanks,
    Naren

  • PO line item text and material po text

    Hi,
    I want to fetch the text maintained at item po level and print the same with form..
    I am passing following parameters in my Include text in smartforms..
    Text name         &VAR6& ..... concatenated po number and item
                            ( 4700000011 + 00010) = 470000001100010
    Text object       EKKO
    Text ID             F01
    Language          EN
    but its failing to fetch the same....I guess the problem is with var6 value...not sure
    also for material po text i m passing
    Text name         &G_ZEKPO-MATNR&  ..
    Text object       MATERIAL
    Text ID           BEST
    Language          EN
    This is also failing.....
    In both cases text is maintained...  what is the problem??
    Pls help..

    See this sample code
    ABAP READ_TEXT functions to read the SAP Long Text
    You have to used the READ_TEXT functions to read the SAP long text. e.g. Sales Order, Purchase Order Item text etc.
    To check your long text header, go into the long text. Click Goto -> Header
    Example of READ_TEXT functions reading tables PBIM - Independent requirements for material.
    REPORT ZTEXT .
    TABLES: PBIM.
    stxh, stxl, stxb - trans tables for text
    ttxit - text on text-ids
    ttxot - Short texts on text objects
    Transaction MD63
    SELECT-OPTIONS: S_MATNR FOR PBIM-MATNR,
                    S_WERKS FOR PBIM-WERKS.
    DATA: BEGIN OF HTEXT.
            INCLUDE STRUCTURE THEAD.
    DATA: END OF HTEXT.
    DATA: BEGIN OF LTEXT OCCURS 50.
            INCLUDE STRUCTURE TLINE.
    DATA: END OF LTEXT.
    DATA: BEGIN OF DTEXT OCCURS 50.
    DATA:   MATNR LIKE PBIM-MATNR.
            INCLUDE STRUCTURE TLINE.
    DATA: END OF DTEXT.
    DATA: TNAME LIKE THEAD-TDNAME.
    SELECT * FROM PBIM WHERE WERKS IN S_WERKS.
      MOVE PBIM-BDZEI TO TNAME.
      CALL FUNCTION <b>'READ_TEXT'</b>
           EXPORTING
              CLIENT                  = SY-MANDT
              ID                      = 'PB'
              LANGUAGE                = 'E'
              NAME                    = TNAME
              OBJECT                  = 'PBPT'
            ARCHIVE_HANDLE          = 0
         IMPORTING
              HEADER                  = HTEXT
         TABLES
              LINES                   = LTEXT
         EXCEPTIONS
              ID                      = 1
              LANGUAGE                = 2
              NAME                    = 3
              NOT_FOUND               = 4
              OBJECT                  = 5
              REFERENCE_CHECK         = 6
              WRONG_ACCESS_TO_ARCHIVE = 7
              OTHERS                  = 8.
      LOOP AT LTEXT.
        IF LTEXT-TDLINE NE ''.
          MOVE LTEXT-TDLINE TO DTEXT-TDLINE.
          MOVE PBIM-MATNR TO DTEXT-MATNR.
          APPEND DTEXT.
        ENDIF.
      ENDLOOP.
    ENDSELECT.
    LOOP AT DTEXT.
      WRITE:/ DTEXT-MATNR, DTEXT-TDLINE.
    ENDLOOP.
    http://www.sapdevelopment.co.uk/sapscript/sapscript_texts.htm
    Also
    *Internal table to store standard texts
    DATA: IT_TEXTS like T_LINE occurs o with header line.
    CALL FUNCTION 'READ_TEXT'
         EXPORTING
            CLIENT                  = SY-MANDT
              id                      =       "Text ID
              language                =       "Laguage
              name                    =       "Text name
              object                  =       "text object
            ARCHIVE_HANDLE          = 0
       IMPORTING
            HEADER                  =
         tables
              lines                   = IT_TEXTS   "Internal table
       EXCEPTIONS
            ID                      = 1
            LANGUAGE                = 2
            NAME                    = 3
            NOT_FOUND               = 4
            OBJECT                  = 5
            REFERENCE_CHECK         = 6
            WRONG_ACCESS_TO_ARCHIVE = 7
            OTHERS                  = 8
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Purchase orders item texts incorrect display

    Hi everyone,
    i am having a bit of a hard time solving an incorrect display of purchase orders item texts.
    For an unknown reason, i can't manage to modify the item's text of a purchase order, it's as it has been set on "display".
    I checked AKTH, ME21,ME21N and PT0F( the item i use) on spro :
    Materials Management=>Purchasing =>Purchase Order= > Define Screen Layout at Document Level =>  Reference data item for the texts and it's always set on Optionnal Entry.
    I even tried to set them on Requested Entry but i didn't manage to get the text-item field modified.
    Any kind of help would be appreciated.
    Thanks.
    Siidou

    Yes i did, thanks.
    I found the answer: when the item-text is set on Requested Entry, sap considers it as if it was set on dispalay.
    I set the item text in AKTH, ME21,ME21N and PT0F on OPptional entry and i can modify it again.

  • 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.

  • Purchase order item(2lis_02_itm) and 0PUR_O01  transformation

    Hello,
    I'm trying to populate  DSO 0PUR_O01 with  standard DS 2LIS_02_ITM Purchase Order Items
    The mappings are not copied after BCT installation. so i have  trouble in mappings some of the  keyfigures of 0PUR_O01 with the extractor fields. It's confusing.
    I did try to check rsosfieldmap for the datasource but failed to display any data for 2LIS_02_ITM. There are no entries in the table foe this DS.
    0PDLV_QTY Actual Quantity Delivered
    0PREQU_QTY Desired Delivery Quantity
    0PCONF_QTY Confirmed Quantity
    0PDVQLECR Quantity Delivered Late Acc. to Requested Delivery Date
    0PDVQEYSC Quantity Delivered Early According to Schedule Line Date
    0PDVQLESC Quantity Delivered Late According to Schedule Line Date
    0PQCOASREQ Quantity Confirmed as Requested
    0LOWR_BND Tolerance Limit for Under Delivery in %
    0UPPR_BND Tolerance Limit for Over Delivery in %
    Please suggest how to go ahead with the mappings ..

    Hello Raj,
    What ur following 3.5 or 7.0...?
    In 7 there are less chances for mapping after BCT installation, you have to do manually mapping in some cases. You can also face some problem of copying routine. So need to see each and every field accordingly.
    Best practice is to install in 3.5 and then migrate to 7 with appropriate steps.
    Thanks,
    Santosh

  • Purchase Order Item Text

    Hi..
    I need to have an report similar to the Output as in the ME2l ( Purchasing Documents per Vendor ) along with a field ( Long Item Text Field in the PO)
    added to the report. I am not sure how i should proceed further...
    Can anyone of please guide me how to proceed further...
    Thanks
    Balaji

    Hi Anji...
    Thanks for the Logic.  As you said i went into the Goto --Header  and i got  the below info.
    Text name       950001604400001                          
    Language        ES                                       
    Text ID         F01  Item text                           
    Text object     EKPO       Purchasing doc. item texts    
    Now this info has to be passed on to the Functional Module READ_TEXT.
    and the text obtained should be plugged in the Loop of EKPO Internal table.
    Can you say me how to look at the Internal Table of the Std Report ( ME2L)..
    Thanks for the support ..
    Regards
    Balaji

  • Purchase Order item text not present in accounting documents after MIGO

    Hello all,
    in ECC 5.0 I create a PO using ME21N. Afterwards the GR is done with MIGO.
    For the moment the PO item text is not transferred to the FI documents. The field BESEG-SGTXT is empty. Is there a possibility to copy the text during GR from the PO item to SGTXT?
    In fact I am looking for a customizing path and not a User Exit.
    Thanks and regards
    AD

    Hi,
    You can fill the field header text on the 'Details' tab
    (This is field INVFO-BKTXT) and this field will be copied into
    the FI document fields BSEG-SGTXT for the vendor line and BKPF-BKTXT.
    You can fill directly the field SGTXT for the account lines ( if you
    post directly to an account) and for the purchase order lines."
    Also please review attached notes.
    453027     MIRO: Segment text for vendor line
    366412     MIRO: Enhancement LMR1M004 item text
    MIRO and the FI Enjoy transactions were designed seperately to meet the
    needs of their respective components - FI and MM. As they were not
    designed in conjunction, there are differences in their functionality.
    Not all information in one component will be updated in the other.
    Best Regards,
    Arminda
    Please also review attached note 42615 as this explains how settings
    in transaction ob14/ob41 effect the field INVFO-SGTXT in Miro.

  • Purchase Order Item text in Workflow

    Dear All.
    In my workflow i am using a single "Send Mail" Step.
    The notification mail is getting triggered when Purchase Order is created.
    My requirement is in the mail "main body" i want to display the items of the Purchase Order.
    Kindly adivce me what to do.
    Rahul.

    Hello,
    There are lot of variables at the item level. Inspite of this you can call Display method of BO Bus2012. Else if you want to sent at the mail step itself then create a background step, fetch all the variables at item level and mentioned the same in mail step.
    Regards.

  • Purchase order item text version management is not creating.

    Dear sap professionals,
    I have an issue in item text as per customer need I created item text type as drawing number, the problem is when ever an user change drawing number review in text area system should create new version number,  but in present case instead of creating new version number the data is updating in existed version number.
    Same time I am not able to trace field name and table used for this specific drawing number type, do I need to do any new configuration for that or I missed any  thing in this process.
    Did any one experienced same issue?
    With Regards,
    Ranganath

    ranganath.kakarla wrote:
    Dear sap professionals,
    >
    > I have an issue in item text as per customer need I created item text type as drawing number, the problem is when ever an user change drawing number review in text area system should create new version number,  but in present case instead of creating new version number the data is updating in existed version number.
    > Same time I am not able to trace field name and table used for this specific drawing number type, do I need to do any new configuration for that or I missed any  thing in this process.
    > Did any one experienced same issue?
    >
    > With Regards,
    > Ranganath
    Hi,
    path:mm-purchasing-version management-Set Up Version Management for External Purchasing Documents
    Doc.cat will be F means po, Doc type will be NB & p.org of ur client
    in control data active both version acrive & version 0 ok.
    in field selection reason, shorttext& requestor is required option & save
    give the reason for ur inputs
    in Set Up Change Displays category willbe f for all doc types
    Regards
    Raj.

  • How to replace special characters in Purchase order item text in ECC 6.0

    Hi All,
    Now i am working in ECC environment.
    I am unable to replace the special characters in the PO short text for example take the following text.
    Job#Burst Fire 3930-00092#Heater Control
    here i want to replace # symbol with space.
    i used  replace all occurences, find , transfer, overlay keywords to replace thta special characte but it is not replacing that character.
    i used replace_string FM also.it is also not working.
    please help me out in this. points will be rewarded.

    Hi Praveena,
    what replacement(s) did you try?
    Please
    replace all occurrences of
    CL_ABAP_CHAR_UTILITIES=>newline
    CL_ABAP_CHAR_UTILITIES=>cr_lf
    CL_ABAP_CHAR_UTILITIES=>form_feed
    CL_ABAP_CHAR_UTILITIES=>horizontal_tab
    CL_ABAP_CHAR_UTILITIES=>vertical_tab
    CL_ABAP_CHAR_UTILITIES=>backspace
    CL_ABAP_CHAR_UTILITIES=>minchar
    CL_ABAP_CHAR_UTILITIES=>maxchar
    minchar is HEX u201900u2018 in non-Unicode systems, U+0000 in Unicode systems
    maxchar is HEX  Xu2018FFu2018 in non-Unicode systems, U+FFFD in Unicode systems
    If it still does not help, check the remaining # characters in debugger, switching to hex mode: Then you may see what it is.
    Regards,
    Clemens

  • Issue with purchase order item

    Hi Guys,
    When entering or changing an order in SAP via VA01/VA02, the system will not allow the entry of leading zeros in the Purchase Order Item (VBAP_POSEX) field which is defined as character 6. Leading zeros can be entered in the Customer Material (VBAP_KDMAT) which is also defined as character. Some customer PO Item numbers begin with leading zeros and they want to see them on output. Does SAP have an OSS note for this?  any helpful suggestion would be well appreciated.
    Thanks!
    Edited by: MK18774 on Oct 5, 2009 9:57 PM

    there is a include FV45PF0V_VBAP-POSEX_PRUEFEN
    that checks PO number and item number .... with your own EKPO (purchase order item) table.
    and this include has as well the routines to convert the number: CONVERSION_EXIT_ALPHA_INPUT

  • 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???

Maybe you are looking for