Can IDocs Hold only status records?

Hello,
Can IDOCS (inbound/outbound) hold only status records ? If yes, then pls give details.
Many Thanks,
Kishan

I understand the question like...
1.You recieve an Inbound Idoc in to the system.
2.Now, you need to send the status value of the above inbound Idoc to the middleware system(biztalk)
3.You can create custom Idoc with the segment having field as Status values and send it as outbound Idoc to the target system
(OR)
4.Run the stadard program which I have metioned above and you will get a ALEAUD Idoc generated automatically and it will be sent to the destination based on the partner profile assignment that you have done in WE20.
5. For partner profile assignment, go to we20 select the target logical system and add the ALEAUD message type as outbound Idoc
Hope everything is clear. You can get all the above details by giving a search in ABAP Data transfers section in SDN.
Thanq

Similar Messages

  • Can I Display 1 Million records in Excel 2007

    Hi All,
    We are currently on BW 3.5 and SAP gui is 710.
    And I'm using Excel 2007. But when I run some report I still get the message saying Result is imcomplete and can hold only 65K records.
    Is there a setting or someting like that that will enable me to get 1 million records.
    Thanks in Advance

    Hi Siva,
    I think you have to create a report in Web and then export to Excel to display more records.
    You can refer this SDN thread and hope this helps you.
    Re: More records in Bex.
    Rgds,
    Murali

  • Error while updating the status record of IDOC in SAP

    Hi All,
    I am facing this problem. I have done outbound processing and IDOC was sent successfully from SAP to EDI system and it was processed in EDI and now EDI system wants to send the status back to SAP with a status message and the status number that we are using is '24' and we have mapped all the fields in the status table EDIDS and made sure that EDI system sends all those and I think Counter field can not be determined by EDI system so EDI system used the counter '1' since it can not determine how many counters are already there in SAP and unless we pass the value to this counter field we were getting the error. After passing all the values the status of the IDOC is updated with the status '00' instead of '24' and we do not know why it is happened and I would like to know how SAP converts the status record that is received from the EDI system.
    Please let me know how the status record will be translated into SAP from EDI system and I ahve followed basically EDIDS structure and the IDOC status is updating in SAP but with wrong status number and the alignemnt also missing in SAP fields like if I give some text in the EDI it is splitting and storing in 2 fields.
    Please help me in this and I think I have explained the problem in a detail manner.
    Thanks,
    Ramesh.

    Hi Naresh,
    Thanks for the reply and my question is since EDI system is able to send the status back to SAP from EDI system and only problem is it is updatinf the status wrong and I have checked the EDIDS table also and the entry is creating with another counter and please confirm me that it is because of EDI does not support the status record update so that I can confirm to the client that there is nothing wrong in the way SAP functions and EDI system can not update the status code in the SAP.
    Thanks,
    Ramesh.

  • Idoc distribution with status of error records.

    Hi Gurus,
    my business requirement is i want to creat the Outbound Interface to distribute the data from sapserver to ESB server using the one userdefined function module, in this custom function module i written the logic to validate the input data if validation is file those error records are updated to one return table parameter and using the FM Master_Idoc_distribute for  create and distribute the sucessfull records. till its working fine (with status 30-ready to dispach, 01- idoc creatd is in we05 and i have done  the all configaration of message type creation, idoc type creation, port, partnerfrofil) ,
    but my requirement is , for example if in 10 records even one record is also error records then no need to distribute the idoc data to sending system,  just i want to send the idoc number with status error with error message.
    plese suggest me the appropriate procedure.
    Thanks & Regards,
    Sai Ram.

    Hi,
    in ur code ur filling the idoc data rcord, control record ryt ..before u append data to idoc data , u r also validating and u might be doing in loop for appening the idoc data.
    if there is any error in idoc then it won't distribute the data, it will be in error status only..u can only see the data in WE02. Then u can also change the data in WE02 and redistirbute it via BD87.
    if u have any conerns let me know
    Regards,
    Nagaraj

  • Idocs status records!!!

    Hi,
    We have a requirement in which the status records need to be added in the inbound Idoc.
    In the present scenario, Idoc status records are being created like : status 52 Inbound delivery/deliveries are created(no's are 000001 to 000005). This is current scenario.
    Requirement is like :
    we need to have the number of status records depends on Inbound deliveries created.
    For ex : If two inbound deliveries gets created in an Inbound Idoc, then In Idoc status records should be like :
    Status 52 Inbound delivery created ( no 0000001 to 0000001)
    Status 52 Inbound delivery created ( no 0000002 to 0000002)
    Status 52 Inbound delivery created ( no 0000003 to 0000003).
    and so on.......
    Please let us know how can we acheive the above scenario?
    Thanks in advance.
    Ramesh.

    The inputs to the IDoc processing function are:
    *"*"Local interface:
    *"  IMPORTING
    *"     REFERENCE(INPUT_METHOD) TYPE  BDWFAP_PAR-INPUTMETHD
    *"     REFERENCE(MASS_PROCESSING) TYPE  BDWFAP_PAR-MASS_PROC
    *"  EXPORTING
    *"     VALUE(WORKFLOW_RESULT) LIKE  BDWFAP_PAR-RESULT
    *"     VALUE(APPLICATION_VARIABLE) LIKE  BDWFAP_PAR-APPL_VAR
    *"     VALUE(IN_UPDATE_TASK) LIKE  BDWFAP_PAR-UPDATETASK
    *"     VALUE(CALL_TRANSACTION_DONE) LIKE  BDWFAP_PAR-CALLTRANS
    *"  TABLES
    *"      IDOC_DATA STRUCTURE  EDIDD
    *"      IDOC_CONTRL STRUCTURE  EDIDC
    *"      *IDOC_STATUS STRUCTURE  BDIDOCSTAT*
    *"      RETURN_VARIABLES STRUCTURE  BDWFRETVAR
    *"      SERIALIZATION_INFO STRUCTURE  BDI_SER
    *"  EXCEPTIONS
    *"      WRONG_FUNCTION_CALLED
    The status records are returned from the processing function via the parameter IDOC_STATUS which is an internal table so you can append multiple entries to it.
    The only restriction is that all records must have the same status code (ex. all must be 51 is there is an error, or all must be 53 if there are no errors).  An IDoc processing function executes as a single DB transaction so it is all or nothing.
    ~Ian

  • Question on the status record of Idocs.

    Hi all,
    Where does the status of the idoc update::
    1) In the idoc in the sap system/Idoc Archive
    OR
    2)The one we transfer to the OS as a flat file (for the translators(EDI subsystem) to work on)?
    OR
    both of the above?
    Thanks,
    Charles.

    Hi,
    Whenever the IDOC is generated there are one to many status record updated to idoc depending on it is inbound / outbound and various process / system is goes through.
    Check transaction <b>WE47</b> to see all IDOC related status.
    This is the range of status for IDOC.
    OUTBOUND Idoc - Status between 1 to 49
    INBOUND Idoc  - Status between 50 to 74
    Also you can check the View <b>V_STACUST</b>. If you want to check status(s) of any idoc check table EDIDS.
    Regarding two scenario you are talking about.
    1. In the idoc in the sap system/Idoc Archive.
    - When IDOC is generated, it get status record
    - When you archive already created IDOC, the neither the status records are updated / changed or new status record are created
    2. The one we transfer to the OS as a flat file (for the translators(EDI subsystem) to work on)?
    - If you mean that you are sending IDOC to fine port then yes in that case also IDOC has status records.
    Can you explain your second question in more detail?
    Let me know if you have any other question.
    Regards,
    RS

  • Some question on IDOC (Control Record/Data Record/Status Record)

    Dear all,
    I am new in this area, and would like to enquire some question on this topic.
    When I view a IDOC via WE02, each of the IDOC record will consist of Control Record/Data Record/Status Record).
    Questions:
    I notice that the data records consists of many segment (i.e. E1EDK01, etc) which are use to store application data.
    1 - My question is do I have to manually create all these segment and do a mapping to my application field one by one (i.e. that is when I want to create a brand new message type from scratch)?
    2 - If question no. 1 is Yes, how to do it, what are the transaction code to create it? can you show me the step by step.
    3 - I don't have to create the Control record and the status record for my new message type right ? because those field value will automatically pull out from partner profile and system status message, am I correct?
    Thanks.
    Tuff

    Hi Tuff,
    As everything in SAP, with IDOCs too there are
    1) Standard IDOCs
    2) Standard IDOCs(Extending - Enhancement to an IDOC, to accomodate for custom values)
    3) Custom IDOCs
    And every IDOC has,
    Control record - EDIDC Structure - This mostly reflects the partner profile information, along with few more details which are used for IDOC extension, Sequencing etc
    Data Records - EDID4 Structure - These records contain the actual business data of the document in concern. So for ORDERS05 it would contain order details, INVOIC02 - Invoice details so on...
    Status Records - These records capture the status of an IDOC from the time it is received/sent from your system and a corresponding business document is created/changed. So this will have messages like "IDOC sent to the port OK" etc which are status from the communication layer(ALE) to application specific messages like "Sales Order XXX created" or "Invalid Material" etc.
    You would have noticed something called as Process code in the partner profile, this is associated with a FM(or work flow task etc) which has the business logic coded in.
    So in case of an Inbound IDOC, the sending system updates the IDOC - Control and Data records, and sends it to the receiving system. On the receiving system the IDOC's control record is validated against the partner profiles set, if an entry is found then using the process code it finds the associated FM which will decode the data from the IDOC data records as per the IDOC type and then use it to post data into SAP (VIA BDC, Batch Input, BAPI etc).
    And all this while the Status records are being updated accordingly.
    So with the above context will try to answer your questions,
    1 - My question is do I have to manually create all these segment and do a mapping to my application field one by one (i.e. that is when I want to create a brand new message type from scratch)?
    In case of a custom IDOC, yes you will have  to.
    In case of a standard IDOC, you wouldn't have you just have set up the necessary configuration (Partner Profile, Process code etc)
    In case of a standard IDOC extended to accommodate for some custom values(for which there are no fields in standard IDOC - Let us say you have added some new fields on VA01) - In this case you can still use the standard Process code and Standard FM associated with it, SAP provides several Function exits in these FM's which you can leverage to add your custom logic.
    2 - If question no. 1 is Yes, how to do it, what are the transaction code to create it? can you show me the step by step.
    There are several documents available on the net and on SDN detailing step by step approach for all the above three cases,
    just search for step by step guide for IDOCS - sap.
    3 - I don't have to create the Control record and the status record for my new message type right ? because those field value will automatically pull out from partner profile and system status message, am I correct?
    Again it depends, in case of using a standard IDOC you wouldn't have to. But in case you have some customizations/enhancements then you might have to.
    For Ex: updating the control record accordingly for indicating that you have extended the standard IDOC. Or append custom messages to the status record as per the business logic.
    Try out the examples you find on the net and post any specific questions you might have.
    Regards,
    Chen

  • Status record in Idocs.

    Hi SDNites,
    I wanted to know that the Idoc contains three components... Control record, Data Record and Status record. Which table contains all the status records like 54,53,03. What I mean to say is the table EDIDS gives the status of the particular Idoc with Idco number being the key field but where will i find as to which status stands for what? Like 53 stands for success. How do I find this out??? Kindly help.
    Thanks & Regards,
    Nehal.

    hi,
    an IDoc is assigned a two digit status for monitoring of the process.
    as you have already mentioned table EDIDS maintains the status records.
    status for outbound IDocs are btw '01' and '49' and for inbound IDocs '50' onwards.
    to find out what each status msg means you have to go into customization.
    goto tran. spro.
    sap netweaver->application server ->IDoc Interface/Application Link Enabling->System Monitoring->Set IDoc Status Display
    here you can find the text for all the status.
    hope this helps,
    cheers,
    Rakesh..

  • How can we configure or control records go into single idoc thru BODS?

    Hi,
    Our case is -
    IDOC format has three segment. Each segments has child nodes -
    1. CONTROL SEGMENT - This is required only once per idoc.
    child1
    child2
    2. SEGMENT1 - sinlge source record to be broken into two segments.
    child1
    child2
    3. SEGMENT2 - sinlge source record to be broken into two segments.
    child1
    child2
    we have a single source (lest say having 100 records).
    In the current design which does generates IDOCS but as many as the no of records in source. Currently we use a row generation transform as dummy (with row count as 1) to pass to the IDOC parent nodes's from clause to escape the error - invalid input to the parent nodes.
    Child nodes are either mapped to the source table or are null.
    Question - How can we configure this in a way that we control how many records go into single idoc. Ex - lets say 50 per idoc so only 2 idoc should be created if 100 records are there.

    HI,
    this sounds to me like Data Services. If so I would suggest to post this into the Data Service forum.
    regards
    Ingo HIlgefort

  • Delete status records in an IDOC

    Hello experts,
    I have a requirement to delete all status records in an IDOC. The IDOC is used for re-processing & then posted again. When it is done so & if there are errors posting application document, a fresh set of status records need to be added to the IDOC. All previous status records need to be deleted.
    Please let me know if there are any function modules / class methods that can be used to acheive this.

    I doubt very much there is standard functionality for this, as I believe it to be a part of the Audit Trail. It's a bit like deleting change logs from a transaction. If you really had to do it, I suspect deleting records directly from table EDIDS would be the way to go. I wouldn't recommend it though.
    Cheers, Paul.

  • Application failed to return status record to ALE layer after Idoc procesed

    Hi,
    I am loading a full load to Product category (hierarchies) through process chain.
    One of the load failed with the following error. The Idoc has status 51 in BW.
    Can some suggest me the process for correcting this.
    Thanks
    No status record was passed to ALE by the application
    Message no. B1358
    Diagnosis
    The application failed to return a status record to the ALE layer after the IDoc was processed.
    This is due to an error in the application function module which processed the inbound IDoc.
    Procedure
    If you wrote the application function module yourself, you need to change the program.
    If the function module in question is a standard application function module, you should consult SAP.

    Hi
    If this is standard code then you will have to write code to populate the status message in exit. But in case of custom code, the above mentioned solution is best (if coding logic is correct). I have given this solution to many queries and all worked.
    Thanks
    Anuraag

  • IDoc Control Record and Status Record Code,  where is it!!!

    Hi,
      Where can i see the code for generation of control record and status record of IDoc.
       Thanks in advance for your answers

    hi ,
    1.first create an segment with the fields u want tcode we31 relase it .
    2. create an idoc and assign segment to it tcode we30.
    3.crate a message type  tcode we81
    4.assign that message to idoc  tcode we 82.
    do the ale configarations .
    now u can write the code in our sender system
    *1.     Create parameters/select-options for input data. i.e., message type, logical system.
    parameters : p_mestyp like edmsg-msgtyp default 'ZKKUMSG',
                 p_logsys like tbdlst-logsys obligatory.
    *2.     Create Data objects for control record, data record and database table.
    data : c_segment like edidd-segnam value 'ZKKUSEG',        "Data record (IDoc)-Segment type
           c_idoctp like edidc-idoctp value 'ZKKUIDOC'.            "Control record (IDoc)-Basic type
    data : begin of i_tab occurs 0,
              ZKSNO   like ZKSTD-ZKSNO,
              ZKSNAME like ZKSTD-ZKSNAME,
           end of i_tab.
    data : w_itab like i_tab.
    data : s_segment like ZKKUSEG.
    data : i_edidd like edidd occurs 0 with header line.
    data : i_control_record like edidc.
    data : i_comm_idoc like edidc occurs 0 with header line.
    *3.     Select the data from responding tables into internal table for a defined condition.
    here you have take ur internal table
    *select single zsno zsname from zkiran into corresponding fields of itab where zsno = p_sno.
    *4.     create control record into internal table.
    i_control_record-mestyp = p_mestyp.         "Message Type
    i_control_record-idoctp = c_idoctp.         "Basic type
    i_control_record-rcvprt = 'LS'.             "Partner Type of Receiver
    i_control_record-rcvprn = p_logsys.         "Partner Number of Recipient
    *5.     create data record into internal table.
    *i_edidd-segnam =   c_segment.
    loop at i_tab into w_itab.
    s_segment-zksno    = w_itab-ZKSNO.                     "Application Data
    s_segment-zksname  = w_itab-ZKSNAME.
    i_edidd-sdata     = s_segment.
    i_edidd-segnam    = c_segment.
    clear w_itab.
    append i_edidd.
    endloop.
    *6.     Process ALE Service Layer using the function module  MASTER_IDOC_DISTRIBUTE.  It returns the corresponding IDoc No.s.
    call function 'MASTER_IDOC_DISTRIBUTE'
      exporting
        master_idoc_control            = i_control_record
      tables
        communication_idoc_control     = i_comm_idoc
        master_idoc_data               = i_edidd
      exceptions
        error_in_idoc_control          = 1
        error_writing_idoc_status      = 2
        error_in_idoc_data             = 3
        sending_logical_system_unknown = 4
        others                         = 5.
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
              with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    *7.     Display Communication IDocs.
    loop at i_comm_idoc.
      write : / 'Communication IDoc No. is : ', i_comm_idoc-docnum.
    endloop.
    *8.     Commit Work.
    commit work.
    i hope this sample code help u .
    thanks

  • Can I hold an audio conference call and record it ...

    Can I hold an audio conference call and record it on Pretty May Call Recorder?Thanks!

    My solution was to store the thread reference.  At any step, I can retrieve the current context.  This is only valid within a thread, but meets my needs.  I could also pass something at a higher level, but that would require knowing which thread I am interested in anyways.

  • Interactive forms- i see only one record -how can i see more?

    Hi experts,
    i have a table and the result is only one record instead of more records.
    how can i see more records?
    my code is:
    types: begin of structure_0021,
    favor type pa0021-favor,
    yy_id type pa0021-yy_id,
    fgbdt type pa0021-fgbdt,
    end of structure_0021.
    data: it_0021 type table of struct_0021,
             wa_0021 like line of it_0021.
    select favor yy_id fgbdt from pa0021 into corresponding fields of table it_0021
    where pernr = lv_pernr and
    subty = '2'.
    data: lo_nd_adobe2 type ref to if_wd_context_node,
            lo_nd_ls00212 type ref to if_wd_context_node,
            lo_el_ls00212 type ref to if_wd_context_element,
           ls_ls00212 type wd_this->element_ls0021.
    lo_nd_adobe2 = wd_context->get_child_node( name = wd_this->wdctx_adobe).
    lo_el_ls00212 = lo_nd_adobe2->get_element().
    lo_nd_ls00212 = lo_nd_adobe->get_child_node(name = wd_this->wdctx_ls0021).
    lo_el_ls00212 = lo_nd_ls00212->get_element().
    loop at it_0021 into wa_0021.
    lo_el_ls00212->get_static_attributes(importing static_attributes = ls_ls00212).
    endloop.
    lo_nd_ls00212->bind_table(new_items = it_0021).
    if anyone can help me - i will really appreciate it.
    i tried other thing and didnt succeed.
    thanks,
    Michal.

    Obvious question, but have you got 'Find My iPhone' set on both devices?  Settings>iCloud>Find My iPhone.

  • I just bought a 2gb shuffle and i have more music than it can hold in my itunes acct. How can i sync only the certain playlists on the shuffle?

    I just bought a 2 gb shuffle and I have more music in my itunes than it can hold.  How can i sync only the certain playlists on the shuffle?

    Yes. Configure your Shuffle to sync only selected playlists from under its Music tab.  This article should be able to assist you with this.
    http://support.apple.com/kb/ht1719
    B-rock

Maybe you are looking for