Regulating Message Type (E or W) through Message control

Dear All,
I have a requirement. The message that is been generated programmatically should be controlled at user level as Error or Warning message. I have got a suggestion that this can be controlled through message control.
But I have no idea on Message control and how I can link that to my program.
Please can anyone put some light into the matter.
Thanks & Regards,
Atanu

hi,
message control is one of the methods in ale, through which u can pass data between diff clients.
if u want to generate messages in ur program based on user thn u hav to giv authorizations based on user in program itself.
reward if hlpful.

Similar Messages

  • Output type not proposed in Message Control when PO is created

    Hi,
    DETAILS
    I have set up the system to send a IDOC when a PO is created. I have done the following settings in the system to send the IDOC using the message control functionality in the PO creation screen.
    1). Created a new output type ZNEU which is an exact copy of NEU output type provided by the SAP system.
    2). Assigned the new output type to the output determination procedure.
    3). Enabled the new output type ZNEU for ALE distribution.
    4). Maintained the condition records in the system for the output type ZNEU such that for the P org, endor and Docmuent type combination the output shall be proposed.
    5). Maintained a partner profile( Logical System ) and assigned the output type ZNEU to this partner profile.
    6). Created a Distribution model for Sender ~ Receiver for ORDERS message type.
    PROBLEM
    When i create a PO the new output type is not getting proposed by the system. I am not sure why it is not getting porposed in the message control.
    I tried to manually enter the ZNEU output type in the system to see if the system is accepting. I am getting an error
    Partner % does not exist for partner function LS
    Any idea what i am missing? Am i missing any configuration or am i doing something wrong?
    cheers

    The output is not being proposed automatically is becuase you are missing "Condition Records" for the output type ZNEU.
    Go to NACE.
    Select EF - Purchase Order
    Select "Condition Records"
    Select ZNEU and select condition records
    Now, system will bring the combinations of access sequence. Maintain appopriate record.
    This will enable you to get the output type automatically in the purchase order.
    Regards,
    Naimesh Patel

  • I can't install correctly Adobe Captivate 8, cause a message of no connection to internet appears (I am connected to internet). Even though, when I want to unistall through the control panel it doesn't let me, anyone knows how to uninstall it??

    I can't install correctly Adobe Captivate 8, cause a message of no connection to internet appears (I am connected to internet). Even though, when I try to unistall through the control panel it doesn't let me, an Uninstall Failed message appears,  anyone knows how to uninstall it??
    I've already tried Adobe Cleaner Tool, but it doesn't work, as the program is not listed as one of the proposed
    Does anyone know how to uninstall it??
    Thank you

    Which are you after... installing Captivate 8 or uninstalling it (whatever "it" is)?
    Sign in, activation, or connection errors | CS5.5 and later
    https://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

  • I tried repairing iTunes through the control panel but there is a new message that "the file 'itunes library.itl' could not be read because it was created by a newer version of iTunes"

    I tried repairing iTunes through the control panel but there is a new message that "the file 'itunes library.itl' could not be read because it was created by a newer version of iTunes"

    Unless you deliberately downgraded iTunes this may be a sign of a corrupt library. See Empty/corrupt library after upgrade/crash.
    tt2

  • Message "Wrong partner type LS" in message control

    Hi All,
    I am trying to send PO's out to a middleware system. I have configured the middleware system as a LS (logical system) done all the config required for Message control.
    But when I enter Output type = NEU and Medium = A (ALE) and Partner Function = LS and partner name and save the PO, I get the error "Wrong Partner type LS" in the processing log for that message. The details description says "The message record of the message control contains a partner role with a partner type LS that cannot be used here. Only the 'KU' and 'LI' partner types are allowed.". But i need to send it to partner type LS.
    Am I missing anything. Please Advise.
    Thanks in advance

    Hi!
    'By default' purchase orders can be send to vendors or plants - the two parties in the document. This is linked to the two different partner types KU and LI. Only partners of this type of a purchase order can be used to send data.
    Check, if you can create a partner definition (WE20) for KU (hopefully you have less plants then vendors).
    You also need a partner determination for the document - only out of this partners automatically a message output can be assigned.
    Regards,
    Christian

  • Message control vs with out message control

    tell me the differenece between message control and without message control.

    Message control and output type. In R/3, message control is a mechanism by which documents are output based on certain selection criteria, requirements, and sequences. Message control determines the type of document, its timing, number, and medium (print, fax, ALE, or EDI.). Outbound messages in SD (Sales and Distribution) and MM (Materials Management, Purchasing) are created and processed by message control records. The output records are stored in the NAST table.
    Message control uses the condition technique. The conditions for creating an output message are stored in condition tables that have selection fields picked from a catalog of application fields/tables. To determine if an application document qualifies for output, search strategies are used through access sequences, output procedures, and requirements. Once a message qualifies for output, message control modules use the parameters set in the condition type or output type to determine the timing of transmission and the medium of the message. The output type also specifies the program or module to be invoked to create the output.
    Message/output determinations are concepts applicable not only to EDI and ALE, but also to other output mediums.

  • Ale/Idocs ..... what is the role of  message control

    Hi Guy s..
    Can Any one.. tell me..  Importance of message  control , Stand alone and  change pointer s in Ale  Idoc''' and where to use...

    Hi,
    Message Control:
    With Message Control is documents are output based on
    certain conditions. In ALE scenarios this is basically used for transfer transaction data (fulfilling configuration settings defined in message control) from one system to another system.
    Example: If you want to send purchase order IDocs from customer to vendor system using ALE. When saving of purchase order the IDocs should be triggered. Further the IDocs should only be sent when the purchasing document fulfils certain conditions - purchase document of a certain document type only needs to be sent. By output control we can configure the conditions and the timing (when the document should be triggered) and using ALE (as interfacing technology) we can send IDocs (containing application data fulfilling conditions) from one system to another system.
    For More Info on Message Control,
    /people/gajendra.bhakuni/blog/2007/03/13/message-control-output-control-for-ale
    Change Pointers:
    Change pointers are the mechanism through which you can send data to another SAP system or external system if there is a change happening to specific fields of master data.
    Change Pointer (Master Data Distribution)
    Purpose
    If you want to distribute master data changes with the SMD tool (Shared Master Data), changes to the master data objects are flagged for distribution by change pointers ( ® Master Data Distribution).
    The SMD tool is connected to the change document interface. If the master data changes are to be distributed, the application writes a change document. The contents of this are passed to the SMD tool. The tool writes change pointers, reads the application data and creates the master IDoc.
    The master IDoc is then passed to the ALE layer, which sends it to all interested systems.
    The change pointer tables (BDCP und BDCPS) should be as small as possible. Use as few change pointers as possible and delete change pointers which you no longer need.
    do the following steps for Change pointers ::
    1) Tcode BD61---> check the change pointers activated check box
    save and goback.
    2) Tcode BD50---> check the MATMAS check box save and comeback.
    3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
    4) Tcode BD52---> give message type : matmas press ok button.select all what ever you want and delete remaining fields.
    save & come back.
    5) 5) go to Tcode MM02 select one material and try to change the description and save it
    it will effects the target systems material desciption will also changes
    6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
    give Message type : MATMAS and Executte
    go through this link which ll give you detail about the change pointer
    http://www.angeli.biz/www5/cookbooks/workflow/workflow_30/docu.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/12/83e03c19758e71e10000000a114084/content.htm
    http://help.sap.com/saphelp_470/helpdata/en/dc/eb683c00e8a646e10000000a11402f/frameset.htm
    Regards,
    Padmam.

  • Outbound message control for sales order SISCSO.

    Hi...
    I am trying to generate IDoc for Sales order using message control. The IDoc of type SISCSO is getting generated as per the requirement.
    I want to calculate certain things before generating IDocs. I have done the following configurations:
    1. A function module 'ZIDOC_OUTPUT_SALES_ORD' is created with interface same as 'IDOC_OUTPUT_ORDRSP'. (Where i am planning to write a code)
    2. WE57 where Function module is assigned to SISCSO as outbound FM.
    No BD51 is done as it is only for inbound process.
    3. New process code ZSO is created through WE41, which is made message independent and FM created in step 1 is assigned to it.
    4. In WE20 , this process code is attached to V1 type of application under message control.
    Still, my FM is not getting called... I have checked it by applying Break point as well as raising exception in the FM. But still it's not working..
    Where am i going wrong??
    Can anybody suggest solution??
    Thanks,
    Audy.

    Hi,
    You need to use FM : MASTER_IDOC_DISTRIBUTE to create outbound idoc.fill the data in the tables EDIDC,EDIDD and generate the IDOC.
    check this link:
    Re: Master_IDoc_Distribute
    and use transaction : WEDI for IDOC configurations.
    here you will have all the transactions(step by step) to set the outbound IDOC configurations.
    Regards
    Appana

  • Without message control

    Hi,
    I Want to  transfer  idocs  for FI Documents ,through without message control
    Please provide steps to transer  G/L Acccount,Inv.
    In MM,SD we  are  using  NACE,    where  as  FI ?
    Thanks

    Hi,
    See this link,
    there are some std idoc type given may be usefull
    http://www.scribd.com/doc/5884984/Idoc-Quick-Reference-Sheet

  • Pm message controls

    Dear PM experts,
    I am new in PM module. please suggest me how to create the message controls in pm module. please explain me through a example of one message control. In which case we can use message control? wht's its purpose? how many types of message controls available in sap pm module? where we use these message controls?
    please help me, i like to restrict some modifications by using these message controls.
    regards
    jalendhar

    I think you do understand, perhaps you need something like Net Nanny, if the account is logged in it actually is doing things unknown to you...
    http://www.netnanny.com/alt6?pid=3&gclid=CO_Hi7-dxK0CFQhjhwodLHApCg
    Or can you schedule the backup prg to backup that Home folder only when logged in?

  • What is message control?

    Hi all,
    What is message control? esp in Idocs..... Any docs links on Message control?
    Thanks,
    Charles.

    hi,
    Message control
    Application like PO(purchase order) creation use this technique , where the output type is linked to the application(Message control is a configurable cross application component which can be set in IMG .Such programs are created in the form of function modules and linked to the output type which is linked to the apllication.These have predefined interfaces.
    In outbound programs(function module) that use message control the key of the
    application document is passed to the function module whcig will read the data from the table depending upon the key passed(NAST structure) and fill the IDOC segemnts with the application data.The control record is also passed to the function module but is not fully filled, the rmaining fields are filled and the control is passed back to the calling program which is RSNASTED and is invoked by the
    message control to process ALE and EDI output types and this program on recieving the IDOC data will create the physical IDOC in the system.
    The parameteers passed to the function module are
    IMPORTING PARAMETERS
    OBJECT LIKE NAST
    It contains documents key.
    CONTROL_RECORD_IN LIKE EDIDC
    It contains the partailly filled control record
    EXPORETING PARAMETER
    OBJECT_TYPE
    CONTROL_RECORD_OUT LIKE EDIDC
    TABLES
    INT_EDID LIKE EDIDD
    The internal table used to fill the data records in the same order as they exists in
    the IDOC.
    The important parameters that should be filled in the custom function module are
    CONTROL_RECORD_OUT and INT_EDIDD .The OBJK field of the structue NAST contains the key of the apllication document.
    ===========================================
    Message control and output type. In R/3, message control is a mechanism by which documents are output based on certain selection criteria, requirements, and sequences. Message control determines the type of document, its timing, number, and medium (print, fax, ALE, or EDI.). Outbound messages in SD (Sales and Distribution) and MM (Materials Management, Purchasing) are created and processed by message control records. The output records are stored in the NAST table.
    Message control uses the condition technique. The conditions for creating an output message are stored in condition tables that have selection fields picked from a catalog of application fields/tables. To determine if an application document qualifies for output, search strategies are used through access sequences, output procedures, and requirements. Once a message qualifies for output, message control modules use the parameters set in the condition type or output type to determine the timing of transmission and the medium of the message. The output type also specifies the program or module to be invoked to create the output.
    Message/output determinations are concepts applicable not only to EDI and ALE, but also to other output mediums.
    ~~Guduri

  • Error in setting up message control in WE21...

    Hello Experts,
    I am currently setting up the partner profiles of my new IDoc in
    transaction WE21(Partner profiles). Under the message control tab, I
    chose 'EF' under 'Application', 'NEU' under "Message type' and entered
    my process code under the 'Process code' column. But an error is bening generated
    saying that the 'Parameters for message control already used'.
    So how do I create a unique message type for my process code/IDoc? My Idoc is for
    purchase orders and will be trigerred upon release of PO.
    Hope you can help me guys. Thank you and take care!

    Message type NEU is already being used in the standard system. You have to create a message type of your own (use transaction NACE to do so).
    Regards,
    John.

  • PO outbound message control - Condition record / PO IDOC outbound user exit

    Guys,
    I have a system with PO outbound message control sending PO idocs to a unique plant that is set up as a customer in the partner profile. I am using a custom message type and RSEOUT00 to send my idocs with custom message type to this plant. This interface works fine. Now my requirement has changed. I need to send PO's to varying plants (depending on the plant in PO item- all items on my POs belong to same plant).
    I noticed that i cannot create condition tables with PO type and Plant combination. (SAP Note 457497 .Q-34).
    So I have decided to populate all my PO idocs with a generic receiving partner number '9999' and planning to change this somewhere in a user exit. I found an user exit which looks helpful.
    EXIT_SAPLEINM_001 .  FM
    MM06E001 - Enhancement.
    But somehow this exit is not triggered in during PO creation ME21N or change Me22N/Me22.
    Is this because I am using a custom message type instead of standard message type ? (I still use the process codes Me10/Me11). Would this matter ? When should this user exit trigger (during creation of idocs in status 30 or when i run RSEOUT00 to sweep these idocs in status 30 to status 03) ? Any tips will be useful.
    THanks.
    Edited by: Shareen Hegde on Jul 21, 2008 10:13 PM

    I found a OSS note -Note 457497 (Q&A # 34), which talks about the same . This was my assumption too. I was just confused because I saw plant(WERKS) in the field catalag of the access sequence.
    I don't know what header field I can use to map the plant (I agree its a good idea to do this). But I have decided to do it another way. I will change the receiving partner on the control record depending on the plant in an user exit
    -  EXIT_SAPLEINM_001.
    Thanks for your answer , Mahesh.

  • Help needed in Message Control - very urgent

    Hi Experts,
    I have one requirement where in the customer wants to stop creation of IDOC which posts Invoice using message control and message control status should be changed to RED color and also the message should be populated in the processing log saying 'IDOC processing failed, External customer numbers not maintained'.
    Could you please let me know any user exits or customer exits available for this purpose.
    I have searched all the possibilities.
    I have chanked the program RSNAST00 which picks up the data from table NAST and looks into table TNAPR to get the processing porgram for th selected output and also this program checks the partner profile and gets the process code which creates an inoice IDOC. I searched for user exits and customer exits to popolate the required messages and stop IDOC creation.
    I am an ABAPER and i know i need to write code to do validation, but could not find the exact place where to write? I any ABAPERS looking at this post, please reply me.
    Can anyone please advise me how to go about solving this issue?
    Thanks
    Srinath

    Hi,
       I am sending the requirement.
      Please send me the solution.
    Requirements:
    1.     EDI Invoice requires populating bottle UPC number not case UPC in IDOC and also populates customer PO number when invoice billing type is a credit.  These changes need to be reflected on EDI invoice (Idoc INVOIC02).
    Investigation:
    Requirement 1. EDI invoices are populating segment E1EDP19 qualifier 003 based on the unit of measure in the line item.  If shipment unit is CSE then it populates CSE upc, if shipment unit is EA then it populates Bottle UPC. 
    a.     It was found that the UPC populated on the EDI invoice was being read from material master – Additional data tab.  (Field SMEINH-EAN11).  For the EDI invoice, the customers expect the bottle UPC on this column.
    Requirement 2.  Need to always populate Segment E1EDK02 Qualifier 001 (customer PO) on the INVOIC02 idoc.  Standard SAP populates this information only when the billing type is F2 (regular invoice) and if the customer PO was entered in the Sales Order.
                                a) Premier requires this information to be populated in the idoc if the billing type is G2, RE, L2 also.
    Solution:
    Requirement 1.
           IDOC_OUTPUT_INVOIC function module needs to be changed to always populate the UPC number for the bottle UPC in segment E1EDP19 qualifier 003, field IDTNR.  This number is found on the material master – Basic data 1 view.  Field name is MARA-EAN11.   Please see screenshot of where in the material master to find the bottle UPC. 
         a. This change applies to all billing types (F2, G2, L2, RE etc).
           Requirement 2.
                 Change IDOC_OUTPUT_INVOIC function module to always populate customer PO information in Segment E1EDK02 qualifier 001, field BELNR.
    If billing type is equal to G2, L2, RE and VBRK-XBLNR not equal blanks then make BELNR = VBRK-XBLNR.
    Segment:  E1EDK02
                                  Field:  QUAL = 001
                                  Field:  BELNR = VBRK-XBLNR
    Please help me how to move a step ahead.
    Waiting for your immediate response.
    Thanks,
    Chandra.

  • Message control

    Dear Gurus,
                     Can any one help me regarding following,
    System should not save the invoice if there is error in A/C determination or other.At least system should give error message & do not save the invoice.
                      How I will configure above.
    Regards,
    Balu

    Dear Balu,
    Why don't you try by activating  'mandatory' in pricing procedure for those condition types  which ever you want to control .
    This enable you not to save the billing if conditions not maintained in VK11. In these cases , go to item - condition - analysis and find out the reason .
    saravanan.

Maybe you are looking for