Item Text additional info

In sales order for a material item text is maintained through material master sales text............now the client wants to add more instructions directly in the sales order ......but the text tab is greyed out  and it includes the text from the material master.........how do i keep the mmaster info and also add new instructions through sales order.
assistance requested.......thanking you for ur time
Regards
Maddy

Hi,
Please ensure you are maintaining your text in the right hand side column.
I dont see any problem there.
Click inside the column where you can see the create, delete, clipboard icons.
Now right click and copy the text that you want to paste and say Insert.
Please follow the instructions correctly.
Reward points for contribution.
Regards
Ravi

Similar Messages

  • PO (Tcode- ME21N)  In Item Text "Material PO text" to be non editable

    Dear All ,
                  We have specific requirment in PO (ME21N). In Item level ther is free text field "Item Texts". In Item texts we have 4 text fields
    (1) Item Text
    (2) Info Record PO text
    (3) Material Po text
    (4) Deivery Text
    As per our configuration in "Material PO text"  Material long description picking from Material master .We want to make this text field Non Editable.
    In SAP there is facility to configure non editable  Texts , But it will non editable all text fields.
    How we can non editable only Material Po text .
    Thanks in Advance.
    Regards
    Abhishek Tiwari

    Hi,
       As of my knowledge, there is no purchase organization specific texts exits. But you may make use of the purchase organization specific text in vendor master. You may define purchase organization specific text for vendor master and then maintain the text in vendor master. You may configure to copy the vendor master text to PO automatically. Refer the doc: Copy Control in MM (Conditions, Fields and Texts): (3rd part)
    Regards,
    AKPT

  • Table for item text in ME23N

    Hi,
          I want to know the table name from which i can fetch the item text which is shown in ME23N transaction.
    Thanks & regards
    RK

    Hi,
    F04 --> Delivery
    F01 --> Item Text
    F02 --> Info rec POText
    F03 --> Material PO Text
    F05 --> Info Record Note
    otherwise check for table TTXID.
    aRs

  • Item text in Purchase Order getting updated with info. record Purchase Order Text

    Hello All,
    I am working in a roll out project and facing issue in text repeating twice for the line item in the Purchase Order for the new company code for which rollout is happening
    Issue:
    Item text in Purchase Order getting updated with info. record Purchase Order Text
    01) PO Text is maintained in the material master under "Purchase Order Text" tab
    02) The PO text that is maintained in material master is getting updated in the Purchase Info. Record
    03) When Purchase Order is created, the "Item Text" gets updated in the Purchase Order automatically only for the new company code for which rollout is happening. when printed, this results in the text getting duplicated twice
    03.1) this behavior is not observed in the Plants/ Company code that is already Live
    Configurations in the system:
    The copying rules for the "Texts for Purchase Orders" is
    Source Object = "Info Record", Source Text="Purchase Order Text", Fix="*"
    We have modified the Purchase Order form to print one of  the condition types maintained for calculating the tax. Other than this there is no change to the plants that are already live.
    I could not locate any "Purchase Organization" / "Company Code" / "Plant specific configuration.
    Am I missing any configuration or where can I look in what is causing this error.
    Request help from the experts in the forum.
    with Regards,
    Dhandapani R

    There is no company/purchasing/plant specific customizing for purchase order text.
    The customizing copying rules for the "Texts for Purchase Orders" affects all equally .
    If the text in the purchase order in ME23N is already filled different to other plants, then you either have a modification in place, or the texts are differently maintained in the referenced data (vendor, material, info record, contract)

  • How to prevent SAP to copy a manually typed Item text from PO into Info rec

    Hi SAP gurus
    Could you guide me the configuration  to prevent SAP to copy a manually typed Item text from PO into Info record PO text,
    Thanks
    Katta

    Charlie,
    I'm having trouble with copying text from Info Record to RFD.
    When in Spro I put the fix indicator at <*> or <N>, the the system does what it should.
    But when I put the fix indicator at < > blank, then no text is copied.
    Is this normal behaviour ?
    regards,
    Francois

  • User exit for change PO (me22n) for  save header and item text.

    Hi Experts,
    I have a requirement to read the header texts/item text  at run time .
    please tell me is there any  save user exit for tc me22n .
    Thanks in Advance.
    Paresh

    Transaction Code - ME21N                    Create Purchase Order
    Exit Name           Description
    LMEDR001            Enhancements to print program
    LMELA002            Adopt batch no. from shipping notification when posting a GR
    LMELA010            Inbound shipping notification: Transfer item data from IDOC
    LMEQR001            User exit for source determination
    LMEXF001            Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001            Customer-Specific Source Determination in Retail
    M06B0001            Role determination for purchase requisition release
    M06B0002            Changes to comm. structure for purchase requisition release
    M06B0003            Number range and document number
    M06B0004            Number range and document number
    M06B0005            Changes to comm. structure for overall release of requisn.
    M06E0004            Changes to communication structure for release purch. doc.
    M06E0005            Role determination for release of purchasing documents
    ME590001            Grouping of requsitions for PO split in ME59
    MEETA001            Define schedule line type (backlog, immed. req., preview)
    MEFLD004            Determine earliest delivery date f. check w. GR (only PO)
    MELAB001            Gen. forecast delivery schedules: Transfer schedule implem.
    MEQUERY1            Enhancement to Document Overview ME21N/ME51N
    MEVME001            WE default quantity calc. and over/ underdelivery tolerance
    MM06E001            User exits for EDI inbound and outbound purchasing documents
    MM06E003            Number range and document number
    MM06E004            Control import data screens in purchase order
    MM06E005            Customer fields in purchasing document
    MM06E007            Change document for requisitions upon conversion into PO
    MM06E008            Monitoring of contr. target value in case of release orders
    MM06E009            Relevant texts for "Texts exist" indicator
    MM06E010            Field selection for vendor address
    MMAL0001            ALE source list distribution: Outbound processing
    MMAL0002            ALE source list distribution: Inbound processing
    MMAL0003            ALE purcasing info record distribution: Outbound processing
    MMAL0004            ALE purchasing info record distribution: Inbound processing
    MMDA0001            Default delivery addresses
    MMFAB001            User exit for generation of release order
    MRFLB001            Control Items for Contract Release Order
    AMPL0001            User subscreen for additional data on AMPL
    No of Exits:         35
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Report for Vendor line item with GL line item text

    Hello SDN,
    We need to add the GL Line item text to a vendor line item report. I don't think adding a GL field is available option in the FBL1N report. Is there a way to display the Vendor name, Vendor number, Open amount and the GL line item text in a report without ABAP invovlement?
    I would really appreciate your help. Thank you.
    Edited by: nsap_fico on Aug 10, 2011 6:29 PM

    Some alternative is in KSB1 (Cost center line item report) - you can change the layout and include offsetting account and its text.
    But, in vendor line item report, if you want vendor number, vendor number, GL account number (offsetting) account and its text, then you should go with abap development.
    Have a look at the following note, if really serves your purpose.
    Note 1504612 - Line items: Offsetting account info (BAdI FI_ITEMS_CH_DATA)

  • Item text at item level of PO

    Hi,
    I have obeserved the material PO text at item level " text tab" of the PO , from where this text comes to PO ? .  I have checked the material master , but it is a different text to that of in PO item text tab . Did it enter by User .
    Please advise.
    Regards,
    Amara

    I hope you trust SAP, if so, then read Note 448814 - FAQ: Texts in purchasing
    Among many many valuabe backgound you can find this:
    In the info record (purchasing-organization data) you can set the "No MText" indicator. What effects does this indicator have?
    Answer:
    Setting this indicator has the following effects:
    When creating a purchasing document: The copying of all texts from the material master is suppressed.
    When printing a purchasing document: the purchase order text from the info record is printed instead of the text from the material master.

  • Item text can't  edit in scheduling agreement.

    Hi ...
    I have one problem in create scheduling agreement.
    When I create standard scheduling agreements , I can edit their item text .
    But if the Item category is K (consignment) , I can't edit item text . The system always show a message -Text changes were transferred.
    Has anyone meet the kind of problem , or that function is restricted by  SAP .
    Hope someone can tell me why or how to solve this problme.
    Thanks a lot.

    Hi,
    i have done ur scenario. It is possible to edit the item text for both item categories : standard and k (consignment). But During creation of scheduling agreement with item category: k , u get the message as " item texts are transferred " and one warning message as " consignment info record does not exist".
    but there is no problem, u can edit the item text for consignment scheduling agreements also. i think there is no settings are required for this.

  • Changing PO item text when material number changed in ME22N

    Hi all,
    I am facing a problem as described below. Please provide me a concrete solution.
    My customer wants me to add a custom item text as Work Authorization Data in ME21N and ME22N. I have created a user exit to implement this requirement. So whenever the user enters a material as a PO Item and saves the PO, my user exit is invoked and the custom data pertaining to that material is displayed as an item text. Later when the user edits the PO and changes the material number from any line item, the system deletes all the item texts corresponding to that line item.
    My problem is, after that when my user exit is invoked, the corresponding text is not getting stored. If I change any other data (like quantity or unit) again and saved, then the text gets saved.
    Can anyone provide me solution to make this item text get saved at the time of  change in material number itself.
    FYI, I am working on SAP R/3 - 4.7 version. If more details are needed then I shall provide them.
    Thanks and regards
    Abdul Shabeer.

    Hi,
    it does not matter if the BADI is already implemented. You can add your additional logic there. If you put break points in all methods of BADI implementation and run ME2xN then you will see when is each method called. You are right that here is no BADI method SET_DATA. What I meant is that you get a reference to PO item (type IF_PURCHASE_ORDER_ITEM_MM) in BADI method PROCESS_ITEM. This interface has to methods GET_DATA and SET_DATA. Using these methods you can get current item fields and change them according to your needs.
    Cheers

  • Update FI item text from PO item text

    Hi all,
                     i am trying to update FI item text(bseg) from PO item text(ekpo).I know that bseg is a culster table therefore inner join is not allow.So is there a way i can join these two tables together so i can retrieve the line item and then i'll do a modify to update into FI item text.I have tried the various codes that are posted within this forum but can never get anything to write:/ out.
                       I've manage to retrieve the various info from PO (ekpo) and also manage to update the FI text field with some random words(but both seperately).What i need now is to create a link between bseg and ekpo.
                       I have attached my coding for better understanding..Thankss
    REPORT  ZSTKLILINTEST3 LINE-SIZE 1023 LINE-COUNT 1023 NO STANDARD PAGE HEADING.
    Table Declaration
    TABLES: ekpo, ekko, bseg, zstkll_1.
    Types Declaration
    TYPES:  BEGIN OF t_bseg,
            ebeln LIKE bseg-ebeln,
            hkont LIKE bseg-hkont,
            END OF t_bseg,
            BEGIN OF t_ekpo,
            ebeln LIKE ekpo-ebeln,
            txz01 LIKE ekpo-txz01,
            bukrs LIKE ekpo-bukrs,
            ebelp LIKE ekpo-ebelp,
            hkont LIKE bseg-hkont,
            END OF t_ekpo.
    Data  Declaration
    *grab data from t_ekpo then append it to zstkcy008
    DATA: ekpo_tab TYPE STANDARD TABLE OF t_ekpo WITH HEADER LINE,
          bseg_tab TYPE STANDARD TABLE OF t_bseg WITH HEADER LINE,
          zstkll_1_tab TYPE STANDARD TABLE OF zstkll_1,
          wa_zstkll_1 LIKE LINE OF zstkll_1_tab.
    Selection-Screen
    SELECT-OPTIONS: s_bukrs FOR ekpo-bukrs,
                    s_ebeln FOR ekpo-ebeln,
                    s_hkont FOR bseg-hkont.
    INITIALIZATION EVENT
    AT SELECTION-SCREEN EVENT
    START-OF-SELECTION
    START-OF-SELECTION.
      SELECT bukrs
      FROM ekpo
      INTO CORRESPONDING FIELDS OF TABLE ekpo_tab
      WHERE bukrs IN s_bukrs.
    IF ekpo_tab[] IS NOT INITIAL.
    SELECT ekkoebeln ebelp bedat txz01 ekkobukrs
    FROM ekpo INNER JOIN ekko
    ON ekpoebeln = ekkoebeln
    INTO CORRESPONDING FIELDS OF TABLE ekpo_tab
    FOR ALL ENTRIES IN ekpo_tab
    WHERE ekko~bukrs = ekpo_tab-bukrs
    AND ekko~ebeln IN s_ebeln.
        WRITE:/ 'Extracted Data:'.
        LOOP AT ekpo_tab.
          MOVE-CORRESPONDING ekpo_tab TO wa_zstkll_1.
          WRITE:/ ekpo_tab-bukrs, ekpo_tab-ebelp, ekpo_tab-txz01, ekpo_tab-ebeln, ekko-ebeln, ekko-bedat.
          AT END OF ebeln.
           APPEND wa_zstkll_1 TO zstkll_1_tab.
          ENDAT.
          CLEAR: wa_zstkll_1, ekpo_tab.
        ENDLOOP.
        SKIP 2.
        TRY.
            CLEAR sy-dbcnt.
    INSERT zstkll_1 FROM TABLE zstkll_1_tab.
          CATCH cx_root.
            WRITE:/ 'Record(s) already exist!'.
        ENDTRY.
        WRITE:/ sy-dbcnt, ' Records are inserted.'.
    ELSE.
    WRITE:/ 'No data Selected.'.
    ENDIF.
    END-OF-SELECTION
    END-OF-SELECTION.
    REPORT  ZSTKLILINTEST13.
    TABLES:bseg.
    DATA:it_bseg LIKE bseg OCCURS 0 WITH HEADER LINE.
    PARAMETERS:p_belnr LIKE bseg-belnr,
               p_bukrs LIKE bseg-bukrs,
               p_gjahr LIKE bseg-gjahr.
    START-OF-SELECTION.
    SELECT * FROM bseg INTO TABLE it_bseg WHERE belnr = p_belnr AND bukrs = p_bukrs AND gjahr = p_gjahr.
    MOVE 'IF THIS APPEAR UPDATE IS SUCCESSFUL' TO it_bseg-sgtxt.
    MODIFY it_bseg FROM it_bseg TRANSPORTING sgtxt where belnr = p_belnr AND bukrs = p_bukrs AND gjahr = p_gjahr.
    LOOP AT it_bseg.
    WRITE:/3 it_bseg-belnr, it_bseg-gjahr, it_bseg-sgtxt.
    ENDLOOP.
    MODIFY bseg FROM TABLE it_bseg.
    COMMIT WORK.
    IF sy-subrc EQ 0.
    WRITE:/3 'BSEG TABLE UPDATED SUCCESSFULLY WITH TEXT'.
    ENDIF.

    self solved

  • How to configure the delivery item text is required text

    Dear All,
            I have issues about delivery item text.  I would like to know how configure to delivery item text is required text (if not enter the text then cannot save delivery and show error message).
           In configuration about delivery text in text control. I configure the delivery item text is (text is obligatory) but the delivery item is only show at incompletion log but not requried field.
           In configuration about incompletion control for deliveries. No table and field is about delivery item text. I trial to enter PTEX(item texts) in field: Screen for creating missing data. The result can detect missing delivery item text but cannot specific delivery item text. If I enter other item text then the delivery can be saved. In additional, when I open screen delivery item text and not enter the delivery item text, the delivery can be saved.   These are incorrect. I would like to check the delivery item text is required text.
           Please suggest me how to solve this issue. Thank you very much. 
    Best Regards,
    Lek Lexus

    the

  • Line item text field from MIGO are not copied into FI line item text field

    Hi all on SCN, please, I need a help.
    It was created as required by the user a field status group with the text field required.
    This field status group was assigned to some accounts, in order to make my unit tests.
    u2003
    In development envirionment was made some tests directly in FI area, and it works properly.
    u2003
    But the user made a test using MIGO transaction, choosing in this transaction an account that he changed its field status variant to the one created in development environment, that make the text fiels required. So, to start, he donu2019t fill the text item of MIGO, and a message error appear stating that he needs to enter values in this field.
    After fill in the text fiels, he can save his work.
    u2003
    But the FI document generated donu2019t receive the line item text typed in MIGO, but receives the values on Reference document and Document Header text entered in the header of MIGO, what is missing, donu2019t is automatically copied MIGO text line items to FI documents line Items, does there is some additional configuration missing?
    Hope someone help me with this issues.
    Thanks in advanced!

    Hi,
    Material document will get updated in reference field in FI by default.  If for any reason, want to get this updated in text field, you need to define a subsititution in GGB1.
    Best Regards,
    Madhu

  • How to align the item text in the combobox vertically centred after increasing the height of the combobox in mfc?

    I want to make the item text of the combobox to  be aligned vertically(Centred) . Actually I increased the height 
    of the combobox and after the increasing the combobox height, the text is not centred vertically.The code
    snippet for increasing the height is as follows,
    m_SpecifyCombo.SetItemHeight(-1,20);//CCombobox m_SpecifyCombo
    After increasing the height the text in the combobox is not in the centre as shown in the below image,
    But I want the text to be centred as shown in the below image.
    Code snippet for owner drawn combobox:
    #if !defined(AFX_CUSTCOMBOBOX_H__F8528B4F_396E_11D1_9384_00A0248F6145__INCLUDED_)
    #define AFX_CUSTCOMBOBOX_H__F8528B4F_396E_11D1_9384_00A0248F6145__INCLUDED_
    #if _MSC_VER >= 1000
    #pragma once
    #endif // _MSC_VER >= 1000
    typedef enum {FONTS} STYLE; //Why have I enumerated, Cos, Maybe I might want something other than Fonts here
    class COwnerDrawCombo : public CComboBox
    // Construction
    public:
    COwnerDrawCombo();
    COwnerDrawCombo (STYLE);
    // Attributes
    public:
    void SetHilightColors (COLORREF hilight,COLORREF hilightText)
    m_clrHilight = hilight;
    m_clrHilightText = hilightText;
    void SetNormalColors (COLORREF clrBkgnd,COLORREF clrText)
    m_clrNormalText = clrText;
    m_clrBkgnd = clrBkgnd;
    static BOOL CALLBACK EnumFontProc (LPLOGFONT lplf, LPTEXTMETRIC lptm, DWORD dwType, LPARAM lpData);
    void FillFonts ();
    int GetSelFont (LOGFONT&);
    // Operations
    public:
    // Overrides
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CCustComboBox)
    public:
    virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
    virtual void MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct);
    protected:
    virtual void PreSubclassWindow();
    //}}AFX_VIRTUAL
    // Implementation
    public:
    virtual ~COwnerDrawCombo();
    // Generated message map functions
    protected:
    STYLE m_enStyle;
    COLORREF m_clrHilight;
    COLORREF m_clrNormalText;
    COLORREF m_clrHilightText;
    COLORREF m_clrBkgnd;
    BOOL m_bInitOver;
    void DrawDefault (LPDRAWITEMSTRUCT);
    void DrawFont(LPDRAWITEMSTRUCT);
    void InitFonts ();
    //{{AFX_MSG(CCustComboBox)
    afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
    afx_msg void OnDestroy();
    //}}AFX_MSG
    afx_msg long OnInitFonts (WPARAM, LPARAM);
    DECLARE_MESSAGE_MAP()
    //{{AFX_INSERT_LOCATION}}
    // Microsoft Developer Studio will insert additional declarations immediately before the previous line.
    #endif //!defined(AFX_CUSTCOMBOBOX_H__F8528B4F_396E_11D1_9384_00A0248F6145__INCLUDED_)
    // OwnerDrawCombo.cpp : implementation file
    #include "stdafx.h"
    #include "combobox.h"
    #include "OwnerDrawCombo.h"
    #ifdef _DEBUG
    #define new DEBUG_NEW
    #undef THIS_FILE
    static char THIS_FILE[] = __FILE__;
    #endif
    #define WM_INITFONTS (WM_USER + 123)
    //I chose 123 cos nobody might use the same exact number.. I can improve this by use RegisterWindowMessage..
    // COwnerDrawCombo
    //Initial values of the text and highlight stuff
    COwnerDrawCombo::COwnerDrawCombo()
    m_enStyle = FONTS;
    m_clrHilight = GetSysColor (COLOR_HIGHLIGHT);
    m_clrNormalText = GetSysColor (COLOR_WINDOWTEXT);
    m_clrHilightText = GetSysColor (COLOR_HIGHLIGHTTEXT);
    m_clrBkgnd = GetSysColor (COLOR_WINDOW);
    m_bInitOver = FALSE;
    COwnerDrawCombo::COwnerDrawCombo (STYLE enStyle)
    m_enStyle = enStyle;
    m_clrHilight = GetSysColor (COLOR_HIGHLIGHT);
    m_clrNormalText = GetSysColor (COLOR_WINDOWTEXT);
    m_clrHilightText = GetSysColor (COLOR_HIGHLIGHTTEXT);
    m_clrBkgnd = GetSysColor (COLOR_WINDOW);
    m_bInitOver =FALSE;
    COwnerDrawCombo::~COwnerDrawCombo()
    BEGIN_MESSAGE_MAP(COwnerDrawCombo, CComboBox)
    //{{AFX_MSG_MAP(COwnerDrawCombo)
    ON_WM_CREATE()
    ON_WM_DESTROY()
    //}}AFX_MSG_MAP
    ON_MESSAGE (WM_INITFONTS,OnInitFonts)
    END_MESSAGE_MAP()
    // COwnerDrawCombo message handlers
    void COwnerDrawCombo::DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct)
    //I might want to add something else someday
    switch (m_enStyle)
    case FONTS:
    DrawFont(lpDrawItemStruct);
    break;
    //I dont need the MeasureItem to do anything. Whatever the system says, it stays
    void COwnerDrawCombo::MeasureItem(LPMEASUREITEMSTRUCT lpMeasureItemStruct)
    void COwnerDrawCombo::DrawFont(LPDRAWITEMSTRUCT lpDIS)
    CDC* pDC = CDC::FromHandle(lpDIS->hDC);
    CRect rect;
    TRACE0 ("In Draw Font\n");
    // draw the colored rectangle portion
    rect.CopyRect(&lpDIS->rcItem);
    pDC->SetBkMode( TRANSPARENT );
    if (lpDIS->itemState & ODS_SELECTED)
    pDC->FillSolidRect (rect,m_clrHilight);
    pDC->SetTextColor (m_clrHilightText);
    else
    pDC->FillSolidRect (rect,m_clrBkgnd);
    pDC->SetTextColor (m_clrNormalText);
    if ((int)(lpDIS->itemID) < 0) // Well its negetive so no need to draw text
    else
    CString strText;
    GetLBText (lpDIS->itemID,strText);
    CFont newFont;
    CFont *pOldFont;
    ((LOGFONT*)lpDIS->itemData)->lfHeight = 90; //9 point size
    ((LOGFONT*)lpDIS->itemData)->lfWidth = 0;
    newFont.CreatePointFontIndirect ((LOGFONT*)lpDIS->itemData);
    pOldFont = pDC->SelectObject (&newFont);
    pDC->DrawText(strText, rect, DT_LEFT | DT_VCENTER | DT_SINGLELINE);
    pDC->SelectObject (pOldFont);
    newFont.DeleteObject ();
    void COwnerDrawCombo::InitFonts ()
    CDC *pDC = GetDC ();
    ResetContent (); //Delete whatever is there
    EnumFonts (pDC->GetSafeHdc(),NULL,(FONTENUMPROC) EnumFontProc,(LPARAM)this);//Enumerate
    m_bInitOver = TRUE;
    BOOL CALLBACK COwnerDrawCombo::EnumFontProc (LPLOGFONT lplf, LPTEXTMETRIC lptm, DWORD dwType, LPARAM lpData)
    if (dwType == TRUETYPE_FONTTYPE) //Add only TTF fellows, If you want you can change it to check for others
    int index = ((COwnerDrawCombo *) lpData)->AddString(lplf->lfFaceName);
    LPLOGFONT lpLF;
    lpLF = new LOGFONT;
    CopyMemory ((PVOID) lpLF,(CONST VOID *) lplf,sizeof (LOGFONT));
    ((COwnerDrawCombo *) lpData)->SetItemData (index,(DWORD) lpLF);
    return TRUE;
    int COwnerDrawCombo::OnCreate(LPCREATESTRUCT lpCreateStruct)
    if (CComboBox::OnCreate(lpCreateStruct) == -1)
    return -1;
    // TODO: Add your specialized creation code here
    if (m_enStyle == FONTS)
    //SetItemHeight(-1,30);
    PostMessage (WM_INITFONTS,0,0);
    return 0;
    long COwnerDrawCombo::OnInitFonts (WPARAM, LPARAM)
    InitFonts ();
    return 0L;
    void COwnerDrawCombo::OnDestroy()
    if (m_enStyle == FONTS)
    int nCount;
    nCount = GetCount ();
    for (int i = 0; i < nCount; i++)
    delete ((LOGFONT*)GetItemData (i)); //delete the LOGFONTS actually created..
    // TODO: Add your message handler code here
    CComboBox::OnDestroy();
    void COwnerDrawCombo::FillFonts ()
    m_enStyle = FONTS;
    PostMessage (WM_INITFONTS,0,0); //Process in one place
    int COwnerDrawCombo::GetSelFont (LOGFONT& lf)
    int index = GetCurSel ();
    if (index == LB_ERR)
    return LB_ERR;
    LPLOGFONT lpLF = (LPLOGFONT) GetItemData (index);
    CopyMemory ((PVOID)&lf, (CONST VOID *) lpLF, sizeof (LOGFONT));
    return index; //return the index here.. Maybe the user needs it:-)
    void COwnerDrawCombo::PreSubclassWindow()
    // TODO: Add your specialized code here and/or call the base class
    //Tried to do what Roger Onslow did for the button.. Did not work..?? Any R&D guys around :-)
    Can anyone please let me know how can I achieve this.
    Any help can be appreciated.
    Thanks in advance
    SivaV

    Hi sivavuyyuru,
    I cannot find a easy way to make this.
    I think you may need to draw your own Combo Box control. And you could change the edit control more like static text. Check the article:
    http://www.codeguru.com/cpp/controls/combobox/fontselectioncombos/article.php/c1795/Owner-Drawn-Font-Selection-Combobox.htm
    In the resource editor, Owner draw -> variable , Has string->true, type->drop list.
    The result:
    Best regards,
    Shu Hu
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 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

Maybe you are looking for