Redistribute tab in ME22n

Hi All,
Could anyone ,please tell me the functionality of redistribute tab in the confirmation tab of the purchase order.
What effect this tab has on MD04?
Regards
Amit

Hi,
Actaully the problem is that after entering confirmation qty ,MD04 tab is taking requirements twice and it affects the planning.
But when we press redistribute then the requirements get rectified so I am willing to kow the functionality of that redistribution tab.
My confirmation control is already MRP relevant in the configuration
Regards
Karan

Similar Messages

  • Add Custom Header Tab to ME22N

    Hi I want to add a Customer Header Tab to ME22n. For that I am using BADI : ME_GUI_PO_CUST . As I understand to publich the tab at header level all I have to do is implement method IF_EX_ME_GUI_PO_CUST~SUBSCRIBE
    i have implemented this method as mentioned below. However, the tab at header level is not displayed for some reason. Please advice
    * we want to add a customer subscreen on the item detail tab
    IF im_application = 'PO' AND im_element     = 'ITEM'.
    * each line in re_subscribers generates a subscreen. We add one subscreen in this example
    *    CLEAR re_subscribers[].
    * the name is a unique identifier for the subscreen and defined in this class definition
       ls_subscriber-name = subscreen1.
    * the dynpro number to use
       ls_subscriber-dynpro = '0101'.
    * the program where the dynpro can be found
       ls_subscriber-program = 'SAPLYPDM_LINK'.
    * each subscreen needs his own DDIC-Structure
       ls_subscriber-struct_name = 'YPDM_LINK_OBJCTS'.
    * a label can be defined
       ls_subscriber-label = text-001.
    * the position within the tabstrib can be defined
       ls_subscriber-position = 8.
    * the height of the screen can be defined here. Currently we suport two screen sizes:
    * value <= 7 a sevel line subscreen
    * value > 7  a 16 line subscreen
       ls_subscriber-height = 16.
       APPEND ls_subscriber TO re_subscribers.
    ***to add Confirmations Tab to PO at Header level
    ELSEIF im_application = 'PO' AND im_element = 'HEADER'.
         DATA: ls_next_subscribe LIKE LINE OF re_subscribers.
         CLEAR: re_subscribers.
         REFRESH: re_subscribers.
         ls_next_subscribe-name = subscreen2.
         ls_next_subscribe-dynpro = '9000'.
         ls_next_subscribe-program = 'SAPLZMM_PO_CONFIRMATIONS'.
         ls_next_subscribe-struct_name = 'YMM_CONFIRMATIONS'.
         ls_next_subscribe-label = text-002.
         ls_next_subscribe-position = 15.
         ls_next_subscribe-height = 16.
         APPEND ls_next_subscribe TO re_subscribers.
    ENDIF.
    In the code above the ITEM part was implemented by another developer and works fine. However the HEADER part I am implementing does not work. Structure YMM_CONFIRMATIONS is created in DDIC. Functional pool SAPLZMM_PO_CONFIRMATIONS also has been created with screen 9000 with just text on it for testing purposes. Please advice what else do I have to implemented to get the custom tab to be printed on Header level in enjoy transaction me22n.

    Hi,
    i had similer problem when adding custom fields in va01 traction in header level at Additional data B tab.
    these subscreen are placed in subscreen containers.
    and if you have more number of fields in subscreen some fields will not be displayed.
    i solved the problem by increasing the size of subscreen container.
    SAP NOTE NO. 302497 - Additional cust. fields not displayed in 'Additional data B'
    this note say:
    Enlarging the screen containers:
    If there is insufficient space on the subscreens and you enlarge the
    maintenance area, you must also adjust the lines and columns in the
    subscreen containers.
    You can do this using Transaction SE51 (Screen Painter).
    1) In the initial screen, you must fill the following fields:
    Program SAPMV45A
    Screen number 4312 (or 4462)
    2) Then activate the 'Attributes' selection field and choose
    'Change'.
    3) Adjust the size of the lines/columns in accordance with the
    subscreen.
    4) Check your changes, then save and activate the screen.
    5) Exit the transaction.
    NOTE : This is for VA01 transaction. for more details see the SAP NOTE NO. 302497

  • Display only for Conditions tab in ME22N

    I have a situation where certain users need to modify PO's, but need to be restricted from modifying anything in the conditions tab.  Is there a way through authorization's to restrict modification to the conditions tab within ME22N without restricting functionality to anything else in ME22N?
    The same result is required for ME12, but ME12 contains condition authorization objects that can be set to Activity 03 resulting in a display of conditions.
    I have tried adding these authorizations to the authorization-check, with no functionality change.
    I have also tried removing the display prices (activity 09) from certain authorization objects and this hides the conditions tab, but it also hides prices.
    Modifying screen settings in SPRO for ME22N will not work as there are users that require modification of the conditions.
    I am trying to find a solution that doesn't involve creating a custom transaction to check for condition authorization objects.

    David,
    Check BADI definition (se18) ME_PURCHDOC_POSTED & Interface IF_EX_ME_PURCHDOC_POSTED. In that you have method posted. In that you have both the tables Old & the current. You can put a validation there & prevent users.
    Hope this helps.
    Bipin

  • Update G/L account in account assignment tab in ME22N

    Hi
    I want to update G/L account value in account assignment tab in ME22N based on some validation, after opening PO in ME22N when I change a value of custom field and hit SAVE without hitting enter or any other tab. I want to know if there is any USEREXIT or BADI or spot where I can update G/L account field value.
    I have written code in BADI ME_PROCESS_PO_CUST method POST but it still doesn't update, is there any other place I can write my code
    Thanks

    Hi ,
    Is it tiggering ur BADI implementation or not ? If yes then whats ur logic to update ?
    regards
    Prabhu

  • Disable G/L Account field in Account Assignment tab of ME22N

    Hi experts,
    My requirement is to disable G/L account field in account assignment tab of ME22N. Tried using badi ME_PROCESS_PO_CUST.
    I have searched forum for the same and tried out some solutions. But was unable to disable the field.
    Any help in this regard would be highly appreciated.
    Thanks in Advance.

    Hi farhan,
    Go to SHD0.
    write tcode : ME22N.
    Then write a transaction variant with Z..XYZ (Any name)
    then click on create. it will open Me22n screen.
    Then go to Account assignment category and simply come back it will record that screen.
    it will ask to give screen name just give it.
    then there is a chk box for OUTPUT ONLY. click that for GL Account.
    and save it and come to SHD0 screen.
    then in STANDARD VARIANT tab, activate that transaction variant u created.
    Now chk tcode ME22N. it will reflect.
    REMEMBER: after transporting to Quality or Production server, u have to activate this variant manually.Otherwise it will not reflect.
    Regards,
    Ankur.

  • Adding this field MEPO1317-LEBRE to Invoice tab in ME22N/ME21N

    Hi,
    Adding this field MEPO1317-LEBRE (Indicator for service-based invoice verification) to Invoice tab in ME22N/ME21N.
    Please suggest what are the steps in adding above field to PO screens.
    Thanks,
    Sanjay

    You don't need to eanter in MEPO1317. the moment you anter the Item category service it will Populate the field.
    Invoice verification for services is based on the accepted service entry sheet or the services set out in the purchase order.
    Since you usually enter into a variety of billing arrangements with your vendors, it is advisable to specify the relevant type of invoice verification in the vendor master record. The indicator is suggested per purchase order item and can be changed if necessary on the PO item detail screen.
    You must set the following indicators on the purchasing data screen of the vendor master record:
    For Goods-Receipt-Based Invoice Verification: GR-based inv. verif.
    For Evaluated Receipt Settlement (ERS): AutoEvalGRSetmt Del.
    For Service-Based Invoice Verification: Srv.-based inv. ver.

  • User-exit/BADI for version tab in ME22N

    Dear Friends,
    I have a requirement pertaining to user exit/BADI.
    In ME22n in version tab when ever we change any data of PO the Version Completed check box should be checked.
    Please let me know about the User Exit to be used and few lines of Pseudo code to proceed further.
    Thanks,
    Anshul

    Dear Dave,
    Check any enhancement Point is available to inlcude your logic in that place.
    With Regards,
    Selvan.M

  • Exit for Foreign trade data(import tab) on ME22N

    In Purchase Order transaction ME22, the requirement is to copy the contents of office of entry field (EIKP-ZOLLA) to EKKO-INCO2 field.(whenever there is any change in office of entry field).The office of entry field is present in import tab of purchase order screen. Whenever any changes happen in it, the standard PO customer exits like ‘EXIT_SAPMM06E_007’  , EXIT_SAPMM06E_006 does not get triggered  Nor the BADI ‘ME_PROCESS_PO_CUST’. However,  foreign trade exit EXIT_SAPLV50E_005 gets triggered. In this exit only completeness of data is checked and EKKO values cannot be modified from this exit.
    Is there any alternative exit or BADI which gets triggered on the making changes in any data in the import (foreign trade data) tab in PO? Is there any mechanism to change EKKO-INC02 (screen value) from any of the other exits (i.e. exits triggered on data entry in foreign trade tab)?

    Transaction Code - ME22N                    Change 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 pro
    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
    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
    BAPI
    http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
    http://support.sas.com/rnd/papers/sugi30/SAP.ppt
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
    http://members.aol.com/_ht_a/skarkada/sap/
    http://www.ct-software.com/reportpool_frame.htm
    http://www.saphelp.com/SAP_Technical.htm
    http://www.kabai.com/abaps/q.htm
    http://www.guidancetech.com/people/holland/sap/abap/
    http://www.planetsap.com/download_abap_programs.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
    /people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
    /people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
    http://esnips.com/doc/e06e4171-29df-462f-b857-54fac19a9d8e/ppt-on-badis.ppt
    http://esnips.com/doc/43a58f51-5d92-4213-913a-de05e9faac0d/Business-Addin.doc
    http://esnips.com/doc/10016c34-55a7-4b13-8f5f-bf720422d265/BADIs.pdf
    http://esnips.com/doc/1e10392e-64d8-4181-b2a5-5f04d8f87839/badi.doc
    http://esnips.com/doc/365d4c4d-9fcb-4189-85fd-866b7bf25257/customer-exits--badi.zip
    http://esnips.com/doc/3b7bbc09-c095-45a0-9e89-91f2f86ee8e9/BADI-Introduction.ppt
    http://help.sap.com//saphelp_470/helpdata/EN/eb/3e7cee940e11d295df0000e82de14a/frameset.htm
    Rewards if useful.........
    Minal

  • Disable or Hide or INACTIVE the CONDITIONS tab in ME22N(Change Pur.Order)

    Hello,
    We want to hide or Inactivate or greyed out all fields of CONDITIONS tab at 'Item Detail Level'  while editing or changing Purchase Order(ME22N) for particular PO type.
    I am not able to find the particular BADI or Enhancement or SCRREN EXITS, so that I can make greyed out all the fields of CONDITIONS tab at 'Item Detail' level while editing or changing Pur.Order(ME22N)
    Regards,
    Mahesh

    Hi Mahesh,
    [http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation]
    [Hide Conditions|Hide conditions in PO;
    Create a transaction variant and try.
    Regards,
    Madhu.
    Edited by: madhurao123 on Aug 9, 2011 9:30 AM
    Edited by: madhurao123 on Aug 9, 2011 9:34 AM

  • Delivery/invoice tab in ME22N

    Hi,
       I am trying to turn off the display of the delivery/invoice tab (screen 1226 function group MEGUI) in transaction ME22N (amongst others), however I can find no way of doing this.
    The other tabs are controlled via classes impemented in include LMEPOF8D, but not this tab. Anyone got any ideas?
    Ross

    If your client/employer allows CORE-MODS then go ahead and make the changes just as you'd change any screen field. If not, I suggest you look at GUIXT. This comes standard as part of 4.6 and up ...
    I suggest that you add this field (and necessary PBO/PAI logic) in custom tab and use GUIXT to display this field in whichever tab/screen you choose to.
    You can go to GUIXT.com and check out sample code on how to do this. Its very simple, you should be able to go through the tutorial and do it yourself.
    Raj

  • Condition tab in ME22n vanish for free item

    In ME22N transaction in the item list if the free item check box is checked, then the conditions tab is vanished and the vise versa. The requirement is to make the conditions tab visible even if the free item check box is checked. Please advise.

    That is standard behavior in PO processing - non-relevant tabs do not appear.  Either raise a message with SAP (which won't get you very far) or enhance the screen (tab) display code.  By the way, simply posting a requirement does not get you very far on this forum - it indicates that you haven't tried to analyze or solve the problem yourself.

  • BAPI for updating conformation tab in me22n

    hi all,
    my requirement is that i have to update the conformation tab of AFS in me22n. i have tried the BAPI POCHANGE but its not updating.
    Pls help
    Regards
    Kshitij.

    HI,
    I am passing the right data. there is no problem with the data. My question is how do we update partners in the Contract documents. If possible can you explain with example.
    Regards,
    Bhargav.

  • New Tab Data need to be Saved in Me22n

    Hi All,
    I ading a new Tab in Me22n T-code in the Item level and the tab name is Date.
    The scenario is like that in the date I created 4 fields there are 1) Expected Production Date
    2)Expected Shipping Date Remaning 3)Actual Production Date  and 4)Actual Shiped Date
    Now when ever the date chosen from the above 4 fields and click on save then date must me saved.
    I have used 2 badi's for this functionality, but i'm not able to get the exact code to save the date.
    Below is my Code:
    Code1:
    method IF_EX_ME_GUI_PO_CUST~SUBSCRIBE.
    if sy-uname eq 'ZDEVELOP'.
      DATA: ls_subscriber LIKE LINE OF re_subscribers.
    To add a customer subscreen on the item detail tab
      CHECK im_application = 'PO'.
      CHECK im_element     = 'ITEM'.
    each line in re_subscribers generates a subscreen.  added one subscreen in this example
      CLEAR re_subscribers[].
    the name is a unique identifier for the subscreen and defined in this class definition
      ls_subscriber-name = SUBSCREEN1.
    the dynpro number to use
      ls_subscriber-dynpro = '9000'.
    the program where the dynpro can be found
      ls_subscriber-program = 'SAPLZMMPR_CUSTFIELD'.
    each subscreen needs his own DDIC-Structure
      ls_subscriber-struct_name = 'ZMMPR_DATES'.
    a label can be defined
      ls_subscriber-label = 'DATES'. "text-001.
    the position within the tabstrib can be defined
      ls_subscriber-position = 13.
    the height of the screen can be defined here. Currently we suport two screen sizes:
    value <= 7 a sevel line subscreen
    value > 7  a 16 line subscreen
      ls_subscriber-height = 7.
      APPEND ls_subscriber TO re_subscribers.
    endif.
    endmethod.
    code2:
    method IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM.
    if sy-uname eq 'ZDEVELOP'.
      TYPE-POOLS: mmmfd.
    DATA: l_persistent TYPE mmpur_bool.
      FIELD-SYMBOLS: <fs> LIKE LINE OF ch_fieldselection.
      READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = mmmfd_cust_01.
      IF sy-subrc IS INITIAL.
        <fs>-fieldstatus = '+'. " editable
      ENDIF.
        READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = mmmfd_cust_02.
      IF sy-subrc IS INITIAL.
        <fs>-fieldstatus = '+'. " editable
      ENDIF.
        READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = mmmfd_cust_03.
      IF sy-subrc IS INITIAL.
        <fs>-fieldstatus = '+'. " editable
      ENDIF.
        READ TABLE ch_fieldselection ASSIGNING <fs> WITH TABLE KEY metafield = mmmfd_cust_04.
      IF sy-subrc IS INITIAL.
        <fs>-fieldstatus = '+'. " editable
      ENDIF.
    endif.
    endmethod.
    Kindly, provide some code to save the date.

    Hi Venky,
    i was worked with this requirement. try this:
    take a enhancement:MM06E005, here u have screen exits, function exits and include tables.
    1. add your customized fields to : CI_EKKODB  and CI_EKPODB Structurs
    2. add ur new tab in screen numb: 111, keep all fileds in under on group.
    3. write code at PBO and PAI for 111 screen
    4. implemente the code at this function exists: exit_sapmm06e_006, exit_sapmm06e_008, exit_sapmm06e_012.
    exit_sapmm06e_016
    5.pass your screeen fileds data to DB in exit_sapmm06e_018
    thanks
    kallam

  • How to Grey out cost center column in me22n screen(Account assignment tab)

    Hi All,
    I have tried many ways to do grey  out cost center column in account assignment tab of ME22N.
    i have created implementation for this class and method. 
    Class:CL_TABLE_VIEW_MM_2
    Method:PBO_TC_LINE
    Below is the my code snippet.Kindly let me know any suggestions.
    data:  l_tc type char100.
    data:  l_tabix type i.
         l_tc = '(SAPLMEACCTVI)DYN_1000TC-COLS'.
    FIELD-SYMBOLS:<fs_tcdata> type any TABLE,
                    <fs_wa> type any ,
                    <fs_lwa> type any,
                    <fs_screen> type any,
                    <fs_input> type any,
                    <fs_active> type any,
                    <fs_output> type any.
    *data:fs_wa type SCXTAB_COLUMN_IT.
       ASSIGN (l_tc) TO <fs_tcdata>.
       LOOP AT <fs_tcdata> ASSIGNING <fs_wa>.
          l_tabix = sy-tabix.
        ASSIGN COMPONENT 'INVISIBLE' OF STRUCTURE <fs_wa> TO <fs_lwa>.
           ASSIGN COMPONENT 'SCREEN-NAME' OF STRUCTURE <fs_wa> TO <fs_screen>.
           ASSIGN COMPONENT 'SCREEN-INPUT' OF STRUCTURE <fs_wa> TO <fs_input>.
           ASSIGN COMPONENT 'SCREEN-ACTIVE' OF STRUCTURE <fs_wa> TO <fs_active>.
           ASSIGN COMPONENT 'SCREEN-OUTPUT' OF STRUCTURE <fs_wa> TO <fs_output>.
           IF <fs_lwa> = space.
             CASE <fs_screen>.
                WHEN 'MEACCT1000-KOSTL'.
                 <fs_input>     = 0.
                 ENDCASE.
                 endif.
                 ENDLOOP.
    Regards,
    Hiriyappa

    As I can't see any complicated scenario in your requirement. So I suggest you can achieve this by simple standard configuration.
    Go to OME9, double click on the Account assignment category and make the field as Display.
    Then check in your PO.
    But I doubt, your requirement can not be simple like that.
    So either you didn't know the settings or your requirement is different or you are just trying to learn that can it be possible via coding.
    Let us know the appropriate reason for set it as display.

  • ME22N - Conditions tab - Set fields as output only

    Hi,
    How could I block the fields "Amout"(KOMV-KBETR), "Currency" (RV61A-KOEIN), "condition price unit" (KOMV-KPEIN), "Condition Unit for document" (KOMV-KMEIN), "Numerator for converting condition units to base units" (KOMV-KUMZA) and "Denominator for converting condition units to base units" (KOMV-KUMNE) for input in the CONDITIONS tab on ME22N ?
    I tried to find it out via customizing but with no sucess. Maybe because it is a table control.
    Thanks in advance.
    Andrew

    Hi Jitendar,
    You should write the code in the PBO of each subscreen .
    inside the LOOP.....ENDLOOP for the table control you have to write the code for Display only.You can write your logic in the module
    LOOP AT it_decl INTO wa_decl WITH CONTROL tc_rec
    CURSOR tc_rec-current_line.
    MODULE display_mode.
    ENDLOOP.
    >>>>>>>>>>>>>>>>>>>>>>>>>
    MODULE display_mode OUTPUT.
    IF sy-tcode = 'ZDISP'.
    LOOP AT SCREEN.
    IF screen-group1 = 'DIS'.
    screen-input = 0.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    ENDIF.
    ENDMODULE.
    Message Edited
    SHIBU
    Edited by: shibuettickal on Jan 30, 2008 5:20 PM

Maybe you are looking for