Updated IDoc Listener document

Hi All,
There is a new document for building an IDoc listener using MII 12.0 and ECC 6.0.  This will hopefully reduce confusion for those using the documents meant for use with xMII 11.5 and ERP R/3.  Please let me or Diana Hoppe know your comments and suggestions. 
Since there are so many different ALE configurations possible, we know that we can't address them all.  Nor was that our intention.  We wanted to provide a template and reasonable starting point for building a simple Listener.  If our simple model does not work, you may need to bring an ALE expert into the picture.  We hope that it proves useful to some of you out there.
[New IDoc Listener Instructions|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/bpx-community/manufacturing/how%20to%20send%20an%20idoc%20from%20sap%20ecc%20to%20the%20sap%20mii%20idoc%20listener.pdf]
Thanks,
Mike & Diana

Thanks.

Similar Messages

  • Function Module to Update Shipment Cost Document through Idoc.....?

    Is there any EDI function module which can Update Shipment Cost Document through Idoc.....

    Hi Vijendra,
    Welcome to SDN.
    You can use FM IDOC_INPUT_SHPMNT with message SHPMNT and IDoc type SHPMNT01/02/03/04/05 to update shipment document.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if very helpful.

  • Configuring IDOC Listener on MII 12.1

    Hi,
    I had a basic question around the configuration.
    This is from 12.1 help:
    "The SAP Java Resource Adapter (SAP JRA) server is used to connect to SAP ERP Central Component (SAP ECC) to receive remote function calls (RFC) and IDocs. You can use the asynchronous HTTP interface to post data to SAP MII for asynchronous transaction processing."
    In this regard is it mandatory to first configure SAP JRA on NW and then proceed with the IDOC specific config both on the R/3 as well as NW side?
    The reason I ask this is that we are currently struggling with this config on 12.1.8 (build 30) where the BASIS folks are observing that the system hangs when they try to add enteries to the XMIIIDOC component . Before going through with the IDOC config they made sure that the JRA is configured and followed the steps as mentioned in the 12.1 installation guide under "Configuring JRA for JRA Actions" & "Cloning the default JRA Config" sections.They are simultaneously also following up in the NW forums to find a solution.
    Additionally I had another question (this one's specifically for MIke Appleby ). Would one have to follow similar config steps as IDOC when configuring the RFC listener , atleast from the NW CE perspective? We are trying to download Control Recipes from R/3.
    Thanks
    Udayan

    Hi Udayan,
    Yes, the configuration for the RFC Listener is essentially the same as the IDoc Listener, except the binding is different (do not change either type from the default values and you should be fine).
    The differences between the two Listener types are really on the ECC side.  The installation instructions for Batch Manufacturing included the RFC Listener setup.  Keep meaning to write a separate document for RFC Listeners, but haven't yet.
    One general note of caution for all readers:
    Do not reuse ProgIDs from an IDoc Listener in an RFC Listener and vice versa.  Only use a unique ProgID once (and deleting them from one Listener or MII server to use them elsewhere is generally not advisable). 
    Roughly 90% of the tickets entered for IDoc Listeners with MII are because of ProgIDs used in more than one place.
    Regards,
    Mike

  • Any Report that updates the GR document number of R/3 to SRM

    Hi  Experts
    Can any one tell me is there any reoprt that updated the GR numbers of R/3 to SRM
    Because I have done the confirmations in SRM ( 4.0) it created a confirmation number but  the shoppingc art history is not updated with the GR document number .
    Similiar to like CLEAN_REQREQ_UP is there any report that updates the GR document number in the frontend. And also any table for this like BBP_DOCUMENT_TAB for watching the GR entry till the time it gets cleared.
    Please suggest
    Regards
    Srujan K

    Hi Muthu,
    Thanks for your reply.
    My concern is when I do the confirmations in the SRM the shopping cart history is updated with Confirmations number and i can see the status as approved but I am not able to find the GR number besides the confirmations number in the shopping cart history.
    ours is SRM ver 4.0. what could be the problem. when I do the GR from backend and wait for some time the GR document number is getting updated.
    But once after i do the confirmation in the frontend it should automatically post a GR is the backend and
    update the shopping cart history with GR document number which is not happening
    Do I need to check the idoc for this? if so where do i need to check in SRM or in R/3?  because this is in quality system as i doing the testing part.
    So please provide me some solution for this.
    Regards
    Srujan K

  • MII 12.1 and IDoc listener

    Hi.
    I have been trying to setup an idoc listener in MII 12.1, but can not figure out where in NWA to do this an how.
    Have anyone tried that? The help file might not be updated on this point.
    BR
    Poul.

    Hi.
    Thanks, I have found this location but could not se anything happening. To start with i missed the parameter setting MaxReaderThreadCount and needed to restart the listener.
    Now I get something in the log but my username and password is not working..
    Thanks a lot for this
    BR.
    Poul.

  • Item text (BSEG-SGTXT) is not getting updated in Payment document generated

    Hi All,
    Item text (BSEG-SGTXT) is not getting updated in Payment document generated through F110.
    After generating the payment document via Transaction Code u2013 F110, system is not updating the
    Text field (BSEG-SGTXT) in the payment document with the text that we have entered in the Invoice (MIRO or FI Invoice).
    In case of manual payment (F-53) we can input the text manually hence that will get updated in
    payment document but this thing is not possible with F110.
    How can I update it?
    Is there any configuration for that?
    Thanks
    Daniel Dorta

    Hi All,
    I've applied the two notes as recommended. However, when I run FBL3N for payment run items, the Text field is update with wrong data, i.e. not from the Text field in FB60
    Thus, I'll like someone to help me with what should exactly be done on the 'Step', 'Pre-requisite' and 'Substitution' side of the Substitution rule (TCode GGB1), I did not fill anything in the Pre-requisite box - is this right?
    Thanx in advance.

  • Item text is not getting updated in Payment document generated through F110

    Hi all,
    After generating the payment document via Transaction Code u2013 F110, system is not updating the Text field in the payment document with the text that we have entered in the Invoice (MIRO or FI Invoice).
    While processing the document via transaction code u2013 F110, in the layout shown for the Invoices to be considered for payment (screen of u201CEdit Proposalu201D), text is not getting updated. When we pressed F1 at the Text field (Which is blank) we came to know that it is a u201CItem Textu201D with u201CTable u2013 REGUEu201D /  u201CField u2013 SGTXTu201D.
    In BSEG (SGTXT field) as well as BSIK (SGTXT field) we are getting the Invoice document with the text maintained in it via MIRO or FI invoice.
    But while processing the invoices through Tcode - F110, in the layout of Edit Proposal (Table - REGUE / Field - SGTXT) we are not getting the u201CText fieldu201D but getting the other data such as Doc. No.( Table - REGUE / Field - BELNR), Fiscal Year (Table - REGUE / Field - GJAHR) etc for processing the proposal which is getting shown in BSEG as well as BSIK.
    In case of manual payment (F-53) we can input the text manually hence that will get updated in payment document but this thing is not possible with F110.
    Can anybody guide me on getting the ItemText (Not Doc. Header text) in FI payment document after F110 execution?
    Regards,
    Shridhar

    Hi Suresh,
    Thanks for the prompt reply. We will be obliged if you guide us in that respect since F110 is a Std. SAP code.
    Have you refer OSS before arriving at the conclusion of developing ABAP program since the Item Text is a std. field of Std. Tcode - F110. Same should had been get updated while making the payment in reference to the Invoice which haves item text in it ?
    Regards
    Shridhar
    FICO

  • Encountered error while updating the payment document

    Hi Guys,
    I encountered an error while updating the payment document of one of our bank account. See below error message:
    Error: Unable to lock the record. Cause: The record is being modified by another user
    thanks,
    gracie

    Hi Vikas,
    Repeat the changes you are trying to make one step at a time and make sure you click on update in both the series screen and the document numbers screen every time.
    I've faced this issue and doing this helped.
    Regards,
    Hamsa

  • How to restrict update to a document in state release to the contribution g

    How to restrict update to a document in state release to the contribution group.
    Hi I’m working with UCM 10g and I want to know if it is possible to restrict the update over a document that is on state release for the group of users that made the check in of the document ?
    thanks

    Yes, it is, but IMHO in a rather complicated way:
    - you could change the security settings (security group, or more likely, accounts) during the life cycle, or
    - you could implement collaboration management, and change security settings via ACLs
    Alternatively, depending on what you mean by "updating" documents you could also:
    - check-out the document by a system account (if you want to prevent your users to check-in a new version)
    - modify the GUI so that Update (metadata) action is not available to users (in theory, they could still access it via a direct service call) by a custom component
    - introduce a Java event filter (enhancing the UPDATE service) where you will implement whatever logic you want
    I would probably opt for the last options as it seems to me to be the cleanest solution (but yes, it requires some coding).

  • Profit center document created but profit center not updated in FI document

    Hi Experts,
    I have a strange issue; we created FI document via billing document (SD) where in profit center document got created but profit center is not updated in FI document.
    We have separate table to identify the profit center by customer.
    Please let know what could be the cause or reason for this kind of scenario
    Thanks,
    VK

    Hi Krishna,
    Though ur question seems very old, but now i got the same requirement as like you.
    So if you remeber what needs to be done for this issue thats very good help to me.
    My Requirement is : I have created Service Entry Sheet by referring PO and while releasing this Service Entry Sheet system is generating MIGO Doc and FI documents in background.
    And I have updated PERNR (Persnoal No.) in MSEG-SGTXT by using enhancment but it's not populating in BSEG-SGTXT.
    And I found an internal table while debugging i.e ; like ACCIT (not exactly ,similar to this ) where i have updated pernr and sgtxt but same thing will not available in FI Doc display (BSEG-PERNR or BSEG-SGTXG)
    So could you plz suggest what needs to be done to achieve this. Im assuming that, is it possible through BTE (Business Transaction Events) ?.  if yes, plz tell me how to proceed.
    Thanks
    Madhan

  • Error Loading Hierarchy Error when updating Idocs in Source System

    Hello  Friends,
         I am loading  hierarchy data  using Info pac into  0FUNDS_CTR . I have selected  a hierarchy under hierarchy selections tab  in the Info pac .
    All Partner profiles in WE20 seems OK .   But When I loaded data , throwing errrr message  as below
    Error when updating Idocs in Source System
    Diagnosis
    Errors have been reported in Source System during IDoc update:
    System Response
    Some IDocs have error status.
    Procedure
    Check the IDocs in Source System . You do this using the extraction monitor.
    Error handling:
    How you resolve the errors depends on the error message you get.
    When I checked in TC WE05 says that  IDoc: 0000000000355113 Status: Error during syntax check of IDoc (outbound) with status 26 .
    Please advice .
    Many thanks

    Hi  Krishna4bi,
    Actually we will monitor idoc status in BD87 in SAP BI As well ECC , while extracting the data from source sytem  if any idoc struck we will manually process in BD87 , But you are telling that while loading the datasource the error occurred , so please check once in ECC side . Otherwise see how many packets are still process, make it red that infopackage and do manually update.
    Hope it helps,
    By,
    Praveen Yagnamurthy,
    SAP BI Consultant,
    Blue Marlin Systems-INDIA.
    http://bluemarlinsys.com/bi.

  • Error when updating Idocs in Source System - Urgent

    Hi Team,
    When i was loading the data from SAP R/3 to BW, i was facing the error "Error when updating Idocs in Source System" (0 From 0 Records).
    When i check in the Environment>Transaction RFC->In the Source System, it was displaying the error--
    <b>" Import container contains errors (are any obligato) in the Function Module: IDOC_ERROR_WORKFLOW_START_R".</b>
    Can any one please help me to solve this error.
    This is am Urgent requirement for me to deliver.
    Thanks & Best Regards,
    Venkata.

    Hello VenkaTa,
    How r u ?
    The workflow settings are not proper it seems. Ask the BASIS people to correct the Work Flow Settings. Then try Updating the IDOCs manually.
    Also check the Inbound and outbound IDOCs in the Source system. The outbound should contain some warnings or errors.
    Best Regards....
    Sankar Kumar
    +91 98403 47141

  • Error when updating Idocs in Source System

    Hi All,
    We did a recent copy from QAS to DEV,after which am unable to run my process chains ,the load status still showin yellow signal,whereas job is getting finished but am unable to load datas to the targets. Am getting the following error message when i see the display message in process chain.
    System Response
    Some IDocs have error status.
    Procedure
    Check the IDocs in Source System . You do this using the extraction monitor.
    Error handling:
    How you resolve the errors depends on the error message you get.
    Error when updating Idocs in Source System     
    Could anyone please let me know what can be done ?
    Thanks
    con

    Hello All,
    I have same problem but its RESOLVED by the following process.
    Step - 1
    execute  the Function module "SCP_LANGUAGES_IN_INSTANCE".  It may or maynot give some output. Just note if it give the output
    Step - 2
    in Transaction SE38 execute the program "RSCPINST".
    Just Click on the Activate button (dont select anything).
    Step - 3
    Again do the same thing specified in Step - 1.  Now it will give the output saying that Language is DE.
    So by the above procedure my issue is been resolved.
    Regards
    Sankar

  • Updating a XML document with a processing instruction

    Greetings Guru's
    I have a fully functional XML database solution for our new system. The only thing left is for me to update a xml document in the database with a processing instruction to find the style sheet (JAXB strips it out when the XML must go back into the database).
    I can update complete nodes and node elements in the xml document using updateXML in a regular update statement, but I do not know how to add the following processing instruction to my documents.
    <?xml-stylesheet type="text/xsl" href="/RASWEB/JIT_REPORT.xslt"?>
    [pre]
    Thanks in advance
    Derrick                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    SQL> var xmltext varchar2(4000)
    SQL> --
    SQL> begin
      2    :xmlText := '<Hello>World</Hello>';
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> drop table t
      2  /
    drop table t
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> create table t of xmltype
      2  /
    Table created.
    SQL> set long 10000
    SQL> --
    SQL> insert into t values (xmltype(:xmltext))
      2  /
    1 row created.
    SQL> select *
      2    from t
      3  /
    SYS_NC_ROWINFO$
    <Hello>World</Hello>
    SQL> update t set object_value = updateXML
      2                              (
      3                                object_value,
      4                                '/',
      5                                xmlconcat
      6                                (
      7                                  xmlpi("xml-stylesheet",'type="text/xsl" href="/RASWEB/JIT_REPORT.xslt"'),
      8                                  object_value
      9                                )
    10                              )
    11  /
    1 row updated.
    SQL> select * from t
      2  /
    SYS_NC_ROWINFO$
    <?xml-stylesheet type="text/xsl" href="/RASWEB/JIT_REPORT.xslt"?>
    <Hello>World</Hello>
    SQL>

  • Pop up to enter text in QA11 and then update in material document item

    Hi everyone,
                           I have a requirementt which states that: In QA11 t-code under inspection lot stock tab if any qualtity is entered in Blocked stock then user should be prompted for a pop to enter text and that text should finally update in material document item text.If anyone has encountered it earlier please let me know  .
    Regards Pallav

    Hi Pallav,
    Please use exit EXIT_SAPMQEVA_005 "Transfer of Inspection Lot Data to User Screen"  for this purpose and if necessary create a module pool screen for user interface.
    Regards,
    Gaurav

Maybe you are looking for