Problem in control file created through  LKM File to Oracle (SQLLDR)

I have a fixed file ABC.txt & it has three fields/columns of length ,C1:= 4, C2 :=10 & C3:=6 & I have to use LKM File to Oracle (SQLLDR) to load data into oracle target table.
I recieved the following error at step CALL SQLLDR in the KM
"org.apache.bsf.BSFException: exception from Jython: Traceback (innermost last):
File "<string>", line 3, in ?"
Then I checked the control file log & found that the position start value & end value was not defined in control file which is created automatically by LKM
SQL*Loader-350: Syntax error at line 14.
Expecting positive integer, found ":".
     C1_C1     POSITION(:), "
The control file created by ODI is & it's missing the position value.
OPTIONS (
     SKIP=0,
     ERRORS=0,
     DIRECT=FALSE
LOAD DATA
INFILE "C:/SNAPON/EOL.txt"
BADFILE "C:/SNAPON/ABC.bad"
DISCARDFILE "C:/SNAPON/ABC.dsc"
DISCARDMAX 1
INTO TABLE SNAPON_W.C$_0ABC
     C1_C1     POSITION(:),
     C2_C2     POSITION(:),
     C3_C3     POSITION(:)
Does any one know why the position value is not created in the control file .
Edited by: neeraj_singh on Mar 3, 2011 1:25 AM

Hi Neeraj,
It is happening because you have not selected the mapping execution area as STAGUING .
Open your interface , click on each and every column of your target datastore , make sure the "Execute On" is marked on "Staging Area".
Then run your interface.
Thanks,
Sutirtha

Similar Messages

  • Export to PDF - Can a single report (rpt file) create multiple PDF files using the export command?

    Post Author: markeyjd2
    CA Forum: Exporting
    Greetings forum members,
    My question is, in its entirety: Can a single report (rpt file) create multiple PDF files using the export command, ideally one PDF file per DB record?
    In my case; I have a Crystal Report that reads data from a DB table containing ~ 500 records.  When I export the report to a PDF file, I get one PDF file, with ~ 500 pages.
    What I would like to do is export the report to ~ 500 individual PDF files; One file per DB record.  The file names would be based on the table's primary key.
    Is this possible?

    Post Author: Micha
    CA Forum: Exporting
    Hi,
    you need some lines of code, but its easy. Dependend on how to start the generation of your 500 PDFs, you can write an ASP page and start it via Web Browser, or a Windows Script and start it via scheduled job...
    Here's an abstract of the ASP code I use:
    First, you create a recordset (here: "rsc") which gives you the list of ID fields you want to export, then you create CrystalRuntime.Application object, then you loop through the recordset, open your report (here: "oRpt") and set login info. Then set the selectionformula, so that the report displays only the data of the current ID, e.g.:
      oRpt.RecordSelectionFormula = "(" & oRpt.RecordSelectionFormula & ") AND {myTab.myVal}=" & rsc("myVal")
    Then you export the report, move to the next record in recordset, and repeat the loop until recordset.EOF. Then you close recordset and connection.
    Micha

  • Problem with file created through GUI_DOWNLOAD

    Hello,
    I have the following code
    REPORT  zprueba.
    START-OF-SELECTION.
      TYPES: BEGIN OF t_type,
        field1(20),
        field2(20),
      END OF t_type.
      DATA: lt_data TYPE STANDARD TABLE OF t_type,
            ls_data TYPE t_type.
      ls_data-field1 = '1'.
      ls_data-field2 = 'UNO'.
      APPEND ls_data TO lt_data.
      CLEAR ls_data.
      ls_data-field1 = '2'.
      ls_data-field2 = 'DOS'.
      APPEND ls_data TO lt_data.
      CLEAR ls_data.
      ls_data-field1 = '3'.
      ls_data-field2 = 'TRES'.
      APPEND ls_data TO lt_data.
      CLEAR ls_data.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
    *   BIN_FILESIZE                    =
          filename                        = 'C:\Users\jochavez\Desktop\Algo.txt'
       filetype                        = 'DAT'
    *   APPEND                          = ' '
    *   WRITE_FIELD_SEPARATOR           = ' '
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    *   WRITE_LF_AFTER_LAST_LINE        = ABAP_TRUE
    *   SHOW_TRANSFER_STATUS            = ABAP_TRUE
    * IMPORTING
    *   FILELENGTH                      =
        TABLES
          data_tab                        = lt_data.
      IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    In one machine the file is like
    1 UNO
    2 DOS
    3 TRES
    In my machine it is
    1 UNO2 DOS 3 TRES
    As you can see all is in one line.
    Both machines are Windows Vista same version, same model (hehe).
    Any idea of why this differente?
    Best Regards

    My problem comes from report CRMD_UI_ROLE_PREPARE
    This report generates a file that can be uploaded to PFCG. When I try to load the file I receive an error message. I saw the file and the generated file has the same problem.
    So I create this test program to see if it is a program error or it is something wrong with my computer.
    The test gave me the same result. NO carriage returns.
    So I need to solve this issue to run again CRMD_UI_ROLE_PREPARE and get a correct file.
    So I think it is configuration of my user or with my computer.
    Any idea?
    Best Regards

  • Unable to open file created by outbound file adapter

    Hi,
    I have a requiement for polling data from 3 different tables, mergind=g them and writing all data into a flat file in CSV format. However, I see that I'm unable to open the file with my personal UNIX credentials, since the file is getting written by the SOA UNIX credentials.
    Is there any way to set the default permissions on the server so that the file is accessible to other users as well.
    Any insight would be appreciated, I'm quite stumped with this. My working environment is SOA Suite 11.1.1.5 running on OEL 5
    Thanks,
    Debojit

    Hi,
    In my view this can be sorted out at a operational system level, if you set 'umask 2' for the SOA user (the user that is starting the SOA servers and writing the files) then files created by that user will allow rights for users in the same group. So, you will need to add the group id from the SOA user to your user groups.
    It may be a little bit confusing, the link bellow explain how permissions work in a Unix system.
    Understanding file permissions on Unix: a brief tutorial
    http://www.dartmouth.edu/~rc/help/faq/permissions.html
    Cheers,
    Vlad

  • Org determination problem for an Opportunity created through CIC0.

    Dear all,
    I have a problem with org determination in an opportunity createde through CIC0. I initially created a BP, then a contact person for the same BP and then created an opportunity for the BP where in system is not picking up the Org Data.
    The determination rule says that
    if BP has sales area data --> present those sales areas
    if BP has no sales area data --> pick up from the user assignement in the org structure.
    Now case 2 should be applicable to me. I have maintianed a user as BP under Sales Org. I have activated obj permitted for determination at sales org level.
    When I am creating opp from cic0, user is getting picked properly. However, org data is not getting picked.
    The scenario works fine when opportunity is created through CRMD_ORDER
    What is that I am missing out??? PLEASE HELP ME OUT...
    Regards,
    Rajesh

    Dear Rajesh,
    this might be caused by wrong partner determination customizing for CIC0. please check note 600116
    and related. Also please check note 487734 regarding missing pop-ups in CIC0.
    Regards, Gerhard

  • Using FXD files created from SVG files

    I created a draw using inkscape that saves as SVG,
    and created an FXZ file using the production suite.
    Now I'm looking for a way to use the FXD file that is inside the FXZ
    without changing it.
    this is the content of my FXD file
                Group {
                    content: [
                            Group {
                                id: "layer1"
                                content: [
                                    Rectangle {
                                        fill: Color.rgb(0xff, 0xff, 0x00, 1.0)
                                        opacity: 1
                                        fillRule: FillRule.NON_ZERO
                                        height: 70.0
                                        id: "rect2393"
                                        opacity: 1
                                        stroke: Color.rgb(0x00, 0x00, 0x00, 1.0)
                                        strokeLineCap: StrokeLineCap.ROUND
                                        strokeLineJoin: StrokeLineJoin.ROUND
                                        strokeWidth: 3.0
                                        width: 81.666664
                                        x: 301.6667
                                        y: 300.0
                                    Rectangle {
                                        fill: Color.rgb(0xff, 0xff, 0x00, 1.0)
                                        opacity: 1
                                        fillRule: FillRule.NON_ZERO
                                        height: 158.33333
                                        id: "rect2395"
                                        opacity: 1
                                        stroke: Color.rgb(0x00, 0x00, 0x00, 1.0)
                                        strokeLineCap: StrokeLineCap.ROUND
                                        strokeLineJoin: StrokeLineJoin.ROUND
                                        strokeWidth: 3.0
                                        width: 88.333336
                                        x: 566.6667
                                        y: 266.66666
                                    Rectangle {
                                        fill: Color.rgb(0xff, 0xff, 0x00, 1.0)
                                        opacity: 1
                                        fillRule: FillRule.NON_ZERO
                                        height: 30.0
                                        id: "rect2397"
                                        opacity: 1
                                        stroke: Color.rgb(0x00, 0x00, 0x00, 1.0)
                                        strokeLineCap: StrokeLineCap.ROUND
                                        strokeLineJoin: StrokeLineJoin.ROUND
                                        strokeWidth: 3.0
                                        width: 255.0
                                        x: 124.99999
                                        y: 170.0
                                    SVGPath {
                                        content: "M 780 -16.65625 L 780 -8.34375 L -13.34375 -8.34375 L -13.34375 26.65625 L -3.34375 26.65625 L -3.34375 585 L -10 585 L -10 626.65625 L 828.34375 626.65625 L 828.34375 585 L 815 585 L 815 -16.65625 L 780 -16.65625 z M 20 26.65625 L 780 26.65625 L 780 585 L 20 585 L 20 26.65625 z "
                                        fill: Color.rgb(0xff, 0xff, 0x00, 1.0)
                                        opacity: 1
                                        fillRule: FillRule.NON_ZERO
                                        id: "rect2399"
                                        opacity: 1
                                        stroke: Color.rgb(0x00, 0x00, 0x00, 1.0)
                                        strokeLineCap: StrokeLineCap.ROUND
                                        strokeLineJoin: StrokeLineJoin.ROUND
                                        strokeWidth: 3.0
                }

    try to create an separated class to the main menu,
    var MainMenu: Group = Group {
        content: [
            Group {
                id: "layer1"
                content: [
                    Rectangle {
                        fill: Color.rgb(0xff, 0xff, 0x00, 1.0)
                        opacity: 1
    ...and use on my main fx file
    var mainMenu: Group = new MainMenu();
    var game: Game = Game {
        title: "Cabecudinhos, episódio 1 o ataque dos mosquitos"
        width: 800
        height: 600
        scene: Scene {
            content: mainMenu
    }but I have the error of imcompatible types, required Group but found MainMenu ...
    any tips ?

  • Files creating through remote desktop is not updating in office computer

    Hi,
    we are currently using windows 2008 standard server for terminal service. colleagues are allowed to work through rdp. Recently one of my colleague said, when he is accessing the terminal server through remote, the files, folders and whatever he creates in
    his home computer is not updating in office computer. what ever he creates, he is attaching them through email and come back to office and working.
    can anyone please help to resolve this problem.? if you need more details I will update it.

    we are currently using windows 2008 standard server for terminal service. colleagues are allowed to work through rdp. Recently one of my colleague said, when he is accessing the terminal server through remote, the files, folders and whatever he creates
    in his home computer is not updating in office computer. what ever he creates, he is attaching them through email and come back to office and working.when he uses his home PC and logs on via Terminal Server it isn't showing the changes he made when he is in
    the office.Terminal Server isn't syncing between logons. 

  • SOAP and java problem....create SOAPMessage from file. Extremely important!

    Hi,
    I've got a problem related to usage of SOAP in Java. I receive a file containing SOAP message with XML attachment. I store it on hard disk.
    Then I create a SOAP message as it is shown in source code below.
    When I try to get the attachment, the method doesn't return anything.
    If I pass to method createMessage value null instead of new MimeHeaders(), the result is the same.
    What can be the problem? How to solve it? Any idea?
    Looking forward any support.
    BR,
    rafikoko
    MessageFactory factory = MessageFactory.newInstance();
    SOAPMessage message = factory.createMessage(new MimeHeaders(), new FileInputStream(xmlFile));
    Iterator attachments = message.getAttachments();
    log4j.error("TEST:before while:"+message.countAttachments());
    while(attachments.hasNext()){
    log4j.error("TEST:while");
    Object finvoice = attachments.next();
    log4j.error("TEST:Finvoice:"+finvoice);
    }

    I attach also a SOAP message. Perhaps it will help you.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
    <SOAP-ENV:Header>
    <eb:MessageHeader xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"
    SOAP-ENV:mustUnderstand="1" eb:id="20030222133003285">
        <eb:From>
           <eb:PartyId>FI9859292720000267</eb:PartyId>
           <eb:Role>Sender</eb:Role>
        </eb:From>
        <eb:From>
           <eb:PartyId>OKOYFIHH</eb:PartyId>
           <eb:Role>Intermediator</eb:Role>
        </eb:From>
        <eb:To>
           <eb:PartyId>FI3329501800008512</eb:PartyId>
           <eb:Role>Receiver</eb:Role>
        </eb:To>
        <eb:To>
           <eb:PartyId>NDEAFIHH</eb:PartyId>
           <eb:Role>Intermediator</eb:Role>
        </eb:To>
    <eb:CPAId>yoursandmycpa</eb:CPAId>
    <eb:ConversationId>nnnnn</eb:ConversationId>
    <eb:Service>Routing</eb:Service>
    <eb:Action>ProcessInvoice</eb:Action>
    <eb:MessageData>
         <eb:MessageId>1</eb:MessageId>
         <eb:Timestamp>2003-01-22T11:12:12+02</eb:Timestamp>
         <eb:RefToMessageId/>
    </eb:MessageData>
    </eb:MessageHeader>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <eb:Manifest eb:id="Manifest" eb:version="2.0">
    <eb:Reference eb:id="Finvoice" xlink:href="20020209-133003">
    <eb:schema eb:location="http://www.pankkiyhdistys.fi/verkkolasku/finvoice/finvoice.xsd" eb:version="2.0"/>
    </eb:Reference>
    </eb:Manifest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- edited with XML Spy v4.2 U (http://www.xmlspy.com) by Jussi Paasikallio (OKOBANK Group) -->
    <!--Sample XML file generated by XML Spy v4.2 U (http://www.xmlspy.com)-->
    <!DOCTYPE Finvoice SYSTEM "Finvoice.dtd">
    <?xml-stylesheet type="text/xsl" href="Finvoice.xsl"?>
    <!--Finvoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\l\finvoice\Finvoice.xsd" Version="1.0"-->
    <Finvoice Version="1.0">
         <SellerPartyDetails>
              <SellerPartyIdentifier>0123456-7</SellerPartyIdentifier>
              <SellerOrganisationName>Pullin Kala Oy</SellerOrganisationName>
              <SellerOrganisationTaxCode>0123456-7</SellerOrganisationTaxCode>
              <SellerPostalAddressDetails>
                   <SellerStreetName>Haapatie 7</SellerStreetName>
                   <SellerTownName>Helsinki</SellerTownName>
                   <SellerPostCodeIdentifier>00100</SellerPostCodeIdentifier>
                   <CountryCode>FI</CountryCode>
                   <CountryName>FINLAND</CountryName>
                   <SellerPostOfficeBoxIdentifier>PL 302</SellerPostOfficeBoxIdentifier>
              </SellerPostalAddressDetails>
         </SellerPartyDetails>
         <SellerContactPersonName>Hanna Paananen</SellerContactPersonName>
         <SellerCommunicationDetails>
              <SellerPhoneNumberIdentifier>050-5432659</SellerPhoneNumberIdentifier>
              <SellerEmailaddressIdentifier>[email protected]</SellerEmailaddressIdentifier>
         </SellerCommunicationDetails>
         <SellerInformationDetails>
              <SellerHomeTownName>Helsinki</SellerHomeTownName>
              <SellerVatRegistrationText>Alv.Rek</SellerVatRegistrationText>
              <SellerVatRegistrationDate Format="CCYYMMDD">19990321</SellerVatRegistrationDate>
              <SellerPhoneNumber>(09) 542 1222</SellerPhoneNumber>
              <SellerFaxNumber>(09) 542 2221</SellerFaxNumber>
              <SellerCommonEmailaddressIdentifier>[email protected]</SellerCommonEmailaddressIdentifier>
              <SellerWebaddressIdentifier>www.pullinkala.fi</SellerWebaddressIdentifier>
              <SellerAccountDetails>
                   <SellerAccountID IdentificationSchemeName="IBAN">FI1234567890123456</SellerAccountID>
                   <SellerBic IdentificationSchemeName="BIC">OKOYFIHH</SellerBic>
              </SellerAccountDetails>
              <SellerAccountDetails>
                   <SellerAccountID IdentificationSchemeName="IBAN">FI1234567890123456</SellerAccountID>
                   <SellerBic IdentificationSchemeName="BIC">NDEAFIHH</SellerBic>
              </SellerAccountDetails>
         </SellerInformationDetails>
         <BuyerPartyDetails>
              <BuyerPartyIdentifier>CL12221</BuyerPartyIdentifier>
              <BuyerOrganisationName>Kalakauppa Vilkkunen</BuyerOrganisationName>
              <BuyerPostalAddressDetails>
                   <BuyerStreetName>Haapatie 1</BuyerStreetName>
                   <BuyerTownName>Helsinki</BuyerTownName>
                   <BuyerPostCodeIdentifier>00211</BuyerPostCodeIdentifier>
                   <CountryCode/>
                   <CountryName/>
                   <BuyerPostOfficeBoxIdentifier/>
              </BuyerPostalAddressDetails>
         </BuyerPartyDetails>
         <BuyerContactPersonName>Maija Vikkunen</BuyerContactPersonName>
         <BuyerCommunicationDetails>
              <BuyerPhoneNumberIdentifier>(09)221222</BuyerPhoneNumberIdentifier>
              <BuyerEmailaddressIdentifier>[email protected]</BuyerEmailaddressIdentifier>
         </BuyerCommunicationDetails>
         <InvoiceDetails>
              <InvoiceTypeCode>INV01</InvoiceTypeCode>
              <InvoiceTypeText>LASKU</InvoiceTypeText>
              <OriginCode>Origin</OriginCode>
              <InvoiceNumber>1/2002</InvoiceNumber>
              <InvoiceDate Format="CCYYMMDD">20020612</InvoiceDate>
              <SellerReferenceIdentifier>212</SellerReferenceIdentifier>
              <OrderIdentifier>TI0988</OrderIdentifier>
              <InvoiceTotalVatExcludedAmount AmountCurrencyIdentifier="EUR">100,00</InvoiceTotalVatExcludedAmount>
              <InvoiceTotalVatAmount AmountCurrencyIdentifier="EUR">22,00</InvoiceTotalVatAmount>
              <InvoiceTotalVatIncludedAmount AmountCurrencyIdentifier="EUR">122,00</InvoiceTotalVatIncludedAmount>
              <ShortProposedAccountIdentifier>9922</ShortProposedAccountIdentifier>
              <NormalProposedAccountIdentifier>8822</NormalProposedAccountIdentifier>
              <AccountDimensionText>4500</AccountDimensionText>
              <VatSpecificationDetails>
                   <VatBaseAmount AmountCurrencyIdentifier="EUR">100,00</VatBaseAmount>
                   <VatRatePercent>22</VatRatePercent>
                   <VatRateAmount AmountCurrencyIdentifier="EUR">22,00</VatRateAmount>
              </VatSpecificationDetails>
              <PaymentTermsDetails>
                   <PaymentTermsFreeText>14 p�iv�� netto</PaymentTermsFreeText>
                   <PaymentOverDueFineDetails>
                        <PaymentOverDueFineFreeText>Yliaikakorko 16%</PaymentOverDueFineFreeText>
                        <PaymentOverDueFinePercent>16</PaymentOverDueFinePercent>
                   </PaymentOverDueFineDetails>
              </PaymentTermsDetails>
         </InvoiceDetails>
         <PaymentStatusDetails>
              <PaymentStatusCode>NOTPAID</PaymentStatusCode>
         </PaymentStatusDetails>
         <VirtualBankBarcode>250003210002229000122000000000000000862074102062800009</VirtualBankBarcode>
         <InvoiceRow>
              <ArticleIdentifier>123213123332123</ArticleIdentifier>
              <ArticleName>TUURA</ArticleName>
              <BuyerArticleIdentifier>1232321232332</BuyerArticleIdentifier>
              <DeliveredQuantity QuantityUnitCode="Kpl">10</DeliveredQuantity>
              <OrderedQuantity QuantityUnitCode="Kpl">10</OrderedQuantity>
              <UnitPriceAmount AmountCurrencyIdentifier="EUR" UnitPriceUnitCode="e/kpl">5,00</UnitPriceAmount>
              <RowIdentifier>221</RowIdentifier>
              <RowIdentifierDate Format="CCYYMMDD">20020611</RowIdentifierDate>
              <RowDeliveryDate Format="CCYYMMDD">20020615</RowDeliveryDate>
              <RowShortProposedAccountIdentifier>9922</RowShortProposedAccountIdentifier>
              <RowNormalProposedAccountIdentifier>8822</RowNormalProposedAccountIdentifier>
              <RowAccountDimensionText>4500</RowAccountDimensionText>
              <RowFreeText>Tuurat myyd��n varsien kanssa.</RowFreeText>
              <RowDiscountPercent>0</RowDiscountPercent>
              <RowVatRatePercent>22</RowVatRatePercent>
              <RowVatAmount AmountCurrencyIdentifier="EUR">11,00</RowVatAmount>
              <RowVatExcludedAmount AmountCurrencyIdentifier="EUR">50,00</RowVatExcludedAmount>
              <RowAmount AmountCurrencyIdentifier="EUR">61,00</RowAmount>
         </InvoiceRow>
         <InvoiceRow>
              <ArticleIdentifier>123213123332123</ArticleIdentifier>
              <ArticleName>HUOLLON VUOSIMAKSU</ArticleName>
              <StartDate Format="CCYYMMDDHHMMSS">20020611000000</StartDate>
              <EndDate Format="CCYYMMDDHHMMSS">2003062011000000</EndDate>
              <RowShortProposedAccountIdentifier>9923</RowShortProposedAccountIdentifier>
              <RowNormalProposedAccountIdentifier>8823</RowNormalProposedAccountIdentifier>
              <RowAccountDimensionText>4500</RowAccountDimensionText>
              <RowVatRatePercent>22</RowVatRatePercent>
              <RowVatAmount AmountCurrencyIdentifier="EUR">11,00</RowVatAmount>
              <RowVatExcludedAmount AmountCurrencyIdentifier="EUR">50,00</RowVatExcludedAmount>
              <RowAmount AmountCurrencyIdentifier="EUR">61,00</RowAmount>
         </InvoiceRow>
         <EpiDetails>
              <EpiIdentificationDetails>
                   <EpiDate Format="CCYYMMDD">20020612</EpiDate>
                   <EpiReference>1</EpiReference>
              </EpiIdentificationDetails>
              <EpiPartyDetails>
                   <EpiBfiPartyDetails>
                        <EpiBfiIdentifier IdentificationSchemeName="BIC">OKOYFIHH</EpiBfiIdentifier>
                   </EpiBfiPartyDetails>
                   <EpiBeneficiaryPartyDetails>
                        <EpiNameAddressDetails>Pullin Kala</EpiNameAddressDetails>
                        <EpiAccountID IdentificationSchemeName="IBAN">FI1234567890123456</EpiAccountID>
                   </EpiBeneficiaryPartyDetails>
              </EpiPartyDetails>
              <EpiPaymentInstructionDetails>
                   <EpiRemittanceInfoIdentifier>8620741</EpiRemittanceInfoIdentifier>
                   <EpiInstructedAmount AmountCurrencyIdentifier="EUR">122,00</EpiInstructedAmount>
                   <EpiCharge ChargeOption="SHA">SHA</EpiCharge>
                   <EpiDateOptionDate Format="CCYYMMDD">20020628</EpiDateOptionDate>
              </EpiPaymentInstructionDetails>
         </EpiDetails>
    </Finvoice>

  • SOAP and java problem....create SOAPMessage from file

    Hi,
    I've got a problem related to usage of SOAP in Java. I receive a file containing SOAP message with XML attachment. I store it on hard disk.
    Then I create a SOAP message as it is shown in source code below.
    When I try to get the attachment, the method doesn't return anything.
    If I pass to method createMessage value null instead of new MimeHeaders(), the result is the same.
    What can be the problem? How to solve it? Any idea?
    Looking forward any support.
    BR,
    rafikoko
    MessageFactory factory = MessageFactory.newInstance();
    SOAPMessage message = factory.createMessage(new MimeHeaders(), new FileInputStream(xmlFile));
    Iterator attachments = message.getAttachments();
    log4j.error("TEST:before while:"+message.countAttachments());
    while(attachments.hasNext()){
    log4j.error("TEST:while");
    Object finvoice = attachments.next();
    log4j.error("TEST:Finvoice:"+finvoice);
    }

    I attach also a SOAP message. Perhaps it will help you.
    <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd">
    <SOAP-ENV:Header>
    <eb:MessageHeader xmlns:eb="http://www.oasis-open.org/committees/ebxml-msg/schema/msg-header-2_0.xsd"
    SOAP-ENV:mustUnderstand="1" eb:id="20030222133003285">
        <eb:From>
           <eb:PartyId>FI9859292720000267</eb:PartyId>
           <eb:Role>Sender</eb:Role>
        </eb:From>
        <eb:From>
           <eb:PartyId>OKOYFIHH</eb:PartyId>
           <eb:Role>Intermediator</eb:Role>
        </eb:From>
        <eb:To>
           <eb:PartyId>FI3329501800008512</eb:PartyId>
           <eb:Role>Receiver</eb:Role>
        </eb:To>
        <eb:To>
           <eb:PartyId>NDEAFIHH</eb:PartyId>
           <eb:Role>Intermediator</eb:Role>
        </eb:To>
    <eb:CPAId>yoursandmycpa</eb:CPAId>
    <eb:ConversationId>nnnnn</eb:ConversationId>
    <eb:Service>Routing</eb:Service>
    <eb:Action>ProcessInvoice</eb:Action>
    <eb:MessageData>
         <eb:MessageId>1</eb:MessageId>
         <eb:Timestamp>2003-01-22T11:12:12+02</eb:Timestamp>
         <eb:RefToMessageId/>
    </eb:MessageData>
    </eb:MessageHeader>
    </SOAP-ENV:Header>
    <SOAP-ENV:Body>
    <eb:Manifest eb:id="Manifest" eb:version="2.0">
    <eb:Reference eb:id="Finvoice" xlink:href="20020209-133003">
    <eb:schema eb:location="http://www.pankkiyhdistys.fi/verkkolasku/finvoice/finvoice.xsd" eb:version="2.0"/>
    </eb:Reference>
    </eb:Manifest>
    </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- edited with XML Spy v4.2 U (http://www.xmlspy.com) by Jussi Paasikallio (OKOBANK Group) -->
    <!--Sample XML file generated by XML Spy v4.2 U (http://www.xmlspy.com)-->
    <!DOCTYPE Finvoice SYSTEM "Finvoice.dtd">
    <?xml-stylesheet type="text/xsl" href="Finvoice.xsl"?>
    <!--Finvoice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="C:\l\finvoice\Finvoice.xsd" Version="1.0"-->
    <Finvoice Version="1.0">
         <SellerPartyDetails>
              <SellerPartyIdentifier>0123456-7</SellerPartyIdentifier>
              <SellerOrganisationName>Pullin Kala Oy</SellerOrganisationName>
              <SellerOrganisationTaxCode>0123456-7</SellerOrganisationTaxCode>
              <SellerPostalAddressDetails>
                   <SellerStreetName>Haapatie 7</SellerStreetName>
                   <SellerTownName>Helsinki</SellerTownName>
                   <SellerPostCodeIdentifier>00100</SellerPostCodeIdentifier>
                   <CountryCode>FI</CountryCode>
                   <CountryName>FINLAND</CountryName>
                   <SellerPostOfficeBoxIdentifier>PL 302</SellerPostOfficeBoxIdentifier>
              </SellerPostalAddressDetails>
         </SellerPartyDetails>
         <SellerContactPersonName>Hanna Paananen</SellerContactPersonName>
         <SellerCommunicationDetails>
              <SellerPhoneNumberIdentifier>050-5432659</SellerPhoneNumberIdentifier>
              <SellerEmailaddressIdentifier>[email protected]</SellerEmailaddressIdentifier>
         </SellerCommunicationDetails>
         <SellerInformationDetails>
              <SellerHomeTownName>Helsinki</SellerHomeTownName>
              <SellerVatRegistrationText>Alv.Rek</SellerVatRegistrationText>
              <SellerVatRegistrationDate Format="CCYYMMDD">19990321</SellerVatRegistrationDate>
              <SellerPhoneNumber>(09) 542 1222</SellerPhoneNumber>
              <SellerFaxNumber>(09) 542 2221</SellerFaxNumber>
              <SellerCommonEmailaddressIdentifier>[email protected]</SellerCommonEmailaddressIdentifier>
              <SellerWebaddressIdentifier>www.pullinkala.fi</SellerWebaddressIdentifier>
              <SellerAccountDetails>
                   <SellerAccountID IdentificationSchemeName="IBAN">FI1234567890123456</SellerAccountID>
                   <SellerBic IdentificationSchemeName="BIC">OKOYFIHH</SellerBic>
              </SellerAccountDetails>
              <SellerAccountDetails>
                   <SellerAccountID IdentificationSchemeName="IBAN">FI1234567890123456</SellerAccountID>
                   <SellerBic IdentificationSchemeName="BIC">NDEAFIHH</SellerBic>
              </SellerAccountDetails>
         </SellerInformationDetails>
         <BuyerPartyDetails>
              <BuyerPartyIdentifier>CL12221</BuyerPartyIdentifier>
              <BuyerOrganisationName>Kalakauppa Vilkkunen</BuyerOrganisationName>
              <BuyerPostalAddressDetails>
                   <BuyerStreetName>Haapatie 1</BuyerStreetName>
                   <BuyerTownName>Helsinki</BuyerTownName>
                   <BuyerPostCodeIdentifier>00211</BuyerPostCodeIdentifier>
                   <CountryCode/>
                   <CountryName/>
                   <BuyerPostOfficeBoxIdentifier/>
              </BuyerPostalAddressDetails>
         </BuyerPartyDetails>
         <BuyerContactPersonName>Maija Vikkunen</BuyerContactPersonName>
         <BuyerCommunicationDetails>
              <BuyerPhoneNumberIdentifier>(09)221222</BuyerPhoneNumberIdentifier>
              <BuyerEmailaddressIdentifier>[email protected]</BuyerEmailaddressIdentifier>
         </BuyerCommunicationDetails>
         <InvoiceDetails>
              <InvoiceTypeCode>INV01</InvoiceTypeCode>
              <InvoiceTypeText>LASKU</InvoiceTypeText>
              <OriginCode>Origin</OriginCode>
              <InvoiceNumber>1/2002</InvoiceNumber>
              <InvoiceDate Format="CCYYMMDD">20020612</InvoiceDate>
              <SellerReferenceIdentifier>212</SellerReferenceIdentifier>
              <OrderIdentifier>TI0988</OrderIdentifier>
              <InvoiceTotalVatExcludedAmount AmountCurrencyIdentifier="EUR">100,00</InvoiceTotalVatExcludedAmount>
              <InvoiceTotalVatAmount AmountCurrencyIdentifier="EUR">22,00</InvoiceTotalVatAmount>
              <InvoiceTotalVatIncludedAmount AmountCurrencyIdentifier="EUR">122,00</InvoiceTotalVatIncludedAmount>
              <ShortProposedAccountIdentifier>9922</ShortProposedAccountIdentifier>
              <NormalProposedAccountIdentifier>8822</NormalProposedAccountIdentifier>
              <AccountDimensionText>4500</AccountDimensionText>
              <VatSpecificationDetails>
                   <VatBaseAmount AmountCurrencyIdentifier="EUR">100,00</VatBaseAmount>
                   <VatRatePercent>22</VatRatePercent>
                   <VatRateAmount AmountCurrencyIdentifier="EUR">22,00</VatRateAmount>
              </VatSpecificationDetails>
              <PaymentTermsDetails>
                   <PaymentTermsFreeText>14 p�iv�� netto</PaymentTermsFreeText>
                   <PaymentOverDueFineDetails>
                        <PaymentOverDueFineFreeText>Yliaikakorko 16%</PaymentOverDueFineFreeText>
                        <PaymentOverDueFinePercent>16</PaymentOverDueFinePercent>
                   </PaymentOverDueFineDetails>
              </PaymentTermsDetails>
         </InvoiceDetails>
         <PaymentStatusDetails>
              <PaymentStatusCode>NOTPAID</PaymentStatusCode>
         </PaymentStatusDetails>
         <VirtualBankBarcode>250003210002229000122000000000000000862074102062800009</VirtualBankBarcode>
         <InvoiceRow>
              <ArticleIdentifier>123213123332123</ArticleIdentifier>
              <ArticleName>TUURA</ArticleName>
              <BuyerArticleIdentifier>1232321232332</BuyerArticleIdentifier>
              <DeliveredQuantity QuantityUnitCode="Kpl">10</DeliveredQuantity>
              <OrderedQuantity QuantityUnitCode="Kpl">10</OrderedQuantity>
              <UnitPriceAmount AmountCurrencyIdentifier="EUR" UnitPriceUnitCode="e/kpl">5,00</UnitPriceAmount>
              <RowIdentifier>221</RowIdentifier>
              <RowIdentifierDate Format="CCYYMMDD">20020611</RowIdentifierDate>
              <RowDeliveryDate Format="CCYYMMDD">20020615</RowDeliveryDate>
              <RowShortProposedAccountIdentifier>9922</RowShortProposedAccountIdentifier>
              <RowNormalProposedAccountIdentifier>8822</RowNormalProposedAccountIdentifier>
              <RowAccountDimensionText>4500</RowAccountDimensionText>
              <RowFreeText>Tuurat myyd��n varsien kanssa.</RowFreeText>
              <RowDiscountPercent>0</RowDiscountPercent>
              <RowVatRatePercent>22</RowVatRatePercent>
              <RowVatAmount AmountCurrencyIdentifier="EUR">11,00</RowVatAmount>
              <RowVatExcludedAmount AmountCurrencyIdentifier="EUR">50,00</RowVatExcludedAmount>
              <RowAmount AmountCurrencyIdentifier="EUR">61,00</RowAmount>
         </InvoiceRow>
         <InvoiceRow>
              <ArticleIdentifier>123213123332123</ArticleIdentifier>
              <ArticleName>HUOLLON VUOSIMAKSU</ArticleName>
              <StartDate Format="CCYYMMDDHHMMSS">20020611000000</StartDate>
              <EndDate Format="CCYYMMDDHHMMSS">2003062011000000</EndDate>
              <RowShortProposedAccountIdentifier>9923</RowShortProposedAccountIdentifier>
              <RowNormalProposedAccountIdentifier>8823</RowNormalProposedAccountIdentifier>
              <RowAccountDimensionText>4500</RowAccountDimensionText>
              <RowVatRatePercent>22</RowVatRatePercent>
              <RowVatAmount AmountCurrencyIdentifier="EUR">11,00</RowVatAmount>
              <RowVatExcludedAmount AmountCurrencyIdentifier="EUR">50,00</RowVatExcludedAmount>
              <RowAmount AmountCurrencyIdentifier="EUR">61,00</RowAmount>
         </InvoiceRow>
         <EpiDetails>
              <EpiIdentificationDetails>
                   <EpiDate Format="CCYYMMDD">20020612</EpiDate>
                   <EpiReference>1</EpiReference>
              </EpiIdentificationDetails>
              <EpiPartyDetails>
                   <EpiBfiPartyDetails>
                        <EpiBfiIdentifier IdentificationSchemeName="BIC">OKOYFIHH</EpiBfiIdentifier>
                   </EpiBfiPartyDetails>
                   <EpiBeneficiaryPartyDetails>
                        <EpiNameAddressDetails>Pullin Kala</EpiNameAddressDetails>
                        <EpiAccountID IdentificationSchemeName="IBAN">FI1234567890123456</EpiAccountID>
                   </EpiBeneficiaryPartyDetails>
              </EpiPartyDetails>
              <EpiPaymentInstructionDetails>
                   <EpiRemittanceInfoIdentifier>8620741</EpiRemittanceInfoIdentifier>
                   <EpiInstructedAmount AmountCurrencyIdentifier="EUR">122,00</EpiInstructedAmount>
                   <EpiCharge ChargeOption="SHA">SHA</EpiCharge>
                   <EpiDateOptionDate Format="CCYYMMDD">20020628</EpiDateOptionDate>
              </EpiPaymentInstructionDetails>
         </EpiDetails>
    </Finvoice>

  • Problem on how to create a .h file in a java package !!

    Hello,
    Please help me!! I have a problem generating a header file inside a java package. As I do not think eclipse IDE can do that, I then have to use the command as following in the command prompt instead.
    D:\myJava\workspace\myJNI\bin>javah sysHookJNI/PollThread
    javadoc: error -Illegal package name "sysHookJNI/PollThread"
    sysHookJNI is my package name and PollThread is my class name. I think it should works because I compiled it with similar format as>java sysHookJNI/PollThread.java and it outputs the PollThread.class, but in fact it doesnot !>_<.
    Can anyone suggest me what I should do?
    Big thanks in advance,
    Neth

    Thank you so much !!
    But after I got that point my old problem is still not solved with that. After my sysHookJNI.PollThread.h is generated, I compiled everything over and then run Test by
    : java Test and the Exceptions are occurred as:
    Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: sysHookJNI.PollThread.checkKeyboardChanges()V     at sysHookJNI.PollThread.checkKeyboardChanges(Native Method)
         at sysHookJNI.PollThread.run(PollThread.java:21)
    And this is my PollThread.java (actually I took it from Jacob )
    //PollThread.java
    package sysHookJNI;
    import java.io.*;
    public class PollThread extends Thread
         public native void checkKeyboardChanges();
         private KeyboardHook kbh;
         public PollThread( KeyboardHook kh )
              kbh = kh;
              System.loadLibrary("syshook");
         public void run()
              for(;;)
                   checkKeyboardChanges();
                   yield();
         void Callback( boolean ts, int vk, boolean ap, boolean ek )
              KeyboardEvent event = new KeyboardEvent( this, ts, vk, ap, ek );
              if( ts )
                   kbh.keyPressed( event );
              else
                   kbh.keyReleased( event );
    }Anyone has any suggestion about this problem? I really have no clue about it!! it keeps complains the same things no matter I regenerated header file or not.. T_T
    Btw, shall I make a new post about this problem?
    Thanks for your time,
    Edited by: Nethie on Nov 1, 2009 2:37 PM

  • Problem while uploading master data through two files

    Hi all,
    When i try to upload master data of CUSTOMER with two files , Attribute and Text.
    Text gets uploaded perfectly.
    for Attribute, the data upload is done and psa i can see the exact data. But when i check the CUSTOMER object, i am not able to find the actually Attributs data. Instead those colmns are filed with 'E'.
    Can anybdy please explain me wheret the problem is.
    Thanks..

    Hi Sun,
    First check the data in PSA whether the records are fine or any discrepancy in them. Also check the properties of the COSTUMER object into which you are loading. The properties "type" or the "size" of the object may not be matching with the same in the file.
    Check them and try to load once again.
    Hope this helps u...
    Regards,
    Koundinya Karanam.
    Edited by: koundinya karanam on Jan 15, 2008 12:05 AM

  • Email PDF file - create temp PDF  file not  where Report Run

    I mail a report from Reports 6 automatically every morning using Rwrub60 and desname [email protected] in a batch file. The problem is that you need to have write access to the directory that contains the batch file or else you get a cannot create output file error. When I copy the batch file to another directory where write access is available, no problem but the batch file must be in the original directory.
    I am trying to pass this onto someone elese who doesnt have the rights I have.
    Any thoughts?

    Thanks,
    Ive set this, although the temporary files that Reports usese are going there, the temp PDF isnt!!

  • Problem in Controlling Area created with 3 characters long

    Hi:
    I have a "small" problem, perhaps you could help me.
    We have created a new Controlling Area, but it is created only with 3 characters, instead of four. We have been working with no problem until me have to create a Purchase Order with some profiles. They cannot create any PO. If we go to SU53 transaction we got the message in object K_PCA. There is a blank in string Responsibility Area, and the system cannot recognize that. This string concatenate CO Area code (and a blank) and Profit Center, but keeps a blank between them.
    Do you know how to solve it? We cannot delete CO Area because we have many data created in it.
    Thanks in advance.
    Best regards.

    Hi:
    I have to try it, but it does not work. In SU53 I have this message:
    The following authorization object was checked:
    =================
    Objeto K_PCA      EC-PCA: Responsibility Area, Profit Centrer
    Área de responsabilidad CO-OM
               PCGLAB0101         
    Available authorizations for the object in the master record:                                                                               
    Object   K_PCA      EC-PCA: Responsibility Area, Profit Center 
    Área de responsabilidad CO-OM    
              PCGLA B0101
    ============
    There is a blank PCGLA B0101, and not in PCGLAB0101.
    I need to delete it in master record or add it in authorization object.
    Does anybody how I can change it?
    Thanks in advance.
    Regards.

  • New Line in EBCDIC file created by receiver file adapter

    Hi mates,
    I've configured the receiver file adapter to create a file in EBCDIC format by specifyin the File encoding 'Cp037'. When the file is viewed on the AS400 system using the command DSPPFM, it appears as a continuous text instead of line-by-line. I've tried specifying 0x0D(CR), 0x0A(LF), 'nl' as the endSeparator for the record type in content conversion, but no luck. Still the file looks like a continuous text.
    I learnt from the following links that the New Line character (NL or NEL) in AS400 is Unicode '0x85'.
    <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4867251">OutputStreamWriter/InputSreamReader convert NEL to linefeed with Cp037 encoding</a>
    <a href="http://search.cpan.org/~guido/libintl-perl-1.16/lib/Locale/RecodeData/IBM037.pm#CHARACTER_TABLE">CHARACTER TABLE</a>
    But when I specify this '0x85' as the endSeparator, I get the error below as 0x85 (decimal equivalent 133) is not part of the standard ascii code i.e. basic 127 codes
    <i>Conversion initialization failed: java.lang.Exception: java.lang.NumberFormatException: Value out of range. Value:"85" Radix:16</i>
    Is there any way I can produce the EBCDIC file with new line as end separator for records?
    I appreciate your inputs.
    thx in adv
    praveen

    Instead of using binary mode for FTP and specifying encoding, endSeparator, I used the text mode and left the translation to the FTP server on AS400 system.
    Desirably, it generated the file with right encoding and new line characters.
    praveen

  • Can't Find Hidden Files Created by .rar file

    I downloaded a .rar file that when I expanded the file using Stuffit, it asked me where I want to save them, and I told it, and it expanded 13 files, but I can't seem to find the folder that Stuffit would have created, not the 13 files. I've tried the show hidden files command "defaults write com.apple.Finder AppleShowAllFiles YES" but that didn't seem to help... Anyone know how I might access these?

    found shareware program that was able to extract files correctly called UnRarX

Maybe you are looking for