Determine Purchase Order in ME23n/ME22n

Hello.
Question from user. In transaction ME23/ME22 firstly selection screen appear and you could choose exact PO for display/change. Wjen you use ME23n/ME22n trs the last (or last used don't know exactly) PO displayed and only after that you able to choose the Order you want to display/change.
Is it possiable to have selection screen first in the ME23n/ME22n without displaying default PO?

>>you can use custom developement for this.
You mean user exits? Do you know what user exit I can use for that?

Similar Messages

  • Purchase Order Report with Me22n.....Kindly help its

    Hi Friends
      Here is my requirement.
    I have developed a purchase order alv report, and it is working perfectly.Now i want to give a provision to the user to view the desired purchase order from the report itself by taking him to ME22n transaction.
    any kind of solution is welcom.
    Thanks a lot to all.
    Mrutyun
    Edited by: Vijay Babu Dudla on Dec 3, 2008 12:20 AM

    Hi Tripathy,
    this is simple. when you double click you need to capture the clicked record and then set the parameter ID and then call transaction.
    REPORT  ZTEST_ALV_CHECK                         .
    TYPE-POOLS: SLIS.
    DATA: X_FIELDCAT TYPE SLIS_FIELDCAT_ALV,
          IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
          L_LAYOUT type slis_layout_alv,
          x_events type slis_alv_event,
          it_events type SLIS_T_EVENT.
    DATA: BEGIN OF ITAB OCCURS 0,
          VBELN LIKE VBAK-VBELN,
          POSNR LIKE VBAP-POSNR,
          CHK(1),
         END OF ITAB.
    SELECT VBELN
           POSNR
           FROM VBAP
           UP TO 20 ROWS
           INTO TABLE ITAB.
    X_FIELDCAT-FIELDNAME = 'CHK'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS = 1.
    X_FIELDCAT-INPUT = 'X'.
    X_FIELDCAT-EDIT = 'X'.
    X_FIELDCAT-CHECKBOX = 'X'.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
    X_FIELDCAT-FIELDNAME = 'VBELN'.
    X_FIELDCAT-SELTEXT_L = 'VBELN'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS = 2.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
    X_FIELDCAT-FIELDNAME = 'POSNR'.
    X_FIELDCAT-SELTEXT_L = 'POSNR'.
    X_FIELDCAT-TABNAME = 'ITAB'.
    X_FIELDCAT-COL_POS = 3.
    APPEND X_FIELDCAT TO IT_FIELDCAT.
    CLEAR X_FIELDCAT.
    L_LAYOUT-window_titlebar = 'Popup window'.
      x_events-NAME = SLIS_EV_END_OF_PAGE.
      x_events-FORM = 'END_OF_PAGE'.
      APPEND x_events  TO iT_EVENTS.
      CLEAR x_events .
      x_events-NAME = SLIS_EV_TOP_OF_PAGE.
      x_events-FORM = 'TOP_OF_PAGE'.
      APPEND x_events  TO iT_EVENTS.
      CLEAR x_events .
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
      EXPORTING
        I_CALLBACK_PROGRAM       = SY-REPID
        IS_LAYOUT                = L_LAYOUT
    <b>    I_CALLBACK_PF_STATUS_SET = 'STATUS'
        I_CALLBACK_USER_COMMAND  = 'USER_COMMAND'</b>
        IT_FIELDCAT              = IT_FIELDCAT
        it_events                = it_events
    *    I_SCREEN_START_COLUMN    = 10
    *    I_SCREEN_START_LINE      = 1
    *    I_SCREEN_END_COLUMN      = 50
    *    I_SCREEN_END_LINE        = 20
      TABLES
        T_OUTTAB                 = ITAB
      EXCEPTIONS
        PROGRAM_ERROR            = 1
        OTHERS                   = 2.
    IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    FORM TOP_OF_PAGE.
    * BREAK-POINT.
      WRITE: / 'TOP_OF_PAGE'.
    ENDFORM.
    FORM END_OF_PAGE.
    * BREAK-POINT.
      WRITE: / 'END_OF_PAGE'.
    ENDFORM.
    *&      Form  STATUS
    *       text
    *      -->P_EXTAB    text
    FORM STATUS USING P_EXTAB TYPE SLIS_T_EXTAB.
    *- Pf status
      SET PF-STATUS 'STATUS'.
    ENDFORM.                 " STATUS
    *&      Form  USER_COMMAND
    *       text
    *      -->R_UCOMM      text
    *      -->RS_SELFIELD  text
    FORM USER_COMMAND USING R_UCOMM     LIKE SY-UCOMM
                                   RS_SELFIELD TYPE SLIS_SELFIELD.
      case r_ucomm.
        when 'BACK' or 'CANC' or 'EXIT'.
          leave to screen 0.
        when '&IC1'.
          set parameter id 'AUN' field rs_selfield-value.
          call transaction 'VA03' and skip first screen.
      endcase.
    ENDFORM.                    "USER_COMMAND
    the above code takes you to Sales order Display VA03 similarly you should code,
    don't forget to set the pf-satus and user-command. and enable F2 key with &IC1.
    Regards
    vijay

  • How to send a Mail purchase order automaticaly from ME22N

    How to send a Mail purchase order automaticaly from ME22N

    Hi,
    First create an entry via NACE with medium =   5 ( External send ) with all other details same as normal print option. Now ensure that vendor master of the po has got the external e-mail id of the vendor. Now go to ME22n in mesages create a message with medium = 5 ( External Send ). Go to communication method, key in Communication strategy.Go to Further date & against Despatch time pick up option 4 viz. Send immeidately while saving an application. Now once you press the save button it will be sent to the address maintained in the vendor master of the vendor of the PO. Please note you require some basic settings from BASIS side as well.
    I hope this helps,
    You may also refer to the SAP note 191470.
    Regards
    Raju Chitale

  • ME23N - Add PO creator to display of purchase order via ME23N

    Hi
    Could someone advise me how to add 'PO creator userid' to the display of purchase order via transaction ME23N  (field EKKO-ERNAM)
    any help much appreciated
    Thanks

    yes i had looked at that option but the field 'PO created by' is not an option there!!
    any other ideas....i am aware of the BADI option to add this using a userexit but thinking of more standard option to do it

  • Shipment cost - determine purchase order

    hello ,
    i have a requirement to supply different purchase order for each shipment route .
    the determination sould be based on shipment type and route .
    for example :
    if the shipment type is X and route is B - the shipment cost sould go to purchasing doc DDD
    if the shipment type is Y and route is B - the shipment cost sould go to purchasing doc EEE
    I found some user exits :
    exit_rv54pocr_006 : header data supply
    exit_rv54pocr_007 : item data supply .
    is it possible to manipulate via the above user exits ?
    other ideas ?
    Regards
    ASA

    check the interfaces of those two exits.. if they hold values from what you want then definitely you can change..

  • Print Purchase Order from ME23N

    Hello.  I need to know, how the way to enabled the print button or print option on menu, when I see the P/O through ME23N Trx.  On my installation R3 4.7, When I click on print preview of the order, the button of print is disabled.  Authorization problem is impossible, 'cause I working with a SAP_ALL Account.  If any member of this community known the solution, please answer.
    With my best regards from Chile
    Leonardo

    Hi Leonardo
    You first need to define an output in the PO to be able to see the Print preview. the standard SAP PO print output type in NEU
    two ways of doing it are:
    1. Open the PO in ME22N. then click on messages and manually propose output type NEU and then try to see the Print preview
    2. Define condition records for NEU output type in transaction MN04 - this will propose outputs in the future documents which meet the defined criteria
    Please try and reward points if it helps you
    Rgds

  • ME23N - Read Last Purchase Order for Display

    Hi,
    We are upgrading from 4.6C to ECC6 and one of the problems the users have identified is that when displaying the purchase order with transactions ME22N or ME23N the last purchase order that was worked on is not always the one that is displayed.
    This is very evident when creating a PO with ME21N and then switching to view it on ME23N - in ECC6 the PO that was created is never the PO that is displayed on ME23N; whereas in 4.6C creating a PO with ME21N and switching to ME23N the PO that was created is ALWAYS the PO that is displayed on ME23N.
    It this feature (whatever) no longer available with ECC6?  Is it a configuration settings that we haven't properly set in ECC6? 
    Thanks for any help.
    Martha

    I analysed how SAP remembers the previous purchase order number in transaction ME23N in version 4.7 as I do not have access to version ECC6. In version 4.7 transaction ME23N reads table ESDUS (MM: Dynamic User Settings) in the following way
    ESDUS-UNAME = sy-uname
    ESDUS-ACTION = 'MEPO'
    ESDUS-ELEMENT = 'Application         Po_Process'
    The purchase order number is the first 10 characters of ESDUS-ACTIVE (ESDUS-ACTIVE+0(10)).
    When you read a new purchase order SAP writes that order number to table ESDUS using function module ES_SAVE_USER_SETTINGS. When you revisit the transaction SAP uses function module ES_READ_USER_SETTINGS to read the purchase order number stored in table ESDUS.
    Ask an ABAP programmer to investigate this in your system with the information I have provided you. He/She should be able to find out what is going wrong. I am limited because I do not have access to your system. Hope this helps. Please let me know what the ABAP programmer found out.

  • ME23N purchase order history - add new fields (not in layout)

    Hello,
    I would like to expand the layout of Purchase order history (ME23N).
    I would like to add the field MKPF-BKTXT into the purchase order history for more information.
    Who can help? - Thank you.  - Dietlinde

    Hello,
    You might have to enhance the column set of the layout..I am not sure if it could be done.. but that's the way to go.. You might want to confirm this from your technical team.
    Good Luck!!

  • Purchase order Print preview Problem in ME23N

    Hi all,
    We are trying to see print preview of purchase order in ME23N, but, when we press print preview button another window named "SAPLPD" is poping up. The pop-up window looks like command propmt window and contains lines like
    "(11:25:54 AM) Icon DLL loaded.
    (11:25:54 AM)
    (11:25:54 AM) Network Communication via SAP-NiLib
    (11:25:54 AM) Hostname: L04WSChe0300
    (11:25:54 AM) IP Address: 10.87.7.11
    (11:25:54 AM)
    (11:25:54 AM) SAPLPD Version 6.28 for Windows/NT (OPT) is listening
    (11:25:54 AM) OS-Info: version = 5.1, build = 0/2600, text = Service Pack 2
    (11:25:54 AM) Copyright © 1992-2001 SAP AG
    (11:25:54 AM)
    (11:26:04 AM)
    (11:26:04 AM) Receive job for printer __DEFAULT (Berkeley LPD protocol / RFC1179)
    (11:26:04 AM) send_status called
    (11:26:05 AM) send_status called
    (11:26:05 AM) send_status called
    (11:26:07 AM) send_status called
    (11:26:07 AM) send_status called
    (11:26:07 AM) Job 000jgjJp.DEV for user DEV2 queued.
    (11:26:07 AM) Start printing job 000jgjJp.DEV on printer MICROSOFT OFFICE DOCUMENT IMAGE WRITER
    (11:26:13 AM) Error: Unable to start print job, Windows rc = -2, Error = Overlapped I/O operation is in progress.
    (11:26:13 AM) Error: BG: saplpd_open_dc failed, msg = 808 SAPLPD:Windows Problem, siehe SAPLPD Protokoll
    How can I fix this problem and see print preview of purchase order in ME23N.
    Please help me!
    Thanks,
    Rajan

    hi,
    DATA: w_compop    TYPE ssfcompop.
    w_compop-tdimmed   = ' '.     "Print Immediately control parameter should be empty..
    Then only print preview pop-up will come..
    then call your smartform like this..
    CALL FUNCTION fnam
        EXPORTING
          control_parameters = w_ctrlop
          output_options     = w_compop
              TABLES
          it_vbdkr           = it_tvbdkr[]
          it_vbdpr           = tvbdpr[]
          it_zglentitycode   = it_zglentitycode[].
    regards
    vijay

  • Bad performance updating purchase order (ME22N)

    Hello!
    Recently, we face bad performance updating purchase orders using transaction ME22N. The problem occurs since we implemented change documents for a custom table T. T is used to store additional data to purchase order positions using BAdIs ME_PROCESS_PO_CUST and ME_GUI_PO_CUST.
    I've created a change document C_T for T using transaction SCDO. The update module of the change document is triggered in the method POST of BAdI ME_PROCESS_PO_CUST.
    Checking transaction SM13, I recognized that the update requests of ME22n have status INIT for several minutes before they are processed. I also tried to exclude the call of the update module for change document C_T (in Method POST) - the performance problem still occurs!
    The problem only occurs with transaction ME22N, thus I assume that the reason is the new change document C_T.
    Thanks for your help!
    Greetings,
    Wolfgang

    I agree with vikram, we don't have enough information, even not a small hint on usage of this field, so which answer do you expect (The quality of an answer depends ...) This analysis must be executed on your system...
    From a technical point of view, the BAPI_PO_CHANGE has EXTENSIONIN table parameter, fill it using structure BAPI_TE_MEPOITEM[X] alreading containing CI_EKPODB (*) and CI_EKPODBX (**)
    Regards,
    Raymond
    (*) I guess you have used this include
    (**) I guess you forgot this one (same field names but data element always BAPIUPDATE)

  • Purchase order sent as a mail

    CAn anyone please tell me the basic settings for the Purchase order output to be sent as the mail.

    Hi,
    Refer SAPNote 191470 - Purchase order as an e-mail
    Basically there are two mail types: Internet mail (external mail) and SAPOffice mail.
    Mail is sent via the output determination in both cases.
    If you use the external mail, the message for the purchasing document is converted into a corresponding text file which is sent to the vendor via the Internet.
    SAPOffice mail is sent only within the R/3 System and has mainly the function of providing information.
    In particular, it is not possible to attach a message (form) for a purchasing document to a SAPOffice mail.
    When using external mail , the following basic settings are required:
    1. You must maintain an e-mail address in the address in the vendor master.
    2. The same applies to your own user master. You also have to specify an e-mail address there in order to identify the sender.
    o Note that it is not possible to change the e-mail address of the vendor via the SAP purchase order transaction (ME21N, ME22N, and so on).
    o You can only make a permanent change using the vendor master transactions XK02 or MK02.
    o You can use a temporary email address in Transaction ME21N.
    3. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail. You can find the definition of the communication strategy in the Customizing
    via the following path: (SPRO -> IMG -> SAP Web Application Server -> Basic Services -> Message Control -> Define Communication Strategy).
    As a default, communication strategy CS01 is delivered. This already contains the necessary entry for the external communication. Bear in mind that without a suitable communication strategy it is not possible to communicate with a partner via Medium 5 (external sending).
    4. Use the standard SAP environment (program 'SAPFM06P', FORM routine 'ENTRY_NEU' and form 'MEDRUCK') as the processing routines.
    5. In the condition records for the output type (for example, Transaction MN04), use medium '5' (External send).
    6. You can use Transaction SCOT to trigger the output manually. The prerequisite for a correct sending is that the node is set correctly. This is not described here, but it must have already been carried out.
    7. To be able to display, for example, the e-mail in Outlook, enter PDF as the format in the node.
    To use the SAPOffice mail, the following basic settings are required:
    1. For the output type for default values, a communication strategy needs to be maintained in the Customizing that supports the e-mail. You can branch to the maintenance of the communication strategy via the input
    help.
    2. Use the SAP standard environment (program "RSNASTSO" and FORM routine "SAPOFFICE_AUFRUF") as the processing routines.
    3. In the condition records for the output type (for example, Transaction MN04), use medium '7' (SAPOffice) and also partner role 'MP' (mail partner).
    Additional settings:
    Problem:
    How can you both change the mail title and text for the sending of a mail message and maintain a replacement parameter, for example a document number.
    Solution:
    1. The replacement routine is maintained in the Customizing for the output type in the detail screen on the 'General data' tab under 'Replacement of text symbols' (for Release < 4.6B, this can be found on the 'Mail' tab page).
    Program: SAPMM06E
    FORM routine: TEXT_SYMBOL_REPLACE
    2. If you work with the new Enjoy Transaction ME21N, ME22N or ME23N, Notes 370522 and 420066 are required.
    3. Maintain mail title and text.
    o If you want to send a purchase order within an R/3 system using the SAP office, you can maintain both the mail title ('Re:') and also a mail text in the Customizing for the output type To do this, select the directory mail title and text for the corresponding message type.
    o If you want to send a purchase order as (external) mail, for example, to a vendor, you have to maintain the mail title in the condition record for the output type (for example in Transaction MN05) on the 'Communication method' tab page. Enter the mail title in the 'Text for cover page' field. You cannot maintain an additional mail text.
    o Note that the values from the mail title are used to create the description for the attachment.
    4. The replacement parameters must be enclosed by &. Example: You want to enter the title 'PO number 450000001'. For this you have to enter the following in the Document Title field (Message Customizing -> sub-option: Mail title and texts) 'PO number &EKKO-EBELN&'
    o Note that the replacement via TEXT_SYMBOL_REPLACE can only be executed as of Release 4.6B.
    If you also want to use the purchase order number in a release < Release 4.6B, refer to Note 120474 - as an alternative, you have the option of implementing the text replacement functions by Consulting, priced separately
    Problem:
    You send a purchase order by e-mail and want to attach the document as a file type (for example, PDF).
    Solution:
    The file type is maintained in the corresponding node in SAPConnect (Transaction SCOT). If you have any further questions, contact your Basis administration.
    Attaching purchasing documents to e-mails is only possible for external (Internet) mails. This is not possible with SAPOffice mails.
    Problem:
    Although LET (print) for example is still set as the alternative to INT (e-mail) in the communication strategy, a program termination occurs because of a missing e-mail address.
    Solution:
    See Note 310234.
    Problem:
    When you send a mail message for a purchase order, a short dump occurs if the purchase order was created with reference to an outline agreement.
    Solution:
    See Note 502250

  • Which Sales order created a purchase order?

    Dear Experts,
    What would be the table to look at to check which Sales order is  used to create a type of purchase order?
    I know the stock purchase order but not the sales order number that triggered an auto creation of this PO.
    Pls advise. Thanks
    regards
    M Russo

    Hello,
    Ideally purchase order is linked to sales order in cross docking and third party sales scenario.
    In both of above scenario's  sales order is linked to purchase order via purchase requistion.
    If you know the purchase order number, then you can find the respective sales order number in the account assignment tab in purchase order screen.
    You need to open the purchae order with ME23N/ME22N and go to item detail and check the account assignment tab.
    Here you will get the corresponding sales order number.
    BR/
    Tushar

  • Updating Purchase Order

    Hello everyone,
    I have a business requirement to add a new custom field, at item level, in the Purchase Order transaction (ME21N/ME22N/ME23N). It is a char10 field.
    I have already created this new field, which is correctly updating the EKPO table.
    But now the business want to update this field for all Purchase Orders created in the past. I think that I will be able to update it by using a BAPI, however what I really want to know is if there is any problem in doing this since some POs were created more than 3 years ago and for which there are goods and invoice receipts.
    Will this create any inconsistency in the subsequent documents (Goods receipts, invoices) generated after the PO was created?
    Thanks for the help.
    Best regards,
    Tabrez

    I agree with vikram, we don't have enough information, even not a small hint on usage of this field, so which answer do you expect (The quality of an answer depends ...) This analysis must be executed on your system...
    From a technical point of view, the BAPI_PO_CHANGE has EXTENSIONIN table parameter, fill it using structure BAPI_TE_MEPOITEM[X] alreading containing CI_EKPODB (*) and CI_EKPODBX (**)
    Regards,
    Raymond
    (*) I guess you have used this include
    (**) I guess you forgot this one (same field names but data element always BAPIUPDATE)

  • Send purchase order by e-mail with address of bad partner order

    I have a supplier with 3 addresses of order of which I choose 1 during the creation of the order.
    The creation of message NEU is done with the new partner.
    The sending by e-mail is done with the address of the initial partner.
    I do not find any note OSS on this problem.
    We are with the version SAP ECC 6.0.
    Did somebody already encounter this problem?
    Thank you in advance for your assistance.
    Frédéric Blaise

    Hi Frédéric,
    Sorry about the mess, SDN does this some times. I'll try it again.
    I have attached a very useful note 191470 regarding the steps you need to setup to enable message determination in the PO via email.                                                                               
    191470 - Purchase order as an e-mail                                                                               
    1.  You must maintain an e-mail address in the address in the vendor      
         master.                                                                               
    2.  The same applies to your own user master.You also have to specify a  
         e-mail address there in order to identify the sender.                                                                               
    o  Note that it is not possible to change the e-mail address of the  
            vendor via the SAP purchase order transaction (ME21N, ME22N and   
            so on).                                                                               
    o  The system only uses the e-mail address of the vendor that is     
            maintained in the vendor master!                                  
    However a suggested workaround would be in that transaction XK02          
    you can enter several e-mail addresses and select the standard one.       
    When you create a purchase order in ME21N, in 'address' tab, click on     
    'address details', there you have the possibility to select another       
    e-mail address than the standard one.                                                                               
    Also regarding the partner functionality and message determination        
    I would advise you to review the help documentation online via            
    http://help.sap.com/.                                                                               
    Help documentation - vendor master (partner roles)                                                                               
    Logistics -> MM -> purchasing -> master records -> vendor master ->       
    partner roles in purchasing.                                              
    Message determination                                                                               
    If you want to have partner roles taken into account in the message          
    determination process, you must select the New Partner Role                  
    Determination indicator in Customizing when assigning the message            
    determination schema.                                                                               
    To do so, choose Messages -> Output Control -> Message Determination         
    Schemas -> Define Message Schemas for  in Customizing for Purchasing.                                                                               
    If you select the indicator, all partners maintained in the purchasing       
    document will be passed on to the message determination facility. For        
    each partner role, the latter then searches for condition records            
    containing the relevant role. 
    Hope this helps,
    Kind Regards,
    Matthew

  • Purchase order form display the BOM of the item material

    Dear :
      When i print or preview the purchase order in ME23n,I want to display all of the  components of  material which every item used.(sap standard output type is NEU,form is MEDRUCK)
      The components can be displayed when we click the button of "Components" in the right "Material Data" ITem Tcode:ME23N.
      Firstly ,i have to get the BOM of the material through the function:CS_BOM_EXPL_MAT_V2.But NOW,i found that ,In ME22N ,the operator would change the components and saved the order,
       so, my way to display the component in the print form is wrong!:(
       anyone give me some advice?
       Thanks.

    Shao,
    I guess you will have to design your SMART Form according to your requirments and configure this SMART Form to be called from the output conditions of the PO.
    In this SMART Form, you will have to include the logic of exploding the BOM and showing the components as well.
    I don't its a standard functionality.
    Regards,
    Ravi
    Note : Please reward the helpful posts.

Maybe you are looking for

  • HP 2200 Printer no longer recognized (10.7)?

    I got a new MacBook Pro with 10.7 (updated to 10.7.3 now).  I'm running the printer through Airport Express's USB. It was working fine, but at some point, I'd get the interminable "Finding printer".  I could be misremembering though, and maybe it nev

  • Adobe Air for win8 metro apps

    Hi guys, I might be a little early with the question, but actually its something which will bug us all at some point. Windows 8 METRO apps. On tablets the metro interface will not support the flash plugin on websites, so we cannot have flash apps on

  • Daq problems voltage ramping

    Im using SCB-68 with a PCI-6221 DAQ Card. Im capturing data from an analog input 2 and its just two AA batteries 3vDC. When i let MAX run and open a test pannel for input 2 after about 15 mins the voltage graph jumps to 10.6 volts and remains there.

  • Photoshop error Creative Suite 5.5

    I recently installed Adobe Creative Suite 5.5 Design Premium (for windows.) While running Photoshop, I will get the following error message: The instruction at "0X6963932b" referenced memory at "0X000000a0"  (or sometimes "0X00000980") The memory cou

  • Data integrator and informatic

    Hi There does any one know the difference between informatic and data integartor? if someone has informatic skill, could it be easy to transfer to data integrator? thanks