Addition of new tab (reasons) on me21n (item level)

Hi friends,
My requirement is to add the new tab reasons on item level me21n.
This will be maintained in :
spro->material management -> purchasing -> purchase order ->define order for reasoning.
So Iam using ME_GUI_PO_CUST &  ME_PROCESS_PO_CUST badi,s .
Here on this tab reasons , declaring a field as : reasons for ordering.
Can u please explain the coding what to write in this badis such that user will input and save the po.
points to be rewarded .
prasad.

Hi Prasad,
In General, if it is already used for another project, you deactivate that project and you implement new project by using that exit.
Procedure:
1.You have to create a field in the Custom Include of standard table, after creating activate it.
2.Double click on the include then you can add your custom field here.
Find out the Required Enhancements:
1.Go to SMOD. Press F4 in the Enhancement field. In the next popup window, click pushbutton u2018Information systemu2019.
2.Then mention the particular package name of the transaction you need to enhance. Then you will be shown the list of Enhancement components for that particular package.
3.Note down the enhancements. Then, come to the initial screen of SMOD and view the documentation of each enhancement to find out which one is required for your development.
MM06E005 is the Enhancement component we are using here.
Development
Creating a Project to include the enhancement:
1.Go to transaction CMOD and create a project.
2.Enter a description for the project.
3.Then, click on the pushbutton u2018Enhancement Assignmentsu2019 in the Application Toolbar.
4.Click on the components in Application Toolbar.
5.Here you will be shown the function module exits, screen exits and Include tables.
6.Click on the custom screen SAPLXMO6 u2013 0101 in which it suits the requirement of adding the custom field to the layout.
7.Click on layout and go to get from dictionary and select the field you need to add and click ok.
8.Place the field in the layout and activate it.
Then you can see your subscreen created on the particular transaction.
Reward points if it helps you.
Cheers,
Swamy Kunche

