How to trap Cleared document from the Flat file

Hi All,
In the BDC In flat file, I am getting boths Document No ( Cleared & Non Cleared).
While Uploading I need to check the Document No , which is clered is filtered & Only Those Document No which is not cleared is posted in the Transaction - F-53.
I need to captured those Cleared Document No and  should appeared  as in the list.
Pls suggest me the logic . there is no FI consultant
Thanks in Advance

Hi Uri Dimant,
I tried to load data from text file to SQL table but i am getting belows errors.
Also format of data is
col1,col2,col3,col4
AB,2,3,4
CD,3,45,
C,3
Errors -
[OLE DB Destination [31]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 11.0" 
Hresult: 0x80004005  Description: "Invalid character value for cast specification".
OLE DB Destination [31]] Error: There was an error with OLE DB
Destination.Inputs[OLE DB Destination Input]
.Columns[net_revenue]onOLEDBDestination.Inputs[OLE
DB Destination Input].
Thecolumnstatusreturnedwas:"The
value could not be converted because of a potential loss of data.".
[OLE DB Destination [31]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. 
The "OLE DB Destination.Inputs[OLE DB Destination Input]" failed because error code 0xC0209077 occurred,
and the error row disposition on "OLE
DBDestination.Inputs[OLE
DB Destination Input]" specifies failure on error.
An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.
[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. 
The ProcessInput method on component "OLE
DBDestination"
(31) failed with error code 0xC0209029 while processing input "OLEDBDestinationInput"
(44).
The identified component returned an error from the ProcessInput method.
The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running.
There may be error messages posted before this with more information about the failure.
Amit
Please mark as answer if helpful
http://fascinatingsql.wordpress.com/

Similar Messages

  • How do I save documents from the new Pages into a Word Document

    How do I save documents from the new Pages into a Word Document?

    Thank you so much - so simple!  I had been using the 'share' option (worked in old Pages) and only had icloud or email as options.  I have to attach word documents to emails to send to work. I don't want to use icloud because it's too public and I don't trust it.  Also, you have to be able to access the internet and I need word documents on my USB stick for work where there's no internet.
    I love my Mac but I do wish Apple would remember those of us living in less-than-perfect computer-land.
    Thanks again
    Lindsay

  • How do i transfer documents from the cloud to the iPad for off line reading.?.

    How can I transfer documents from the cloud to my iPad for off line reading.?

    If you're using the mobile reader, you can use the technique mentioned in this infographic titled How to work with files on the go using Adobe Reader for mobile. Or, now you can access Acrobat.com from the iPad just using a browser as mentioned in this blog Acrobat.com on iOS is a beautiful thing.

  • Error while loading  data into External table from the flat files

    HI ,
    We have a data load in our project which feeds the oracle external tables with the data from the Flat Files(.bcp files) in unix.
    While loading the data, we are encountering the following error.
    Error occured (Error Code : -29913 and Error Message : ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: un) while loading data into table_ext
    Please let us know what needs to be done in this case to solve this problem.
    Thanks,
    Kartheek

    Kartheek,
    I used Google (mine still works).... please check those links:
    http://oraclequirks.blogspot.com/2008/07/ora-29400-data-cartridge-error.html
    http://jonathanlewis.wordpress.com/2011/02/15/ora-29913/
    HTH,
    Thierry

  • How can I print stuff from the 'Help' file using my MacBook Air?

    How can I print stuff from the 'Help' file using my MacBook Air?

    Open the Help viewer, select a category then from the menu bar top of your screen, click File > Print

  • BAPI_PO_CREATE1 not able to create PO's for multiple rows from the flat fil

    Hi
    i am uploading PO's from a flat file into SAP using the BAPI_PO_CREATE1. Everything works fine if the flat file hast only one record.
    if the flat file has more than one record then while loading the second record the BAPI returns a error message. I am calling the BAPI in a loop.
    The strange thing is that if i load the second record individually the program is able to create the PO. So only when i have multiple records in the flat file i am unable to load the PO into SAP. I debugged and checked all the internal tables passed to the BAPI. All seems to have the data correctly but still the BAPI fails.
    any idea where i am going wrong?
    the code looks something like this.
    LOOP AT HEADER_ITAB.
       PERFORM FILL_HEADER_RECORDS.
    LOOP AT ITEM_ITAB WHERE EBELN eq HEADER_ITAB-EBELN.
         PERFORM FILL_ITEM_RECORDS.
    ENDLOOP.
      PERFORM CERATE_PO_VIA_BAPI.
    ENDLOOP.

    What is the error message. Are you trying something like this:
        LOOP AT T_DATA1.
          AT NEW LIFNR.
            READ TABLE T_DATA1 INDEX SY-TABIX.
            PERFORM INIT_TABLES.
            PERFORM FILL_DATA.
    --Call the BAPI to create PO
            PERFORM CREATE_PO.
          ENDAT.
        ENDLOOP.
    FORM CREATE_PO .
      CALL FUNCTION 'BAPI_PO_CREATE1'
        EXPORTING
          POHEADER                     =   POHEADER
          POHEADERX                    =   POHEADERX
        POADDRVENDOR                 =
        TESTRUN                      =
        MEMORY_UNCOMPLETE            =
        MEMORY_COMPLETE              =
        POEXPIMPHEADER               =
        POEXPIMPHEADERX              =
        VERSIONS                     =
        NO_MESSAGING                 =
        NO_MESSAGE_REQ               =
        NO_AUTHORITY                 =
        NO_PRICE_FROM_PO             =
       IMPORTING
         EXPPURCHASEORDER             =  EXPPURCHASEORDER
         EXPHEADER                    =  EXPHEADER
         EXPPOEXPIMPHEADER            =  EXPPOEXPIMPHEADER
       TABLES
         RETURN                       =  RETURN
         POITEM                       =  POITEM
         POITEMX                      =  POITEMX
        POADDRDELIVERY               =
         POSCHEDULE                   =  POSCHEDULE
         POSCHEDULEX                  =  POSCHEDULEX
         POACCOUNT                    =  POACCOUNT
        POACCOUNTPROFITSEGMENT       =
         POACCOUNTX                   =  POACCOUNTX
        POCONDHEADER                 =
        POCONDHEADERX                =
         POCOND                       =  POCOND
         POCONDX                      =  POCONDX
        POLIMITS                     =
        POCONTRACTLIMITS             =
        POSERVICES                   =
        POSRVACCESSVALUES            =
        POSERVICESTEXT               =
        EXTENSIONIN                  =
        EXTENSIONOUT                 =
        POEXPIMPITEM                 =
        POEXPIMPITEMX                =
        POTEXTHEADER                 =
          POTEXTITEM                   = POTEXTITEM
        ALLVERSIONS                  =
         POPARTNER                    =  POPARTNER
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT   = 'X'
        IMPORTING
          RETURN = RETURN1.
      DATA: L_NAME TYPE LFA1-NAME1.
      CLEAR L_NAME.
      SELECT SINGLE NAME1
               FROM  LFA1
               INTO L_NAME
               WHERE LIFNR = POHEADER-VENDOR.
      LOOP AT RETURN.
        WRITE : / RETURN-TYPE,
                  RETURN-ID,
                  RETURN-MESSAGE.
        WRITE : '--> For vendor:',
                 POHEADER-VENDOR,
                 L_NAME.
      ENDLOOP.
    ENDFORM.                    " CREATE_PO

  • Need to create sale order from the flat file & mail has to be sent

    Hi Experts,
              I have a requirement to create a sale order from a flat file and once the oder is created, mail has to be sent to customer as well as to internal user with the order details. I want to know how this process can be implemented and what adapters are needed to execute this.
    it would be very helpful, if i get an step-by-step procedure.
    Points assured for any helpful answers.
    Thanks in Advance
    Jai

    HI Jai,
    You need to create two interfaces as file will be sending the Sales oreder details that you need to capture in IDOC or RFC and then have to trigger to create the sales order. For this Standard BAPIs are also available.
    These RFC or BAPIs will response with Sales order details that you need to divert to Mail adapter with the use of BPM and also have to go for Async to Sync bridge.
    File -
    >XI (BPM) ---> BAPI/RFC  (Request)
    MailAdapter <- XI (BPM) <--- BAPI/RFC (Response)
    For this refer below links for step by step
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    If you will use IDOC then In IDOC inbound processing you need to trigger for Sales order creation and then have to send the Sales Order generated IDOC as an Outbound to Mail Adapter
    Flat file -
    > XI ---> IDOC
    IDOC -
    > XI ---> Mail
    This will be bit easy scenario to develope as compare to using BAPI with BPM
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
    configuring IDOC-XI-Mail scenario using following web-log:
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address
    /people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
    Thanks
    Swarup

  • Process chains from the flat file by using filezilla client version in  BI

    Hi experts,
    please let me know how to create the process chains from  flat file by using filezilla client version.
    so far, I didn't work with file zilla FTP. can anybody give detailed step by step procedure to find the flat files and download them and creating process chains from that flat file.
    Thanks & Regards,
    Babu..

    Hi,
    Check these:----
    Process chain configuration for Flat file loading
    http://wiki.sdn.sap.com/wiki/display/BI/Howtowriteroutinetofetchcurrentday%27sfilename
    Regards,
    Suman

  • How to remove html tags from the pdf file ?

    Hello,
    Using BI publisher we are generating a pdf file. In the table, we have data which contains html tags. for example " test1<br> 2.test2<br> 3.test3<br> ".
    In the pdf file we need to get the output like this
    test1
    test2
    test3
    But the output is as follows :"test1<br> 2.test<br> 3.test3<br> "
    Any idea, how these html tags can be removed from the pdf file and obtain the required result?
    Thanks in advance!!
    Archana

    Archana,
    Can you wrap your code in <code> tags (use square brackets rather than angled ones), as the forum software is interpretting the HTML tags, in other words we can't see what you mean ;)
    In any case, there are a few different options (guessing at what your problem is, without seeing the actual data), you could use htf.escape_sc or replace, regexp_replace etc to substitute the values before you output them to your PDF.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • How do I remove documents from the pages app window in itunes

    I frequently sync documents between Word on my PC and Pages on my iPad.  When the iPad is connected and iTunes is open and I open the "apps" display, scrolling down to display the shared documents on Pages, every document I have ever synced is listed, although I have deleted them directly from the iPad.  How do I clear this list so only those documents actually on the iPad are shown?  Thank you.

    Just do it

  • How can I delete Documents from the KD?

    The documentation regarding deleting documents is poor! Can someone show me how to do this programmatically? I've been trying something like the following Web Service below:
    <WebMethod(Description:="This function will retrieve delete specified documents by CardID from the Plumtree Knowledge Directory. Excepts Plumtree CardIDs As ArrayList, Returns a Boolean (Success/Failure).")> _
    Public Function PTDocDelete(ByVal PTCardIDs As ArrayList) As Boolean 'Instantiate Plumtree Remote Session Dim IPTRemoteSession As IRemoteSession IPTRemoteSession = RemoteSessionFactory.GetExplicitLoginContext(New System.Uri("http://mymachineName.com/ptapi/QueryInterfaceAPI.asmx"), "Administrator", "")
    'Query the Plumtree Document Manager passing in the Folder ID Dim PTDocumentManager As IDocumentManager = IPTRemoteSession.GetDocumentManager() Dim i As Integer
    Dim arrPTCardIDs As Array arrPTCardIDs = PTCardIDs.ToArray() 'Convert ArrayList to a 1-Dimensional Array
    Try 'Loop throught the CardIDs and Delete them For i = arrPTCardIDs.GetLowerBound(0) To arrPTCardIDs.GetUpperBound(0) PTDocumentManager.RemoveDocuments(arrPTCardIDs(i)) Next Catch pe As PortalException Return False 'Failure! End Try
    Return True 'Success!
    End Function

    You mean the Photo Library? You delete pics that were synced to your phone the same way they got there, through the iTunes sync process. Remove the checks next to the albums/folders that were synced to your phone, hit the apply/sync button & they will be removed from your phone. The only pics that can be deleted directly on your phone are pics in your camera roll.
    If you mean delete the Photo Library itself, you can't delete that. All photos synced to your phone reside in the Photo Library...the various albums/folders merely contain pointers to the actual photos, which are in your Photo Library. They are not duplicates. This is similar to the way that iPhoto on a Mac organizes photos.

  • How to delete a Document from the Wiki?

    This seems like I just must be missing something - but a client asked and I'm stumped. So here I have created a Document on my Wiki server and have not figured out how to delete it bafter trying for way too long - here I am.
    Running Mavericks ---
    https://macmini.macmind-ny.com/wiki/pages/00s9P2C/Test_Page.html
    How do I delete this Page completely?
    Thanks so much...
    Michael

    Yes that is my understanding - though as you can see from the screen shot - there is no option to delete the page from the action gear popup. The real issue is that i have a client that has the issue as well - so it is not specific to this installation.
    Here's today's screen shot of a new page created by myself in My Documents - no delete option. How do I fix this?

  • How do I delete documents from the cloud?

      there are some documents in the cloud that I have created on my PC. I do not want those documents in the cloud. How do I prevent this or delete them? !

    https://cloud.acrobat.com/files 
    never opened on my mobile device
    Adobe Acrobat Pro DC has been attempting to install now on my pc for almost an hour.
    disasterous and catastrophic so far
    bad information

  • How can i duplicate records from a flat file to a cube

    Hi all,
    i got the next problem, i m loading a flat file, fur example:
    Material KF1 KF2
    A 10 12
    B 25 30
    01 02
    I Need duplicate the records for material A and B but with the values of Not assign, in other words the result in the cube would be like this:
    Material KF1 KF2
    A 10 12
    B 25 30
    01 02
    A 01 02
    B 01 02
    How can i do this, i know this must be a rutine, but where in the star? final? expert rutine? and how would be the code to do it, help guys and thanks!

    you can use end routine to accomplish that...
    hope the below code helps...
    DATA : IT_RESULT_PACKAGE LIKE TABLE OF RESULT_PACKAGE.
    DATA : WA_RESULT_PACKAGE LIKE RESULT_PACKAGE.
    SORT RESULT_PACKAGE BY MATERIAL.
    IT_RESULT_PACKAGE[] = RESULT_PACKAGE[].
    LOOP AT RESULT_PACKAGE ASSIGNING <RESULT_FIELDS>.
    READ TABLE RESULT_PACKAGE INTO WA_RESULT_PACKAGE WITH KEY MATERIAL IS INITIAL BINARY SEARCH.
    IF SY-SUBRC = 0.
    WA_RESULT_PACKAGE-MATERIAL = <RESULT_FIELDS>-MATERIAL.
    APPEND WA_RESULT_PACKAGE INTO IT_RESULT_PACKAGE.
    CLEAR WA_RESULT_PACKAGE.
    ENDIF.
    ENDLOOP.
    CLEAR RESULT_PACKAGE[].
    RESULT_PACKAGE[] = IT_RESULT_PACKAGE[].
    this code will be suitable only if the material as unique entry with initial value...
    else you would require to use a loop statement instead of the read statement which has been used...
    rgds, Ghuru

  • How to do import data from the text file into the mathscript window?

    Could anyone tell me how to do import data from text file into mathscript window for labview 8?
    MathScript Window openned, File, Load Data - it has options: custom pattern (*.mlv) or all files. 
    Thanks

    Hi Milan,
    Prior to loading data in Mathscript Window , you have to save the data from the Mathscript window (the default extension of the file is .mlv but you can choose any extension). This means that you cannot load data from a text file  that was not created using the Mathscript window.
    Please let me know if you have any further questions regarding this issue.
    Regards,
    Ankita

Maybe you are looking for

  • Can I use 2 different accounts on the same Iphoto and then share all these pictures to both accounts?

    I have all my family pictures and videos on my macbook pro. Me and my wife have separate apple ids and both of us hold iphones and ipads. I would like to know if it´s possible to have both of our accounts registered on Iphoto so that all we photograp

  • Can iPhoto Videos be backup to iCloud?

    Can iPhoto Videos be backup to iCloud?

  • Firefox not displaying website slider properly but works in other browsers

    I am creating a website and the slider image is showing at the side of the website. I am using firefox 20 . It works fine on other browsers and other peoples firefox but for some reason it is not showing correctly on mine. This is the test website ht

  • Batch Import Error

    Hello We are testing a batch load process. When the load volume is small - 10-100 records the is no issue, but when we increase the load volume to 10,000 we recieve the follow failure. >Unable to synchronize family tree: The MDM server is not running

  • Dbms_database_stats

    Hi Gurus If I execute exec dbms_stats.gather_database_stats, then gather_dictionary_stats will be included ? What those stats include in database_stats? My database version 10.2.0.3 in AIX Regards Jav