Change output type of Purchase Order

Hi All,
Is it possible to programmaticlly change(or add) the output medium in transaction me21n / me22n when a user creates a PO?
I've been able to config the system to allow the PO to either be emailed or faxed upon the user saving. There is a requirement that when the user clicks the save button through a pop up window they can either choose fax or email, and it must then either fax the PO off, or it must email it depending on what they selected.
Is this possible?
Thanks!

U can do it, provide the desired Output types are configured in NACE.
Just look it in NACE > Output types 'EF'  and select NEU click Processing routines,see what all output types defined.
Now Goto> tcode ME23n> choose an order> In essages>Check wether message type has the medium FAX or Email. Set the message Output type for ur desired and save,
Click on Further data and select at the time of saving.
For FAX  you have to make some technical customizing in transaction SCOT in order to configure Fax connexion from SAP and then set the file fomrat you want for fax.
Remember that if you want to send Fax directly from SAP, SAP need to be connected to a Fax Card or a Fax Server .
Edited by: Bala Krishna on Aug 13, 2008 9:42 PM

Similar Messages

  • Suppress Output type in Purchase order 'message' tab

    Hi,
    Can any one suggest how to suppress the existing output type in purchase order ' selecting from list of output's from message tab'.
    We need in database and should not delete. can it be possible to hide from list in PO that user cannot select that output.
    Thank You,
    Bhanu.

    Bhanu,
    I got your requirement, but could you please let me know on what scenario you need this, because if you need the system to perform like this only when there is some specific fields in the PO, like for eg, P.organisation, or vendor, or Document type etc,,,,anything specific to this,.....then i think if  you create a table which will exactly show your target values, like grouping DOC+P.ORG+VN, or any other combination, and then assigning this to one access sequence which will in turn get assigned to the Output type which you want, then i think only that output type will pop up as the other one is not assigned to the access sequence or the combinations you set. Likewise you can suppress one Output type.
    Regards,
    Sankar

  • Reg.Output type for purchase order

    Dear Sir
    I followed your steps but not come to "List of allowed output"
    when I select the message for Purchase order(ME21N). There are listing NEU,SPO,MAHN  and AUFB.
    I just copy the NEU and all,I did not change anything.
    Maintain Output of Purchase Order
    1. Condition Table
    SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
    Select:
    Purchasing Doc. Type,
    Purch. Organization,
    Vendor
    2. Access Sequences
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
    3. Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
    Ex:
    EF---> TES
    Select “TES” and double click on “Mail title and texts” and go to
    EN- New Purchase Order Print Out,
    Select “TES” again and double click on “Processing routines,
    Select “TES” again and double click on “Partner Roles
    4. Message Determination Schemas
    4.1. Message Determination Schemas
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
    4.2. Assign Schema to Purchase Order
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
    5. Partner Roles per Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
    6. Condition Record
    Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create
    Now you create PO(ME21N) and save it. Go to ME22N and print the PO by giving output type TES.
    Please help me sir
    Rajj

    Hi
    Go to NACE
    Select application as EF Purchase Order
    Define TES as out put type there
    Vishal...

  • Default output type in purchase order

    Dear All
    i have short  and easy question:
    how can i set one output type(like NEU) as default in purchase order as when create P.O output type automatically comes from customizing?
    best regards
    R.T

    Hi,
    If you have done all customizing setting & maintain condition record for message type in t.code : MN04. Now Just fine tune the output (message) type in following path:
    SPRO>MM>Purchasing>Message>Output control>Message tyoes> Define message type for Purchase Order-->Fine-Tuned Control: Purchase Order
    Now here select the check box corresponding to your output(message) type NEU to have print output for this message type is automatically displayed & save.
    Now try creating PO & u will have default message type.
    Regards,
    Biju K

  • Assign output type to purchase order

    Hi Friends,
    I have defined an output tyoe for my purchase orders. I want to assign this output type to my PO such that whenever I create a new PO I dont have to assign the output everytime to take printout.
    Can someone please help me how to achieve this.
    Regards,
    Wasim.

    Hi,
    As all customizing setting done for PO print out & then maintain condition record for message type in t.code : MN04 with PO document type combination with other details
    Now Just fine tune your output (message) type for Purchase Order  in following path:
    SPRO>MM>Purchasing>Message>Output control>Message tyoes> Define message type for Purchase Order-->Fine-Tuned Control: Purchase Order
    Now here select the check box corresponding to your output(message) type  to have print output for this message type is automatically displayed & save.
    Now try creating PO & you will have default message type in the PO
    Regards,
    Biju K

  • Problem in using output type for purchase order

    Hi experts,
         I am using output type for first time so may be i have done wrong configuration for po output type.The steps i have done are :-
    1) Going to  tcode NACE->Selected  the row u201CEF Purchase Orderu201D and clicked on u201CProcedures".
    2) In procedures there are 2 procedures for the application EF (Purchase Order). To proceed further, we would need to find out the procedure that is currently active.Gone to transaction SPRO. In this, navigate as Materials management -> Purchasing ->Messages -> Output control -> Message Determination Schemas ->Define Message Schema for Purchase Order
    3) Clicking on u201CAssign Schema to Purchase Orderu201D. So, the procedure RMBEF1 is active for EF (Purchase Order) . 
    4) Go back to transaction NACE. Select u2018EFu2019 and click on u201COutput typesu201D.
    5)  Let us use the output type u201CNEU name purchase orderu201D for this purpose. Double-click on NEU.
    6) Ensured  that the checkboxes u201CAccess to conditionsu201D and u201Cmultiple issuingu201D are checked and the access sequence is 0001(DocType/PurchOrg/Vendor).Only 0001 and 0002 is available in f4 help for this.
    7) Now clicked on u201CProcessing Routinesu201D on the left hand side. Ensured that there is an entry for Medium u2018Au2019 (Distribution ALE).
    8) After that going back to the main screen of NACE. Select EF (Purchase Order) and clicked on u201CCondition Recordsu201D.
    Select NEU and clicked on u201CCondition recordsu201D. The pop-up box appears that gives three radio button option :-
      1) Purchasing output determination :purchasing org / vendor for EDI
      2) Purchasing output determination :doc. type / purchasing org /vendor
      3) Purchasing output determination :document type
          but it is not having option only for purchasing organisation through which we can send idoc for changes or creation of PO in that particular pur.org now if i choose 2) i have to give doc type and purchasing org both bcoz they are mandatory fields and value for vendor.
    9)  Also i  have done the necessary ALE configuration (not covered in this document). In the partner profiles, use the message type u201CORDERSu201D and the IDOC type u201CORDERS05u201D.In the tab u201CMessage Controlu201D, used the process codes u201CME10u201D and u201CME11u201D for u201CPO Createu201D and u201CPO Changeu201D respectively.
    but the idoc is not generated many times when po is changed and when once it is generated it is giving error
    Please suggest solution.
    Thanks in advance
    nehavt

    In me22n in messages tab after looking into  processing log it is giving->No recipient found for message type ORDCHG in the
    ALE model ,next time giving error as no idoc items belonging to purchasing document found,when i changed message type to ORDCHG the  status is green in messages tab it is giving-> error occured while idoc xyz is sent and in WE02 status is red 02
    error passing data to port(could not find code page for receiving system)

  • Debugging routine for output type in purchase order

    HI all,
       I am unable to get breakpoint to stop at a custom requirement  routine  for a custom output type (ZSND) for purchase order.
    I created routine 901 and explicitly add  'break  userid' .  In ME21N, it stops at the routine.  In ME22N, it did not stop at the routine.
    I like to it stop during ME22N.   I tried adding the custom output in ME22N in Messages details, then save.  It still did not stop at the custom routine.  Can anyone pls shed lights how i can make it stop ?  Or could it be that no output is generated during the ME22N changes, thus it would stop at that routine in ME22N ?
    thanks
    Joyce

    Hello Joyce
    The first output ZSND creates the ORDERS IDoc (ME21N). For this output type you obviously have assigned the VOFM condition (somewhere in the NACE transaction).
    Changing the purchase order (ME22N) should create a different output type (-> ORDCHG IDoc). The first output ZSND must not be repeated (or it is defined to be set automatically only once).
    Thus, there are two explanations for your observation:
    (1) The output ZSND is not created a second time using ME22N
    (2) The new output (-> ORDCHG) has not been assigned to the VOFM condition 901.
    (1) you can test quite easily by adding the ZSND output manually in transaction ME22N.
    (2) you need to check the output customizing.
    Regards
      Uwe

  • Output type of purchase order as email

    Hi Experts,
                    I want to configure the output type of my purchase order as  email also so that when i can save it as a pdf file. kindly tell me the procedure of configuring it with path in SPRO.
    Thanks
    Harmandeep

    Check this Link purchase order as email - SAPMM06E and TEXT_SYMBOL_REPLACE
    it will be helpful for you.
    Regards,
    S Anand

  • Unable to debug output type for purchase order

    HI all,
        In purchase order (ME21N) , i have a custom output type (ZSND) that send po to the user.  I try to debug the program when the output is called.  I put breakpoint in the custom program for the output ZSND.  However, It did not stop at the breakpoint.
    Can anyone tell me how I can debug the program ?
    thanks
    Joyce

    Hello,
    Try this:
    1. Put the break-point.
    2. Go to the transaction me22n  --> go to mesaage -->  click in your output type message click on further data --> put in dispatch time 'Send with aplication own transaction'
    3. Go to transaction ME9F put your document and message --> a list with the document will appears --> choose one and process it --> then it will stop in the break-point.
    Hope this will solve your problem.
    Best Regards

  • Output Type in Purchase order.

    Hi Gurs,
    When purchase order creation  if the output type is created automatically the print immediately check box is Checked defaultly and when entered the output type manually the print immediately  check box is Unchecked. I need the checkbox should be checked by default at any case. Help me gurs..
    Regards
    Vadi

    Hi,
    After entering output type manually, just save the PO and now see the PO (ME23N) and see the check box will be selected.
    Also check in NACE t.code for your manual output type the dispatch time is set as 4 & also need to set dispatch time as 4 in condition record for your manual output type.
    Regards,
    Biju K

  • Can output type for purchase order be distuinguished based on plant.

    hI ,
    I have created an output type and acess sequence with Plant as one entity as i want the output to be determined in PO for one plant only.I  maintained condition record for the same  . But when i  create PO, i am getting that output type for all plants for that particular purchasing organisation . Is the output type determination in PO based on header data only or it can be maintained based on item data also (as plant comes at item level in PO).
    Waiting for your kind reply.
    Thanks
    Rohit Chavan

    Hi,
    If PO has each line item has different plants ,your access sequence output type/plant wont work.
    If PO has same same plant for every line item then only this work.
    For restict plant wise you need to chage access sequence add some criteria like PO document type & vendor.
    Hope this would help,
    JS

  • Output type for Purchase order Plants

    Hi Gurus
    I need your help with the following issue. I have created 2 new Plants in our Purchasing module and we are able to create PO and enter invoice for the same. The issue that I have encountered is that when the PO is saved, vendor does not get notified by the automatic email. This email set-up is working for all other existing Plants but for these new Plants, there is some issue. I have checked the communication type and it is there. I don't know if these new Plants needs to be assigned something somehwhere in IMG. I am new to Purchasing module and have created the Plants for the first time. I am not sure where I have missed some step in the configuration. I would be thankful if you can provide me some help in resolving the issue.
    Thanks,
    Best Regards,
    Shalu

    Hello Shalu,,
    For this issue i suggest it is better to contact your workflow consultant or your ABAPER
    Best Regards,
    Ravi Reddy

  • Output type in Purchase Orders, erroring out for some users

    Hi All,
    We have a custom ouput type for PO, say 'ZZZ'. The problem is we do not get this out put type in the message screen of PO for some users and some time it gets populated for the same users. Please help me in understanding this issue as we are unable to track the things.
    Thanks,
    Amit

    Hi
    Please check the maintenace of the condition record, Check the key combination used. The conditon records are mainatined based on the organisational parmeters & the Vendor data.
    Please check the PO's in whcih the message are not coming automatically & check the combination exist or not as condition records.
    You can check the condition records using MN05, MN06
    Award points if useful
    Thanks & Regards
    Kishore

  • Changing a Message type on Purchase Order

    Hi guys,
    How can I change a standard message type on Purchase Order ?
    For example :
    On Purchase Order, when a insert a new Contract item number, occurs the Error message below :
    'Contract vendor 610065 differs from vendor 610195'
    But, I neet to change this message type from 'Error' to 'Warning' in some cases.
    How can I do this, please ? I'm learning OO now and I have some difficulty yet..
    tks
    Flavio

    I found a Method  'PROCESS_ITEM' in a Badi 'ME_PROCESS_PO_CUST' that the piece of code bellow.  I tried to insert the code :
    message e047(06) with '12345'.
    but... the message 47 didn't change, and this message only was added to messages.
      define mmpur_message.
        gl_tabix = sy-tabix.
        gl_subrc = sy-subrc.
        message id &2 type &1 number &3 with &4 &5 &6 &7 into gl_dummy.
        call method cl_message_mm=>create
          exporting
            im_msgid = &2
            im_msgty = &1
            im_msgno = &3
            im_msgv1 = sy-msgv1
            im_msgv2 = sy-msgv2
            im_msgv3 = sy-msgv3
            im_msgv4 = sy-msgv4
          exceptions
            failure  = 01
            dialog   = 02.
        if sy-subrc = 1 or sy-subrc = 2.
          message id sy-msgid type sy-msgty number sy-msgno
                  with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        endif.
        sy-subrc = gl_subrc.
        sy-tabix = gl_tabix.
      end-of-definition.

  • Output error in purchase order 3000000002 for output medium PRN

    Hello,
    I got this error message:
    'Output error in purchase order 3000000002 for output medium PRN'
    Regards,
    Lina

    Hi
    <b>Please go through this -></b>
    To set Output type,check the foll path:
    SPRO->supplier relationship management-> SRM Server->Cross application basic setting->set output action and output format
    See the foll link for more details:
    http://help.sap.com/saphelp_srm50/helpdata/en/91/41faf2c220e84c9002a4ae4cc1906a/frameset.htm
    Look for BADI "BBP_SEND_MEDIUM_MODE ".
    <b>Related notes:</b>
    Note 1028388 - User settings for output medium is not saved.
    Note 885593 - SRM 5.0 SP02: Incorrect output medium and change impossible
    Do let me know.
    Regards
    - Atul

Maybe you are looking for

  • What are the 3 ways to call a form from another form?

    What are the 3 ways to call a form from another form? What is the command to call a report from within a form? How do you attach a menu to a form?

  • Creaton of PO with referance to info record

    Hi I am trying to create PO with referance to info record. Process : In ME21N directly input info record number in line item coloumn in item overview area. My info recored is combination of material,plant,vendor as well as purchase organization. But

  • Persian date in oracle form6i

    I inserted the NLS_CALENDAR= PERSIAN in registry.There is a Problem with the date field for the first day of first month of each year.for example when I enter 1386/01/01 or 1345/01/01 or 1376/01/01,... and then press the TAB button it shows me like #

  • How do I get water marks off of my phone case screen?

    I recently bought an iPhone 5 case from t mobile and I tried wiping the screen down with some water and drying it off because is was dirty. When it dried and I put it on my phone, there were there little purple shiny marks on the case screen so I tho

  • Saving Quicktime movies "as read only"

    I want to create an animation portfolio composed of quiktime movies and place it in my public folder but I don't want to save them as "read only" so they only be viewed and not saved or downloaded to anohter computer. Is this possible? G4 Quicksilver