Similar Messages

  • Addition of new tab in header and item screen of MIGO - Steps required.

    Hi Gurus,
    Can anyone give me the exact steps to add screen tab in migo transaction. I have the badi MB_MIGO_BADI to add the new tab but I want to know what are the exact steps to implement it.
    Thanks,
    Shibashis

    Hi,
      Try this.
    1. Create one screen as subscreen in tcode se51.
    2. Create implementation for badi.
    3. if u want to add this tab at header level, then go inside PBO_HEADER interface of badi.  and write this code.
    check i_class_id  = gf_class_id.
    e_cprog = text-001.    " Program name of screen
    e_dynnr = text-002.    " screen No.
    e_heading = text-003. " Name of the tab.
    clear  :e_cprog ,e_dynnr ,e_heading.
    endif.
    4. In INIT  inter face write this.
    append gf_class_id to ct_init.
    5. GF_CLASS_ID , declare this in attribute  as label constant and type MIGO_CLASS_ID.
    6. Functionality for this tab you can write in PAI_HEADER.
    Regards
    VIshnu Gupta

  • Add New Tab Customization on SC Item Level - SRM7

    Hi gurus,
    I have requirement to add new tab on SC Item level. Which should show data from LongText of SC. New TextID created for this development. (Since Requirement is of Vaiable number of fields per Item so cant append Strucutre simply)
    After Initial analysis I see 2 ways to achieve it.
    1. Like Standard SAP way (Similar way SAP did for standard Tabs)
    - But its really complicated at Mapper Class & PDO Layer. Any Docs ??
    2. Tab Enhancement Framework - Use of Table : /SAPSRM/C_TS_EXT
    - With this I m able to call Z component. But not able to co-relate it with SC item level.
    - How to pass Item GUID to Z component in proper way??
    -  How to link Z components data SAVE event with standard SAVE button of FPM or SC ??
    Is there any other better way ??
    Is it possible via Table Extension ?? what are steps to do it ??
    Thanks
    PK
    Edited by: pkumthek on Nov 2, 2010 4:35 PM

    Hi pkumthek,
    I do suggest you not try to add new tab on SC item level. We cost 4 people month to accomplish this little function...A better way is adding a hyper-link on item level which could navigate to a pop-up window. You can finish your logci in the pop-up window and it will cost pretty less. Just for your information.

  • How to add extra tab in bapi at item level

    hi developer,
    please guide me in solving this problem i.e how to add extra tab in bapi at item level .
    thanks .
    ravi

    What are you exactly asking for, I don't understand your question...
    Transaction screen, adding a tab / customer fields
    Business Object / BAPI, modifying BAPI signature, extension
    NB : The quality of an answer depends significantly on the quality of the question ...
    Regards,
    Raymond

  • Adding new field in ME21N items level NO ADDITIONAL TAB or SUBSCREEN

    Hello Gurus!!
    I have a requirement where I am just trying to add a new field ZZ*** at Item level in ME21N (and no new tabs please)
    I got the modification key and now wat i see is that in screen 1211 SAP has some field mappings with metadata.
    Refer to Include LMEMFSF0T.
    Can you please help me how sud i proceed or  wat can be an alternate way out to solve.
    regards,
    Prasenjit Singh Bist

    Hi,
         Another way of doing the same is to use screen-exits for the transaction. You can use the standard enhancement MM06E005 in SMOD for the Purchasing related custom fields. You can add the fields in the screens 0101, 0111 of program SAPLXM06 to get the fields in the tab 'Customer Data' at header level and item level for ME* transactions.
    EXIT_SAPMM06E_006 
    EXIT_SAPMM06E_007 
    EXIT_SAPMM06E_008 
                        are the function modules where u need to do the coding.
    and the fields u have added need to be included in the  includes
    CI_EKKODB
    CI_EKPODB
    of EKKO and EKPO for header level and item level respectively.
    Regards,
    Vishnu Priya
    Message was edited by:
            Vishnu priya
    Message was edited by:
            Vishnu priya

  • Addition of new tabs under contract item screen in SRM 7.0

    Hello Experts,
    My requirement is to add the three new tabs with custom fields under the contract item screen.
    I thin i have to user web-dynpro ABAP for this requirement since it is SRM 7.0. Once i developm the web dynpro applications separately for each tab, how do i integrate those web dynpro with the contract item dynpro and how to populate the values for the new fields added in the tabs. if i want to fetch the data from the custom tables into the tabs, i need to create a new web dynpro where i will write the logic to fetch the values, but to fetch the values i should first get the input data from the contract scrren which is a standard application. In the new tabs, i need to display and edit values for demands ( purchase requisitions ) for that contract line items, so i sould get the material number, year of demand, purchasing organisation etc from the contract screen. So it means i have to enahnce the main screen for contract item.
    Please advise how to achieve this.
    I have seen the details for adding a new fields to the the contract item scrren and some oss notes  , but here i need to add the new tabs and custom fields into that and i need to integrate these data with the contract line item.
    Your help is very much appreciated
    Regards,
    Srinath

    Hi,
    I think you need to enhance the existing WebDynpro.
    Just FYI.  Good to know WebDynpro side enhancement techniques.
    6 series on User Interface flexibility in WebDynpro ABAP.
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=%22abapUIFlexibility%22
    ABAP UI Flexibility Part 1: Demo Overview
    ABAP UI Flexibility Part 2: Floorplan Manager
    ABAP UI Flexibility Part 3: Feeder Classes
    ABAP UI Flexibility Part 4: BADIs
    ABAP UI Flexibility Part 5: BRF+
    ABAP UI Flexibility Part 6: Looking Ahead to 7.02
    Regards,
    Masa

  • Addition of a new field in PR's Item level

    hi folks,
    I have to add a new field in the item level of the PR i.e. ME51N.
    Can any body suggest me how i should go about it.

    Hi
    Try the Badi :ME_GUI_PO_CUST.
    For better understanding of the badi .
    Goto SE18 Transaction give the badi name .Click on documentation button . See the documentation.
    For better understanding of the code:
    see the class :CL_EXM_IM_ME_GUI_PO_CUST or
    In se18, goto/ sample code/display.
    The follwing user exits and badis available for me23n transaction:
    Enhancement/ Business Add-in
    Enhancement
    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
    MELAB001
    Gen. forecast delivery schedules: Transfer schedule implem.
    AMPL0001
    User subscreen for additional data on AMPL
    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
    MEFLD004
    Determine earliest delivery date f. check w. GR (only PO)
    MEETA001
    Define schedule line type (backlog, immed. req., preview)
    ME590001
    Grouping of requsitions for PO split in ME59
    M06E0005
    Role determination for release of purchasing documents
    M06E0004
    Changes to communication structure for release purch. doc.
    M06B0005
    Changes to comm. structure for overall release of requisn.
    M06B0004
    Number range and document number
    M06B0003
    Number range and document number
    Business Add-in
    ME_PROCESS_PO
    Enhancements for Processing Enjoy Purchase Order: Intern.
    ME_PROCESS_COMP
    Processing of Component Default Data at Time of GR: Customer
    ME_PO_SC_SRV
    BAdI: Service Tab Page for Subcontracting
    ME_MMPUR_EINM_CUST
    BAdI Methods for Processing IDoc Data in the SUS Scenario
    ME_MMPUR_EINM
    BAdI Methods for Processing IDoc Data in the SUS Scenario
    ME_HOLD_PO
    Hold Enjoy Purchase Orders: Activation/Deactivation
    ME_GUI_PO_CUST
    Customer's Own Screens in Enjoy Purchase Order
    ME_FIELDSTATUS_STOCK
    FM Account Assignment Behavior for Stock PR/PO
    ME_DEFINE_CALCTYPE
    Control of Pricing Type: Additional Fields
    ME_COMMTMNT_REQ_RE_C
    Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_REQ_RELE
    Check of Commitment Relevance of Purchase Requisitions
    ME_COMMTMNT_PO_REL_C
    Check for Commitment-Relevance of Purchase Orders
    ME_PROCESS_PO_CUST
    Enhancements for Processing Enjoy Purchase Order: Customer
    EXTENSION_US_TAXES
    Extended Tax Calculation with Additional Data
    MM_EDI_ORDERS_OUT
    Enhancements for IDoc Output of Purchase Order: Internal
    MM_EDI_DESADV_IN
    Supplementation of Delivery Interface from Purchase Order
    MM_EDI_DELFOR_OUT
    Enhancements for IDoc Output of SA Releases: Internal
    ME_TRIGGER_ATP
    Triggers New ATP for Changes in EKKO, EKPO, EKPV
    ME_TAX_FROM_ADDRESS
    Tax jurisdiction code taken from address
    ME_REQ_POSTED
    Purchase Requisition Posted
    ME_REQ_OI_EXT
    Commitment Update in the Case of External Requisitions
    ME_RELEASE_CREATE
    BAdI: Release Creation for Sched.Agrmts with Release Docu.
    ME_PURCHDOC_POSTED
    Purchasing Document Posted1
    ME_PROCESS_REQ_CUST
    Enhancements for Processing Enjoy PReqs: Customer
    ME_PROCESS_REQ
    Enhancements for Processing Enjoy PReqs: Internal
    ME_COMMTMNT_PO_RELEV
    Check for Commitment-Relevance of Purchase Orders
    ME_BSART_DET
    Change document type for automatically generated POs
    ME_BAPI_PR_IBS
    BAdI: Enjoy BAPIs for Purchase Requisitions
    ME_BAPI_PR_CUST
    Customer BAdI for Enjoy Purchase Requisition BAPIs
    ME_BAPI_PR_CREATE_02
    ME_BAPI_PR_CREATE_01
    ME_BAPI_PO_IBS
    BAdI for Inbound/Outbound Mapping BAPI_PO_CREATE1 IBS
    ME_BAPI_PO_CUST
    Customer BAdI for BAPI_PO_CREATE1 and BAPI_PO_CHANGE
    ME_BAPI_PO_CREATE_02
    ME_BAPI_PO_CREATE_01
    ME_ACTV_CANCEL_PO
    BAdI for Activating the Cancel Function at Header Level
    MEGUI_LAYOUT
    BAdI for Enjoy Purchasing GUI
    SMOD_MRFLB001
    Control Items for Contract Release Order
    ME_CCP_ACTIVE_CHECK
    BAdI to check whether CCP process is active
    ME_COMMITMENT_STO_CH
    BadI for checking if commitments for STOs are active
    ME_CIP_REF_CHAR
    Facilitates Reference Characteristics in Purchasing
    ME_CIP_ALLOW_CHANGE
    Configuration in Purchasing: Changeability Control
    ME_CIN_MM06EFKO
    Copy PO data for use by Country version India
    ME_CIN_LEINRF2V
    BADI for LEINRF03 excise_invoice_details
    ME_CIN_LEINRF2R
    BADI for CIN India - Delivery charges
    ME_CHECK_SOURCES
    Additional Checks in Source Determination/Checking
    ME_CHECK_ALL_ITEMS
    Run Through Items Again in the Event of Changes in EKKO
    ME_CHANGE_OUTTAB
    Enrich ALV Output Table in Purchasing
    ME_CHANGE_CHARACTER
    Customer-Specific Characteristics for Product Allocation
    ME_CCP_DEL_DURATION
    Calc. of Delivery Duration in CCP Process (Not in Standard)
    ME_CCP_BESWK_AUTH_CH
    BAdI for authorization checks for procuring site
    If it helpful rewards points
    or get bak if u need further assistance.

  • Table Control Variant For ME21N - Item level - account assignment tab.

    Dear All,
    I want to change Table Control Screen that is in Me21n(Service PO)>Item level> Account Assignment  tab -> Table control.
    In that table control i want to add one column Name is OrderNo(AUFNR) ,but system is not changing the table control.
    When i m going to change table control scrren in ---> Condition tab its working fine but not for above case.
    Please guide me to solve this issue.
    Regards,
    Sanket.

    Please provide the solution.
    Regards,
    Sanket.

  • New tab strib in SC item detail

    Hi all,
    Maybe we have somebody who can answer this question.
    i have this problem. I want to add in SRM in a View on a shopping cart on item level, 1 additional tab strip. How it is possible ? Are there any BADIs that can be used.
    Which is the best way to add this tab strip
    thanx for your help.
    greetings
    christian

    >
    Masa wrote:
    > Hi,
    > What does it happen if you set BOOLEAN data type?
    > Other option is normal WebDynpro enhancement in SE80.
    > Regards,
    > Masa
    There is no change in display, but it is no option to use this table extension.
    The Option Webdynpro enhancement does not mean to modify the SAP standard objects or ?
    I don't know what do you mean in develop enhancement?
    I know how to develop own Webdynpro Component, but in this case i have to modify the SAP standard object.
    Another Option is also to deactivate on one tabstrip all elements and Addthe custom fields we need or does this not work?

  • Addition of new TAB at Material Master screen

    Hi Experts,
    I want to add one new tab in between "Descriptions" and "Unit of Measure" tab (under "Additional Data" section in material master). That should hold few language dependent "Brand and Product" data. But, I have no idea is it possible or not. 
    Please let me know the process if it is possible.
    Thank You.

    Transaction Code - MM01                     Create Material &
    Exit Name           Description
    MGA00001            Material Master (Industry): Checks and Enhancements
    MGA00002            Material Master (Industry): Number Assignment
    MGA00003            Material Master (Industry and Retail): Number Display
    No of Exits:          3
    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
    USER EXIT
    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

  • Addition of New Tab in Oppurtunity iView.

    hi,
    i need to add a new tab referring to an URL. on clicking the Tab the application should open in the Frame(not in a new window).we need Single Sign-on for this and some parameters also need to be passed to this application.
    can you give me some pointers as to how can i go about doing this..do i need to change some code and in that case where do i need to change it..
    thanks,
    uday

    Hello Uday,
    you could take my Weblog: <a href="/people/gregor.wolf3/blog/2005/05/27/use-crm-pcui-html-viewer-to-call-a-custom-url">Use CRM PCUI HTML viewer to call a custom URL</a> as a Blueprint. For Single Sign On it would be the easiest if the called URL is hosted on a SAP Web AS.
    Regards
    Gregor

  • Addition of new tab in QM01 transaction

    Hi i want to add a new tab in QM01 transaCTION.
    cAN SOMEONE TELL ME ABOUT THE STEPS.
    Moderator message: please do more research before asking, show what you have done yourself when asking, do not post in all capitals.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on May 26, 2011 2:03 PM

    Hi i want to add a new tab in QM01 transaCTION.
    cAN SOMEONE TELL ME ABOUT THE STEPS.
    Moderator message: please do more research before asking, show what you have done yourself when asking, do not post in all capitals.
    [Rules of engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]
    Edited by: Thomas Zloch on May 26, 2011 2:03 PM

  • Addition of new Tab in MM01

    Hi
    I have to add a new tab & a field in the MM01,through the BADI or User exit,but I don;t have any idea abt these.So please give me the solution or the doc so that i can have the idea of making a new tab in MM01 also if anyone can provide me the doc for BADI or User exit so that I can also get an understanding abt them.It will be a great help.
    Thanks & Regards
    Vipin Sharma

    There is no user exit or BADI to get new tab,you need to configure as below
    How To Create a Customized Tab View for Material Master Creation?
    Requirement 1:
    Suppose if you want to add your own view with your own ‘Z’ Fields or the Standard Fields from different tables.
    Get the ‘Z’ Fields created in the Respective Table.
    Then execute SPRO.
    Select the following path.
    In SPRO -> IMG Activity -> Logistics General -> Material Master -> Configuring Material Master -> Create a program for sub screen.
    Then Enter the Function Group name and save in to a development class say Z_TEST.
    Then execute SE80 transaction.
    Select Function Group MGD1.
    If you are adding Fields in MARC then search for suitable screen, which contains MARC Fields. Like That Based on the table fields you are using select the sub screens numbers.
    Then Copy each selected subscreens in to the above created function group Z_TEST.
    Then Enter the Z_TEST in the function group and enter.
    Then click on refresh button.
    Now add your own fields in the copied screens.
    Don’t remove the PBO and PAI Modules Existing in the sub screens.
    In PAI Logic remove the existing fields and put the FIELD Statement for each field added to that sub screen. The field statements are needs to be placed between GET_DATEN_SUB and SET_DATEN_SUB.
    If any validations have to be made for the data entered in the fields write those modules in between above modules.
    In the same way if you want to make any validations in the PBO logic then write your own modules in between the GET_DATEN_SUB and SET_DATEN_SUB of PBO Logic.
    Then create all the screens required and activate it.
    Now under this point all are required to be done very carefully. All are IMG Settings.
    1.     SPRO
    2.     In SPRO -> IMG-> Logistics General -> Material Master -> Configuring Material Master -> Define Structure of Data Screens for Each Screen Sequence
    3.     Select the Industry Sector Used by the client.
    4.     Then Double Click on the Data Screens.
    5.     Then Select the Screen sequence such a way that what ever the sub screen you copied from MGD1 to your view from the standard view and make a copy of it and change the names and screen sequence and names in it. Don’t change the Maintenance Status, which is very important
    6.     For Example
    If you copy the sub screen from the Plant/Storage View then Select that view and make a copy of it and do necessary changes.
    7.     Then Select the above-created Data Screen and double click on Subscreens.
    8.     Then enter the screen sequence number, your function group name (Z_TEST) and the screen numbers as per your requirement.
    9.     Then Save it and come back.
    10.     Then select IMG Activity -> Implementation Guide for R/3 Customizing (IMG) -> Logistics – General -> Material Master -> Configuring the Material Master -> Assign Screen Sequences to User/Material Type/Transaction/Industry Sector
    11.     Then check that the industry sector assigned there is that of you added the data screens.
    Then Check by executing MM01, MM02, MM03 Transactions.
    Requirement 2:
    Some Times the Display of the fields created in your customized screens is to be based on the material type entered while creating the material. Then you have to do the following steps after finishing the first requirement steps.
    1.     IMG Activity -> Implementation Guide for R/3 Customizing (IMG) -> Logistics – General -> Material Master -> Field Selection -> Assign Fields to Field Selection Groups.
    2.     Then click on New Entries.
    3.     Here you group your customized screen fields accordingly as per the material type. And assign them the same selection group. For selection group number you can use (200 to 299).
    4.     Then for each field give the Maintenance status as you given for that Data Screen in the First Requirement.
    5.     Then save it and come back.
    6.     Then go to this step. IMG Activity -> Implementation Guide for R/3 Customizing (IMG) -> Logistics – General -> Material Master -> Field Selection -> Maintain Field Selection for Data Screens
    7.     Check for the corresponding material type and then give the above selection group and in that select the different options as Hide, Optional, and Display according your requirement.
    8.     Then Check by executing the transactions MM01, MM02, MM03.
    Thanks
    Seshu

  • Adding New ZZFIELD at sales order item level

    Hi,
    I have added the new "ZZFIELD" field in the "Additional data B" Section, but the client has requested that the new field ZZFIELD to appear in the first screen "SAPMV45A 4900". I have noticed that there is a field catalog when I click the configuration in the right upper corner of the "All items section".
    How do I accomplish this?
    Thanks in advance.
    Abel.

    hi,
    can you please check this,
    it would helpful.
    Basics of modification in pricing* The following communication structures are relevant in pricing:
    - KOMK (pricing communication header)
    - KOMP (pricing communication item)
    - KOMG (allowed fields for condition structures)
    For technical reasons, the communication structure KOMG is used, which
    combines KOMK and KOMP, and which contains all fields which can
    generally be used for pricing. When entering new fields in KOMK or KOMG,
    the fields are automatically included in KOMG.
    Fields for pricing are integrated into the following INCLUDES:
    - header data in KOMKAZ (INCLUDE in KOMK or in KOMG)
    - item data in KOMPAZ (INCLUDE in KOMP or in KOMG)
    The routines for assigning values to the new fields in order
    processing are found in member MV45AFZZ. Use the following user exits:
    - USEREXIT_PRICING_PREPARE_TKOMK (header fields)
    - USEREXIT_PRICING_PREPARE_TKOMP (item fields)
    The routines for assigning values to the new fields in billing
    are found in member RV60AFZZ. Use the following user exits:
    - USEREXIT_PRICING_PREPARE_TKOMK (header fields)
    - USEREXIT_PRICING_PREPARE_TKOMP (item fields)
    Examples for using new fields in pricing
    Example 1
    In the first example, parts of a document field are to be used in
    pricing. You want to use the first three digits of the product hierarchy
    (PRODH) for pricing, for example. Proceed as follows:
    1. Check the data elements in the standard system.
    2. Since there is no such data element you have to create the new
    data element ZZPRODH1. Also create a domain with the length u201C3u2033 and the
    data type u201CCHARu201D for the new data element.
    Remember that new data fields must start with the letters u201CZZu201D or u201CYYu201D,
    since SAP reserved these letters to protect them from being overwritten
    during a release upgrade.
    3. Check whether the product hierarchy (PRODH) is found at header
    or at item level.
    In table VBAP, document field PRODH is defined as an item field.
    4. Integrate the field name ZZPRODH in the communication structure
    KOMP using the INCLUDE KOMPAZ and allocate the data element PRODH to it.
    5. Activate the structure.
    6. Check in which table the field PRODH exists.
    The field is in table VBAP (sales document: item data).
    7. Assign a value to the new field in the FORM routines for sales
    order processing and billing using the appropriate user exits:
    In sales order processing the user exit is found in member MV45AFZZ. The
    complete statement is:
    FORM USEREXIT_PRICING_PREPARE_TKOMP.
    MOVE VBAP-PRODH(3) TO TKOMP-ZZPRODH.
    ENDFORM.
    The routines for assigning a value to the new fields in billing are
    found in member RV60AFZZ. The statement is as follows:
    FORM USEREXIT_PRICING_PREPARE_TKOMK
    MOVE VBRP-PRODH(3) TO TKOMP-ZZPRODH.
    ENDFORM.
    8. Allocate the specifications A, V and 001 to the field ZZPRODH in
    table T681F.
    Example 2
    In the second example, you want to use a partner function for pricing
    which was created in Customizing for partner maintenance.
    Assume that the partner function was created for a sales representative
    of the partner type PE. Z1 is defined as a mandatory function for the
    customer master record, therefore automatically set in the document and
    available in the internal partner table XVBPA.
    To use the new partner function for pricing, proceed in the same way as
    for the previous examples.
    1. Create a new data element, in this example, the data element
    ZZVRTZ1 with the domain PERNR.
    2. Include the field ZZVRTZ in KOMK using KOMKAZ and allocate the
    data element ZZVRTZ1 to it.
    For order processing, assigning a value to the field is carried out in
    the user exit for member MV45AFZZ. The entries in the user exits are
    protected during a release upgrade. The statement is as follows:
    FORM USEREXIT_PRICING_PREPARE_TKOMK.
    PERFORM XVBPA_LESEN (SAPFV45K) USING u2018Z1u2032 VBAP-POSNR SY_TABIX.
    MOVE XVBPA-PERNR TO TKOMK-ZZVRTZ
    Thanks andregards
    Durga.K

  • Adding View/tab TO service Order Item Level

    Hi All,
    I am using CRM 5.0 SP3. I need to add a new View/Tab on SERVICE ORDER at Item Level Details.
    This view consist of Some Custom Field (like IO Box, Drop down etc.)
    I have created the view but not able to understand how to add this view to the Item level details. I gone through the Cookbook, but not getting a clear idea of how to add this custom view there.
    I want to add this view like there are other view at Item level Details For Example "SLA Info","Notes" & "Partners", "Z view" (This Should be my custom view).
    Any hint will be very help full.
    Abhinav

    I assign the New z view into the viewset (ServViewSets.xml) and define the navigation link( in ServNavigationalLinks.xml as well. but when i am clicking on the link from the ServSLA, i am getting following errors.
    An exception occurred during the activation of target view ZServEvnt1 for the navigation
    An exception has occurred
    Exception Class CX_BSP_INV_PAGE
    Text: BSP Exception: Das Objekt ZServEvnt1.do in der URL/sap(bc/bsp/sap/crm_ic/ServItemViewSet.do ist nicht gültig.
    Program: CL_BSP_PAGE_BASE==============CP
    Include: CL_BSP_PAGE_BASE==============CM01A
    Source Text Row: 117
    An exception occurred in inbound plug IP_DEFAULT of target view ZServEvnt1
    An exception has occurred
    Exception Class CX_SY_REF_IS_INITIAL
    Text: Dereferencing of the NULL reference
    Program: CL_BSP_WD_WINDOW==============CP
    Include: CL_BSP_WD_WINDOW==============CM004
    Source Text Row: 47
    any help
    abhi
    Edited by: abhi on Sep 4, 2008 8:56 AM

Maybe you are looking for