Concept question: message determination

Hello!
My scenario is the next: i have to send an extended idoc when a ZEN1 and ZES1 delivery type is crated. I have to modify user exit in function IDOC_OUTPUT_DELIVERY.
All is create through output determination.
My question is about how to programm the user exit. In control record i have my extended idoc? In other words, what of two cases i have to do:
1. IF EDIDC-CIMTYP = 'ZDELVRY03A'.
my code filling segments....
2. IF LIKP-LFART = 'ZEN1' OR LIKP-LFART = 'ZES1'.
Assign my extended idoc to control record
EDIDC-CIMTYP = 'ZDELVRY03A'.
my code filling segments....
Thx for advance!!

search for the customer exits in the sales order and try to populate the data into the idoc in that particular exit when sales order is of that particular type

Similar Messages

  • Message determination and Partner function LS (Logical system) for PO

    Hi,
    I have worked in the past with vendors (VN) as partner roles in a PO, with the message to create an EDI outpout to Partner Type: LI (Vendor), and this works succesfully.
    Now, the idea was to use in EDI, a Partner Type: LS (Logical system) as a receiver of EDI messages (message types: ORDERS) for inbound Purchase Orders to the Partner.
    So, we have set up a respective message condition, with Partner Function: LS  (Logical System), in transaction: MN04 (Create Output-condition records).
    A. When we use ME59N and create a PO with ref. from a PR (created from a sales order), the message determination works well, it reads the condition set in MN04 (condition records for messages), and creates a message (with output type for EDI , medium: 6, and partner function LS: Logical system). Message is created and idoc is sent to partner.
    B. When we try with ME21N, ME21 and we create the PO with ref. to the same PR, either by entering manually the PR in the document overview of ME21N or by selecting the PR (without entering the PR number), i.e with date, the message is not created in the PO.
    Company code is assigned to purchase organization, and so is purchase organization to plant.
    Any idea why there is no automatic message determination in the case of the transaction: ME21N?
    There is a single message condition that is to be read for both cases (trans: ME59N and ME21N).
    Note: If I try ME21N, and enter the output type and partner (=Logical System), manually, I receive a warning message :
    VN006 (Partner XXXX does not exist for partner function LS). If I accept this warning message, then message is saved- idoc is sent.
    However you can not assign a partner function LS to a vendor, in vendor master data, because of message CZ 327 (Can not use this partner role).
    Anyone with similar experience? Thank you for your advice.

    Hi,
    I well understand that the receiving partner can be a partner: Vendor (LI).
    I have seen that working.
    However, in the Partner Profiles (trans: WE20), the receiver was created as a Logical System (LS).
    We want the partner Logical system (LS) to receive the idoc for purchase order (ORDERS).
    After that, I think that the idea is that the LS can generate an idoc for a sales order creation that will then outbound to another partner.  I think that this is the concept.
    The issue is that I have seen that the POs created with transaction: ME59N, have received from message determination (trans: MN04) the message with partner LS (automatically), and the idoc of the purchase order (ORDERS) have reached the partner LS.
    The question is why the message determination fails when creating the PO from trans: ME21N or ME21, with reference to the PR. Message condition is the same and message determination procedure is the same for both cases.
    There is no issue with customizing for the LS in trans: WE20
    (Port processing agent is Active for LS and ORDERS have the proper processing code for application EF).
    I hope I am helping more with this.

  • Concept Question about EDI and Error Processing

    Hello All,
    This is a concept question, I was wondering how others would approach this scenario.
    Let's take this scenario. In EDI often the transmission for a purchase order comes in with an invalid material number. Normal error processing is for the EDI team to research the issue (find the correct matnr), edit the idoc and reprocess the Idoc.  I would like to move that type of error processing out of the hands of the EDI folks and into the hands of the business users.
    How would they correct the material number? It has to be more intuitive than editing an IDoc, it has to be an easy and intuitive user interface. This process has to also work for many types of EDI transmissions both inbound and outbound.
    There would be many ways to handle this: create a report with an editable grid that would change the idoc during input and create the order with the corrections, convert the idoc to xml and use simple transformations, use an xsl report...etc.  You get the point. 
    How would you approach this?  Before I start the design I want to make sure I've given all the options due consideration...all options, webdynpro, transformations, regex, you name it...all is available, except there is no XI. 
    Personally I'm leaning towards an editable grid and processing buttons that would post the idoc in background...but I do that type of thing all the time and I may be in a rut and neglecting better design options.
    Thanks for your input,
    Greg

    <b>Paul:</b> So it runs the transaction silently in BDC format, until the error occurs, then opens up in dialogue to allow the user to change the invalid material, and then continue on with processing.
    This works when the processing function module uses BDC. But even then I think this is possibly nice from user perspective, but a nightmare from auditing perspective. I.e. correct me if I'm wrong, but I'm pretty sure there's no log indicating that the user changed the material number. Thus for anybody comparing the IDoc contents against the posted document (including change history) there's no trail that shows this change. Of course you can assume that this is what must have happened, but I personally prefer if I can track in the system what happened and have proof for that.
    <b>Reddy:</b>
    <ol>
    <li>it can be run daily basis, which should select all idocs which are in status 51 with message number (..related to wrong material number). report output should inlcude :idoc number-wrong mat no- space for new material to be entered by business against wrong 1. And there should be one button for RUN.</li>
    <li>After RUN, the material number should be changed to new 1 in segments and idocs should be reprocessed.</li>
    <li>repeat the run until business enter right mat num.</li>
    </ol>
    Design seems to limited to me (takes care only of one error message). Might work if that's the main pain point and this is the only one the user is dealing with. Otherwise I'd expect pretty soon they start complaining about having to use different tools for the possible errors. I'd keep the report more general, but allow this special form of processing only for a given error message (otherwise it's a normal re-process as triggered for example via BD87).
    Also, I assume that when you talk of changing the IDoc you mean that you actually keep an original copy around (like SAP does when you edit an IDoc). Often this is required from an auditing perspective. I'm not sure why you wouldn't want to check the material number <em>before</em> trying to process the IDoc to avoid wasting system resources (but maybe I misunderstood the step).
    Anyhow, in theory you could also achieve all of this via workflow. You can add custom columns to the work item overview in the inbox, only issue here is that it doesn't scale well (so issues with larger volumes).

  • Send Drawings via message determination

    Dear Friends
    We are using DMS (Document Management System) and I would like to know some things:
    u2022     I would like to see at item level an icon which shows if the material have attached documents. How can I do it?
    u2022     I would like to send to the vendor via message determination the Drawings as an attachment with my request for quotation. How can I do it?
    Regards,

    Hi Manuel,
    it seems that we cannot find the best answer for your question as this forum relates to Education issues. In the meantime I found out about a forum concerning document management which is located at:
    SAP Document Management
    May I ask you to post your question in the document management forum?
    Thank you and best regards, Andrea

  • Error in Message Determination of GRN

    Hello Seniors,
    I have done configuation of message determination for GRN by this
    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 for GI/Transfer Posting Documents
    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 enter the output type as WE01, Tr m as 1, Sort or. 01, Pro.mode as 01, and executed. System outputted all the material documents that has to be taken print out.
    BUt after this i did a grn and tried to take prinout in MB90, it is not showing. It is just telling " No messages exist for intial processing". I tried with 2 in processing mode, but still it is showing tha same. Kindly solve please.
    Regards,
    JanaMM

    Not this one the earlier one...
    Also did you check whether the GR is properly saved or not...and settigns are done properly or not..which you have given above...
    This is not smart form error...assign the smart form again...
    ADDED:
    Also in the above step ie:
    4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for GI/Transfer Posting Documents
    Here you shd provide print indicator for GR doc....
    Here add for Particular mvt type 101,201,121,311 etcu2026 Maintain the Print item as 1--Material document printout

  • Error in Message determination for GRN

    Hi Friends,
         I have tried to configure message determination for GRN. As per the steps in the thread i did. The steps i did are :
    GR print out settings
    1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting
    Enter the local printer where you want to print your Goods posting document
    2. Ensure that 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 for Goods Receipt/GI/Transfer Posting Documents
    Here for Particular mvt type 101,201,121,311 etcu2026 Maintain the Print item as 1--Material document printout
    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 following--
    Select the particular Output type then goto Details
    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->Printer Determination by Plant/Str Loc, Maintain the Output device for all your Plants
    7. Go to MN21, for Tr Type WE, Print Version 3, maintain Print Item as 1.
    Now the settings are ready for Printing Material doc
    8. While doing MIGO, ensure that in General Tab, you get "3 Collective Slip" beside the Print Indicator and you tick mark the field.
    9. Now depending on the setting in 5a, the Matl doc is printed. If it is 3, you have to print it using MB90. If it is 4, it is printed immediately.
    After doing this configuration, if i go and execute MB90 with output type WE03, it is telling " no messages for initial processing exist ".
    I want to see the GRN document before printing. what shall i do, kindly help me please.
    Regards,
    Prasath

    HI Manish,
       As u said, i have unchecked the tick mark in migo and i have posted it. Then i went to MB90 and tried with WE01. still it is showing the same message. Kindly resolve plz. Is there any change i have to do in above mentioned steps.
    Thanks&Regards,
    Prasath

  • Output Message Determination for Purchase Order

    Hi all !
    Can anybody please explain in brief, the procedure for Ouyput message determination for Purchase order. (including printer settings)
    I have tried it throgh the Standard Configuration guide. but i am not able to do.
    Please explain step by step including form attachment.
    Thanks in Advance !!!!

    Hi,
    Customization steps for 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.
    Note1
    Now Check in SPAD (Printer settings) settings & try to check the printer configuration. Check Device attributes, Access methods etc. are maintained in Spool Administration (SPAD) for the selected printer (your local Printer, may be ur using HP01or any but in SAP std is LP01) but consult with your basis consultant regarding above.
    Check the following also:
    Spool generated using SP01 or SP02.
    Output device.
    Local printer settings.
    Paper Tray, Print Mode, Printer
    Note2:
    Check MN04 and NACE t.codes
    Regards,
    Biju K

  • Purchase Order Message Determination  - RVCOMFZZ

    I'm using RVCOMFZZ to fill a specific client field added to structure KOMB and KOMKBEA. I need to acess the ekpo info of the purchase order about to be created. My COM_EKPO table is empty. Is this a bug or it's not possible to acess PO item data when message determination is occuring ? Regards

    Hello,
    in SAP standard, subroutine NACHRICHT_ERZEUGEN in function group MEPO is used for message control in transaction ME21N and ME22N (and more ...).
    For the message determination the function ME_MESSAGES_FIND is called but without any data for structure COM_EKPO. So COM_EKPO will be initial in the functions COMMUNICATION_AREA_KOMKBEA and KOMKBEA_FILL. I think there is actually no chance to access the in-memory information of the purchase order positions while message determination.
    Any other hints or ideas? Thanks in advance.
    Best regards
    Michael

  • Send Document via message determination

    Dear Friends
    We are using DMS (Document Management System) and I would like to know some things:
    u2022 I would like to see at item level an icon which shows if the material have attached documents when I am doing my purchase requisition. How can I do it?
    u2022 I would like to send to the vendor via message determination the Drawings as an attachment with my request for quotation. How can I do it?
    Regards,
    Carlos Pallares

    Hi Manuel,
    This is not available in standard functions. For this you need help from expert Abap'r who cam write a program for sending mail intimation with purchase requisition as a dms attachment.
    Hope this will help.
    Regards,
    Ravindra

  • Send Document via message determination/icon which shows attached documents

    Dear Friends
    We are using DMS (Document Management System) and I would like to know some things:
    u2022 I would like to see at item level an icon which shows if the material have attached documents when I am doing my purchase requisition. How can I do it?
    u2022 I would like to send to the vendor via message determination the Drawings as an attachment with my request for quotation. How can I do it?
    Regards,
    Manuel Nuñez

    Hi Manuel,
    This is not available in standard functions. For this you need help from expert Abap'r who cam write a program for sending mail intimation with purchase requisition as a dms attachment.
    Hope this will help.
    Regards,
    Ravindra

  • How does message determination work?

    Hello,
    I should print an consignment settlement with MRKO. How can I define different output type for different company? I guess I should search the solution in SPRO Material management - Logistics Invoice Verification - Message determination but I did not find the right way. Could anybody help me? Thank you in advance.

    you can make the different ouput types for each company in nace.
    nace is transaction code.
    Regards
    Maqsood

  • Itunes freezes - strange error message - Determining gapless playback info

    I recently tried to suscribe to a new podcast and the accidently stopped the downlaod before it was finished. Itunes then locked up and i could not get out of the podcast listing.
    I closed itunes using ctrl-alt-del and started started again. this time it still went directly to the podcast page and the window on top had the following message: Determining Gapless Playback Information. Analysing XX of YY. As it was counting, the computer froze again. I notice that the CPU usage was up to 100%. Everytime I go on to itunes it does the same.
    I removed itunes, cleaned out the temp directory, etc. and reinstalled again - same problem.
    Has anyone seen this and can you help me?

    Ok - no one seems to be able to help with my problem - is there a way I can go back to an older version of itunes. I have 6.5.0 on a CD, but when I remove version 7.0.2 and install 6.5.0, I get a message that says my library was created with a new version of itunes.

  • Message determination and output control

    Hi! We want to set up message determination procedure per company code. We have several companies and one purch.org, so if only one of the companies e.g. want to output a PO to a Vendor through EDI, this is will apply to all company codes... any suggestions, BADIs, enhancements available? brgs ziggy

    Hi,
    Define a new  PO output condition table which include the company code.
    Cheers !

  • Switch off message determination

    Hello,
    Does anyone know how to switch off message determination while using BAPI_AGREEMENT_MAINTAIN.
    Thanks,
    Rajesh

    Hi,
    Go to:
    SPRO-Materials ManagementLogistics Invoice VerificationMessage Determination-Maintain Conditions--ExecuteCreate Condition: Invoice Verification---
    Output type--give Kons...Select company code...
    Enter data as follows:
    Company code          Name                           Funct                  Medium     Date
    0001                    Company code-0001          PI          1     3
    BNow save...and check..
    Tx
    Uts
    Award if helpfull

  • 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

