Error  in SXMB_MONI for Idoc to File Scenario (missing of field plant

Hi SapAll.
here i have got a tricky situation where in a Idoc(Matmas.Matmas05) to file Interface thorugh XI there is an error message raising in sxmb_moni.
to get the conclusion for this error i just copied the message from Sxmb_moni and tried with  Message mapping in Design by just pasting there,after all this process iam getting the error message as below
Cannot produce target element /MT_FCI_MATERIAL/fcidataimport/objects/object/extensions/collection[3]/row/fields/PLANTEXT. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
When i go the mapping program it is defined as
if Matmas.matmas05WERKS(sender) exists then map werks to plant tex(reciver MType)t else map constant with(null value) to reciever(MType).
and the important thing is the here the occurance of field plant text is 1.1.
so iam not sure on why the error was raised in message mapping as every thing is fine.
can any body help in slolving this.
regards.
Varma

if Matmas.matmas05WERKS(sender) exists then map werks to plant tex(reciver MType)t else map constant with(null value) to reciever(MType).
When WERKS's is absent the IF doesn't have a value and hence the whole context gets suppressed which returns the error. What you have configured would work fine if WERKS is there but with no value. Here the case is a bit different. WERKS itself is not coming. Your logic doesn't handle that. Hope you got what I intend to convey.
Correct me if I am wrong but the logic is you need to pass WERKS value to PLANTTEXT if value comes else map a blank constant...right??
If so, why not just use mapWithDefault
WERKS -> mapWithDefault(blank contant) -> PLANTTEXT
This way if WERKS comes teh value would be passed, if comes with blank value blank value would eb passed if doesn't come atall, even then a blank value would be passed.
Regards
Soumen...

Similar Messages

  • Error in TRFC for IDoc to File scenario while sending IDoc

    Hi,
    Configured of 'IDoc to file' scenario is completed. Executed a stand alone program to post IDocs to XXI system using a RFC destination with required previleges.
    Outbound IDoc has status successful, but it is blocked in the source system and can be viewed in TCode: SM58 (Transaction RFC). The error status is set as ':00'.
    When I tried menu item 'Edit>>Execute LUW', I got the status message as 'Function module does not exist or EXCEPTION raised'.
    For your information, User used in RFC destination is communication user with SAP_ALL profile(in XXI system).
    Can anybody help me out in resoving the error?
    Regards,
    Suraj Kumar

    Hi,
    Thanks for your reply.
    It is successfully tested and FYI as the user specified in RFC Destination is a communication user in destination system (XI), it does not have remote logon.
    Hope I am clear.
    Please let me know, if you need any further information.
    Regards,
    Suraj

  • Error in SXMB_MONI for HTML to Webservice Scenario

    Hi Experts,
    I am facing following error Error in SXMB_MONI for HTML to Webservice Scenario
    "Runtime exception occurred during application mapping com/sap/xi/tf/_MM_EmailRequest_To_ValidateEmail_; com.sap.aii.utilxi.misc.api.BaseRuntimeException:Content is not allowed in prolog."
    Only one field is used i.e. email address and mapped properly in IR but still the error is persisting, Please suggest some way out.
    Regards,
    Nitin

    Hi,
    Mapping internall follows the SAX parser. Please check if you are trying to process the data of large size.
    generally while parsing the large data this exception get raised. Even though there is just one field, what is the data size you are trying to pass.
    Thanks
    Swarup

  • Error : Pre Settings for IDoc inbound processing are missing error

    Hi Experts,
    There is a CRM job which executes LSMW and I am facing a strange problem during the IDOC posting the error "Pre Settings for IDoc inbound processing are missing error". Can anyone please tell me how to correct this error?
    Thanks in advance.
    Madhurima.

    I'd start with the following document, with one modification. At step 12 after typing GEARAspiWDM press the Enter/Return key once prior to clicking OK. (Pressing Return adds a carriage return in the field and is important.)
    [iTunes for Windows: "Registry settings" warning when opening iTunes|http://support.apple.com/kb/TS3299]

  • Error in Operation Mapping for Idoc to File Scenario

    Hi Experts,
    I am doing Idoc to File Scenario for Timesheet IDoc "HRSM_C" and following step are through,
    Sender agreement --> Receiver Determination --> Interface Determination
    got stuck in Operation mapping, it sahows error
    "Unable to find resource 193c0e01-bd37-11dd-850c-d879ac131b1f in the following software component versions: http://clarityPOCcom/sap/xi/tf/_MM_Timesheets_iDocToFile_.class-1"
    Also not all the fields of IDoc HRSM_C are transferred to the XI server as I am unable to see all the fields in xml file using transaction idx5, as I suppose the reason behind may be there are no values in those fields.
    Please suggest how to resove the issue and transfer all the fields from R3 to XI in Idoc eventhough it doesn't contain any value.

    Hi
    Refresh CPA cache using user PIDIRUSER.
    Look Note 951318 for Mapping Cache Refresh.

  • Setup for IDoc-XI-File scenario

    Hi All,
       Please provide info where can I find, step by step  documentation for the basic setup on R/3 and XI areas, before start developing IDoc-XI-File or File-XI-IDoc scenarios.
    Thank you,
    Sree

    Hi,
    While doing an IDOC -> XI -> File scenario, The Points to noted are:
    1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
    2. You import the IDOC and use the same in your mapping.
    3. In this configuration note that you don’t have a sender agreement as you don’t have a sender IDOC adapter.
    If it is that you wanted to send an IDOC from XI (File to IDOC) , then in this case:
    points 1 and 2 will remain, but the 3 will not. You will need a sender agreement for the file and a receiver agreement for the IDOC.
    IDOC -> File scenario ref:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    File -> IDOC ->
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    (It concentrates on XSLT mapping but also gives an idea about the configuration part. Do go thru that, it might help you.)
    To be able to trigger your IDOC from the SAP ISU system, you will have to set the partner profile in we20. Select your Business System (mostly under Logical system) and then create Outbound entries for whichever IDOC you want to trigger.
    You define your basic type also in your partner profile settings, Please go thru the following links to get a better idea about partner profile:
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b833243d711d1893e0000e8323c4f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7cd343d711d1893e0000e8323c4f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/32/692037b1f10709e10000009b38f839/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/5e/b8f8bf356dc84096e4fedc2cd71426/frameset.htm
    Also, I would suggest that you go through this blog by michal if any issue arises,
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    I hope I have answered your query.
    Regards,
    Abhy
    PS: AWARD POINTS FOR HELPFUL ANSWERS.

  • Questions to a Mapping for IDOC-to-File Scenario

    Hi all,
    I want do develop a Message-Mapping for an IDOC-to-File Scenario. A SAP System sends an IDOC to the XI-System and the XI-System should make a mapping an send a XML-File to a FTP-Server. The Strukture of the target message is very easy:
    <xdoc>
       <Invoice>
          @purno
          <HeaderInfo>
             <invno/>
             <shipdate/>
             <extvalue/>
          </HeaderInfo>
          <DetailInfo>
             <LineItem>
                @lineno
                <vpartno/>
                <descrip/>
                <qtyord/>
                <cost/>
                <vendmemo/>
             </LineItem>
          </DetailInfo>
       </Invoice>
    </xdoc>
    The source message is an IDOC. This IDOC can contain one or more positions (E1EDP01). Those different positions should be mapped into different LineItem's (see target structure) -> so in the target file one or more LineItems can appear.
    Is it possible to implement this process with a common message-mapping or have I to implement a business process?
    Thanks
    with best regards
    Christopher

    Hi Christopher,
    <i>Is it possible to implement this process with a common message-mapping or have I to implement a business process?</i> - This thing is possible with common message mapping......you dont need business proces for it.......in msg mapping after taking the source IDOC and target xml struc, map the E1EDP01 field to LineItem field.......just check the occurance of these nodes.....it should be 0..unbounded.........so as many E1EDP01 nodes will be there in idoc, that many LineItem nodes in target will be created.......
    Thanks,
    Rajeev Gupta

  • No message in sxmb_moni for idoc to file

    Hi all,
    In the idoc to file scenario i want to store the file on the XI server.i have done all the settings.When i trigger the program an idoc gets generated and it is posted to the port(XI port in my case)I get a green status(we02 status 03)but when i monitor my messages i am unable to see it in sxmb_moni.need help.
    Regards,
    Shrita.

    Hi Shrita,
    Take a look at these links..
    Messages stuck with a "Green Flag" status in SXMB_MONI !!
    Missing Messages - in RWB but not sxmb_moni
    No Messages in integration server
    cheers,
    Prashanth
    P.S : Please mark helpful answers

  • Do we need a sender channel for IDOC to file scenario.

    Hi,
    Do we need a sender channel in IDOC to FILE scenario.
    Because IDOC is being sent by SAP R/3 System and when creating objects in ID using wizard, it doesn't ask for sender channel.
    What is the reason for this?
    Regards,
    Younus

    Younus,
    to add more...
    From <b>WAS(Web Application Server) 6.20</b> and above BASIS is not the runtime for SAP.WAS is the runtime for SAP.
    And it has got ABAP and JAVA engine in it.
    It handles connections made over various protocols such as SMTP for mail, HTTP(S), and SOAP/XML.
    <b>
    The SAP Web AS 6.10 did not have a Java engine.</b>
    and IDOC and HTTP are present on the ABAP engine and the rest reside on JAVA engine.
    and that is the reason why IDOC and HTTP doesnt require Sender Adapter and Sender Aggrement aswell.
    Hope i cleared ur point...
    Cheers,
    Raghavesh
    Message was edited by:
            Raghavesh Reddy

  • Acknowledgement for Idoc To File Scenario

    Hi Experts,
    My scenario is idoc to file and if the file is successfully delivered at destination then i need an acknowledgement saying that the file was received successfully.
    How to achieve this. Can any body send me the scenario with screen shots.
    Your help will be greatly appreciated.
    Thanks & Regards,
    Venkat

    Dear All,
    For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.
    For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.
    I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.
    Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks.

  • Defining a port /RFC Destination on XI for IDOC to File scenario

    When defining a port on XI, what is the client number I am supposed to use to receive the IDOC from R3 to XI. I am assuming that I am supposed to use R3 client number to define the port in XI. Is this correct ?
    Please explain this !!!
    Also I am assuming the same procedure to define a RFC destination in XI. I am using the IP address of R3 client to define the RFC destination in XI to point to R3. Is this correct ?

    hi satya
    u may refer to the doc attached for more insight on the ports
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/cdded790-0201-0010-6db8-beb9bb2b2660</a>

  • About idoc to file scenario

    hi experts,
    i am getting error while doing RFc connections(R/3 side) in idoc to file scenario, timed out error (cpi_c),
    could anybody solve this problem?

    Hi friends,
    here is new document for IDOC TO FILE scenario..
    http://jskcomput.blogspot.com/2013/08/idoc-to-file-scenario.html

  • Step-by-step configuration from XI to R/3 for Idoc to File Scenarious

    Hi Gurus,
                    Am the Beginner in Xi, I tried to connect the Xi to R/3 for Idoc to File Scenario but the connection fails, (error in Rfc showing ), could any one send me the step-by-step sm59 configuration. R/3 version 4.6c and Xi version 3.0
    rewards sure
    advance thanks
    with regards
    Thambee

    hi,
          I connected my 800 r/3 client to 100(xi) client, R/3 client is version 4.6d in it rfc test connection is sucessful but remote logon is not responding in my R/3 model view distributed and it's reflected in xi client, when I push the Idoc from R/3(bd10), Idoc created sucessfuly but not despatched
    Idoc message type is 10 and 30.
    Second thing am confused with Ip address bcoz 2 ip address in both system one is loopback and anoter one is tcpip adapter which one i have to give is sm59, help me plz
    with regards,
    Thambe

  • Alerts when the acknowledgement fails in IDOC to File Scenario

    Hi All,
    could you let me know how to handle Alerts for Idoc to File scenario.
    My Scenario uses BPM as well.
    Thanks,
    Srini

    Dear All,
    For file to idoc scenario is there any possibility to get line items details or xml details i.e the segments and its related field details using reference id, transaction id or interface name or message id in SAP PI 7.0. I know we need to click each and every message in sxi_monitor and look for details.
    For SAP(R3 System) I can create a report and set the job for specific time period so automatically it throws the details(like reference no, document date, invoice no from) in ftp path as .csv file. The same ftp path is maintained in program.
    I wanted to check FTP--->PI postings and I have set the job at r3 system it is working fine and Im monitoring it too.
    Now the end to end scenario is FTP--->PI--->ECC(R3 system). Please help.Many Thanks.

  • Mapping for IDoc to File

    Hi,
           I am doing mapping for IDoc to file scenario.
    Idoc is INVOIC02.
    Source field  is KRATE from segment E1EDP05
    Target field is Rate.
    Mapping rule is as follows.
    zero when Condiditon type (E1EDP05-KSCHL ) = YCSE  ( enter total 15 digits without any decimal in it. The last 2 digits will be treated as digits after decimal )
    Can someone explain the mapping?
    I have to map KRATE and Rate but where does KSCHL comes into this?
    Please explain

    TAKE HELP FROM THESE LINKS : These links can be helpful for you.
    http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/5d/db0e83e8e74202a5bff527055ab7e5/content.htm
    Regards,
    Sandeep Kaushik

Maybe you are looking for

  • Display and return value in select list.

    hi, i want to display the value in select list coming from this quary . select student_id from class_record where class_id =:p1_class_id and SECTION =:p1_section minus select student_id from STUDENT_TYPE_DETAILS where class_id =:p1_class_id and SECTI

  • Problem refreshing the classes

    I have problem refreshing the class with Tomcat 4.1 Server. I make changes in my class and they just don't reflect unless I restart the server. I don't want to refresh the server all the time. Is there any setting by which I can tell the server not t

  • Resolution issues for macbook

    I have connected my 13" macbook pro to my hp 2211x monitor in order to convert my broken screen laptop into a desktop. After toggling the display, I was able to arrange the displays correctly by mirroring them but the resolution is awful. Any thought

  • FM to update and add price  in consignment info-reocrd

    Hi People, Can anyone tell me if we have any Function Module to update Price in Consignment info-record (ME12). I also need to add a consignment info-record if no Condtion is maintained for the given Info-record. To upate i tried using ME_UPDATE_INFO

  • Should I buy now or wait for Windows 7 that is installed at the factory

    I'd like to buy the Acer 1410, should I wait until it's being shipped with Windows 7? Yes, the  free upgrade to Windows 7 is nice, but I'm concerned about all the drivers....WIFI, video, camera, etc. etc...  I'm also concerned about the how the Vista