Idoc to flatfile FCC issue

Hello everybody,
i am implementing an idoc-flatfile scenario (PI 7.1). It works to write an xml file into directory, as soon as I use FCC in order to generate txt-file, no file is written, and sxmb_moni shows an acknowledgement with system error. In both cases sxmb_moni shows the following acknowledgement:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--
Technisches Routing der Antwort
  -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <SAP:Category>XIServer</SAP:Category>
  <SAP:Code area="OUTBINDING">CO_TXT_OUTBINDING_NOT_FOUND</SAP:Code>
  <SAP:P1>,ZZ_CC_IBDLV</SAP:P1>
  <SAP:P2>,ZZ_CC_IBDLV,,</SAP:P2>
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText />
  <SAP:Stack>Es konnte keine Empfängervereinbarung für den Sender ,ZZ_CC_IBDLV zum Empfänger ,ZZ_CC_IBDLV,, gefunden werden.</SAP:Stack>
  <SAP:Retry>M</SAP:Retry>
  </SAP:Error>
Inbound = idoc SHP_OBDLV_SAFE_REPLICA
message type for outbound:
ZZ_DT_OBDL     Complex Type          
header     Element          1
-test1     Element     xsd:string     1
-test2     Element     xsd:string     1
item     Element          0..unbounded
-itemtest     Element     xsd:string     1
-itemtest2     Element     xsd:string     1
FCC:
Recordset structure:                header,item,*
header.addHeaderLine          1
header.fieldNames               test1,test2
header.fieldSeperator               ,
header.processConfiguration          FromConfiguration
header.endSeperator               'nl'
item.addHeaderLine               1
item.fieldNames               itemtest,itemtest2
item.fieldSeperator               ,
item.processConfiguration          FromConfiguration
item.endSeperator               'nl'
I also tried StrictXml2PlainBeanu2026 doesnu2019t work eitheru2026 thanks in advance,
Lukas

It works to write an xml file into directory, as soon as I use FCC in order to generate txt-file, no file is written
--->
use
Recordset structure: header,item
In receiver FCC, do not specify occurrences in recordset structure
Also fieldNames parameter is also not required.
RWB--> Message Monitoring, select Details of your message, you will find FCC errors here

