ME21N Varaint selection

Hi All, 
I have a problem for which I am trying to find solution but failing to find one..  Need your help here.
   In ME21N T-code , you will see document overview on the left side , under that the first button selection variant will be there .
   Once you click the button you get the list of functions which are nothing but Queries .
   In an user exit I have made sure that there is a custom query which comes over there once user click on the selection variant.
   Once he click on the custom function ( Query ) he will get the selection screen and based on that he will get the O/P on the left side which are
   nothing  but all the purchase requisitions , so I have given the query name that I have created in the user exit. So that user can drag and drop the
   Purchase req and create the PO's.
   Now every thing is working fine here , once the user goes to ME21N selects my query and he gets the report , and leaves ME21N T-code.
   Now if he comes again in to ME21N , its trying to pick all the data again from the query , as that is the last executed Query and its taking too much
   time to show ME21N T-code and some times  it goes for a dump.
  I tried searching for the user Exits for that but couldn't , can you let me know if there is a way where once the users exits ME21N the query names and its data should also be cleared.
Pls let me know as this is urgent.
Thanks,
Naidu

Hi Srini,
did you create a layout for your variant as explained in the sap help?
Check if this helps you:
[http://help.sap.com/saphelp_470/helpdata/en/1d/d18e38d5ca9d28e10000009b38f842/frameset.htm]
You should check  especially the last topics "Which Data from These Documents do I Wish to See?-
How is This Data to be Displayed? - How Can I Enter the Application with this Display? "
Hope it helps.
Regards
C.S.

Similar Messages

  • Adding Network field in Me21n

    Hi All
    We need to add a network field (EKKN-NPLNR) in the Me21n dynamic selection.
    Goto Me21n-->documet overview on --> purchase orders --> (Will show a selection screen)click the dynamic section button .It ll show list of fields .Is it possible to  add the network field in that.
    Basically a query has been written using logical database MEPOLDB.If i go into that logical database it is showing network field for selection.But when i go thro' Me21 it is not showing .
    Is there anyway to get this field.
    Thanks in Advance
    Raj.

    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

  • Plant defauls - me21n

    hi,
    while creating the PO through ME21N, plant field is getting grey(display only) if we enter any field before entering plant data.
    i checked the same in define screen layout of PO for NBF and with transaction codes, me21,me21n,me22n...etc,
    i can mention the plant in ME21n, before entering any field, but if i enterd any field(except plant), later it is not allowing to put the plant.
    can any body help

    Hi shenoi,
    I understood what u r asking. Pls check the plant filed for the filed selection key ME21n - Purchase Order in the "define screen layout at document lavel" screen.
    Both NBF and ME21n filed selection keys will have effect on the fileds when u r executing ME21n transaction. If u set the fields as optional, diplay etc in ME21n field selection key say for example plant if u set as diplay for any document type plant will be diplayed when execute ME21n. Hope now it will be clear for u.
    Ravi

  • User exit/ badi for me21n

    Hi experts,
                     I have a requirement for Tcode ME21n.
    if selected vendor number is not in particular company code then it should throw an error message.
    plz suggest if any user exit/badi is there for this requirement.
    Thnks n regards,
    Ashmita Singh

    Try this bit in BAdI method PROCESS_HEADER.
    DATA: lst_mepoheader TYPE mepoheader.
    lst_mepoheader = im_header->get_data( ).
    IF lst_mepohead-lifnr NE lst_mepohead-bukrs.
       mmpur_message_forced 'E' 'ZFI' '000' tex1 txt2 txt3 txt4.
       ch_failed = abap_true.
    ENDIF.
    Roy

  • How to change delivery date (LFDAT) in  me57 item data

    hi ,
    While  Creating purchase order  (me57)  . on the basis  of info rec   . i want to change  delivery date  by
    passing  info rec to table eine and get field aplfz  .
    then adding  aplfz to sysdate    and pass it to 
    Delivery date   .
    i have done this using USER EXIT  EXIT_SAPMM06E_016
    and modified table  teket  with field eindt   but still in screen fields  it shows  old date value   .
    After Debugging i found that  that  it passes value from internal table ETT[] .
    how to modify internal table ETT[]  which is used to display data on screen   .
    regards
    Deepak.
    Edited by: Deepak Dhamat on Jun 8, 2011 8:32 AM
    Edited by: Deepak Dhamat on Jun 8, 2011 10:35 AM

    hi ,
    i have  implemented BAdi  me_process_po_cust
    for changing Delivery date   .
    method if_ex_me_process_po_cust~process_item .
    data : eeind_dt type eket-eindt ,
             t_aplfz type eine-aplfz ,
             delivery_dt(10) type c.
      ls_item = im_item->get_data( ) .
    if sy-tcode = 'ME21N' .
        select single aplfz into t_aplfz  from eine
          where infnr  = ls_item-infnr .
        if sy-subrc = 0 .
          if t_aplfz is  not initial  .
            eeind_dt  = sy-datum  + t_aplfz  .
            concatenate  eeind_dt6(2) eeind_dt4(2)  eeind_dt+0(4) into delivery_dt .
          endif.
        endif.
        ls_item-eeind = delivery_dt .
        call method im_item->set_data
          exporting
            im_data = ls_item.
        clear : delivery_dt  ,t_aplfz  ,eeind_dt .
      endif.
    regards
    Deepak.

  • MPN not appearing in PO

    Our client wanted to use MPN fuctionality in MM.
    I had a trial in the system with following.
    Mainatained the MPN profile in materail Master.
    Maintained the MPN in the purchasing view of material master.
    I created a PR for this material, MPN appears in Material data
    tabview. When I create a PO with ref to this PR, MPN not
    appearing in Materil data tab. Direct PO made with same
    material also not showing the MPN.
    MPN is enabled in field selection setting and ME21n
    transaction.
    Will someone help me to solve this issue.
    Thanks and Regards
    PK

    First Understand the Process of Manufacturer Part Profile :
    Create External No ranges for Vendor Account Group MNFR and save.
    Now Create Each Make / Manufacturer like ABB as one Vendor in XK01 Trxn code.
    Create Material Code original say XXXX in MM01 with ROH material type. (for eg Transistor which is available with ABB & Seimens make)
    Create material code for ABB make say 11with Material type HERS which contain only two views (Basic Data & Purchasing) and give Make, Original material No & Material group and other details and save.
    Create material code for Seimens make say 12with Material type HERS which contain only two views (Basic Data & Purchasing) and give Make, Original material No & Material group and other details and save.
    Create a Purchase order with original Material XXXX, then it will ask for mnfg part profile then select the material and click F4 on it it will show you the created mfg part nos like ABB 11 & seimes 12 and select one and save.
    Prerequisite is you have to Activate Mfg part profile in OMPN trxn code
    And in Material master Purchasing View Select the mfg part profile and save
    Even if you set the Mfg part number in Display mode in SPRO settings system will throw the same error.
    Now What can be done is :
    Either go to ME21N and Select material tab after inputting and press f4 and select Manufacturer part number options then system will showe the list of mfg part number maintained to that material select the desired and save.
    Else go to MM02 Purchasing View and in Mfg part Profile tab there must be a four charecter profile assigned to field Remove this and save.
    The Second option is not a good practice.

  • Contract , PO and PR

    Dear Expert
    We are having a 3 department one is dealing with vendor so they create contracts with the vendor and other is meant for po creation and third one is a user department  which create PR  either manually or through MRP . So the client require that po should be made with refrence to contracts as well as PR .. I.e value contract created for one finacial year and against that PO which is a release document is created and sent to the vendor , but PO should be created as and  when  required and requirementis come from  PR . So how can we map the same in the system
    Regards
    farhan

    Hi usmfarhan ,
    You can try the below process.
    Create PO with ref to Contract-->
    Step 1:
    ME21N Screen select doc. overview screen --> select the contract options --> enter the material or vendor number take the contact number put it to basket at above the header item.
    now the system list the details of line item.
    Step 2:
    Now select item details >delivery schedule tab> again select Doc. overview on screen select the Pur. Req. enter the material or PR number . you can take the list in overview screen. -- > select the required PR number drack the number put it in to the Basket of Bottom screen of Delivery schedule.
    Now you may receive some red light in delivery schedule. delet the line item.
    Now now can have the Contract reference at item line details.
    Pur. req. reference at delivery schedule line.
    Hope this will work for you.
    SAM

  • Purchase order Condition control tab?

    Hi,
    Here in the purchase order condition control tab I need to get Price Date and Price date category. Presently they are not appearing in my purchase orders. When I go to screen layout, I am not able to get those fields to configure.
    Could please anybody help me urgently?
    Thanks,
    Bhairav

    Hi
    GOTO----> OLME--> PO -> Define Screenlay out at Document level -> There Choose your Field Selection ( NBF  and ME21N)... and go into to details--> And select the field selection group  Quantity and Price and Double Click--> There you choose the field  <b>PRICING DATE CONTROL</b>    and  Check it as a Required Entry or Optional Entry and save . <b>DO IT FOR BOTH NBF and ME21N FIELD SELECTION.</b>
    Now when ever you make PO in ME21N.....You will get Pricing Date Category and  Price Date Fields in  PO-> Item Details---> Condition Control Tab.
    Reward if useful
    Regards
    S.Baskaran
    Message was edited by:
            baskaran srinivasan

  • Purchase Order for Leased Asset

    Hello,
    I want to create an Purchase order for leased asset and want to make the payment for that.
    It will be helpfull for me if you can tell the config setting required for that and the sequence of Transactions for completing the cycle for the same.
    Cheers,
    Manish Jindal

    Hi,
    You first need to create Asset Number in transaction AS01. This is normally done by finance people. Once you get the asset number, create purchase order in transaction ME21N, by selection account assignment as A - Asset. Enter other data such as material number, quantity, requirement date, price, tax code. In the account assignment tab at item level, enter the asset number you got while creating the asser in transaction AS01. Save the purchase order.
    Once you receive the material against this purchase order, the accounting entries will be done against the asset number.
    Hope this fulfills your query.
    Regards,
    Prashant

  • How to make collective purchase order from planorder generated from MRP

    Hi Experts,
    I have 2 queries are
    1) Is there any option to create collective Purchase order or Purchase requisition from Plan order generated from MRP ?
    for e.g one packaging material is use in different finish goods products when we run MRP on all finish goods its generates Plan order of FG and BOM. In  packaging material it dependent of 3 to 4 FG and its generate 3 or 4 different Plan order.
    It is possible to create collective PR or PO ?
    2) Is there any possibility to convert Plan order onto Purchase order by vendor , material and delivery date ?
        I have use ME59N and MD15 but its not useful for me.
    Thanks
    Farrukh khan

    Dear farrukh,
    when MRP run You should set mrp control parameter
    Create Purchase requisitions :- 1
    then after mrp run Purchase requisitions created.
    and
    we can change collective Purchase requisitions in to one Purchase order.
    go to selection variant in ME21N,
    then select Purchase requisitions and put all Purchase requisitions.
    and adopt and create Purchase order.
    but condition is it will create only same material and same vendor.
    Jainashu

  • Returns to vendor PO with delivery..

    Dear All,
    When we process a return to vendor PO via ME21N , we selects the returns item box tick (Say company code - NZ01)
    Once the warehouse have confirmed the stock has been despatched we have to then create a outbound delivery via VL10B and then go into change outbound VL02N and pick/post goods issue to despatch the stock in SAP.
    But when we use another company code (Say UK01),we do not need to create an outbound delivery we just go into MIGO and post goods receipt the stock and as movement type is 161 it despatches the stock off the system. Is there any reason why first company code are unable to do this, when we tried to do it this way SAP advised the order contained no selectable items?
    Is it due to delivery parameters are linked to the document type?
    Please reply
    Amit

    Hi,
    This depends on the Return PO Documnet Type and Plant from where materials have been returned. Just check in option SPRO > Materials Management > Purchasing > Purchase Order > Returns Order > Returns to Vendor - Here check the Delivery Type "RL" assigned to the combination of PO Doc Type and Supplying Plant.

  • Vendor return posting is into RG23A

    Dear Guru
    I am recently facing this problem last three days my problem is
    when i am returning raw materials to vendor i mean to say when i am doing return cycle for vendor the posting is done in RG23A
    i am making po with me21n with selecting return type and then doing migo and then i am doing J1IS the posting is hitting in RG23A in my case the material migo and miro both has been done i am doing any wrong step please suggest me with step by step cycle of material returning to vendor
    thanks in advance

    Hi,
    have made 161 relevant for RG23A. But when i do J1I5 with IPD its not getting any material document with movement type 161. So j1i5 is not helping
    give material document manually there ,you know document number
    Regards
    kailas Ugale

  • Info Record Validity Dates - Future Period

    Hi Gurus
    can you help
    we have current Purchase Info Recs in place, with pricing condition records that have a validity date that will expire in the next few days
    we have already loaded the next pricing for the next cotnract period with the vendor, but wish to check the accuracy of the data before that pricing condition becomes "current"
    do you know how can we pull the data from the future validity period pricing condition record, so we can validiate this
    i have only found ways to get the current pricing conditions, but not the one for the future period
    please advise
    many thanks

    hi Velu
    we maintain Pricing Condition Type PB00 in ME13
    when i key a Pur Ord for the part, then go to Conditions tab in ME21n, then select the Analysis of the Pricing Condition, it bring up Procedure RM0000
    then Gross Price PB00, then various steps under this
    a number of steps not executed due to requirements not filled etc, being Contracts, outline agreements, Plant Infor Rec Order Unit, then Material Info Rec (Plant Specific)  A017, then Material Info Rec table A018 with various field names
    For Access Sequence step Mat Info Rec (Plant Specific)  it does say No condition record was found for this condition using the document data.
    any thoughts
    If we cannot resolve i shall leave it for now, and review on the day it becomes current
    many thanks

  • Purchase order for Capital Asset.

    Hello,
    How can I create the purchase orders for Capital Asstes?
    Narendra.

    Hi,
    You first need to create Asset Number in transaction AS01. This is normally done by finance people. Once you get the asset number, create purchase order in transaction ME21N, by selection account assignment as A - Asset. Enter other data such as material number, quantity, requirement date, price, tax code. In the account assignment tab at item level, enter the asset number you got while creating the asser in transaction AS01. Save the purchase order.
    Once you receive the material against this purchase order, the accounting entries will be done against the asset number.
    Hope this fulfills your query.
    Regards,
    Prashant

  • Framework Order.

    Hi,
    I have a situation:
    The production order creates few purchase requisitions (from external processing key), these requisitions are standard and they do not have a material number. Its for a service we need to purchase.
    It is easy to take these requisitions and convert them into one PO and work with it. But, my client does not want to use a PO. He wants to use a framework order. Is there any way we can connect these requisitions to a framework order?
    Looking forward to your answers.
    Will give points to answers that are helpful.
    Thanks.

    Hi Sandeep,
    Frame work order is again a type a PO.This is used as a blank PO for a service to be done throughout a period. so ur clients requirements is correct.
    what we can do just create a frame work PO by selecting the corresponding document type in ME21n and select the item as limits.
    Now for the material we can enter just a description of the service to be done on the description tab since we are going to assign this to a cost center.
    if needed even material group can be given .
    and also enter the upper and lower limit of the value of the  service that can be done once with the overall limit of the order in the item detail tab limits.
    enter the cost centre and gl account no.
    for this we can directly post the invoices, no GR or service acceptance entry.no account assignment should be there in PO.
    while doing IV systems checks for the validity period and overall limit of that PO
    hope this will give u idea
    regards
    raja

