Output determination in Create/Change.

HI Gurus,
          How can I diifrentiate whether Sales order is created or changed in output determination, I'm sending data to XI through a custom IDOC. I want to send different data for creation of order and Change of Order how can I handle this.
          Where should I andle this in a driver program.
          Imeediate soultion awaited.Thanks.
Kind Regards,
Suresh

Hello Suresh,
1. You can track it using sy-tcode and check whether it is VA01 or VA02.
2. Other way is you can check in the Idoc Message type and your Partner profile configuration.Under the Message control, you can find a check box, which would tell you whether you should trigger your idoc on create or change. If it is unchecked, it would send on create and if checked, it will send during change mode.
Thanks!
Suresh Ganti

Similar Messages

  • Purchase Order and GR document Output Determination and creating own logo o

    Can anyone let me know the process of output determination of PO and GR documents.
    Also let me know the way to incorporate my own logo on the documents

    Hi sudip
    For the logo on documents, you have to take help of ABAP ppl.
    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.
    Output of GR
    After setting table, access sequence and output type for GR,run MB02 transaction, enter material document number. Double click one line item and select messages. Separate screen will be opened to configure outputs. Give the required fields and save the document. 
    Now Run MB90, you can take printout. Output Type: WE03 or WE01 or WE02

  • Output determination : ERNAM (created by)

    Hi,
    I have created a condition table with the combination created by (sales document created by) and sales organisation, added it to my access sequence and populated it with data.
    When i look at the 'analysis output' in the sales order i notice that the field 'ernam' is not filled in by SAP.
    I added the field ernam in the field catalog manually --> KOMB-ERNAM.(so general). I  also tried with KOMPBV1-ERNAM (item) but this field doesn't work either.
    Anybody knows about this problem ?

    adding the field ERNAM in field catlog  measn have u followed the standad procedure to update a feild or just like that you have added please calrify
    if you havent followed the procdure pleae follow the following stpes on adding the feild to feild catalog.
    to add this field, check the structure KOMG, whether you have the relevant field. If you have this field in KOMG, then simply go to field catalog -> say new entries and add your field to it.
    If in case the field you are talking about is not in structure KOMG. then you will have to append this structure with the new field. appending is very simple. If its a header field then you will have to add it to Include KOMKAZ (pls check - i dont remember exactly) and if it is item field then add it to Include KOMPAZ. once they are added to the include, you will have to add them to the allowed fields in field catalog.
    Probably you also have to activate the user exit pricing prepare for KOMP/KOMK, assign a value to your new field.

  • Output determination , key combination change

    Hi folks,
    Trying to add a new Key combination for MN21
    Currently the available combination is 'Transaction/Printed Vers/Print Id'. Wanted to add a plant to it.
    Set the 'Maintain Condition tables'.
    But did not see the option in the key combination.
    When I tried to 'Maintain Access Sequence', keep on getting the error access key not maintained.
    What I missed ?
    Regards,

    No Samuel,
    The default key combination that appears when I try to maintain conditions is
    "Transaction/Printed Version/Print ID"
    What I am trying to do is to have another option which should appear in the combination key
    "Transaction/Printed Version/Print ID/Plant"
    for which I had  set up
    a.) New table
    b.) Assigned a sequence to that table.
    But not able to get the new option when trying to maintain the condtions.
    Edited by: Sameer Nirgude on Apr 22, 2009 9:39 AM

  • To create/change material determination records using VB11/VB12 transaction

    To create/change material determination records using VB11/VB12 transactions, do you know any relevant FM's or BAPI's for these transactions instead BDC?
    Thanks in advance.
    regards,
    vamshi

    Thanks for the response. I wrote the BDC.
    Have some problems in BDC for VB12.Uploading ten thousand records at a time.
    Following problems exist.
    Before updating i am reading existing data.
    In   selection condition, if i give ten thousand records
    i am getting dump.
    (ii) In the change material determination third screen
         to delimit the date ( Valid on and Valid to) it does for header not at item level. No option to do at item level.
    thanks,
    vamshi

  • How to use output determination: track changes made on the contract

    We have a third party application which is requiring a delta change log of contract from SAP, does anyone know the mechanisms of using output determination to track all the changes on contact level?
    Thanks a lot!

    Hi,
    You can use SAP change documents.
    Please refer to the link below:
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/18/7e713ae142d65de10000000a114084/frameset.htm|http://help.sap.com/saphelp_erp60_sp/helpdata/en/18/7e713ae142d65de10000000a114084/frameset.htm]
    Cheers

  • Create output determination vv21

    Hello!
    I need to create an output determination in vv21 for sales organization and delivery type. How i do this?
    thx

    Fill in the output type (you already have customized).
    Click on the key combination button : optionally choose the requested combination (sales org / customer  or sales org for instance).
    In the table control : fill on the key combination fields and the fields relevant for output creation.
    regards,
    Hans
    Please reward all helpful answers !!!!!

  • Change in Rejection flag for purchase orders (PO) - Output determination

    Hi all,
    I hope you can help me with this issue:
    We are using table T166C to specify which fields should be consider when you change them in a PO. That means only that changes should determine output message. However, it seems SAP is always determining output message when you change field EKPO-ABSKZ (Confirmations Rejection). It doesn't matter if you manage that field in T166C or not, it seems to be done by standard.
    As a summary: we don't want that SAP considers that change in ABSKZ field as a change.
    Maybe I am wrong in any of my affirmations. If true, it would be great if you can guide me about which steps or tables should be used. If I am right, I don't know how can I do that SAP avoid to check this field as a change (I tried with several possibilities but maybe I have been working for the same issue for a long time and my eyes cannot see the solution although it is in front of me)
    Any help or comment will be very appreciated.
    Thanks in advance.
    David.

    Hi Uday,
    This is a standard functionality, if you are increasing the amount in PO, release stretegy will always gets trigers, wheater change is small or big.
    but at the same time if you are decreasing the amount in PO release will not get trigger till the time your approbal level is not changing.
    let say in your case: you have final release at $ 3 milion, and the second last approval at $ 2 Million.
    and PO has value $ 2.8 million.
    now if you change price from 2.8 to 2.5 miilion. release will not get active.
    but if you change price from 2.8 to 1.99 million. this release will get trigger.
    hope this will help you.
    regards,
    vikas
    as you discribed, you have final release on 3 million dollar

  • 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

  • Using Standard output determination to advise PO changes in SRM

    Hello experts,
    Please advise if it is possible to use standard output determination to trigger IDOC creation on changes in PO's in SRM. I know this is standard functionality in ECC but not sure if this can be implemented in SRM.
    thank you

    No Replies.

  • Change output after PO created

    Hi
    We are having problems changing the output device after that the PO has been created and sent to supplier. We have email as default and want to change to Printer after creating. But we get the message "Purchase order has not been changed"
    But when changing e.g. the date and also the output device everything gets changed.
    Any ideas?
    Sincerely
    Anders

    According to SAP this is standard behavior

  • Create/Change output conditions - sales VV11

    Hi all,
    I just want to know is there any BAPI or function module to create/change the output conditions for sales (VV11, VV21, VV31).
    Thanks in advance.
    Pranav

    Hi Pranav,
    I am providing you a [List of BAPI's|http://mysap.wordpress.com/2008/07/29/list-of-bapis/]. Please search them according to your requirement.
    Regards,
    Swapna.

  • Output determination using bapi create order

    Hello,
    I am using BAPI to create sales order. We have our 'Z' output determination which is connected to the new SD order.
    It is also in NAST and has green light . But RSNAST00 did not worked.
    This output determination writes a record to a table - but using the BAPI it did not happened.
    Any one met this problem?
    Thanks in advance
    Sara

    The green light only means that the output record was processed and that the processing program set the return code value to 0.  It does not mean that any particular part of the code was successful.  You should check for the success of the DB operation in your code.  You can switch the light to Red by using a '4' for the return code.  You should also add any necessary (custom) messages to the processing log using NAST_PROTOCOL_UPDATE.

  • To determine the mode(create/change/display)

    Hi,
    I want to add a piece of logic in IMPL class of an UI component based on which mode am into i.e create,change or display. IS there any class or attribute that gives us this info? thanks!
    Regards,
    Bhanu

    Hi Bhanu,
    Try to use below code you may have to modify it a bit:
    DATA: lr_comp_controller    TYPE REF TO CL_BT120H_C_BSPWDCOMPONEN_IMPL.
    lr_comp_controller ?= me->comp_controller.
    is a create?
      lv_bp_type = lr_comp_controller->is_create( ).
      IF lv_x_save = abap_true.
        ls_button-enabled  = abap_true.
      ELSE.
    eOVP: SAVE & CANCEL should be enabled as soon any AB is switched to edit mode
        IF lv_bp_type IS NOT INITIAL. " Create?
          lv_enabled = abap_true.
        ELSE.
          lr_entity = me->if_bsp_wd_history_state_descr~get_main_entity( ).
          lr_window_controller ?= me->view_manager->get_window_controller( ).
          IF ( lr_entity IS BOUND AND lr_entity->is_locked( ) = abap_true )
          OR   lr_window_controller->gv_object_locked         = abap_true.
            lv_enabled = abap_true.
          ELSE.
            lv_enabled = abap_false.
          ENDIF.
        ENDIF.
    You can try and debug get_buttons method of BP_HEAD/BPHEADOverview. Here SAP has handled all three scenarios you need to implement.
    Let me know if it helps.
    Regards,
    Bhushan

  • How to re-run output determination after goods issue through idoc

    Hello,
    i've got a question about output determination. We are currently in a process to automate picking, packing and goods issue through a 3rd party software. The software creates DELVRY03-Idocs including picking, packing and goods issue-information. Picking, packing and goods issue work just find and after submitting the idoc, the delivery is updated as needed.
    The problem arises when it comes to printing the shipping document on the printer belonging to the picking station that just processed the delivery. To determine the correct printer, the external software includes the picking station number inside the idoc. A user exit in idoc_input_delivery puts the number (3 digits) into likp-traid. The customizing for using this field inside output determination is complete and seems to be working.
    The problem is: as the number of the picking station is not known before goods issue, the LD00 message must not be generated before goods issue. I used the appropriate condition insinde the message scheme, the message is not generated until goods issue is complete. After processing the DELVRY03-Idoc, the message should be found and generated, but it isn't. When i take a look at the delivery after submitting the idoc, goods issue is complete, picking and packing is done - and no sign of an header message of type LD00. First i thought about a misconfiguration inside my customizing for output determination, but when i access the delivery via vl02n (change delivery), output determination seems to be processed again and without making any changes or actions, LD00 is generated and waiting for processing. After saving the delivery, LD00 is processed and the shipping document is printed exactly where it should be.
    So, as my customizing seems to work and everything else around idoc processing doesn't make any problems either, i conclude that, after processing the idoc, R/3 just needs a little kick to re-run the output determination, find the now fitting condition for LD00, find the appropriate entry in the condition table and print the document.
    I already tried report rsnast00, but this one just seems to run already created messages.
    Any ideas how to automate this little "kick in the butt"?
    Thanks in advance!

    I'm working on a similar issue with ws_delivery_update. I'm not using the IDOC as you are, but I'm using the function in a program of mine to PGI the delivery, but the output isn't being added to the delivery. I've tried to run the function twice as you suggested, but that doesn't seem to work. Do you have any suggestions or ideas on things to try?
    Thanks,
    Eric

Maybe you are looking for

  • How to delete the duplicate data in between two distinct rows in SQL?

    Hi, I need to identify the duplicate data with two distinct rows. See my data structure below. NAME NAME_1 VALUE START_DATE END_DATE FLAG INDEX SUR SE 275 13/12/2005 31/12/2010 B 1 SUR SE 375 A 1 SUR SE 475 A 1 SUR SE 275 13/12/2005 31/12/2010 B 2 SU

  • 10.5.8 server open directoy replica to master

    Hello, I'm using a XServe runnig 10.5.8 Server as open directory master and another Xserve also runnig 10.5.8 Server as open directoy replica. Now I want to turn off the master and the replica as new Master. If I want to switch from replica to master

  • What is the functionality of FM: DMEE_START

    Hi As there is no documentation available for these FM's 'DMEE_START', 'DMEE_PUT_ITEM'  and 'DMEE_END'. I would like to know the functionality of all these above Function Modules. Please any one can explain why this has been used and what for. Thanks

  • Height of container

    Hi, I'm building a CSS website with a flexible layout (that is i'm trying...). I use a container for all the content to be put within. The container has a fixed with but not a fixed height. The problem is that in Firefox the container does not stretc

  • Price List API

    I am uploading price list using price list API QP_PRICE_LIST_PUB.PROCESS_PRICE_LIST into the ERP system(11.5.10.2). For 900 records the custom program is taking about 2 Days. I generated the trace file for this program. In that file there is one SQL