CSV to IDOC

Hi friends,
My scenario is CSV to IDOC. Everything is ok but in MOIN payload main document my structure is not right way.
My original structure :20110929,20110929,GR/GI Slip No.,Header Text,ABCD,MIGO,Massdata..Like this ..But in XML it will appears like Below.  Help me friends.
- <Header>
  <DocumentDate>,2011092</DocumentDate>
  <PostingDate>9,201109</PostingDate>
  <RefDocNumber>29,GR/GI Slip</RefDocNumber>
  <DocHeaderText>No.,HEADER</DocHeaderText>
  <BillOfLading>TEXT</BillOfLading>
  <CurrentTcode>,ABC</CurrentTcode>
  <UserName>D,MIGO,M</UserName>
  <CompanyID>ASSD</CompanyID>
  </Header>
- <Item>
  <MaterialNumber>,NMH-145-P5K</MaterialNumber>
  <Plant>G,10</Plant>
  <StorageLocation>01,</StorageLocation>
  <BatchNumber>0101,9102</BatchNumber>
  <MovementType>360</MovementType>
  <ConsumptionPosting>1</ConsumptionPosting>
  <QuantityInUnitOfEntry>3</QuantityInUnitOfEntry>
  <UnitOfEntry>,3</UnitOfEntry>
  <RecievingIssuingMaterial>11,V,5,EA,NM</RecievingIssuingMaterial>
  <IssuingPlant>H-14</IssuingPlant>
  <IssuingStorageLocation>5-P</IssuingStorageLocation>
  <IssuingBatch>5KG,1001,</IssuingBatch>
Thanks
hari

hi Hari,
I am not sure how your input file structure is .. however, here i assume you have one header and several item fields in your file. If this is the case, use the following content conversion :-
xml.recordsetstructure = Header,1,Item,*
ignoreRecordsetName=true
Header.fieldSeparator = ','
Header.fieldNames= DocumentDate,PostingDate,RefDocNumber,DocHeaderText,BillOfLading,CurrentTcode,UserName,CompanyID
Header.endSeparator='nl'
Item.fieldSeparator = ','
Item.fieldNames=MaterialNumber,Plant,StorageLocation,BatchNumber,MovementType,ConsumptionPosting,QuantityInUnitOfEntry,UnitOfEntry,RecievingIssuingMaterial,IssuingPlant,IssuingStorageLocation,IssuingBatch
Item.endSeparator='nl'
If you are getting an error please paste your error here from cc monitoring or moni
Regards,
ninu
Edited by: NinuPSankar on Oct 13, 2011 12:37 PM

