Outboubd idoc generated incorectly

Hello,
I've made all the configuration necessary in order to generate from SAP an outbound IDOC for XI and all was ok, the status was 003.
I had to do the same setting on another system and although I tried to keep the same settings, when I look in WE02, the generated IDoc does not have the correct tree structure: all the segments are generated on the same level, although the BASIC TYPE has the correct arborescent structure ...
Any hints on what I am missing?

HI
regarding this case.we can use Message control method to generate IDOC for partilcular trigger point like change ,save or create.
some configuration settings need to be done for the particular t-code by functional people.
and need to maintain  application, message type and process code under message control tab in partner profile(WE20).
you should write code to trigger an IDoc in process code,by using MASTER_IDOC_DISTRIBUTE FM.
let me know if you want any help
kiran j

Similar Messages

  • How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    How to find the number of idocs generated for a customer on the basis of his purchase order in a day ?

    Dear Friends,
    I am absolutely agree with your answer .
    But my question is,
    Lets say.....
    One customer sending X number of purchase orders in a day , so how many IDocs generated on that specific day for that specific customer .
    So, Question is , How can we find the no of sales orders(IDocs) generated for the customers on the specific day ?
    Hope you all understood my requirement .
    Thanks & Regards,
    Aditya

  • How to relate IDOC generated in sap through ALE from legacy system

    Hi all,
    can any one tell me how can relate an idoc generated in SAP with the new idoc generated in a legacy system. I mean how could I identify, which idoc is generated for a particular idoc in legacy system and vice versa.
    Thanks,
    Nilanjana

    Thanks Suhas but when i am getting error message related to partnr profile when pressing this 'TRACE IDOC' button even with idoc in status 53.
    Edited by: nilanjana sinha on Nov 11, 2011 8:20 AM

  • Number of IDOC generated

    Hello,
    I am using a outbound IDOC and at the end of IDOC generation want  to know number of IDOC generated.
    I have used message S644(ZSD) for that, but how to write logic to get number of IDOC generated.
    I am using MASTER_IDOC_DISTRIBUTE FM.
    Thanks

    IDOC number would be set in the Control Table parameter COMMUNICATION_IDOC_CONTROL.
      CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
        EXPORTING
          master_idoc_control            = ls_edidc
        TABLES
          communication_idoc_control     = lt_edidc  " <<
        READ TABLE lt_edidc INDEX 1 INTO ls_edidc TRANSPORTING docnum.
        lv_idoc_number = ls_edidc-docnum.  " <<
    Regards,
    Naimesh Patel

  • Usage of ALE - idocs generated for BAPIs

    Hi
      I need to use - the std idocs generated for BUS2032 object - CREATEFROMDAT2 method to store the BAPI call  ( BAPI_SALESORDER_CREATEFROMDAT2 )data for those sales orders that could not be created.
    If I want to use the SAP delivered BAPI ( BAPI_SALESORDER_CREATEFROMDAT2 ) to call as it within an ABAP program - and then if the call did not go through - then log the data for BAPI into the corresponding idoc with the message type SALESORDER_CREATEFROMDAT2 ( idoc type SALESORDER_CREATEFROMDAT202 )  do I need to move the values from the BAPI structures to the idoc segments programatically ?  Or since the idoc is linked to the BAPI - by definition, is there an implicit way to move data to the corresponding idoc segments and save the idoc .
    Can anyone out there give me a code sample to do - what I have asked above ?

    Hi,
    I guess you can use function module ALE_SALESORDER_CREATEFROMDAT2 to create idoc from bapi data. You can pass the entire data in internal tables that you are passing to BAPI into above mentioned function module and then it will create an Idoc for the same. Also populate the receivers in the internal table receiver.
    KR Jaideep,

  • No request Idoc generated in BI

    Hi Experts,
    I'm trying to load transaction data into infoprovider but it's not getting through when i check in Moniters it's shows 'No request Idoc generated in BI'.
    To resolve this issue then load data, what are the things need to be done.
    Please drop your comments.
    Thanks in advance.
    Siri

    Hello Siri ,
              what is the source of the data flat file ,R/3 ?can you check whether data is reaching to PSA?is there any routine between?what you can do is go to the monitor click on the details and then go to the data package and simulate the data .then you will know where you got the problem.
    Assigng Points  = Thanks in SDN
    Thankyou & Regards
         Jai

  • ALE Change pointer idocs generated in wrong sequence

    We are using the serialization group to generate the MATMAS and CLFMAS idocs with the sequence MATMAS generated first and then CLFMAS.
    Normally,this seems to work fine with the idocs generated in the right sequence.
    However, during a period of every 24hours, I could see a couple of MATMAS and CLFMAS idocs being generated in the WRONG sequence with CLFMAS generated first and not MATMAS as maintained in the serialization group.
    What could be the reason?
    I checked in the BDCP and BDCPV tables, the timestamps for the wrong sequence idocs seem to be correct with MATMAS before CLFMAS. However the actual idoc creation time is not in correct sequence.

    Hi,
    Can you check your serialization group via tcode BD44 and check the sequence number for MATMAS and CLFMAS?
    Hope this will help.
    Regards,
    Ferry Lianto

  • 0 idocs generated for msg type cosmas

    Hi everyone..
    please help out with this idoc issue
    I'm trying to send data with msg type COSMAS from 800 to 810 using BD16 as follows:
    it just says 0 idocs generated.
    I have again gone back and checked my customizations but can't figure it out.
    the steps i have done are:
    create and assign logical systems
    open rfc connections from both c800 and c810
    create model view and assign msg type in bd64 in c800.
    create partner profiles in both c800 and c810.
    open port from c800 .. .DO i have to open a port from c810 as well??
    Some doubts I have :
    do i have to do :
    "Generate the partner profiles by selecting the navigation path from the main menu, Environment --> Generate Partner profiles"
    from BD64 after i create the model view and add msg type COSMAS.
    regards,
    allwyn

    HI
    no, i have not done anything relating to bd64 in c810 ..that wasn't mentioned in the notes I am following .. Do I have to repeat the same steps like I did in c800?

  • IDOC generated a very long time

    Dear all,
    what reason will cause that IDOC generated a very long time ?
    My own thinking is this due to one instance's update processes are all running, 'update are all running' is due to 'high lock entries in SM12',
    but I don't know how to check what caused 'high lock entries in SM12'.
    When I confirm with user about the lock entries in SM12 that users reply they are running some reloated article in system but very slow, so I cannot delete the lock entries also cannot cancel the update process.
    so who can tell me which reasons will cause large lock entries in SM12 ?
    how to resolve it and avoid it happened again ?
    how to find the root cause for large lock entries ?
    Best Regards,
    Michael

    From http://astronomy.swin.edu.au/s2plot/3dpdf/ :
    Please note: Figure 4 (isosurfaces) can be very slow to load in Adobe Reader for Apple Mac OS X. Sometimes it can take up to 2 minutes ... please be patient!
    It is not _so_ slow for me, but still is.
    http://asymptote.sourceforge.net/gallery/sphericalharmonic.pdf is also not so fast to load.
    Some of my models, where I had to use lots of per-triangle materials to achieve smooth color and transparency demonstrated this problem (but they also did not view exactly _fine_, they made my MacBook noisy due to increase in fan activity ; ). 

  • Double IDocs Generated from SAP

    We create delivery in R/3 using VL01N & subsequently pick & pack changes done with VL02N. Then normally ONE IDOC is generated.
    Problem.
    Here 2 IDOC's generated for a single delivery document.
    How can this happen? pl help.
    We processed the same data in WE19 for testing but in this case only One IDoc gnerated.

    All settings are OK.
    On that day almost 300 IDocs Generated for different deliveries.
    But only 2 IDocs get generated from sinle Delivery.

  • 1 matser idoc  generated but 0 communication  idoc .

    hai all.
    am practising ale-idoc.and sending material with message type MATMAS.
    i done rfc connections . b/w 800 n 810. i got it .
    but my prob is
    1 master idoc generated for message type MATMAS.
    but 0 communication records generated for msg.type MATMAS.
    idoc is not generated
    how can i rectify this erorr.
    pls do helpful.
    tanx in advacne .
    Satya.

    Hi Satya,
    The ALE distribution model defines which applications in your distributed systems communicate with each other and which types of data are distributed. You require a separate ALE distribution model for a Central User Administration (CUA).
    In the central system, you define the structure of your Central User Administration in the model view, which you then distribute to the child systems.
    Two types of data are distributed in the ALE distribution model of the CUA to be defined:
    · User master data (including assigned roles and profiles)
    ·Company addresses
    You require two methods in the distribution model to distribute user data and company addresses. These methods are realized using BAPIs of the business objects USER and UserCompany with the method clone.
    You can check the following links for details.
    http://help.sap.com/saphelp_nw04/helpdata/en/0b/2a610f507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/0b/2a610f507d11d18ee90000e8366fc2/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/44/1a243754192009e10000009b38f839/frameset.htm
    Give points if the answers are helpful.
    Regards,
    Biswa.

  • Send INVCON02 IODC display 0 IDOC generate through T-code "poit"

    Dear Gurus,
    when I send inventory data from SAP ERP to SAP ME via MII,I use the sap T-code "poit". In "poit", In "selection parameters:warehouse stock", I fulfill "storage location" , and send, but sap returns "0 IDoc generated".
    we tested the basic type "INVCON02" using "we19", it can send IDoc to MII, but could not sucess in POIT.
    Anybody can tell me what's the problem, and Is there anybody know other tcode to send INVCON02 to Mii or other system?
    It is very appreciate for your help. Thank you advance.

    POIT is for the generation of Production (Order) related IDocs.  POIM is for the generation of Production (Order) related master data downloads.  I think there are two ways of downloading Material Master IDocs, but BD10 is the one I remember.
    You will probably be amused, but the fastest way to find INVCON t-code is to google it.  Here is the one I use most frequently:
    [IDoc T-codes|http://www.sap-img.com/basis/important-idoc-transaction-codes.htm]
    But remember you have to set up the two sections in ECC or the IDocs will not be either generated or distributed.  Go back to the listener configuration document to see where (which t-codes) the modifications need to be made.
    I suspect, but don't know for sure, that the instructions are also in the installation/configuration guide for ME. 
    Good luck,
    Mike
    Edited by: Michael Appleby on Feb 17, 2011 3:32 PM

  • No IDOC generated when PO is deleted

    I have a message control working for PO create and change. I have a user routine that checks if any one of the PO item has a material type 'ROH' and belongs to plant '2001'. This is the only condition when the IDOC has to be generated. This works fine too. But if I delete all the line items of the PO and have a break point at this user routine, the user routine is not triggered and break point is not reached and also IDOC is not generated.It just shows as error in the PO message header with the log
    Output type: PO E
    Processing log fo
    Error : (Red bulb) - No items exist   .
    Any idea why it is not working for deletion. Is deletion not another change ? And why is my user routine not invoked anytime one of the line items is deleted.
    My user routines looks like this..
    FORM kobed_911.
      DATA: plant_sw(1)  TYPE c,
            l_bustype(3) TYPE c.
      DATA:   tab_count(6)   TYPE n,
              low_werks(4)   TYPE c,
              low_vend(6)    TYPE c,
              find_sw(1) TYPE c,
              i_name     TYPE tvarvc-name,
              i_type     TYPE tvarvc-type.    "IC1K900750 end
      DATA: i_flag    TYPE c,
      i_pot     TYPE TABLE OF bekpo WITH HEADER LINE,
      l_tab(60) TYPE c,                                         "UN1K914326
      l_output  TYPE c.                                         "UN1K916720
      FIELD-SYMBOLS <prod>.                                     "UN1K914326
    break roitmot.
      LOOP AT xnast WHERE kschl EQ komt1-kschl AND
                          objky EQ msg_objky   AND
                          aktiv EQ space       AND
                          vstat EQ '0'.
        EXIT.
      ENDLOOP.
      CHECK sy-subrc NE 0.
      sy-subrc = 4.
      l_output = 'N'.
    * Process only on Create or Change...
      IF ( komkbea-druvo EQ neu OR komkbea-druvo EQ aend ) and (
    komkbea-bsart = 'NB' ).
        l_tab = '(SAPLMEPO)pot[]'.
        ASSIGN (l_tab) TO <prod>.
        CHECK sy-subrc = 0.
        i_pot[] = <prod>.
        sy-subrc = 4.
        loop at i_pot.
          if i_pot-werks eq '2001' and i_pot-mtart eq 'ROH'.
            l_output = 'Y'.
          endif.
        endloop.
        if l_output eq 'Y'.
          clear sy-subrc .
        else.
          sy-subrc = 4.
        endif.
      ENDIF.
    ENDFORM.                                                    "KOBED_973
    *       FORM KOBEV_973                                                *
    FORM kobev_911.
      DATA: plant_sw(1)  TYPE c,
            l_bustype(3) TYPE c.
      DATA:   tab_count(6)   TYPE n,
              low_werks(4)   TYPE c,
              low_vend(6)    TYPE c,
              find_sw(1) TYPE c,
              i_name     TYPE tvarvc-name,
              i_type     TYPE tvarvc-type.    "IC1K900750 end
      DATA: i_flag    TYPE c,
            i_pot     TYPE TABLE OF bekpo WITH HEADER LINE,
            l_tab(60) TYPE c,
            l_output  TYPE c.
      FIELD-SYMBOLS <prod>.
    break roitmot.
      LOOP AT xnast WHERE kschl EQ t683s-kschl AND
                          objky EQ msg_objky   AND
                          aktiv EQ space       AND
                          vstat EQ '0'.
        EXIT.
      ENDLOOP.
      CHECK sy-subrc NE 0.
      sy-subrc = 4.
      l_output = 'N'.
    * Process only on Create or Change...
      IF ( komkbea-druvo EQ neu OR komkbea-druvo EQ aend ) and (
    komkbea-bsart = 'NB' ).
        l_tab = '(SAPLMEPO)pot[]'.
        ASSIGN (l_tab) TO <prod>.
        CHECK sy-subrc = 0.
        i_pot[] = <prod>.
        sy-subrc = 4.
        loop at i_pot.
          if i_pot-werks eq '2001' and i_pot-mtart eq 'ROH'.
            l_output = 'Y'.
          endif.
        endloop.
      ENDIF.
      if l_output eq 'Y'.
        clear sy-subrc .
      else.
        sy-subrc = 4.
      endif.
    Also in my partner profile -message control, i have used Me10 twice, once with the check for change check-box and once without.
    This is my cofig of message control tab in Partner profile :
    App Messtyp    Proc.Code     change message
    EF     Z005       ME10             
    EF     Z005             ME10                      X
    Thanks in advance.

    did you get any resolution to why no idoc is generated when deletion happens?

  • How to see KSCHL (condition type) in IDOC generated from VA02

    Hello,
    I have a sales order with positions having
    Condition type   Amount   Currency Price Unit    
    ZPR0                100.00     EUR        1
    ZPR0                200.00     EUR        1
    If I generate an exit Idoc I can see every field from above except for the value of Condition type.
    The received systems needs to have such information.
    The only whay I found so far is to hard-code 'ZPRO' in the user exit of the receiving system.
    Could anyone suggest me better?
    Thanx
    Christian

    Fill the field in the user exit on the sending system. In this way you can pass table values instead of hard coding.

  • Consolidating IDocs generated through RFFOEDI1 program

    Dear experts,
    We are trying to use IDocs to send payment information to our bank for further processing. Currently, the program RFFOEDI1 generates individual Idocs for each payment i.e. for each vendor.
    However, we would like to see one IDoc for each payment method which in turn should have the payment details of each vendor.
    Does anyone know how we can achieve this? OR is it even possible.
    Thanks for your help.
    Regards,
    Vishal Thakur

    Hi,
    Payment IDOC is generated at vendor level. You have the option to generate the payment IDOC at invoice level, but not possible for aggregating at payment method level for all vendors.
    You can instead create your own custom program, where you can read the data from various IDOC and can aggregrate into single IDOC. But standard does not support it.
    Regards,
    Gaurav

Maybe you are looking for