Distributing message type COND_A using ALE

Hello everybody,
I am distributing purchasing info records using ALE (transaction ME18). This works fine.
Now I also want to distribute the corresponding conditions.
I know that I need an additional message type COND_A. I created the new message type in BD64.
But I don't know how to trigger the distribution. I cannot find a transaction for distributing conditions and they won't come along when I distribute the info records.
Any help would be appeciated.
Thanks
Roland

Hi Roland,
It is quite tricky. But it worked well for me.
Please choose the pricing report (t/code V/LD) which meet your criteria extraction and copy the report program into custom program.
Let's say you copy report program <b>/1SDBF12L/RV14AK15</b> (Material Price) into <b>ZRV14AK15</b>.
Then you need to modify selection screen of ZRV14AK15 program to enable the sending IDoc parameters as follows.    
*PARAMETERS sen_idoc(1) TYPE c NO-DISPLAY.
*PARAMETERS getknumh(1) TYPE c NO-DISPLAY.
*PARAMETERS p_delete(1) TYPE c NO-DISPLAY.
*PARAMETERS p_mestyp  LIKE tbdme-mestyp  NO-DISPLAY.
*PARAMETERS p_logsys  LIKE tbdls-logsys  NO-DISPLAY.
PARAMETERS sen_idoc(1) TYPE c DEFAULT 'X'.
PARAMETERS getknumh(1) TYPE c NO-DISPLAY.
PARAMETERS p_delete(1) TYPE c NO-DISPLAY.
PARAMETERS p_mestyp  LIKE tbdme-mestyp DEFAULT 'COND_A'.
PARAMETERS p_logsys  LIKE tbdls-logsys OBLIGATORY.
Now you should be able to use this custom program to generate IDoc for message type COND_A.
Please ensure you have setup the ALE and IDoc configuration such as distribution model (BD64), partner profile (WE20), IDoc Ports (WE21) and etc.
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.

