Retrieving message types

Hi All , I want to know how message types are picked up on creation of a PO. I see that on creation of a PO message (output ) types are picked up on the basis of partner. The message types and associated partners are maintained in MN06.  I debugged the standard program (while creating PO ) to check how they're being selected  and found that they are picked up using FM  ME_MESSAGES_TYPE. The tables xnast gets populated with the message types . That said , the FM doesn't work in a standalone mode. Hence , I'm not able to use it in my program for which these message types have to be used . Please help . 

When you defined rules for output determination, you will have to provide a legal regulation and procedure for defaulting data. Please check for which legal regulation and procedure you maintained the data and see if the same legal regulation is used in your declaration.
If its the same and still you don't see the message determined, there could be something missing in the control settings for communication processes. Please get back with screenshots of the message type maintained in the communication processes.

Similar Messages

  • BAPI Function Get partner profiles of message type

    Hi Gurus!
    Does anyone know any function module or bapi to retrieve the partner profiles / logical system of a message type?
    For example, if message type ZMATMAS is in two different logical systems, I would need to retrieve both those logical system.
    Thanks!
    Adi

    I have played around a bit, and found out that the table where this info is stored is EDP13 - therefore this solves my problem...
    Nevertheless, if anyone knows a good function module/ BAPI please let me know!
    Thanks Gurus!

  • JDBC Recevier Message type

    Hi
    While i am trying to select data from one Table where field = ( array of values from sender ) performence wise which is the best way among the below 2 ways
    1) executing multiple statements (means Occurence 1..unbound) in the receiver message type with single occurence key field for each statement.
    eg: select field1 from table where filed2 = 1  ( one among the array of input values used as condition to select)
          select field1 from table where filed2 = 2
          select field1 from table where filed3 = 3
    2) executing single statement with mutiple occurence key field mapping all the array values to that key field
    eg: select field1 from table where (filed2 = 1 or field2 = 2 or field3 = 3);
    Thanks
    krish

    Hi,
    It depends on how your RDBMS processes SQL statements, but I'd go for a single SQL query to retrieve all necessary data (avoids overhead at JDBC - if any - and DB caching/parsing mechanisms) ...
    Of course, if you have hundreds or thousands of potential values in your selection clause, a split strategy might be necessary
    Rgds
    Chris

  • Store and Retrieve Messages

    I have problem in storing and retrieving messages from Vector
    Following Issues:
    1. In SendMessage() method am i using correct way to store messages in vector
    2. If my ist step is right then how what should i do in retrieveMessage() method
    public void sendMessage(IChatClient client,String msg) throws RemoteException
    if(!clients.contains(client))
    return;
    else
    // Send the message to all clients //
    for(int i=0;i<clients.size();i++)
    String user=client.getName();
    System.out.println(user+"has been connected");
    ((IChatClient)clients.elementAt(i)).sendMessage(user+" : "+msg);
    clients.addElement(msg);
    public  void RetrieveMessage(String msgs) throws RemoteException
         }I am at the end of my complete ChatRoom if i get help will be really appreciated

    ((IChatClient)clients.elementAt(i)).sendMessage(user+" : "+msg);
    clients.addElement(msg);
    you should get a ClassCastException:
    What are you storing in the "clients" vector? it appear you have mix
    String and IChatClient in the vector;
    for (int i = 0; i < clients.size(); i++){
        Object obj = clients.get(i);
        if (obj instanceof IChatClient)
            IChatClient client = (IChatClient) obj;
        else if (obj instanceof String)
            String msg = (String) obj;
    }you should not mix type in a collection. it will just makes thing much difficult (read, write, maintain, etc..)

  • Inutilização de NFe: Log de erro Message type 8 is not defined

    Olá Pessoal,
    Estamos com um erro aqui muito semelhante ao descrito na Thread: [Skip número da NF não autorizada|;.
    Solicitamos a inutilização de uma nota writer de saída que foi barrada no Monitor GRC por erro de validação e por isso estava com status 8 na J1BNFE (ECC). A inutilização foi feita com sucesso, o status no GRC está correto, mas no ECC a autorização ainda não constava. Executamos o report XNFE/UPDATE_ERP_STATUS_DIAL e ao fazermos a msg de "erro ao atuzalizar ECC". No monitor da J1BNFE a nota agora aparece com o seguinte log de erro:
    Message type 8 is not defined
    Message no. J1B_NFE018
    Diagnosis
    The messaging system passed a value for the message type to the back-end system (field I_MSGTYP) that is not defined in the back-end system.
    System Response
    The back-end system cannot interpret and process the inbound message.
    Procedure
    Configure the messaging system in a way that it transfers only allowed message types to the back-end system via the inbound interfaces J_1B_NFE_XML_IN or J_1B_NFE_XML_IN_TAB.
    Achei a thread mencionada acima com o mesmo erro e verifiquei a aplicação das notas, já que o problema foi solucionado com a aplicação das mesmas. Eis os status:
    Nota 1298283 (ECC) - Não relevante pois estamos no ECC 6.0 SP17;
    Nota 1376324 (ECC) - Não relevante pois estamos no ECC 6.0 SP17;
    Nota 1413636 (ECC) - Completely Implemented na SNOTE;
    Nota 1376901 (GRC) - Não relevante pois estamos no GRC SP13.
    Aparenmente alguma coisa ainda está faltando.. mas nao sei o que é.
    Desde já agradeço,
    Daniela Machado

    Verifique esses passos da nota 1298283 (no ECC)::
    Change Domain J_1BNFE_MESSAGE_TYPE
    Use transaction SE11
    Select Domain and insert name J_1BNFE_MESSAGE_TYPE
    Push Change.
    Select Tab "Value Range".
    Insert
    Fix value Short text
    8 Authorization to Skip a NF-e with Validation Error
    9 Rejection to Skip a NF-e with Validation Error
    Maintain table J_1BNFE_MAP_TYPE
    Use transaction SE16 and display the table entries.
    Push CREATE (F5)
    Insert records
    MSGTYP DOCSTA SCSSAT
    8 Space A
    9 Space B
    At.,
    Bernardo Braga
    Edited by: Bernardo Braga on Jul 1, 2010 10:06 PM

  • Message type BOMMAT (change BOM)

    Hello Guru,
    I have some question and need help, when i try a standard transaction CS02, try to change a BOM material existing for example, the base quantity of the BOM was 650, i enter new data as 655, but suddenly retain the original Qty as 650 and save the changes as SAP will accept the changes i've done (BOM for material 2456 changed) but eventual i have not change any value to the original BOM. SO it mean this is standard SAP funtionality for CS02.
    But when we use an interface using message type BOMMAT a standard SAP message tpye, we have created an IDOC using this message type and same data as the original was maintain to it, to be more exact we plan to change a BOM thru this IDOC but all the data we have is the same value of the original BOM, so we expect no error could be encounter of this IDOC since in standard CS02, changing of BOM even same value was inidicated did not had error message encountered when saving.
    But thru our process, when we try to process the IDOC with message type BOMMAT in program RBDAPP01 (BD20) the idoc did not pass it when into status 51(Error when saving BOM. Please see the application log.) and when we check the BOM it has duplicate value upon executing the program we able to fix it when we delete the duplicate line segment in the IDOC and reprocess it once again.
    my question is why in standard message type BOMMAT had encountered error when processing when we try to make change of BOM even the same value is carried out by the IDOC, and why in standard CS02 saving a change of BOm with same value as it is SAP accept the process? Please help and clear the process.
    Any inputs R.Brahamankar and Vivek
    Thanks
    Edited by: Ryan on Feb 9, 2009 9:23 AM

    BOMMAT  and process code BOMM

  • Idoc and message type not getting replicated in the receiver system

    Hi
    i have created a Z Idoc and didtributed the mode from system A ....I can see the distribution model in system B
    However i cannot see the custom zidoc / message type in sys B.. Do i need to create the zidoc again in sys B

    Hi Tarang,
    at least ou need the required partner agreements and you should have a processing function for inbound IDoc. To implement this, the full definition of IDoc including Segment definition should be present in receiving system.
    Just look at standard IDocs and do as they do.
    Regards,
    Clemens

  • Idoc message type for open orders & Open JIT lines

    Hi,
    I need to send Open Purchase Order data and Open JIT lines data to supplier daily via Idocs.
    Is there any standard messege type available for this data.
    Regards

    Hi Rohita,
    Instead of changing the standard domain, You have to make the changes in the User Exit.
    Say Qualifier 001,002,003 were already there in the domain.
    001--Purchase Date
    002--Delivery Date
    003--Ordered Date
    In the user exit u have to just add the segment and the qualifier without making any changes to the Standard Domain.
    These Qualifiers are just like other variables and u can add whatever values to them that u want..
    You can add Qualifier 004 for Trnasportation Date or Goods issue date and have to communicate the MiddleWare informing that date with this Qualifier will be Transportation Date and they will do the mapping to the corresponding field in other syste.
    You can have as many message types as u want for the same IDoc type. There is no harm in having multiple message type. And u dont need to change the standard domain. It can be done without changing the domain.
    If u analyse the FM closely u will realise that they have done coding for those values in the domain.
    So instead of adding it to domain u just have to do the coding for this new qualifier.
    Revert back if u need any help on it.
    Thanks...
    Message was edited by:
            Utsah Garg

  • How to connect our outbound function module to the message type

    how to connect our outbound function module to the message type any transcation code exits to assign the message type with the function module .
    Thank in advance .
    A. Thiru

    Hi Thiru,
    Standard Transaction Codes, have their own Function Modules for generating Outbound/Indbound Idocs. Where these Function Modules will be configured to a particular Process Codes.
    For E.g for PO's
    Process code : ME10 - IDOC_OUTPUT_ORDERS - for creation
    In case if its a Z Function Module, It depends on the case how you use IDOC types. either directly through Z Program or through Inbound/Outbound Process  codes with respective Function modules.
    Regards,
    Anbalagan

  • IDOC Message type for open sales orders

    Hi
    We are trying to send the list of open sales orders of a customer in an IDOC to the customer. For example, if the customer has got 15 sales order to be delivered to him , he needs the details of all these 15 orders in an single IDOC
    Is there any message type available for this in SAP R/3 4.7 version
    Regards
    Anandh

    Try VA05 schedule lines standar variant...include status fields and both ordered qty and confirmed qty. In SAP standard system order status, status A means open orders fully (Nothing shipped, everything opened). Status B means in process orders (Partially processed - shipped). Status C means complete orders (Nothing opened). As there is no delivered qty in VA05,  you need to download to excel the file and calculate the difference between both qty fields for each A and B status. That is a way to get the missing qty to be delivered or open qty as you stated.
    Hope it helps.
    Jorge Fernandez

  • Change sales orders using ORDCHG Message type

    Hi,
    I am trying to test the changing of quantity on sales order items using message type ORDCHG and process code ORDC. In segment E1EDP01 the action code is set to 002 - item changes. However when the IDoc is posted a new line is created in the order rather than the existing one being changed. The action code in the header is set to 003 - one or more items changed. Does anybody know how to control the change of quantity for an existing item?
    Many Thanks
    Caroline

    Hi,
    Try to populate Logical message code 'CHG' in the EDIDC-MESCOD while you are creating the IDoc.
    If a message code has been entered in the (inbound) partner profiles, the external system must fill the field during IDoc inbound processing.
    Regards,
    Yogesh

  • Idoc Message type for Scheduling agreement

    Dear Experts,
    How to configure to create Idoc for Scheduling agreement (not the releaseed schedule lines) ?
    I am trying to use message type ORDERS05 but it is not working.
    Will any body guide me preferably step by step process for this ?
    Thanks in Advance,
    Best Regards,
    Raju

    Hi Anji,
    Thanks for the Reply. But i think ORDRSP is for Order Confirmations.
    But I have to send Outbound Idoc for a Schedule Agreement.
    Whether the same  Idoc type & Messge type used for SO/PO(e.g ORDERS05, ORDERS/ORDCHG) can be used for Scheduling Agreement.
    Please Advice.
    Regards,
    Anbalagan

  • Message type for Scheduling Agreement - Outbound IDoc

    Hi All,
    I have to create an Idoc for Scheduling Agreement through a Z program based on some conditions. I have bit confusion, whether i can use Idoc type for Orders(e.g ORDERS01..05) & Message type ORDERS / ORDCHG to generate Outbound Idoc.
    Already there is process code for for ORDCHG mappig IDOC_OUTPUT_ORDCHG & ORDERS mappig IDOC_OUTPUT_ORDERS.  Whether there will be any impact on this.
    Appreciate your help.
    Regards,
    Anbalagan.

    Hi Anji,
    Thanks for the Reply. But i think ORDRSP is for Order Confirmations.
    But I have to send Outbound Idoc for a Schedule Agreement.
    Whether the same  Idoc type & Messge type used for SO/PO(e.g ORDERS05, ORDERS/ORDCHG) can be used for Scheduling Agreement.
    Please Advice.
    Regards,
    Anbalagan

  • How can we change the message type?

    Hello all
    We use SRM server 5.5 with classic scenario.
    When we create shopping cart, we implemented the Change Badi to assign the purchasing group from R/3 material master.
    We implemented the following logic.
    If material master in R/3 has no purch. Group, SRM also has no purch. Group. So SRM display the error message “You should select the purch. group” to determine the purchasing group in basic view.
    But, We have the standard error message, when we choose the material code – this material code has no purch. Group in R/3 – “No purchasing groups were found”.
    Message number is BBP_ATTR050.
    Because of this message, we can not progress the process to create shopping cart.
    Can we change the message type from Error to Warning Message?
    Or, Can we delete this message?
    Thank you,
    Best regards,
    SH

    Yes. You are right.
    When user choose the material code, there is no purch. group in 1st Step, but
    we want to choose the purch. group in 2nd Step on basic view.
    But we have the error message at 1st step. so we can not progress to 2nd Step.
    If we use dummy purch. group, user could make the human mistake.
    So our customer want to remove purch. group and choose the purchasing group by user.
    But i'm not sure if we remove this error message, we got solve this problem..
    Pls give me an idea..
    Message was edited by:
            So Hee Lee

  • How can I put a filter to message type COND_A

    I am creating message types: COND_A from Change Pointer.
    I have an active filter on element: Condition type. (BD64). This is working OK.
    I also want to set the filter on element: Material type.
    This is not working, probably because this element is not an active field in any delivered IDoc Segments. (Ref. WE05). The result is that no messages (IDoc's) are delivered.
    How can I get this filter to work for COND_A?
    In other words: How can I select on Material type = 'XXXX' creating message type COND_A from Change Pointer?

    No, however, you can have Favorites and Recents show on the App Switcher (Multitasking) screen, assuming you are running iOS 8: Settings App > Mail,Contacts,Calendars > Show in App Switcher [under CONTACTS]

Maybe you are looking for