Maybe you are looking for

  • How do i extend airplay to stream music at the same time to AEX and ATV2

    I have a new ATV2 and an AEX, my macbook, 2 Ipod touches and an Ipad2. I figured out how to setup my ATV2 and airplay through my macbook and my touches. My ATV2 is in my living room on a Yamaha 6.1 receiver with 2 channels. I have 6 speakers in my li

  • "unplug the device too much power to re-enable USB devices"

    Every time i plug my mouse (razer naga) on any USB port it says "unplug the device too much power to re-enable USB devices", the mouse used to work perfectly but now i can't use it for more then 5 seconds without showing that notification and disabli

  • ABAP Query Using LDB

    Hello Frn's I need to develop a abap Query using LDB , for this a Infoset is allready created , which uses PNPCE LDB . Below i am Descrbing the scenerio , for which we need to develop the query .... Dept/Div Transfer Employees who transferred dept or

  • Lost address book, found file named AddressBook.data.previous

    My address book is gone. I found AddressBook.data.previous in Application Support under my account, but I can't open it and can't drag it to the Application. Any help? Is this my missing data? Best to all.

  • How to make the auto generated java script not to have any html comments.

    Hello BEA Experts, As you know that auto generated javascript functions like getNetuiTagNames in Workshop are included with in the the HTML comment tags like <b><!-- --!></b> its another thing they should be generated correctly as follows <b><!-- //-