Similar Messages

  • Distributing message type MATQM using ALE

    Hi everybody!
    I am using ALE to distribute material data. This already works. Now I also want to distribute material data for quality management.
    When I try to distribute materials using BD10 I get this message:
    Could not determine recipients for message type MATQM
    So I tried to create a new distribution model for MATQM using BD64. Unfortunately I could not choose MATQM or MATQM01 as the message type. (Error: Message type MATQM01 unknown)
    However, in transaction WE60 I can display message type MATQM01.
    What is the problem?
    best regards
    Roland

    Hi Roland,
    BD10 only can be used with message type MATMAS.
    If you want to send message type MATQM and IDoc type, please use this FM <b>MASTERIDOC_CREATE_SMD_MATQM</b>. You still need to maintain partner profile (WE20) and IDoc Port (WE21).
    Other you can use <b>Change Pointer</b> (BD21) to send out and ensure you have activated the change pointer for message type MATQM (BD50).
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Error while trying to post inbound idoc of message type COND_A

    Hi,
    I am getting error while trying to post inbound idoc of message type COND_A.
    If I left Usage & Condition field of segment E1KOMG then 'Table not available' idoc message is coming
    and if providing value in above fields then dump is coming.
    How to solve ?
    Plz do reply
    Thanks
    Mohit

    I do not see any reason why you would need to use COND_A04  if COND_A01 is working.
    What if you could get COND_A04 to post and you would face the same result as in COND_A01?
    If SAP does not check wrong values, then you have to do it yourself, or you report an incident at SAP (after you have searched for OSS notes that may have fixed this error already)
    For example OSS Note 1169998 - IDoc: KONP-LIFNR values not checked
    fixed a situation where the vendor number was not validated.

  • LSMW with IDOC Message type COND_A and Basic type COND_A01

    Hi Sap All.
    in my project we using the LSMW with IDOC Message type COND_A and Basic type COND_A01 and now the requirement is to know the list of the tables which will be updated when i do the LSMW Migration with this IDOC Basic type.
    i have tried to know the list of the tables updated by entering into the transaction we30 and looking at the segments E1KOMG,E1KONH, E1KONP,E1KONM,E1KONW  and i found that the following below are the list of tables which gets updated when i populate the data into IDOC Message type COND_A and Basic type COND_A01.
    KOMG,KONH,KONP,KONM,KONW.
    please correct me if iam wrong.
    regards.
    Varma

    Hi Varma,
    The tables mentioned by you definitely get updated, i guess you can add KONV to the list too, but to be a 100% sure, enable SQL trace and process an IDOC. Then you can look for Insert/Modify/Update statements to get a list of the tables that get updated.
    Regards,
    Chen

  • 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]

  • Which IDoc Type and Message Type to use for Credit Memo?

    Could you guys please tell me which IDoc type and Message Type to use for Credit Memo? Also if possible tell me the process code/ function module.
    Will certainly give points for right answer. Thank you for reading.

    Hi,
    You can use IDoc type FIDCCP02 with message type FIDCC1/FIDCC2 for Credit Memo.
    Also you can use this FM FI_IDOC_CREATE_FIDCC1/
    FI_IDOC_CREATE_FIDCC2 to generate the IDoc.
    Regards,
    Ferry Lianto

  • What message type to use for syndicating data back to R3 from XI

    What message type to use for syndicating data back to R3 from XI. It gives a Message type IDOC error code 51.

    Hi Rehman,
    You are getting error 51 which means "Error: Application document not posted".
    This might because of two reasons:
    1. Your IDoc doesn't contains all the mandatory fields required by the inbound function module to post the IDoc.
    2. You have assigned wrong inbound function module to post the IDoc.
    Please check these cases.
    Hope this will help you.
    Thanks,
    Shiv Prashant Dixit

  • How to send inforecord conditions using ALE (message type COND_A)?

    Hi,
    I have sent Purchasing Inforecords through ALE using t-code ME18.
    Now, I would like to know how to transfer the conditions through ALE (message type is COND_A).
    Thanks a lot,
    Kaveri

    Hi,
    Please go through this thread.
    [Pricing Condition Records initial upload - COND_A]

  • Message type US for ALE distribution

    I want to create an outbound IDOC using ALE distribution.
    I have to assign Partner type as 'US' - user. Can anyone give me some input. I got the error when trying to do the same
    " No partner profiles (message control) maintained                          
    Message no.                             B1127                                                    Diagnosis                                                     No IDOC partner profiles have been created for the message control for
         for application EF, condition key ZNBR and change message '' with     
         partner type 'LS' and partner role '  '.                              
    Procedure                                                     Please create the partner profiles for the logical system that should 
         contain the IDOC. You can either generate them from the ALE model or  
         create them manually.                                                 
    Step by step will be helpfull.
    Thanks

    Hi Preethi,
    You can use this program <b>RBDCUS15</b> to generate outbound partner profile.
    Also you use distribution model (t/code BD64) as well.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Idoc types and message types we use in IS-Retail

    hi gurus,
                 can anyone tell me what are the idoc types and their message types that we use in SAP IS-Retail .
    Thanks in advance
    regards
    gopal

    Hello, these are the main idoc types used in sap retail:
    'WPDBBY01' POS outbound: bonus buy conditions
    'WPDCUR01' POS interface: Download exchange rates
    'WPDNAC01' POS interface: Download products
    'WPDSET01' POS interface: Download set assignments
    'WPDTAX01' POS interface: Download tax rates
    'WPDWGR01' POS interface: Download material group master
    'WPUBON01' POS interface: Upload sales docs (trnsctns), non-aggregated
    'WPUERR01' POS interface: Upload messages SRS/POS/SCS
    'WPUFIB01' POS interface: Upload Fin.Acc. interface SRS/POS
    'WPUKSR01' POS Interface: Inbound processing cashier data for POS stats
    'WPUTAB01' POS interface: Upload day-end closing POS
    'WPUUMS01' POS interface: Upload sales data (compressed)
    'WPUWBW01' POS interface: Upload goods movements
    'WP_EAN01' POS interface: Upload/Download EAN assignments
    'WP_PER01' POS interface: Upload/Download person data
    'WP_PLU01' POS interface: Upload/Download article master
    'WP_PLU02' POS interface: material and condition (inbound and outb.)
    'WTADDI01' Additionals
    'WVINVE01' Store phy.inv.: phy.inv. docs outbound; count data inbound
    'WVINVE02' Store phy.inv.: phy.inv. docs outbound; count data inbound
    'W_WGRP01' Distribution of material groups
    Regards,
    Juan Carlos

  • IDoc Error: No recipient found for IDoc message type in the ALE model...

    Hello Experts,
    I just created an IDoc for purchase orders and when I try to test it after releasing
    the PO, an error is shown in the processing log saying that there are no recipients
    found for my message type of the IDoc. I refrenced it against a working IDoc but I might be
    missing something.
    Hope you can help me guys. Thank you and take care!

    hi,
    in bd64 ,goto change mode select ur distribution model and click add message type define ur logical systems and message type and save.
    thn goto environment - partner profiles - f 8.it will show whether model is created or any errors.
    then go back edit - model view - distribute.
    reward points if hlpful.

  • Too many recipients found for message type in the ALE model

    Hello Friends,
                            Please help me in solving this error. I have a Outbound sales order confirmation ORDRSP  .
    In the distribution model i have defined the sender receiver and message type clearly...
    But  in va01  after creating sales order  extras ->Output->Hearder --->Edit
    Output type-- BA00
    medium --ALE
    Dispatch time : Send Immediately
    I am getting a error -
    Too many recipients found for message type ORDRSP in the ALE model
    Message no. B1130
    Diagnosis
    In the ALE distribution customer model several recipient systems for IDOCs with message type ORDRSP and filter object type 'KUNNR' with value '100' have been modeled from this system, but only one recipient system is allowed.
    Procedure
    Please change the ALE distribution customer model so that it allows only one recipient system for the message from this system.
    Please help me in solving this error.
    Regards,
    jeevan

    Hi Jeevan,
    In BD64, the said problem occurs, since the message type ORDRSP will be configured to different Logical System.
    Since you are creating sales orders & Output type, system doesnt knows, to which Logical system, it has to be sent since the Message type exists more than once.
    select Your respective Logical System where the Outbound Sales Order Confirmation ORDRSP has been created.
    Under the node ORDRSP, add the filter group for Customer.
    Double click the Filter group and add the respective Customer No.s to whom the Order confirmation needs to be sent.
    Then create Sales Order Confirmation & Output type. Data will be passed(IDoc) to the respective Customer(where the customer no.) exist in the filter.
    Hope it solves your Issues.
    Regards,
    Anbalagan.

  • What IDOC message type to use for AP posting

    Hi,
    My User wanted to use the invoice information created for comany A to be input to company B as AP entries. A and B are inter-company,
    Whar IDOC message should I used for AP posting?
    What BAPI function can I used for AP Posting?

    Hi,
    Lets try the below things for AP posting.
    Idoc type : invoic02
    Message type : invoic
    Process code : INVF
    BAPI for posting : BAPI_ACC_GL_POSTING_POST{ Try to explore some more if possble, for AP posting in my case we are separtaing the data based on posting key ex: 31 }
    BR,
    Rajani

  • Hi Problem with LSMW-IDOC message type COND_A(COND_A02)

    hi Experts,
    I am using LSMW-IDOC to create the condition record for transcation code(XK15) when i am executing i am generating successfully idoc i can see the updated vales in TK15 tcode, the data base is getting updated the problem is the scale id is increaminting automatically i should increament the scaleid i am passing the scale id that scale id should be displayed in Tk15 but the scale id is increamenting.......
    its urgent requirement...

    Hi,
    Thanks. But still I don't see values.
    I have a question in chang pointer.
    When I change the values in the table( Segment data ) for IDOCs, an IDOC should be generated
    Other words, When I change any application, an IDOC should be generate.
    What should I do, I think Change pointer is required for this to geneate idoc for change of application/data.
    In BD50 I see the change pointer is active for my custom message type.
    May be I'm  misunderstanding about change pointer.
    can you help me out.
    Venkata

  • How to find message type by using message number and application area

    Hi abapers,
    I know the message number and application area , how to find messagwe type.
    i.e weather it is error message or warning message.
    MESSAGE NUMBER IS    :219.
    APLLICATION AREA IS    : FS.
    in which table i had to check.
    i checked in t100 table , but i am unable  to find message type.
    please help me to solve this.
    regards

    hi,
    go to se91
    enter area and message number.
    then click on display.
    then go to utilities tab >> where used list or press shift + ctrl +f3
    there list of program will show .
    choose your program name
    then u will get ur mesage infoemation by double click on ur program name
    thanks
    sachin

Maybe you are looking for