Similar Messages

  • Filename of a attachment: *.csv XML IDOC

    Hi folks,
    our scenario is:
    1. are receiving mails with a csv file as an attachment
    2. we use a senderChannel with the Mail adapter to get the mails
    3. we swap the mail content with the attachment with localejbs/AF_Modules/PayloadSwapBean
    4. we transform the "attachment" to XML with
    localejbs/sap.com/com.contentmaster.CMTransformModule/CMTransformBean
    5. we use the mail adapter
    localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean
    My question:
    We need the filename in SAP but I have no idea how I can get the filename after the swap. Is it possible to get the filename and how can I integrate the filename into the XML or IDOC?
    Andreas Solf

    Hello again,
    still searching for a solution.
    The payload data are:
    Content-ID: <[email protected]>
    Content-Type: application/octet-stream;name="filename.csv"
    Content-Disposition: attachment;filename="MailAttachment-1.bin"
    Content-Description: MailAttachment-1
    <?xml version="1.0" encoding="UTF-8"?>
    How can I get the filename out of the headerdata to include it into the XML.
    Cheers Andreas
    P.S. I start my first steps in XI and I'm not a XI professional. So please send me a step by step solution.

  • IDOC not displayed in WE05

    Hi Experts,
    I have successfully run my scenario CSV-pi-Idoc yesterday. IN MOni XML file is Ok. In R/3side (WE05) Idoc generated successfully. But Yesterday night Basis people change R/3 password. Now my problem is in R/3 IDOC not displayed in WE02.
    Iam also change password in SM59. But no result. Where can I do changes. can any one help me.
    Thanks
    Hari

    Hi Hari,
    Make sure in SXMB_MONI in your PI system the message is showing successful flag in outbound side (ie.. drag the scroll bar to ur right had side and see if you can see checkered flag). If you see any error then go to tcode sm58 (trfc queue) and filter based on dates and u will find error logs in detail and take appropriate action.
    Mostly it might be authetication problem so better to check in ur R/3 destination in Sm59 in PI system if your rfc test and authentication test is successfully showing green or not.
    Thanks,
    Prasanthi.

  • Error Reading up a CSV file

    Hi,
    I am doing a File (SalesData.csv) -> PI -> IDOC scenario and have created a DT, MT and also made FCC configuration in sender File Channel.
    However, when I run the scenario I get an error message in Channel Monitoring.
    CSV File:
    12,36,45,78,89
    2154,789,65,78,99
    This CSV file should be converted into an XML by FCC like:
    <MT_SalesData>
    <Data>12,36,45,78,89
    2154,789,65,78,99</Data>
    </MT_SalesData>
    I used FCC in the channel like:
    Document Name: MT_SalesData
    Document Namespace: actual namespace of the MT
    Recirdset Name: MT_SalesData
    Recordset Structure: Data,1
    Error in Channel Monitoring:
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'Data.fieldFixedLengths' or 'Data.fieldSeparator' is missing Mandatory parameter 'Data.fieldNames': no value found
    What more information should I include in the FCC? If required I can change the DT.
    Entire content of the SalesData.csv file should be placed inside the Data tag, as is without any modification.
    Thanks
    Pankaj

    Hi Pankaj,
    Your file content conversion configuration is incomplete.
    Please check below link for the addtional parameters you need to specify:
    [http://help.sap.com/saphelp_nwpi71/helpdata/en/44/682bcd7f2a6d12e10000000a1553f6/frameset.htm]
    Please check if you have maintained following parameters:
    a. NameA.fieldFixedLengths or NameA.fieldSeparator
    b. NameA.fieldNames
    Regards,
    Beena.

  • FCC parameters

    Hi friends,
    My scenario is CSV to IDOC. Everything is ok but in MONI payload main XML document my structure is not right way.
    My original structure :20110929,20110929,GR/GI Slip No.,Header Text,ABCD,MIGO,Massdata..Like this ..But in XML it will appears like Below.
    Help me friends.
    - <Header>
    <DocumentDate>,2011092</DocumentDate>
    <PostingDate>9,201109</PostingDate>
    <RefDocNumber>29,GR/GI Slip</RefDocNumber>
    <DocHeaderText>No.,HEADER</DocHeaderText>
    <BillOfLading>TEXT</BillOfLading>
    <CurrentTcode>,ABC</CurrentTcode>
    <UserName>D,MIGO,M</UserName>
    <CompanyID>ASSD</CompanyID>
    </Header>
    - <Item>
    <MaterialNumber>,NMH-145-P5K</MaterialNumber>
    <Plant>G,10</Plant>
    <StorageLocation>01,</StorageLocation>
    <BatchNumber>0101,9102</BatchNumber>
    <MovementType>360</MovementType>
    <ConsumptionPosting>1</ConsumptionPosting>
    <QuantityInUnitOfEntry>3</QuantityInUnitOfEntry>
    <UnitOfEntry>,3</UnitOfEntry>
    <RecievingIssuingMaterial>11,V,5,EA,NM</RecievingIssuingMaterial>
    <IssuingPlant>H-14</IssuingPlant>
    <IssuingStorageLocation>5-P</IssuingStorageLocation>
    <IssuingBatch>5KG,1001,</IssuingBatch>
    Here Iam sending my sample input file also.
    SAMPLE INPUT:
    H,20110929,20110929,GR/GI Slip No.,HEADER TEXT,ABCD,MIGO,NSLMASSDATA,ABCD                    
    I,NMH-145-P5KG,1001,0101,910236013,311,V,5,EA,NMH-145-P5KG,1001,0102,910236013
    H,20110929,20110929,GR/GI Slip No.,HEADER TEXT,ABCD,MIGO,NSLMASSDATA,ABCD                    
    I,NMH-145-P5KG,1001,0101,910236013,311,V,5,EA,NMH-145-P5KG,1001,0102,910236013
    Thanks
    hari

    Hi Hari,
    This is the problem with your FCC configuration settings. please check the below link for any clarifications on FCC settings.
    http://www.riyaz.net/blog/xipi-configuration-using-integration-directory/sap/25/
    Thanks,
    Amar.

  • IDoc to csv file with required fields

    All,
    I have a source IDoc going to XI.  For example it contains source fields SF1 (required), SF2 (required), SF3(optional) and SF4(optional).
    I want to produce a target file using file content conversion.  I want to produce target fields TF1(required), TF2(required), TF3(optional), and TF4(optional).  In my mapping SF1 maps to TF1, SF2 maps to TF2, etc...
    I want to produce a comma separated file, I am using file content conversions and I am using NameA.fieldSeparator (using a comma)  in my file content conversion parameters.  I have no problem when all 4 source fields are populated.  In this case if the value of my source fields are: ABC 123 XYZ and 789 then I get a flat file with the result:
    ABC,123,XYZ,789
    The problem is when my optional fields are blank I currently get the following in my csv file:
    ABC,123
    When instead I want:
    ABC,123,,
    I know I've seen threads relating to this issue but I haven't had any success locating them.  Any insight is appreciated.

    Hi Shaun,
    Source : SF1 (required), SF2 (required), SF3(optional) and SF4(optional).
    Target: TF1(required), TF2(required), TF3(optional), and TF4(optional)
    For Optional in mapping , If the source optional field is not there, then for target assign with blank constant. You will get the output as below, because at target side the element will be there with blank value and FCC will process that.
    ABC,123,,
    Otherwise Try with NameA.fieldFixedLengths in FCC.
    Regards,
    Prasanna

  • Mapping IDOC to CSV file - Missing blank field values in CSV file

    Hello:
    I am mapping an IDOC to a .csv file, using File Content Conversion.  I specify comma as the value for the parameter 'fieldSeparator'.  I get a .csv file, but blank field values are missing in the .csv file.
    For example, if the .csv file format is <field1>,<field2>,<field3>
    and if <field2> is blank, then the .csv file contains
    <field1>,<field3>

    Hi Bac,
    As long as the XML that goes to your File Receiver Channel contains the elements, even if they don't contain values, it should work fine.
    For example:
    <field1>data</field1>
    <field2></field2>
    <field3>data2</field3>
    I suspect that your XML looks like the following:
    <field1>data</field1>
    <field3>data2</field3>
    If this is the case you can update your map. You shouldn't need to put a space, just make sure the element gets created.
    Thanks,
    Jesse

  • IDOC to CSV file getting created in Target with out any data

    Dear All,
    Scenario:IDOC to CSV
    We have developed a ID part and reused the IR part.Interface is successfull end to end in both ABAP and Java Stack and file has been created in Target but without any data.
    I think we need to do changes in Content Conversion.
    Below are the details which we have using in Content Conversion.
    Name                                                              Value
    ListPrice.fieldSeparator                                     ,
    ListPrice.ProcessFieldNames                        fromConfiguration
    ListPrice.fieldNames                                      CompanyID,SalesOrg,ProductID,ValidFrom,ValidTo,UOM,ListPrice,RecordType
                                                                         ,LineID,UpdatedDate
    can you please give me the parameter which we need to use other than above and give me the proper reason why target file has no data.
    Note:We are Re-Using IR part and we have given the field name in Content conversion as correct order with proper case sensitive
    Thanks and regards,
    Manikandan

    Hi Abhishek and Rahul,
    I m sorry i have given the sender Payload early. please find the receiver payload.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:SendListPriceToHub xmlns:ns0="http://tempuri.org/"><ns0:XMLData><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>20002648</ns0:ProductID><ns0:ValidFrom>2009-11-12T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>9999-12-31T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>111.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>22158</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>100000001</ns0:ProductID><ns0:ValidFrom>2009-11-23T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>2199-12-31T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>1000.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>22363</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>100000003</ns0:ProductID><ns0:ValidFrom>2009-12-01T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>9999-12-31T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>230.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>22572</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>20002901</ns0:ProductID><ns0:ValidFrom>2000-12-04T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>2009-11-30T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>20.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>22673</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>20002647</ns0:ProductID><ns0:ValidFrom>2009-12-04T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>9999-12-31T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>90.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>22674</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>100000007</ns0:ProductID><ns0:ValidFrom>2009-12-01T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>2010-01-19T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>900.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>22715</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>100000010</ns0:ProductID><ns0:ValidFrom>2009-12-11T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>9999-12-31T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>14.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>22831</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>20002655</ns0:ProductID><ns0:ValidFrom>2009-12-16T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>9999-12-31T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>350.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>22985</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>20002901</ns0:ProductID><ns0:ValidFrom>2009-12-01T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>9999-12-31T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>80.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>23196</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>20003027</ns0:ProductID><ns0:ValidFrom>2010-01-04T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>9999-12-31T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>120.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>23309</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>20003028</ns0:ProductID><ns0:ValidFrom>2010-01-06T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>9999-12-31T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>12.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>23428</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>20002924</ns0:ProductID><ns0:ValidFrom>2010-01-07T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>9999-12-31T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>96.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>23469</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>20091001</ns0:ProductID><ns0:ValidFrom>2010-01-14T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>9999-12-31T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>123.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>23647</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice><ns0:ListPrice><ns0:CompanyID>1525</ns0:CompanyID><ns0:SalesOrg>A001</ns0:SalesOrg><ns0:ProductID>100000007</ns0:ProductID><ns0:ValidFrom>2010-01-20T00:00:0010:00</ns0:ValidFrom><ns0:ValidTo>9999-12-31T00:00:0010:00</ns0:ValidTo><ns0:UOM>PC</ns0:UOM><ns0:ListPrice>10.00</ns0:ListPrice><ns0:RecordType>U</ns0:RecordType><ns0:LineID>23681</ns0:LineID><ns0:UpdatedDate>0000-00-00T00:00:0000:00</ns0:UpdatedDate></ns0:ListPrice></ns0:XMLData></ns0:SendListPriceToHub>

  • Copy CSV file to IDOC in XI

    Hi,
    Please explain how to copy CSV file to IDOC .
    And How to define data type and how to find out field names in CSV file to IDOC .
    Advance thanks ,
    Laxman

    if your scenario is CSV(text) file to idoc then refer below link
    http://www.****************/Tutorials/XI/FileToIDoc/FiletoIDocScenario.htm
    u have to use FCC from message type insted of File in above link and refer below link for  how to call fcc parameters .
    http://www.riyaz.net/sap/xipi-file-content-conversion-for-complex-structures/79/
    remaining evarytning is same as norma scenario  just you have to use fcc parameters in file sender and call parameters On Content conversion tab .
    and refer SCN further information because it is very basic Question ( if ur scenario is CSV file to IDOC)

  • Convert custom outbound idoc to CSV file

    Hi
    I need to send generate a flat file that will be sent to a non SAP partner. A requirement is that the messages go via  the IDOC system. This makes it possible to resend them if necessary.
    So there are 2 stages
    1) create IDOC. I have done this
    2) read IDOC and convert to flat file
    stage 1
    =====
    I have defined a custom IDOC, partner profile etc and developed a Function Module to create the outbound IDOCs The FM is triggered by a message in the NAST table. . This works OK.
    So I now have custom outbound IDOCs in the DB with status 30 (ready for dispatch) (WE05).
    Stage 2
    ======
    Now I want to convert these custom IDOCs into simple flat files (CSV like).
    How do I go about making this happen? I guess I need to develop another Function Module. But I dont know how to tie this FM into the system. My questions are:
    How will the FM be triggered
    what is the interface of the FM
    will I need to configure a 2nd partner profile for stage 2 (which is fine)
    Peter
    Note1 - there is no EDI converter available so must solve this in ABAP
    Note2 - I do not want to create the flat file at the same time as I create the IDOC. This would defeat the purpose of going via IDOCs

    No, EDI is only one method of transferring data.  There's no need for an EDI subsystem in this case.
    To the OP, since it seems the you have decided that you must use IDOC processing in this case, I would go ahead and use a file port (or an XML port).  You will drop an IDOC formatted flat file into the specified location (for each IDOC, based on your logical file definition).  For you, this will merely be a temporary holding location.  You can then use a simple program to read the file, re-format it, send it, then move the original file to a 'processed' location.  Of course, you could also just throw away the generated files and read the IDOCs directly with the standard functions available and (re)generate/send the files as required. 
    It's often done this way with 3rd party EDI providers, where the company in question is required to use EDI by their customers but do not have the required systems in place.

  • Read .csv file to XI and convert to IDOC

    Hi XI  Gurus,
    We have a requirement at work where we need to import .csv files to XI ehich then XI converts it to xml and posts an IDOC to SAP. I have tried creating this in XI with File Adapter with File Content Conversion.
    I gave all the things required for File Content Conversion but still my .csv file is not being picked up and read by XI. Iam not sure why this is happening but can anayone please help me with this.
    Also please do let me know if anyone has a tutorial related to this scenario.
    Thanks,
    Mayuresh.

    Hi All,
    I tried checking the error via Run Time Workbench (RWB) and going to Communication Channel Monitoring. It shows that there are some errors in the Communication Channel but when i go inside  it does not open an error window for me containing the error details.
    Just wanted to explain my file structure and the settings i have done in the 'File Content Conversion' of the 'File Adapter' so that you guys can tell me where i am wrong:
    Message Type: VENDOR_MT
    VENDOR_MT
        VendorNumber
        LastName
        SearchTerm
        Currency
      Address
          Street
          City
          Zip
          Country
    I am using IDOC receiver at the other end (CREMAS.CREMAS03).
    CSV File Structure: (Sample)
    34567, Reed, Jon, AUD, Smith Street, Melbourne, 3066, AU
    The settings that i have used in the File Adapter (Content Conversion tab) are:
    RecordSet Structure: VendorNumber, LastName, SearchTerm, Currency, Street, City, Zip, Country
    RecordSet Sequence: Ascending
    ignoreRecordSetName: true
    Vendor_MT.fieldNames: VendorNumber, LastName, SearchTerm, Currency
    Vendor_MT.keyFieldValue: 01
    Vendor_MT.fieldSeperator: ','
    Vendor_MT.endSeperator: nl
    Address.fieldNames: Street, City, Zip, Country
    Address.keyFieldValue: 02
    Address.fieldSeperator: ','
    Address.endSeperator: nl
    Please do let me know if the communicatioon channel settings i have made are correct. Also let me know if i am missing some major setting.
    Thanks,
    Mayuresh.

  • Idoc-XI-POS (Triversity) scenario - new in XI

    Hi,
    I am new to SAP XI and I have a scenario wherein I have to send message to SAP Triversity (POS which excepts CSV files) from R/3. Can anyone please guide me with the entire process starting from configuring the systems - R/3 sender, XI (SLD, IR, ID) and Triversity?
    Also my scenario involves collecting data from more than one Idoc and put it in one file and send across to Triversity. How can that be done?
    Please advice.
    Thanks in advance,
    Yash

    hi yash,
    >>I have to send message to SAP Triversity (POS which excepts CSV files) from R/3.
    for this configure file receiver adapter and use idoc adapter at sender side.
    refer this:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    in file receiver u need to convert xml to csv file. for this use file content conversion. for this refer:
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    >>configuring the systems - R/3 sender...
    for sending idoc to xi u need to do these settings in r/3
    1. SM 59 (RFC destinations)
    Create a RFC destination pointing to the XI server. The connection type should be R/3 connection.
    2. WE 21
    Create a transactional port. Provide the RFC destination created in this.
    3. BD 54
    Create a logical system.
    4. WE 20 (Partner Profiles)
    Create a new partner profile under partner type LS.
    Also need to do this on XI server.
    1. SM59 (RFC destination)
    Configure the RFC destination pointing to the R/3 system.
    2. IDX1 : create port here.
    Create a port and provide the RFC destination.
    To test from r/3:
    WE19 :push the idoc in xi through trfc port.
    also refer:
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi - ALE settings for R3-XI
    >>Also my scenario involves collecting data from more than one Idoc ...
    for this refer:
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    [reward if helpful]
    regards,
    latika.

  • PI 7.11 CSV file

    Hello All,
    I have a simple scenerio IDOC to File.
    We had a requirement of making a XML file of IDOC received in PI , ery simple and straight forward.
    Now Target side as a requirement to place a file in CSV format.
    I mean the IDOC received in PI should be placed in target directory as CSV file.
    I am working on PI7.11 , can anyone help me with some info.
    Thanks a lot in advance.
    Regards,
    Vikrant

    Hi Vikrant,
    >>Now Target side as a requirement to place a file in CSV format. I mean the IDOC received in PI should be placed in target directory as CSV file.
    If you want the XMLized IDoc to be converted to a plain IDoc, either use the approach suggested by Michal in this blog (use tunneling and create a by-pass scenario)
    /people/michal.krawczyk2/blog/2005/11/21/xi-idoc-to-idoc-tunneling--how-fast-and-easy-can-you-get
    or
    download the IDoc as a flat Idoc and use PI to transfer the content from one directory to another.
    PS: All this is applicable if you want the Flat version of XMLized Idoc
    Regards
    Suraj

  • Excel sheet to idoc

    hi all,
    the following report fetches data from an excel sheet to an internal table itab and then data from this itab is populated into an idoc.
    The segment ZVISTAPMS has two char fields.
    at the following point:
    Create a data segment for each line of I_ZVISTA
    LOOP AT ITAB INTO WA_ZVISTA_PM.
    MOVE-CORRESPONDING WA_ZVISTA_PM TO WA_Z1VISTAPM.
    data is not getting transferred to wa_zvistapm .
    kindly help ....
    regards
    shilpi
    REPORT ZIDOC3.
    DATA : ITAB TYPE TABLE OF DATA_TAB.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
    FILENAME = 'E:\K.CSV'
    FILETYPE = 'ASC'
    HAS_FIELD_SEPARATOR = 'X'
    HEADER_LENGTH = 0
    READ_BY_LINE = 'X'
    DAT_MODE = SPACE
    CODEPAGE = SPACE
    IGNORE_CERR = ABAP_TRUE
    REPLACEMENT = '#'
    VIRUS_SCAN_PROFILE =
    IMPORTING
    FILELENGTH =
    HEADER =
    CHANGING
    DATA_TAB = ITAB
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    NO_AUTHORITY = 6
    UNKNOWN_ERROR = 7
    BAD_DATA_FORMAT = 8
    HEADER_NOT_ALLOWED = 9
    SEPARATOR_NOT_ALLOWED = 10
    HEADER_TOO_LONG = 11
    UNKNOWN_DP_ERROR = 12
    ACCESS_DENIED = 13
    DP_OUT_OF_MEMORY = 14
    DISK_FULL = 15
    DP_TIMEOUT = 16
    NOT_SUPPORTED_BY_GUI = 17
    ERROR_NO_GUI = 18
    others = 19
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CONSTANTS:
    C_MESTYP TYPE EDIDC-MESTYP VALUE 'ZVISTAPMSH',
    C_DOCTYP TYPE EDIDC-IDOCTP VALUE 'ZVISTAPM01S',
    C_SEGNAM TYPE EDIDD-SEGNAM VALUE 'Z1VISTAPMS'.
    DATA:
    I_ZVISTA TYPE ITAB OCCURS 6000,
    I_EDIDC TYPE EDIDC OCCURS 0,
    I_EDIDD TYPE EDIDD OCCURS 0,
    WA_ZVISTA_PM TYPE ITAB,
    WA_EDIDC TYPE EDIDC,
    WA_EDIDD TYPE EDIDD,
    WA_Z1VISTAPM TYPE Z1VISTAPMS,
    V_OCCMAX TYPE IDOCSYN-OCCMAX,
    V_NBSEG TYPE I.
    CLEAR WA_ZVISTA_PM.
    CLEAR WA_EDIDC.
    Save the message type and the basic IDoc type
    in the control segment
    MOVE C_MESTYP TO WA_EDIDC-MESTYP.
    MOVE C_DOCTYP TO WA_EDIDC-IDOCTP.
    Retrieve the maximum number of segments in the basic IDoc* typeSELECT MIN( OCCMAX ) FROM IDOCSYN INTO V_OCCMAX WHERE IDOCTYP EQ C_DOCTYP AND SEGTYP EQ C_SEGNAM.
    SELECT MIN( OCCMAX )
    FROM IDOCSYN
    INTO V_OCCMAX
    WHERE IDOCTYP EQ C_DOCTYP AND SEGTYP EQ C_SEGNAM.
    Create a data segment for each line of I_ZVISTA
    LOOP AT ITAB INTO WA_ZVISTA_PM.
    MOVE-CORRESPONDING WA_ZVISTA_PM TO WA_Z1VISTAPM.
    CLEAR WA_EDIDD.
    MOVE C_SEGNAM TO WA_EDIDD-SEGNAM.
    MOVE WA_Z1VISTAPM TO WA_EDIDD-SDATA.
    APPEND WA_EDIDD TO I_EDIDD.
    CLEAR WA_ZVISTA_PM.
    CLEAR WA_Z1VISTAPM.
    ENDLOOP.
    CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
    EXPORTING
    MASTER_IDOC_CONTROL = wa_edidc
    OBJ_TYPE = ''
    CHNUM = ''
    TABLES
    COMMUNICATION_IDOC_CONTROL = i_edidc
    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.

    Hi,
    Export option is available once they click print IDOC. i.e, Menu->Idoc->print idoc after executing through WE02 and when list has been generated with technical name,description and value columns.Export option(with a right arrow sysmbol) is available above the list.
    At this point they are again going to menu->list->print thats the reason they are getting for print option and asking for printer.
    Please recheck again and explain the users.
    Definately it will solve the issue

  • Loading of flat file (csv) into PSA – no data loaded

    Hi BW-gurus,
    We have an issue regarding loading a flat file (csv) into PSA using an infopackage u2013 (BI 7.0)
    The infopackage has been used for a while. Prior the consultants with SAP_ALL-profile have run the infopackage. Now we want a few super users to run the infopackage.
    We have created a role for the super users, including authorization objects:
    Data Warehousing objects: S_RS_ADMWB
    Activity: 03, 16, 23, 63, 66
    Data Warehousing Workbench obj: INFOAREA, INFOOBJECT, INFOPACKAG, MONITOR, SOURCESYS, WORKBENCH
    Data Warehousing Workbench u2013 datasource (version > BW 3.x): S_RS_DS
    Activity: All
    Datasource: All
    Subobject for New DataSource: All
    Sourcesystem: FILE
    Data Warehousing Workbench u2013 infosource (flex update): S_RS_ISOUR
    Activity: Display, Maintain, Request
    Application Component: All
    InfoSource: All
    InfoSource Subobject: All values
    As mentioned, the infopackage in question, has been used by consultants with SAP_ALL-profile for some time, and been working just fine.  When the super users with the new role are executing the infopackage, the records are found, but not loaded into PSA. The load seems to be stuck, but no error message occurs. The file we are trying to load contains only 15 records.
    Details monitor:
    Overall status: Missing messages or warnings (yellow)
    Requests (messages): Everything ok (green)
      ->  Data request arranged (green)
      ->  Confirmed with: OK (green)
    Extraction (messages): Errors occurred (yellow)
      ->  Data request received (green)
      -> Data selection scheduled (green)
      -> 15 Records sent (0 Records received) (yellow)
      -> Data selection ended (green)
    Transfer (IDocs and TRFC): Missing messages (yellow)
    Processing (data packet):  Warnings received (yellow)
      -> Data package 1 (? Records): Missing messages (yellow)
         -> Inbound processing (0 records): Missing messages (yellow)
         -> Update PSA (0 Records posted): Missing messages (yellow)
         -> Processing end: Missing messages (yellow)
    Have we forgotten something? Any assistance will be highly appreciated!
    Cheers,
    Anne Therese S. Johannessen

    Hi,
    Try to use the transaction ST01 to trace the authorization of the upload with the SAP_ALL. 
    And the enhance your Profile for the super user.
    Best regards
    Matthias

Maybe you are looking for

  • Re: Crystal Report and SAP BW Query with Variable

    Crystal Report 2008 V1 SP3 and SAP Integration Kits 3.1 SP3 installed on my client machine. I can open SAP BW Query in Crystal Report. However, in the Field Explorer >Database Fields, I dont see to be able to expan the Query and see it Key Figure/Cha

  • Very slow DFSR on Windows Server 2008

    We need to have distributed file system between two location. I evaluating possibility to use DFS and two Windows Server 2008 to do it. I set up two computer with clean installation of system. The test is on two local subnets, so speed should not be

  • Vendor master records

    hi , if i configured F2 144 message for checking vendor master duplication ,is it case sensitive? i mean if i create vendor with capital letters (already is there with small letters) in NAME 1 or NAME 2,is it works. Regards, Ravi.

  • A question about LSO content player

    I am at the learning portal. However I can not find the menu path to start the content player. Could you tell me how to launch the content player from learning portal? Thank you

  • Starting adobe muse, but can't

    Hi all, I have downloaded trial version of Adobe Muse and just wanted to work along with Katie's tutorial. First problem: My Adobe Muse keeps telling me there is a new update which I already installed. I know there is a topic about this with an expla