Plant as a condition to determine output messages in PO

Hi All:
I configure condition table  for PO with the fields: Doc Type, Purch Org, Vendor and Plant (all the previous fields at header level except for the plant ) this table is assigned to an access that also contain the condition table: Doc Type, Purch Org. and Vendor (all the fields at header level) but when I create a condition record for the condition table that contain the plant it does not determine any message, the condition record seems to be not taking into consideration at all, however when I create a condition record for the condition table that does not contain the plant the system determine correctly the messsage in the PO. My requirement is to have the plant as a condition to determine the output message in the PO. Do you know if can get this without a user exit or enhancement, only customizing settings?
Thanks for your help
Best Regards

OSS Note 457497 - FAQ: Message processing in purchasing
Is message determination possible at item level too?
Answer:
No. During message determination, the system does not access the data of the purchasing document's individual items (for example, table EKPO or EKET)  because the values in the item-related table fields (for example, EKPO-WERKS) may be different from item to item.

Similar Messages

  • PO Output determination using Plant as a condition

    Hi All,
    I want to use PLANT (werks) as a condition in PO output determination. How do I do that?
    Basically, I want to be able to send ORDERS IDoc only when the Plant is a certain value. Where can I check the plant information before sending the output. I have tried to add plant in a condition table and then in the access sequence which is referenced in the output type. I have created a condition record for this condition table with PLANT also.
    But for some reason when I save the PO it does not create a output message (ORDERS IDoc). If I use any other PO header field (like purch org or purch gp) in the condition it works and generates the ORDERS IDoc.
    Any help would be greatly appreciated.
    Thanks,
    Sneha

    Thanks Narayan.
    It goes into the code for the requirement that I created to check for Plant and here is the code... But the structure KOMPBEA does not get populated with any values. Is there some other structure I can use to check the value for PLANT?
    FORM KOBED_979.
    *{   INSERT         TSTK941598                                        1
      IF KOMPBEA-WERKS = 'T300'.
        SY-SUBRC = 0.
      ELSE.
        SY-SUBRC = 4.
        EXIT.
      ENDIF.
    *}   INSERT
    ENDFORM.
    FORM KOBEV_979.
    *{   INSERT         TSTK941598                                        1
    PERFORM KOBED_979.
    *}   INSERT
    ENDFORM.
    Regards,
    Sneha

  • Weird output message determination in po

    dear all,
    i'm a little confuse about output message determination in PO.
    when i create a PO with me21n, i set a vendor and then verify message output determination : a message is generated.
    but then, when i modify an item and change po type, which also have an info record, the message generated previously disappear.
    the same problem appear with all po type and they all have an info record...
    thank you for helping

    Hi,
    The PO type you mean is the document type (NB and all)
    makes your message output disappear. The you have condition record maintained for that PO document type.
    Go to MN04 select your output type whatever you are getting with the first document type and select key combination, Purchasing outputdetermination : document type and enter the new document type you are using and execute
    with other details like function as VN and all as per your requirement.
    This is a master data and has to be maintained like material masters and you can decide upon the key combinations and the output trigger methods ( fax, print and all) here.
    Best regards,
    Sridhar.
    Award points for useful answers

  • Restrict Purchase Order to generate custom output message on condition.

    Hi Experts,
    We have custom message / output types ZEMA(E-Mail) & ZNEU(Standard Mail) configured for Purchase Orders.
    We have a requirement from client to restrict the generation of output message ZEMA, if the amount of the PO is greater than some limit say 100USD. And the message output should also be avoided to create entry in ME9F.
    Can you please advise if there are some way (User Exit?) that prevent the output message in this scenario (specific PO Type) without touching the current Condition setup?
    Here I would need the new PO object being created and the amount on the PO from the field NETWR.
    Thanks,
    Ankur

    Hi Jurgen,
    Sorry for missing out the Dump details earlier.Please find below an extract from the dump:
    Category               ABAP Programming Error
    Runtime Errors         POSTING_ILLEGAL_STATEMENT
    ABAP Program           FRMSCM0012
    Application Component  Not assigned
    Date and Time          10.06.2014 08:30:46
    Error analysis
         There is probably an error in the program
         "FRMSCM0012".
         This program is triggered in the update process. The following ABAP
         statements are illegal here:
         - CALL SCREEN
         - CALL DIALOG
         - CALL TRANSACTION
         - SET SCREEN
         - LEAVE TO LIST-PROCESSING
         - SUBMIT
         - LEAVE SCREEN
         - LEAVE LIST-PROCESSING
         - LEAVE PROGRAM
         - LEAVE TO TRANSACTION
         - MESSAGE I/W/E (if not handeld using EXCEPTIONS ERROR_MESSAGE)
         - MESSAGE A
    How to correct the error
         Probably the only way to eliminate the error is to correct the program.
    If the error occurs in a non-modfied SAP program, you might be able to
    find a solution in the SAP Notes system. If you have access to the SAP
    Notes system, check there first using the following keywords:
    "POSTING_ILLEGAL_STATEMENT"
    "FRMSCM0012" bzw. FRMSCM0012_SF
    "SFORM_PRINT_OUTPUT"
    Information on where terminated
        The termination occurred in ABAP program "FRMSCM0012", in
         "SFORM_PRINT_OUTPUT". The main program
        was "RSM13000 ".

  • How can I update vendor fax/phone/email for output message determination?

    Hello all,
    I have updated vendor master record with a new fax number. But the problem is, I am still getting the old fax number in Purchase order, output message.
    Is there any other change I need to make the correct new fax number in PO out put message?
    Earlier I was able to send PO correctly to the old fax number.
    What are the steps to update vendor fax number so it can correctly populate in PO output message medium detrmination and sent out to correct fax number?
    Regards

    Hi,
    Hope you have created the PO document after making the changes in the vendor master.
    Also check your output condition records for the application EF in t.code - NACE, whether you have maintained the old fax number, since this will have precedence over the vendor master record data.
    Thanks,

  • User Specific Output Message Determination for Purchase Orders

    Hi Sap Experts,
    Is there any functionality in SAP where you can setup specific Output message determination for a user?
    For example whenever User A creates a purchase order through ME21N it will always be emailed to vendor, whereas for User B whenever they create purchase orders it will always be printed.
    Is this possible?

    There is no standard functionality with in SAP.
    To achieve this Create 2 output types accordingly and create customized tables with user id fields

  • Message Determination & Output Control

    Hi all,
    What Message Determination & Output Control?
    Why we use them , also what are the configuration steps in same?
    Please guide me alon with transaction codes involved in it?
    Thanks in Advance.
    Komal

    Hi Komal,
    The message determination Process is the process in which you select how you want your output.
    You go to T code "NACE" and can see which Application area is activated for which type. Eg. for PO gernally it is NEU. So you can select from here that which procedure and further which sap script or smart form as well as print driver or program is attached to that and can do amendements if desired.
    Also you can maintain what are the out put detrmination method attached to that like print, email, EDI , fax etc.
    Cheers!!
    Biren Agnihotri

  • Output Message Setup for Material Document

    Hi,
    Can you guide me on setting the default output message for 101 Documents.
    Regards
    Shankar

    Hi,
    PRINT OUT OF MATERIAL DOCUMENT :
    1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting
    2. Ensured in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Item Print Indicator, 1 stands for Matl Doc print out
    3. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Print Version, maintain Print Version 2
    4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator
    5. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Maintain Output Types, for the Output types WE01, WE02 and WE03, ensure the foll:
    a. Default Values: Dispatch Time is 3 or 4 as per reqmt. and Tr medium is 1
    b. Print Parameter is 7
    6. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Printer Det->Pr Det by Pl/StoLoc, maintain the Output device for all your Plants
    7. In MN21, for Tr Type WE, Print Version 3, maintain Print Item as 1.(Condition records)
    8. While doing MIGO, ensured that in General Tab, you get "3 Collective Slip" beside the Print Indicator and you tick mark the field.
    Now go to MB90 entered the output type as WE01, Tr m as 1, Sort or. 01, Pro.mode as 01, and executed. Sytem outputted all the material documents that has to be taken print out.
    Regards,
    Shailesh Mackwan

  • Output message can not be created in a PO

    Hi to you all,
    Output message can not be created in a PO for a customer. During my tests, the yellow output message was created automatically after I have saved the PO.
    I checked ME9F and the table NAST, there is no entry for the PO of the customer. This happens arbitrarily.
    Do you know how and why this can happen? Is it a program error or something else?
    Thanks.
    Esra

    Hi Esra,
    if I do understand you correctly, when creating the PO the system always finds a message to be created ("yellow" message). But arbitrarily the message cannot be generated in ME9F, correct?
    In my view, if the message is always determined correctly in the PO there cannot be any trouble concerning condition records, the error has to occur later in the process.
    Are there any error messages in the processing protocol of a message that cannot be created? What happens if you set the transmission time-spot to 4 (immediatelly)?
    Just my 2 cents
    Alicia

  • Sales Order - Output message

    Hi All,
    I would like to know is there anyway the output message be created once i create a sales order? At the moment i have to manually enter the Output message type & only then print.
    Hope my question is clear.
    Vivek

    Hi
    Please do following checks.
    1. Output requirement in output determination (Tcode NACE) should not anyway restrict output to propose if all things are fine.
    2. Some times standard requirement routines have check that if change transaction is there ie. VA02/VL02N/VF02 the o/p is supressed. Pls. check this if this is needed.
    3. If the o/p is a print o/p, check the communication is maintained in VV11.
    4. If the o/p is email, then do maintain the customer master email text fields correctly.
    5. If there is a EDI message, then do maintain partner profile in WE20 correctly.
    6. Also maintain VV11 correct condition records.
    All above will surely ensure that when order is created o/p will be proposed.
    Furthermore the processing of o/p can be defined at 4 levels which can be decided according to process you want to follow.
    Hope this is helpful. Reward points accordingly.
    Kind Regards
    Sandeep

  • Condition Pre step in pricing- condition not determined

    Hi,
    Iam having an issue in my system. There is a condition type ZTFR (output tax condition) which is not determined in sales order. The access seq with this condition is MWST. There are two accesses in this mwst seq as follows
    access seq=mwst
    first access 06--departure country/dest country/material group--
    standard requirement 8 is assigned to this access
    2nd access 10-- departure country/dest country----
    standard requirement 8 is assigned to this access
    I have seen the standard req 8. The code for include LV61A008( req 8) consists of two parts--one pre step and the other normal exprt/import check......  the pre-step part checks  that departure/destinaton country  is not nil and both are not equal. the 2nd part checks  the same for dept/dest country but also checks whether vat of customer is maintained or not and european tax indicator is set.
    In my case only vat no is not maintained and all other conditions like dept ctry/dest ctry amd EU indicators are mainatined both for dept/dest country.
    the issue is the condition ZTFR is not determined in sales order. Pls note that there is no VAt no maaintained in customer masterv since our customer does not have the same.
    system says the follwowing on doing pricing analysis.
    1) access 6 not made since req 8 not met. may be because vat no not maintained as wriiten in requirment 8
    2) access 10 not made since condition record not found----
    the system also gives message that "No condition record was found in the condition preliminary step for this condition using the document data"........... in this Iam not able to understand why the system has not given a message during pricing analysis that requirement not met. Rather the system said that no condition record found for preliminary step ??
    what is meant by condition pre step ? and what is happening ? in the first access, system says req 8 not met whereas in 2nd access record  not found but issue is same requiement 8 is assigned to acess 6 and access 10.
    regds

    Hi,
    Did you solved this error? Can you tell me the way to solve? I met same error.
    Plz

  • Material Document Output Message

    Hi
    I cutomize the Mat.Doc Output Message WE01 to ZE01.
    In OMJ3 I already removed the WE01 for the new plant.
    However still in the Plant#2000 material document picks up both message
    Where else i should remove ?
    Thanks
    MM

    Hi Garapati 
    Output WE01 is already in use at other plants (ex; 1000) using different forms.
    ZE01 which is to be used for plant 2000.
    So, I can't delete in Output Determination or NACE/T.
    I thought if I dont maintain the WE01 output type in OMJ3 for Plant 2000, suppose to not appear and only appear the ZE01.
    But now both appears.
    Rgds
    MM

  • Creation Output Message Type for Scheduling Aggrement

    Hi,
    Please share the detail configuration for the Output message type for scheduling aggrement, i need to use ALE IDoc so that i can send this SA to SRM system.
    Regards,
    Pankaj

    Hi,
    Output determination process for Scheduling aggrement.
    SPRO-IMG-Material Management-Purchasing-Messages-Output Control-
    1)First create condition table based which becomes condition record for accessing the data.
    2)Create access sequence to access the data or search the based on the conditoin record in sequence  of the condition table.
    3)Define your message type like print,fax etc.
    Maintain the conditon record for the MN07 for the output type which new one you created.
    Regards
    Ravi Shankar.

  • PO Output Message

    Hi folks,
    Want to know how do we default a vendor for particular output message like Print, EDI etc.
    We have around 200 vendors under our company code/plant, most of the vendors have proper default output message, however there are some new vendors which were extended to our company code/plant recently they are missing default message output while creating POs so we have to create it manually every time PO is created. Where do we make changes to get default output message.

    Check MN06 for the maintenance of other output messages, then in same way do it for new vendors with MN04. I think Vendors are taken into consideration for Out put determination, so for New vendors do it accordingly.

  • Determine output type failure

    hi,
    i want the output type automatically take out in purchase order but it failiure. I already assign the output type by NACE. Pls advice. thanks

    Hi Jo
    Please check your configuration in the sequence specified below:
    PO Output Determination
    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
    *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.
    Hope this works after proper configuration
    Regards
    Jagadish

Maybe you are looking for