Sales Order Output - determined by Sales Order Type, Created By

I want have my order output determined by sales order type
(vbak-auart) and created by (vbak-ernam).
I have created a condition table 501, access seqeunce Z001.
In v/48, in accesses for Z001, I created
AcNo: 10
Tab: 501
Requirement: [empty]
Exclusive: unchecked
in fields, I can't find ERNAM in structure KOMKBV1(header), but I find one in KOMPBV1 (item).So I have assigned it to ERNAM.
besides, I have created the corresponding records in VV11
I expect to have:
Output Z001 will be created for sales order type OR if created by user XXX
However, no output is generated. When I go out detemination analysis, I found that in the output determination procedure, it did go into output type Z001, but, since no value is found for "created by", i got message "Access not made (initialized field").
I suspect that no value stored in KOMPBV1-ERNAM. Do you know how I can get it done?
Points will be awarded for useful information. Thanks in advance.

Hi
You have to include this field as a Zfield in the structures KOMKBV1, KOMPBV1 and KOMB.
You have to include the field as Zfield in these structures.
Once this is done, you should also be able to update this field in the structures.(As on now, you have only created a field, but you have not mentioned how the field has to be updated.
In order to update the logic, you have to do a small code in one of the user exits for outputs.
In the user exit, you have to write a code like this
MOVE VBAK-ERNAM = KOMKBV1-ZERNAM(this is the zfield you have created)
Now create the condition table and do the rest.
Your output should work fine. The user exit I was saying is the subroutine USEREXIT_KOMKBV3_FILL in the include RV61B902 in the user exit RVCOMFZZ. If you can give this info to the technical guy, he should be able to find out the same for saels order output also.
The user exit RVCOMFZZ also has the subroutine USEREXIT_KOMKBV1_FILL    which you can verywell use for your requirement. This will solve your problem
Hope this helps.
If you have any problems in this, you can again put the problems in this thread. I will try to solve.
Reward if this helps you

Similar Messages

  • Output determination for sales order via email notification

    Dear All,
    Can some one provide  me  a  step by step configuration guide for Output determination via email notification.
    I would appreciate for your prompt response.
    Thanks
    ANGKS

    Hi there,
    For getting output Email or any media you have to do output determination. output determination is also carried by Condition techniques.
    Configuration path: (following are the steps)
    1) SPRO-> IMG-> Basic Functions-> Output Control-> Output Determination-> Output Determination using Condition Technique- >Output Determination for Sales Documents .
    2) Create Condition Table: select the field Sales Doc Type from field catalog & Save
    3) Maintain Access Sequence: 4-digits code & description. 
    4) Assign condition table to access sequence. Select Accesses line item and Go To Fields. Fields will display the fields we have selected in the condition table i.e. sales doc type. Maintain Output Types:BA00: Order Confirmation Select BA00 & Copy & Rename. Give the same 4-digit code as given to access sequence. You Can Maintain: Languages of Output Partners (to whom you need to send output) Print Program- print specification Sap Script- layout Assign Output Types to Partner Functions: go to new entries & assign your output type to partner functions. Maintain Output Determination Procedure: V10000 (Standard Procedure)here you select communication medium Email.
    Go to new entries and create your own 6-digit code with description. Select the procedure, go to Control Data. Here mention the output type i.e. condition type and leave requirement and manual only columns as blank. Determination Rule: link the 6-digit procedure code to doc types. Create Condition Records: VV11. Select document type and click on Communication. Mention partner function, medium, time. Output device: LP01, Spool request Name: SD_003, Suffix 2: order_confir & flag on print immediately. Once you press enter you will come across 2 key combinations: Sales organisation/ Customer Number: fill SO, Customer No, Partner Function Abbreviation, Partner to whom the output should be sent, time, medium, language. It contains: Sales Orgnisation, Customer, Partner Function (The abbreviated form of the name that identifies the Partner) (During output determination, the system determines the recipient of the output from the master record for the specified partner function. In this field, you can explicitly specify a recipient that will override the standard partner. There must also be a master record for the partner that is specified explicitly.), Medium, Time & Language.} Order Type: Document Type, Partner Function (abbreviation), Partner, Medium, Time & Language. Path For Output Determination For Sales Documents: Logistics -> Sales/distribution -> Master data -> Output -> Sales Document -> Create (t-code VV11) Path for Output Determination
    I hope this will help you.....
    Regards
    Deepak

  • Output determination during delete order

    Hi,
    As per requirement, When a unprocessed order(which doesn't have any further documents) is deleted in SAP, it has to update certain Z tables. How can this be achieved using using Output determination/ output types?
    How does output determination works during order deletion?
    Thank You in advance.
    Thanks
    Challa

    Hi
    To update the Z table, use the USEREXIT_DELETE_DOCUMENT in include MV45AFZZ (see the comments).
    For output control, see SAP Note 960611 - FAQ: Output control in Sales and Distribution, question 2. It says that you have the report SD70AV1A to process messages for SO.
    Note 701163 - Correction report pricing create a ZZ subroutine in MV45AFZZ with a SUBMIT, so I understand that it's possible alghough I have doubts if it'd be advisable, but you can try to do a SUBMIT to SD70AV1A before update the Z-TABLE, but check it and be careful. For instance, be sure that the message exists in table NAST and so on, to avoid error messages.
    I hope this helps you
    Regards
    Eduardo
    PS: Other idea, cleaner than my first anwer. See SAP Note 32662 - User name added to new condition table. Perhaps you can enhance KOMKBV2 with any indicator of deletion and so, it could control the output scheme in a VOFM subroutine. For instance, if you are deleting, T180-TRTYP = 'L'. It's other idea.
    Edited by: E_Hinojosa on Jul 12, 2011 6:19 PM

  • Output Determination for Sales Documents distributed by fax/email

    Hi Experts,
    Can some one guide me regarding what all need to be done to maintain output determination for Sales documents to be distributed by fax/email.
    Thanks in advance...
    Regards
    Vamsi

    Hi Vamsi,
    Please go through this link it will help you about Output process in SAP R/3 for sales documents and billing documents.
    http://help.sap.com/saphelp_47x200/helpdata/en/93/745017546011d1a7020000e829fd11/frameset.htm
    I hope it will help you,
    Regards,
    Murali.

  • Sales Order - Output determination not working

    Dear Friends,
    Greetings!
    I have a strange problem,
    Order Acknowledgement is to be emailed out automatically on meeting requirement 902 on order save. It goes out to customer (Output: ZBAC: Partner – SP: Customer copy – different layout), and commissioned agents (Output: ZEC1 to ZEC5, upto 5 partners: C1 to C5, Rep copy layout). Customer copy - ZBAC works fine, but ZEC1-ZEC5 rep copy output does not appear at all.
    here is <u>output analysis</u> for ZEC1 and ZEC2:
    ZEC1     529     No condition access - if desired, please set in Customizing
    ZEC1     562     This output is not defined for Customer 0001010059
    ZEC2     529     No condition access - if desired, please set in Customizing
    ZEC2     562     This output is not defined for Customer 0001010059
    All output types use same <u>access Sequence</u> as below:
    1     5     Sales Organization/Order Type     0
    2     13     Sales Org.     0
    3     7     Order Type     0
    Sample <u>Output Procedure</u>, using requirement 902
    2     1     ZBAR     Ord Conf. - Rep copy     902 >>> Rep copy, I originally thought would be possible to create 5 condition records with partners C1 to C5; but
    3     1     ZBAC     Ord Conf. - Customer     902 >>> Customer copy
    930     1     ZEC1     eMail Partner C1     902 >>> Rep copy should go to partner C1
    931     2     ZEC2     eMail Partner C2     902 >>> Rep copy should go to partner C2
    932     3     ZEC3     eMail Partner C3     902 >>> Rep copy should go to partner C3
    933     4     ZEC4     eMail Partner C4     902 >>> Rep copy should go to partner C4
    934     5     ZEC5     eMail Partner C5     902 >>> Rep copy should go to partner C5
    <u>VV12 Output record for ZEC1: by Order Type</u>
    ZOR     Sales Order     C1          5     4     EN
    ZOR     Sales Order     C2          5     4     EN
    <u>VV12 Output record for ZBAC: by Sales Org</u>
    3000     Rochester Operations     SP          5     4     EN
    >>> C1 and C2, SP Partner does not get description, when I click F4 then SAP throws following message: Possible entries only for mail addresses and PD Org objects Message no. VN341
    Appreciate your feedback, let me know if any additional information required.
    thank you,
    Hetal

    check in NACO transaction is you have assigned access sequence to your ZEC* output ytpes and if you have ticked checkbox "Access to output conditions" - otherwise it will not even try to access condition records.
    From help :
    Access to output conditions                                                                               
    Indicates whether the system determines the output by searching for valid
        condition records.                                                                               
    Procedure                                                                               
    If you want the system to search condition records for the appropriate   
        output, mark the field.                                                                               
    Note                                                                               
    If you leave the field blank and if you are processing sales, shipping,  
        or billing documents, the system automatically determines output from    
        information stored in the customer master record.

  • When saving sales order Error determining local currency: ER type 'M' date

    Hi experts
    we have created new sales area for intercompany billing process. we are doing testing for this.
    Update was terminated    
    after saviing sales order express document update was terminated received from author
    sales order Error Info...   M2 802: Error determining local currency: ER type 'M' date 02.08.2011.
    i need your input
    thanks

    Dear Manoj Verma,
    Check the pricing date of the sales order.
    Check the valid from date for the currency types/exchange rate type M in OB08
    Now check whether the pricing date in sales order is before the valid from date in OB08.
    If so , make the valid from date in OB08  as the pricing date in sales order in OB08 and then save.
    Thanks & Regards,
    Hegal K Charles

  • Sales Order Output determination issue

    Dear expert,
    I met an issue that some orders can not generate output(no output type generated). the other order under the same situation(same order type/ sales area/customer etc. ) has the output generated. I checked nearly 250 orders of last month with the same order type and sales area. more than 30 orders did not have any output generated. I use the same data in the test system several times, get the output generated every time. I can also use the VA02 to add the output manually for the 30 orders.
    I already checked the related config and VV13.  the related routine. they are all good seems to me.
    Does any one met the same problem or can help me to analyze this issue. I am now having no direction to check...
    Looking forward to your reply.
    Br,
    Ivan.

    Ivan, you need to compare orders more properly.
    for example,
    -are they created by different users (if so, do users have different authorizations) ?
    -have someone changed those orders later (look at Environment->Changes in VA03)?
    -were those orders completed (check the logs)
    did you check the printers? does the issue relate to ONE particular printer or not?
    did you check that printer in SPAD ?
    do you have any specific user-exits? request abaper to check some orders.
    any background jobs involved?

  • Output Determination for Sales Order Confirmation

    Hi,
    we are working with CRM 7.0 and I am currently trying to set up the output determination for order confirmation. The goal is that I would like to be able to differentiate the output medium, so print, fax or e-mail, peferab
    I have created an action profile which triggers the output, that works fine.
    My idea is to use condition technique where I could set per sold-to party which medium is used.
    Before that, I tried to add it as a normal action.
    However I tried to add my action profile to the action condition, once with "e-mail" and once with "print". But a) only the first line is shown and b) I cannot change the description so that the user can realize if he prints or e-mails the output.
    Can you give me a recommendation how that is usually set up and what I need to take into consideration?
    Thanks

    Ive uploaded a document on the steps i have done for setting up a Output type at:
    http://www.scribd.com/full/16969034?access_key=key-1tw12d6pow1xa4r6afcs
    or
    http://www.scribd.com/doc/16969034/Output-Determination-for-Delivery
    Still im not successfull in generating the IDOC. Please help.

  • Output determination for sales documents

    Hi experts,
    I created an output type, copied from AN00, assigned it to an output determination procedure and assigned them both to my order type in V/43 and all is working fine.
    I now need another output type for the same order type.  So I have created a new output type and a new output determination procedure.  However, the two new items I have created do not appear in V/43 and I do not know how to add them on.
    Would anybody be able to offer a solution to my problem ?
    Thanks
    John

    Well if you need two output types for the same sales order why do you want different two different output determiation procedures.V/43 is for determination of output procedure for the sales documents
    Assign the new output type in the same output procedure procedure as step 2. like you maintain condition type in  the pricing procedure and maintain the condition records in VV11. Now run the sales order. This will solve your querry.
    Reward points!!!!!!!!
    Thanks,
    Kamal

  • Purchase order output determination thru User exit

    Hi,
    We are trying to find a way to determine the output for PO while creation (me21n) or modification (me22n).
    We do not want to maintain output condition records for each fax/print/email etc..cases.
    Can we do below thru a user exit or any other method ?
    While creating PO, an OA partner will be chosen, so instead of maintaining the output condition records,
    - user exit can access to OA's vendor master record and read Standard Comm.Method in Address section.
    - according to comm.method, the PO message should be determined..
    i.e: if comm.method is Fax, then message should be sent to OA thru Fax.
    can this be done thru an exit ?
    Thanks and Regards,
    Ocal

    Hi Stefan,
    The steps are as follows:
    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.
    Reward me if it helpful
    ASHOK

  • Output determination for purchase order

    Dear friends,
    Please help me, how to create condition record for both printout and email for output determination of standard PO.
    I have created condition record through MN04 for Purchase order with medium(external send) and it worked.
    I also need to create condition record for printout. Because Client wants to select either email,fax or printout. They will select whatever sending option.when i tried to create condition record for medium(1-printout).I got an error " The condition record entered already exists". So i tried to change that condition record,but i got here also error as "The condition is being processed in the current session".
    Please help me to set up condition record for both mail and printout for standard PO.
    Thanks

    For this kind of option you need diff message type like
    use NEU for Fax and Print and for Email create new message type than it will work.

  • Output determination for Transfer Order(WMTORD)

    Hi Friends,
      My Requirement is to send an idoc to an external warehouse when i save Transfer Order.
      For that i have created a Partner Profile with message type WMTORD.
      When i save the transfer Order if the warehouse number and storage type matches to specific numbers then it has to trigger the given partner profile..for this usually we will do output determination.
    Please help in doing the output determination for the above case..i know normal output determination procedure from NACE transaction.But warehouse mangement it would be defferent.please help me,,
    Thanks a lot.
    regards,
    Ravimacha

    Hello Ravi,
    I would like to generate an outbound idoc (using Message Determination/Control)  when a delivery is created (via tcode VL01N).  I created a Partner Profile with message type WMTORD.
    In setting up the Partner Profile: Outbound Parameters, I didn't find a standard SAP Process Code.   Did you find one, if so, what would that be?
    (I've found process code WMT1 but it is for inbound.)
    Thanks in advance,
    Millie

  • Purchase order Output Determination

    i need to configure a seperate outpur type for one of the document type in Purchase order,
    eg ZRY
    If i create  PO with this Doc type i need a separate output type
    For remaining Doc type there will be different doc types
    Here my client are using some format same format i need to design for this ZRY Doc type
    Pls guide me with the steps to configure the output type.....
    how to design the same format and how to link the format with this Doc type...
    Edited by: Csaba Szommer on May 8, 2011 4:53 PM

    Hi Stefan,
    The steps are as follows:
    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.
    Reward me if it helpful
    ASHOK

  • Reg:output determination in purchase order

    hi,
       when i am creating purchase order i given all the details once i go for save the order it shows a pop up window " no message could be found for output of mesage save any way '.
    my requirement is how to avoid this popup message. i thing the problem is output determination is it correct?
    regards
    muthuraman.d

    Yes, it is output determination. The system is telling you that no message e.g. PO print out, will be produced.
    SPRO-> IMG-> Material Management-> Purchasing-> Environment Data-> Define Attributes of System Messages..
    The message id is 06 261
    I think as a default this is a warning, even without an entry in the above table. You can add it and set to 'no entry' i.e. switch it off. This OK in Development or PPD but I wouldn't suggest you do this in Production.
    Regards,
    Nick

  • Output determination for Shipping order confirmation

    Hi,
    Im new to the SD module.
    I want to send the BOL  information to XI as idoc DESADV.DELVRY03.
    How am i supposed to do this? Should i create a new Output type?
    I guess since im sending this to XI i should maintain the partner function as LS right?

    Ive uploaded a document on the steps i have done for setting up a Output type at:
    http://www.scribd.com/full/16969034?access_key=key-1tw12d6pow1xa4r6afcs
    or
    http://www.scribd.com/doc/16969034/Output-Determination-for-Delivery
    Still im not successfull in generating the IDOC. Please help.

Maybe you are looking for

  • Multi-Mapping and Dynamic Configuration

    Hello, Is it possible to use dynamic configuration in mulltip-mapping? (message split?) in a  proxy-mail scenario I am using a multi-mapping. The message gets splited by a specif field. (Field of source message-SplitByValue(Value Change)-CollapseCOnt

  • How do I move images between files within Lightroom 4?

    I find I have to move a good many images among files.  How can I do this within Lightroom 4?  If I have file S, the sending file, with 25 images, how do I send five images from S to R, the recipient file?

  • Hide and activate fields in SAP Business One

    Hi, How do I see the following in SAP Business one 2007 A? 1 - Where do I see the option of hiding or making a filed mandatory, optional etc.? Can i hide some fields in A/P invoice entry? How do I do that? 2 - How do I create a field or a column whic

  • How can I control IE or netscape in java appliaton?

    Can somebody help me? Thanks.

  • Getting a Raw Image in View Mode?

    In one of my Projects, I see all the images in the browser. But double clicking on any of them doesn't expand them. Yet in an another Project, I can click on an image and get the normal View, or can expand to full screen. What controls effect a viewe