Maybe you are looking for

  • My iTunes Account is out of control

    Help!  I am a parent with 3 kids on my account.  We range from adult to 8 years old.  Is there a way to have the parent own the account, but then have 4 sub-accounts so that everything is separated?  My kids don't want to see my 80's music and I don'

  • My iPhone 4S no longer syncs after upgrading from 10.5.8 to Snow Leopard 10.6.3

    y iPhone 4S no longer syncs after upgrading from 10.5.8 to Snow Leopard 10.6.3 - any solutions out there?

  • How do you set the duration for multiple stills in iMovie 2013?

    How do you set the duration for multiple stills in iMovie 2013? Before upgrading to the latest version of iMovie last month, I was able to set the duation of all of the stills included in an iMovie project at one time by clicking the apply to all sti

  • ISight green light on, but not working.. PLEASE HELP!!

    HELP PLEASE! My built in iSight green light is on, which means the camera on... but when i try to use it in iMovie, it is a blank white screen and when I try to use photo booth, its a blank green screen. Tried restarting the computer, did not help. S

  • Cannot save as TIFF from ACR

    This is my first post on this forum.  Please forgive me if I have completly misunderstood something. I am using PSE7 with ACR 5.6 on Windows 7 (soon to be updated to PSE 11).  I have only been using RAW files for a short while so I am far from famili