Strange problem : Idoc to FTP scenario

Hello,
I have created Idoc in SAP & imported into PI. I have done mapping for all the fields of Idoc but now I have very strabge problem.
There are two fields which are not getting transferred to PI eventhough I those two fields are there in Idoc.
If I look into inbound payload of PI, two fields if Idoc are missing eventhough mapping is maintained.
Does anybody have amy idea on this?
Regards,,,
Sunil Joyous

Use trans IDX2 in PI and upload the IDOC metadata again.
Regards,
Sarvesh

Similar Messages

  • Problem IDOC to File scenario:  No service for system SAPIDC, clnt in ID

    in IDOC to File scenario, when IDOCis triggered from R/3 to XI, it gives error in SM58 transaction 
    "No service for system SAPIDC, client 800 in Integration Directory"

    In a scenario, i have a BPM which has a transformation step which contains a mutimapping ...means 2 messages mapped to 1 messgaes, here in the mapping i m using an UDF and written code to extract the file name from dynamic configuration.....
    the problem is ...the same BPM contains another transformation step which contains a message mapping (which is not multi mapping), and here the code (UDF) works to fetch the file name...
    the code is all correct....and it looks like
    DynamicConfiguration conf = (DynamicConfiguration)
    container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String sourceFileName = conf.get(key);
    if (sourceFileName == null ){
         sourceFileName = "ErrorFile.xml";}
    return  sourceFileName;

  • Very strange error : IDOC to jdbc scenario

    Hi
    I am getting a very strange error when I see the log for the idoc to jdbc scenario that I am building.
    The mapping test shows the header record and line item record properly in the mapping result.
    insert, access nodes, fields with access nodes are all formed correctly.
    However the communication channel log shows below error.
    Could not execute statement for table/stored proc. "tblTestItem" (structure "Item") due to com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near ')'.
    JDBC Message processing failed, due to Error processing request in sax parser: Error when executing statement for table/stored proc. 'tblTestItem' (structure 'Item'): com.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near ')'.
    The message status was set to WAIT.
    The query that I see in the log is :INSERT INTO  tblTestItem () VALUES ()
    However mapping tool shows that all nodes are correctly formed.
    Please assist.

    Hi
    I am still getting this issue even after the below steps so kind of stuck - actually very much stuck.
    1. Restart of the dev environment
    2. Tried with a new extension of the idoc
    In the communication channel log for the JDBC receiver channel I still see
    INSERT INTO tblItem () VALUES ()
    The payload that I see in the message content tab is as follows
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_XXX_XXXX xmlns:ns0="http://capita.com/pi/XXXX">
    - <Statement>
    - <dbTableName action="INSERT">
      <table>tblItem</table>
      </dbTableName>
    - <access>
      <InvoiceNo>0000000009293467</InvoiceNo>
      </access>
      </Statement>
      </ns0:MT_XXX_XXXX>
    How do I debug the jdbc adapter to see how it converts the above xml output from the mapping step (note that this output is from an actual run and not test tool) to a sql query.
    Very strange that the column names are present in the target payload but it is not reflecting in the query.
    I have other tables being populated with the same jdbc receiver communication channel which makes this more and more confusing.
    PLEASE ADVICE.

  • Mapping problem:IDoc to JDBC scenario

    Hi Friends,
       Hope you all are doing well.I am doing a ADoc to JDBC scenario where multiple rows of data are to be inserted into the db table at once. When I am mapping the data segments to 'Access' with RemoveContext in between,then it is giving error.If I'm mapping the data segments to 'Access' with CollapseContext in between,then it is inserting only the data in the first row and ignoring the rest. The occurence for 'Access' is 1..unbounded. Please help.
    regards
    Debansu

    Hi,
      It seems your mapping have missing some logic..
      LIke below..
      If E1EDP01 segments enable 3 time.
        You mapped the Access  with that segment.
        In that segment you want to map the "Action" filed to target"XXX".
        If you using remove context between then all the 3 values in the "Action" will try to assign in XXX field.
        But you have "XXX" occurance 1-1.So that you will get the error.
        If your using the Collapse Context then In the 3 value the first value only will copy to that field.
        So it wont give the error.
        How the logic you need? can u breaf your source and target fields?
    Regards,
    Prakasu

  • IDoc to File scenario Monitoring Problem

    Hi,
    I have a problem in monitoring. In my IDoc to file scenario the ftp server is not reachable (wrong ip) but still in sxmb_moni I get a successful processed message with acknowledgement system error.
    Now, why dont I get an normal error in sxmb_moni?
    Thanks in advance...

    Hi,
    >>Now, why dont I get an normal error in sxmb_moni?
    Why because in MONI we generally get the Errors related to the Message Processing like mapping, and pipe line Services.
    But the error which u got is related to the Receiver, so this we can find out in the Receiver File Adapter monitoring( CC monitoring)
    MONI Shows the Errors those are related to the ABAP Satck means if any Errors occurs while going the process on ABAP Stack
    But the error which u got is on Adapter Engine Process, so Definately the Error finding place is on Receiver CC monitoring
    REgards
    Seshagiri
    Edited by: N V Seshagiri on Sep 26, 2008 1:17 PM

  • Possible cache problem ftp scenario

    hello,
      we have the following scenario
      ftp -> ftp
      very simple, no integretation rep needed, interface -> none, namespace -> http://none
      just pick up the file and put it on another server
      strange thing is that the receiver uses for target directory the source directory of the sender to put the file
      could this be a cache problem, we cleared the cache but the problem remains
    regards,
    Michel

    Hi Michel,
    Very strange problem indeed.. not convinced this is a cache problem.. have you checked the cache overview in the Integration Directory ?
    If it is a cache problem, deleting, activating and recreating the ftp receiver could solve it.
    Using another receiver Business System/Service will surely avoid a cache problem, as an object with a completely different key will be created.
    Can you see the correct receiver channel being called in the Message Monitor ?
    kr,
    Peter

  • FIle Content Conversion Problem in IDOC-XI-File Scenario

    Dear All,
    I am doing IDOC-XI-FILE scenario.
    I am facing one problem related to File Content Coversion.My requirement was to generate a dynamic file like <b>%store_code%_%current_date%_sitemaster.xml</b> , I have completed the dynamic generation successfully .
    Now there is slight change in the requirement ,<b>we have to suppress the current_date node of the xml content</b> . i have tried to suppress the current_date using these <b>DATE.fieldFixedLengths 0 , Date.fixedLengthTooShortHandling Cut</b> , But I am unable to suppress it Can some body provide me the details on this .
    The output xml version generated by Reciever file adapter is as below :
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
    - <SITE_DATA>
    <STORE_CODE>N002</STORE_CODE>
    <TITLE_MEDI>Company</TITLE_MEDI>
    <STORE_NAME>Mount Road</STORE_NAME>
    <STREET>Chennai</STREET>
    <COUNTRY>IN</COUNTRY>
    <SALES_TAX_NO>12345678910</SALES_TAX_NO>
    </SITE_DATA>
    </ns0:MT_SITE_MASTER>
    Plz provide me the code I have to write in the file content conversion .
    Thanks in advance
    Regards
    Prabhat

    If u see my earlier reply, I mentioned that u can not suppress the field from the one node.i.e Form SITE_DATA data type u can not suppress the field called CURRENT_DATE.
    My suggestion is that , modify the Data type in such a way that you will be having two nodes as I have mentioned earlier.  Then use the Suppress Logic for the Current Date.
    So it will look like this-
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_SITE_MASTER xmlns:ns0="http://sample-xitest.com/sitemaster">
    - <SITE_DATA>
    <STORE_CODE>N002</STORE_CODE>
    <TITLE_MEDI>Company</TITLE_MEDI>
    <STORE_NAME>Mount Road</STORE_NAME>
    <STREET>Chennai</STREET>
    <COUNTRY>IN</COUNTRY>
    <SALES_TAX_NO>12345678910</SALES_TAX_NO>
    </SITE_DATA>
    <CURR_DATE>
       <CURRENT_DATE>20051105</CURRENT_DATE>
    </CURR_DATE>
    </ns0:MT_SITE_MASTER>
    So ur SITE_DATA is not having a field called CURRENT_DATE. This field is in separate node (segment ) called CURR_DATE. Now u can use the Suppress Logic for the same like this.
    CURR_DATE.fieldFixedLengths - 0
    CURR_DATE.fixedLengthTooShortHanling - Cut
    And in your Variable Substitution you can use the date from the other segment called CURR_DATE.
    Hope this solves ur problem.
    Regards,
    Moorthy

  • Problem in idoc to file scenario

    hi
    while creating the idoc to file scenario i am facing few problems.
    1) My design time objects are working fine. i have checked my message mapping, message interface etc.. (all design time objects are in active mode).
    2) In ID, i have tested my configuration in test configuration, its working fine there as well (in ID i am using 2 business service one for sender, one for receiver)
    3) i am using my ecc6 training server as my sender and using my XI server as receiver.
    4) i am sending idoc from ecc6 and converting it  to file in XI server and saving it in XI server itself(my receiver in this case).
    my error:
    i send my idoc from we19 transaction, and i see a error message stating
    that 'RCVR_DETERMINATION.NO_RECEIVER_CASE_ASYNC'
    my doubts.
    1) while sending the idoc from ecc6, is it mandatory to give process code in partner profile ( that is, assign an outbound function module to push the created idoc to the mentioned destination).
    2) also is it mandatory to have a partner profile on the receiver side( XI in this case) along with inbound process code.
    3) in my receiver adapter ( file adatper in this case ) i have used NFS protocal. is it rite?
    kindly help me with this issue.
    regards
    manoharan

    >
    manoj murugesan wrote:
    > 1) while sending the idoc from ecc6, is it mandatory to give process code in partner profile ( that is, assign an outbound function module to push the created idoc to the mentioned destination).
    >
    > 2) also is it mandatory to have a partner profile on the receiver side( XI in this case) along with inbound process code.
    >
    > 3) in my receiver adapter ( file adatper in this case ) i have used NFS protocal. is it rite?
    >
    >
    > kindly help me with this issue.
    >
    >
    > regards
    > manoharan
    and to 1 & 2 ref. below,
    Configuration steps required for posting idoc's(XI) -
    /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    ALE configuration for pushing idocs from SAP to XI -
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi
    3. NFS protocol is used to read/write files to the XI server itself. If you have to write to a local machine then use FTP

  • Problem with IDOC TO FILE Scenario

    Hi Experts,
    I am doing IDOC TO FILE Scenario.
    I have done all the configuration.I have cretaed RFC,PORT,LS and Partner profile at both R/3 and
    XI Side.
    when I am trying to generate IDOC using we19 and I put the r/3 port,partner in sender and XI
    port and partner in receiver it gives me error as "Port 'SAPCU6_100' does not exist in the table
    of port descriptions.
    Please help me.....
    Regards

    HI Saras,
    Please go through the below weblog which has all the stpes which is required for ur scenario...I think screen by screen help u to debug ur problem and it will help u to find out the msitake which u have made.
    File To IDOC - Part1 (SLD and Design):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC&
    File To IDOC - Part2 (Configuration):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part2+(Configuration)&
    File To IDOC - Part3 (Steps required in XI and R3):
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/2007/05/11/fileToIDOC-Part3(StepsrequiredinXIandR3)&
    Thnx
    Chirag

  • IDOC to File scenario with multiple directories on same FTP.

    The scenario is IDOC -- to FTP (Receiver file adapter). Based on the condition in the sender IDOC say if EIDKA01-BSART = Y than the directory path on FTP server is 'A' ELSE 'B'.
    There is only one reciever service defined for the FTP server in the Integration Directory. Its not multiple receiver scenario.
    How do we do this?
    Thanks

    Hi !
    Just create an UDF in graphical mapping and put this code inside:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    //get Key of Directory
    DynamicConfigurationKey keyD = DynamicConfigurationKey.create( URLFile, "Directory");
    //Replace value of Directory
    conf.put(keyD,dir);
    where "dir" contains the destination path depending on the EIDKA01-BSART value. When this code executes, if the receiver file adapter has the adapter-specific attributes (directory) checked, then it will set the "directory" value to the one specified in the "dir" variable.
    Regards,
    Matias

  • Asynchronous XI- RFC and RFC- XI scenario - strange problem

    Hello XI-Xperts,
    I've come to really strange problem, which I would like to share with you and possibly get an explanation.
    I have an asynchronous scenario with ending XI->RFC. The RFC function in R/3 has got an optional parameter called SENDER, which when is filled, the another asynchronous RFC->XI scenario should be started. (via ABAP code <i>CALL FUNCTION 'Z_XI_RETURN' DESTINATION gc_xi_destination</i> ... etc.)
    Now, the direction XI->RFC is configured properly, but the way back NO(!). Anyway I thought that it wouldn't make me a trouble, because those two scenarios are IMHO absolutelly separated. So I'd presume that the the data should come to R/3 without problem, it should be processed, and in case the parameter SENDER is filled the R/3 would establish the RFC connection and the "return data" should go back in different XI thread.
    Well I would think like that but the situation is different:
    When the parameter SENDER is empty, all goes OK and I can see in Runtime Workbench Message Monitoring - Adapter engine - Detail - Audit log only "successes". But when SENDER is filled with a value and R/3 does CALL FUNCTION with DESTINATION to a <i>non-existing Sender agreement</i>, the R/3 apparently doesn't send a acknowledgement to Adapter Engine of first thread XI->RFC. Intstead of that there are three messages in audit log:
    <i>MP: exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling Z_FIDATA_INPUT in remote system (RfcClient[IS2RFC_SAP_BG]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, di: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception w
    </i>
    Basically I understand what is happening on the background, but I really can't go over my persuation that in case of the ASYNCHRONOUS SCENARIO this should not happen.
    Or is the RFC call (I mean XI->RFC) "pseudo-synchronous" even in asynchronous scenario ? I mean that Adapter engine waits for the result of RFC everytime ... ?!
    Thank you
    Tomas

    Hello again guys,
    so I've understood it on the end. My ABAP code didn't contain EXCEPTION part of CALL FUNCTION statement.
    <i>CALL FUNCTION 'Z_XI_RETURN'
        DESTINATION gc_xi_destination
        EXPORTING
          <PARS>
        <b>EXCEPTIONS
          communication_failure = 1
          system_failure        = 2.</b></i>
    Without it the RFC short-dumped and AE correctly tried to call it 1+3 times. The thing, that the problem was connected to XI related topic, tricked me. Well it's smart, I must admit on the end
    Reward points for interest.
    THX Tomas

  • FTP-FTP scenario...problem with FCC

    Hi,
        Iam doing a FTP to FTP scenario.I have specified the following parameters-
    source.fieldNames
    source.fieldSeparator -> ;
    source.endSeparator ->'nl'
    ignoreRecordsetName
    source.fieldContentFormatting->nothing
    source.missingLastfields->add
    Target.fieldFixedLengths
    Target.fixedLengthTooShortHandling ->Cut
    Target.fieldSeparator -> ;
    Target.endSeparator ->'nl'
    There are 2 fields in source file that has blank values,so the source file is like
    In the target file, the fields upto those fields with blank values are coming...but fields from those blank values are missing.so the output file looks like this.
    The fields with blank values has lengths 50,50.
    I want all the fields in output file .Every thing is direct mapping.
    Please suggest something that will do this.Its urgent.

    HI,
    From sender side if you get blank value then that particular node will not be generated on target side XML structure in mapping. and you have used Target.fixedLengthTooShortHandling ->Cut so the further fields are not considerd properly.
    Can you plesae add mapWithDefault api while mapping. Double click on it and pass blank value. This will create the Blank node on target side.
    Source --> mapWithDefault ( [] ) --> Target
    i hope this will solve your problem
    Thanks
    Swarup

  • Problem in IDOC to SOAP Scenario

    Hi All,
    we have an IDOC to SOAP scenario in which we have got WSDL from the client for the targets.. Please let us know the WSDL would be the message type and we need to create interface for it . Also the SOAP header is not appearing in the target  xml.
    Thanks

    Hi ,
    This means when the data is sent to the webservice it will contain the SOAP header just that we cannot see it in Moni . Also
    What about the acknowledgement . Our message is successfull but with message that awaiting acknowledgement.
    What we basically need a synchronous scenario of IDOC to SOAP but the response not going back to SAP-R3 . We recieve the response only in SAP-PI. Saw some blogs but the message is going back to SAP-R3. Please help us on this
    Thanks
    Edited by: vishal  gadkari on Aug 22, 2009 4:15 PM

  • Problem in Idoc to JDBC scenario(uses BPM)

    Hi
    I have a IDoc to JDBC scenario which also uses BPM.
    The JDBC adapter has to execute a Stored procedure on Sybase database.
    I work on XI3.0 SP14.
    When I am sending IDoc to XI it is failing in CALL adapter step.
    The error message is "Unable to convert sender service TruckLiftAccountUpdate to an ALE logical system".
    However this scenario is working in Production with same settings.But it is not working in Quality and it is giving the above error.
    Can any one help me in this.
    Thanks in advance.
    KP

    Thanks for your quick reply..
    All the settings are in place.
    Here the Idoc is coming to BPM and BPM cant able to execute the stored procedure.and we are getting the error from BPM to target system.
    Here error is unable to convert the sender service(from BPM service) to ALE
    logical system.
    same settings are there in Production but it is not working in QA.
    Thanks in adavnce,
    KP

  • Strange problem in AFW custom module (question for gurus)

    Hi there SDN'ers,
    I have I very strange problem with an additional Adapter Module I developed.
    My scenario is: IDOC -> JDBC (Oracle)
    Well, to make a long story short, say that before the JDBC Receiver cc can write my data to the db, I have to do (inside the channel) kinda java mapping in order to produce an XML document that is acceptable for it. So in my module I manipulate the payload via DOM. No problem here.
    The strange story is: at first attempt, the Adapter fails (see error below), while after 5 minutes, when automatically trying again, it succeeds.
    Just because I put some stuff in the message audit log, what I can tell you is this weird thing:
    1. at first, no XML document exists in the payload, but in place of it there's this string:
    org.apache.crimson.tree.XmlDocument@745501c6
    which seems to be a toString() of something I don't (or don't know to) use directly
    2. at the second attempt, even in the audit log I can actually see the weel-formed XML document ready for the JDBC adapter, and in fact data are written to the db.
    ?? WHAT COULD THIS BE CAUSED BY ??
    Say also that the the other way around (JDBC->IDOC) with another very similar module works perfectly.
    Thanks.
    Alex
    <b>Delivery of the message to the application using connection AFW failed, due to: ERROR occured parsing request:com.sap.engine.lib.xml.parser.NestedSAXParserException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 6f, 72, 67(:main:, row:1, col:3)(:main:, row=1, col=3) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 6f, 72, 67(:main:, row:1, col:3).</b>
    P.S. -> 6f, 72, 67  is "org", that is the first three letter of the weird payload I get at first attempt.

    Ok guys, I got that workin'.
    I don't know why - and don't think I'll have the time to investigate further - but it seems the implementation of DOM Document used by XI is different the first time AFW executes my module, so here my workaround.
    if (docOut instanceof org.apache.crimson.tree.XmlDocument) {
       org.apache.crimson.tree.XmlDocument tmpDocOut = (org.apache.crimson.tree.XmlDocument)docOut;
       tmpDocOut.write(out);               
    } else {
       out.write(docOut.toString().getBytes());
    Regards,
    Alex

Maybe you are looking for

  • Unable to install C4500 HP printer on Windows 7

    unable to install C4500 HP printer on Windows 7 - printer installation disc only supported by xp and vista.  What do I need to do?? This question was solved. View Solution.

  • Iweb application not responding

    Having a strange issue at my place. iweb had been working since the beginning, however i reimaged them a while ago but put the same versions of all software back on, the only reason i reimaged was as part of housekeeping. So anyway basically iweb was

  • I'm a designer, not a programmer!

    Hello, can someone tell me this. I want to make a html webpage from fireworks CS4. The text has to be text, no graphic, so i export: save as css and html. When i want to create a link (an email address to popup) on that page it doesn't work. Can some

  • With Webutil : Advice about  " jInitiator VS Java console "

    Hello, We are under 10g : - Forms 10.2. - WebUtil 106 - jInitiator 1.3.1.26 When I modify file formsweb.cfg in order to use either jInitiator or standard java console, I noticed that our WebUtil doesn't react in the same way ... Is there any advice o

  • Vista code purple

    Hello - Need help badly.  I am a complete computer novice so bear with me.  Have a Hp 6223 - pretty old but working great until about month ago..constant crash dump, freezing, shutting down etc.  Someone gave me advice take computer back to orginal f