Similar Messages

  • IDOC to FIle (FCC)

    Hi friends,
    In Real time where we will normally use  IDOC  to File (FCC ) Scenario.
    Could any one give some instance of this.

    Hi,
    >>>>In Real time where we will normally use IDOC to File (FCC ) Scenario.
    whenever the receiver system can only handle flat files
    or when the company is which we work tells us to do so
    these are the only two scenarios when we will use FCC
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Generate DELVRY  Idoc when Post goods issue is done in SAP

    I need to generate an Idoc when post goods issue is done in SAP (outbound to SAP) .I understood that I can do this using the message control .The message type DESADV with the process code DELV will support this.
    But I didn’t understand how to trigger the Idoc.In the current scenario our Company is doing the post goods issue in SAP for the in three different ways.
    1.Manually doing the post goods issue through the transaction VL02N
    2. an Inbound Interface (using Idoc)  which will do Post goods Issue in SAP
    3.Another Interface using BAPI, which will, do post goods issue in SAP
    I have to run my outbound interface when the post goods issue is done by all the above three ways.  Can any one help me out in this?

    You have to configure the output first .
    You can use output type LAVA ( avaialble in Std SAP ) .
    ( Tcode is NACE , Select Application V2 -> Outputtypes ).
    ( Create condition records suitable to generate an output)
    Next is ALE.
    Setup a distribution Model ( for DESADV ) and all other setup for ALE i.e. Distribute Dist. Model / Generate Partner Profile .
    In the Partner profile in WE20 select your partner system. Double CLick on Outbound Message DESADV ( this wd be there after you generate partner profile , if not add it here in outbound ) . On this screen goto tab MESSAGE CONTROL .
    Application - V2
    Message Type - LAVA
    Process Code - DELV.
    Now you are ready to go. The moment a PGI is done in any form an output LAVA would be proposed and processed using process code DELV.
    Cheers.

  • FCC issue

    Hello All,
    I am working on a flat file to IDOC scenario. And I am facing strange issue with FCC params.
    Here is the flat file structure:
    HEADER_RECORD
    RECORD_1
    RECORD_2
    RECORD_3
    RECORD_4
    TRAILER_RECORD
    FCC params are defined as below:
    RecordSet Structure:HEADER_RECORD,1,RECORD_1,,RECORD_2,,RECORD_3,,RECORD_4,,TRAILER_RECORD,*
    There are keyField values for all the above nodes.
    keyfield value for HEADER_RECORD is OP01
    keyfield value for RECORD_1 is 1
    keyfield value for RECORD_2 is 2
    keyfield value for RECORD_3 is 3
    keyfield value for RECORD_4 is 4
    keyfield value for TRAILER_RECORD is CP99
    Strangely ,when the sender channel trying to pick the file TRAILER RECORD data is going under RECORD_2.
    And it has been observed that TRAILER RECORD contains 2 somewhere in the data. I dont understand why it is behaving like this
    The keyfileldName position in the HEADER_RECORD is 1 and in TRAILER_RECORD the position is 1.
    And in the others it is at 4th postition(4th field)
    Can you please help me here
    Regards,
    Moorthy

    RecordSet Structure:HEADER_RECORD,1,RECORD_1,,RECORD_2,,RECORD_3,,RECORD_4,,TRAILER_RECORD,*
    I see some problems in the recordset structure.
    1 )Are you getting  only repeated trailer records?  If not, why do you say * after TRAILER_RECORD above line in the recordset structure.
    It should be TRAILER_RECORD,1
    2) Why there is two commas after Record_1,,  similarly for all the records
    If you have one header and repeated record fields and one trailer... do as follows
    Create data structure as follows...
    Header
    ---Record (Node)
           Record_1
           Record_2
           Record_3
           Record_4
    Trailer
    Recordset Structure:  Header,1, Record,*, Trailer,1

  • Scenario IDoc-XI-FlatFile

    Hi,
    I am trying to Push Idoc from SAP R/34.7 to Flat File thru XI.Message Type is HRMD_ABA.The Idoc is forwarding successfully from SAP R/3,But I am not able see the details and Idoc in XI at all even though in sxmb_moni as well as at Message Display Tool.Earlier i have forwarded so many Idoc's like MATMAS01-04,CREMAS,Customized Idoc's etc to the Flat File Successfully and monitored at XI.This time i am not able to monitor even at XI.Ne messages are displaying.
    Plz tell me how to resolve this issue..
    Regards
    Sridhar Raju Mahali

    Hi
    Go thru this Problem Analysis Guide on <b>Sending an IDoc through XI Failed</b>http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
    Hope it helps
    Regards
    Arpit

  • Idoc to post goods issue against an outbound delivery

    We happened to simulate both the idocs 'WPUWBW01' and 'MBGMCR02' for posting goods issue for an outbound delivery but failed.
    Request you people to help us on this. Is there another idoc that we have to use to post GI... if so please let us know... and if we are using the right one, guess we are not executing it in the right way... in such a case please guide us with the steps...
    Thanks
    Arun
    We got hold of the Idoc type 'DELVRY03 PGI SHPCON' we are able to post the Idoc but we are able to do the packing only or we are able to change the deliveries but the PGI is not happening..
    please help us on this.. is there some condig that updates the delivery with the PGi or is there something else do be done in the Idoc....
    will provide additional details if required.
    Thanks

    Hi Arun,
    There are no configuration settings in this. It is development that your abaper need to carry out.
    Explain to him that this is the func module. And intrun it has to either trigger a BDC or BAPI for creating packing and PGI.
    He should then do the recording of that and will assign the program pertaining to BDC with in the function module.
    One more suggestion is to put the same query in ABAP section too. U will definitely get a positive response.
    Hope this helps.
    Kind Regards
    Chakradhar

  • Inbound IDoc SHPCON - Batch update issue

    Hi all,
    I would like to use SHPCON.DELVRY03 idoc in order to update Outbound delivery document.
    Scope is :
    - picking
    - good issue
    - update batches
    - update serial numbers
    - update volume and weights
    We met issue on update batches a soon as one document item already has batch information before receiving IDoc.
    2 cases :
    - no batch spliting => High level item has already a linked batch (LIPS-POSNR = 000010 and LIPS-CHARG not empty.
    Is there a way to update batch information if external warehouse confirms another batch number ?
    - batch splitting => High level item has already 2 sublines POSNR = 900001 & 900002. Both has batch numbers.
    If I want to confirm it, I can send E1EDL19 with BAS qualifier but sublines are added...
    Must I delete existing sublines with E1EDL19 DEL ?
    Thanks a lot for your help.
    J.C.
    and to post good issue.
    All is OK except

    Hi,
    We are having same issue as of yours...
    i.e Updation of batch via IDOC to the delivery if delivery contains batch ...its not happening and also idoc not throwing any error
    Did you able to resolve this ?
    Thanks
    Rajesh

  • Sender File adapter complex structure FCC issue - flat structure RFC-stuck

    Hi,
    Please help.
    I have a the below file structres-
    Option 1-
    H,100890,P100,A02,S101,AUD#
    I,P,NULL,TH,Test PO TH,1,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    I,P,NULL,TH,Test PO TH1 2,2,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    H,100899,P100,A02,S101,GBP#
    I,P,NULL,AS,Test PO AS1,1,EA,100,10160000,A002,0001,720090,E.1.4.2,,,,VT#
    I,P,NULL,AS,Test PO AS12,2,EA,100,10160000,A002,0001,720090,E.1.4.2,,,,VT#
    I need to map this into a Z RFC which is expecting all the data in one row - of course multiple rows
    Option 2-
    Same structure as above but all in same row-
    H,100890,P100,A02,S101,AUD,P,NULL,TH,Test PO TH,1,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    I,100890,P100,A02,S101,AUD,P,NULL,TH,Test PO TH,1,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    I,100890,P100,A02,S101,AUD,P,NULL,TH,Test PO TH1 2,2,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    H,100899,P100,A02,S101,GBP,P,NULL,AS,Test PO AS1,1,EA,100,10160000,A002,0001,720090,E.1.4.2,,,,VT#
    I,100899,P100,A02,S101,GBP,P,NULL,AS,Test PO AS1,1,EA,100,10160000,A002,0001,720090,E.1.4.2,,,,VT#
    I,100899,P100,A02,S101,GBP,P,NULL,AS,Test PO AS12,2,EA,100,10160000,A002,0001,720090,E.1.4.2,,,,VT
    This also needs to be mapped into a Z RFC which is expecting all the data in one row - of course multiple rows
    I am getting issues in getting the file data across to Receiver adapter.
    I have tried various combinations but the message is failing in SXMB_MONI.
    How do i do it as i need to get the finalised option for incoming file structure?
    Option 1 is being stressed but how do i map it if i cannot get the receiver structure in RFC.
    Please help as I am stuck now.
    Regards,
    Archana

    Hi,
    The problem is basically in message mapping from file to RFC external message.
    The option 2 is working now and I get correct converted file strcuture after FCC and into RFC and also a correct RFC payload.
    However, business is stressing that can send the file in the format as given in Option 1 where u have different structure - Header and Items. This is not coming out correct in RFC payload as the header has 5 fields as compared to more in item but the header and item are still being mapped to the flat RFC structure and this is creating a mismatch. The item line is missing the 5 fields from Header.
    How do i do the FCC in this situation to get the correct structure in RFC?
    This means that in RFC payload, the first line should be the one as below-
    H,100890,P100,A02,S101,AUD#
    The 2 records after this as received in RFC internal table should be as 2 given below-
    I,P,NULL,TH,Test PO TH,1,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    I,P,NULL,TH,Test PO TH1 2,2,EA,100,10160000,A002,0001,720090,E.1.4.3,,,,VT#
    However, the 2 structures contain variable field columns.
    Please help.
    Regards,
    Archana

  • IDOC to File - FCC scenario

    Hi Friends.
    Scenario is in PI 7.0 . IDOC is received from SAP and after file content conversion placed in file server.
    Suddenly few days back it started throwing error in receiver file FCC communication channel - error is -
    Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value '       ' too long (>3 for 27. column) - must stop', probably configuration error in file adapter (XML parser error)': java.lang.Exception:  Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML  parser: 'java.lang.Exception: Column value '       ' too long (>3 for 27. column) - must stop', probably configuration error in file adapter (XML parser error)
    but the same scenario with same inputs (same payload,same IR and ID configuration) works fine in development environment.
    in SXMB_MONI message shows as SUCCESSFUL and payload is also OK.
    Pls suggest what to do in this case..

    Hi,
    This is happening because - if there is any empty tag coming from source then target structure tag will not be created and because of which ur payload structure and FCC configuration is not matching.
    I would recon use map with default between source n target strcture so in case source tag dont have value target structure will be created because of mapwithdegfault fuction and ur FCC will not fail.
    Open SXMB_MONI output payload and compare the structre with Data type u will se for no source value target tag is not created at all and FCC is failed.
    For exa- I ahve name,age,*** as my target data type and FCC is 10,3,4
    If i dont receive age from source the value of *** is taken as 3 length as per FCC becus age tag is not created in target.
    chirag

  • File to Multiple Idoc scenario using FCC

    Hi All,
    I am working in a file to idoc scenario. Here input is a  fixed length file having  Header and Item details which will repeat for many times.The number idoc in the target is based on the number of header in the input field. I have created a source structure with header as 1..unbounded and i have map the header with the target idoc.
    In configuration part
    Recordset Structure  Header,9999,Item,9999
    I am facing an error in communication channel as
    "Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR consistency check in recordset structure validation in last recordset"
    Please help me to resolve this issue. Thanks in advance.

    Hi,
    Source structure is
    DATA         1...1
      Record      0...unbounded
          Header  0...unbounded
          Item       0...unbounded
    Here i am mapping Header to the target Idoc
    In configuration
    RecordSet Name: Record
    RecordSet Structure:Header,9999,Item,9999
    RecordSet  Sequence:Varaible
    Key Filed name : RecordType
    Header.fieldFixedLength  -
    Header.fieldNames          -
    Item.fieldFixedLength      -
    Item.fieldNames               -
    Header.keyFieldValue   : H
    Item.KeyFieldValue         :I
    Header.lastFieldOptional   YES
    Item.lastFieldOptional         YES

  • Idoc to flatfile and mail

    Hello,
                 I have a scenario  where i am converting the idoc to file and mailing the same after converting it to flatfile .I have used TransformMessageBean for doing so.Now I need to implement the TO Field (mail )dynamically based on the payload.
    I tried to use the MultiMapping by using mail definition provided by XI ,but it results in mapping error.\
    Can somebody guide me on this.
    Thanks in Advance
    Rajesh

    Hello,
               I  have tried to do the same with the MessageTransformBean and two features are working fine independently.
    1. Converted the file into Flatfile and mail
    2. Execute the XSL Mapping for dynamic receiver.
    Now i want to combine both above features i.e after transforming the content to flatfile ,i need to sent this file to  recipient based on payload field.
    I tried to execute the same but i am stuck at XSLT error ,saying
    com.sap.aii.af.ra.ms.api.RecoverableException: Error in XSLT Conversion: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 48, 44, 52(:main:, row:1, col:3):
    Awaiting for replies
    Rajesh

  • IDOC Model View Generation Issue

    Hi all,
    I am working on IDOCS and I am facing the follwing error when I try to distribute the Model View in IDOC--
    "the following ALE connection already exists in model view HR_TO_PI"
    I had deleted the above "HR_TO_PI" model view and I created a new one with new name.
    But I still get the same message.
    I don't think this is an issue with configuration.
    I am assuming it's an issue with table entries. Does this-"HR_TO_PI" value get stored in any table in the back end ?
    Kindly help. I had a look at SDN and other places but they all ask to check for partner profiles and logical systems which I believe I have configured right.
    Warm regards,
    Hari Kiran
    Edited by: HARI KIRAN REDDY on Feb 23, 2012 11:24 AM

    Hi Sravan,
    I had a look at TBD00. It shows all my current distribution models but not the one mentioned in the error.
    I had a look at some other tables in the TBD series but of no help.
    I don't know in which table  that entry has ended up.
    It's frustrating.
    Thanks for the input once again.
    Warmr egards,
    Hari Kiran

  • IDoc to IDoc - conditional receiver determination issue

    Hello All,
    We are using XI 3.0 and this is my scenario:
    Sender: IDOC from SAP system
    Receivers: There are 2 receivers (one SAP and one non sap system).
    I want conditional receiver determination based on the idoc field RCVPRN.
    Integration Repository: I imported standard SAP IDOC FIDCC2 into IR and it is in "urn:sap-com:document:sap:idoc:messages" namespace of my SWCV. I am not creating data types, message types or message interfaces as I want to use the IDOC type directly as the interface name in Integration directory.
    Integration directory: When I am creating receiver determination, I am getting a warning 'Message interface does not exist in any software components installed on this business system'. When I got to condition editor and want to choose the idoc field RCVPRN using XPATH, it is not showing the idoc structure.
    In SLD, the correct product is installed on my sender ABAP technical system, and correct SWCV (into which i imported the IDOC) is installed on my business system. I refreshed cache and cleared SLD cache in ID. Still i get the same warning 'Message interface does not exist in any software components installed on this business system'.
    How can i solve this issue? Any help is highly appreciated.
    Thanks,
    Chandra

    Hi Chandra,
    Can you check whether you have assigned or linked the SWCV with the Business system in SLD.
    Just go to SLD and open the SWCV and check if it is linked with the BS od the sender system.
    Since the sender is ABAP, you must have created the TS and BS using rz70, then see that that the SWCV is attached to the BS correctly. Under TS add the Product and then the corresponding SWCV.
    Also check one thing: are u selecting the correct Communication component, under which the Interface is present.
    Lastly if these doesnot work: In Integration Directory, Go to Environment-> Clear SLD Data Cache. Then try once again.
    Cheers,
    Souvik
    Edited by: Souvik Chatterjee on May 16, 2011 3:39 PM

  • IDOC type for goods issue on purchase order.

    Hi,
    I  need to know which Basic type can be used to trigger outbound IDOC when goods issue is posted on STO.
    In our process, we will be creating STO to move stock to third party and post goods movement (goods issue) with movement type 351 with BAPI. When goods issue is posted we want to trigger outbound IDOC to send information to third party.
    Any help will be highly appreciated. Thanks.
    Sanjay

    Hi,
    for triggering an idoc based on material movement
    - You have to configure partner profile configuration in WE20 under the outbound message.
    -  message type is " MBGMCR" and basic type "MBGMCR03".
    - maintain right output determination in MN22 as well.
    -create a new Functional module to move data from the material document to the MBGMCR IDoc
    Check further threads like the one attached
    [How trigger IDOC  MBGMCR??;
    hope this helps
    Reg
    Dheeraj

  • Idoc to FlatFile and Flatfile to  Mail

    Hi all,
    I want to convert an Idoc into a FlatFile - this is no problem. But when the FlatFile is created I want to send the FlatFile via EMail as an attachment.
    How do I do this using Mail-Adapter ?
    I also thought to use an Unix Command to send the Email. With the file adapter it is possible to execute an Unix Command after the File was created.
    What is the better solution. And which Unix Commad do I have to use to send email (using SMPT).
    Many thanks.
    Elko

    hi elko,
    for sending a flat file as mail u use receiver mail adapter. so ur scenario will be file sender -- xi-- mail receiver.
    for this refer:
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    and
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken]
    [reward if helpful]
    regards,
    latika.

Maybe you are looking for

  • How do I buy music not carried by iTunes Store (for my iPhone)

    There are songs or albums I may want to buy that are not carried by the iTunes store.  Is there an easy way I can use my iPhone to buy a song that is not in the iTunes Store and add it to the Music library on the iPhone and later sync to iTunes on th

  • How to determine the destination port from a audit fail event

    I have a bunch of audit failure events (4625) in our security log. The details only show the source address and port but no destination port info.. Is there anyway I can find out that info.? What I really want to know is what application\port does th

  • Help! Sometimes Dreamweaver CS3 can't see my .css file

    Once a day or so dreamweaver cs3 can't see my .css file. So all my files that I am working with turn to poop. To fix I have to close each file and re-open. Then my .css returns and all my files are how they should be. Anyone else ever have this probl

  • Can I Use LightRoom 5, to tether with my Sony Alpha A-35?

    Can I use my Sony Alpha A35 in Lightroom 5 in regards to the tethering functions?

  • SCCM Debian/Linux client

    Hello,  I´m trying to install Debian Linux client http://www.microsoft.com/en-us/download/details.aspx?id=36212 following this article http://sccmfaq.wordpress.com/2013/06/29/sccm-2012-sp1-using-linux-client-on-debian-6/  When I try to execute with t