(urgent)How to transfer(outbound) the data of invoices  to flat file?

HI All,
i am new to oracle Receivables. i have assigned task like below. How to transfer Oracle Receivables data(open invoices) to flat file(format like Xl Sheet or csv).i mean to say that outbound interface with sample data and code. can some one help me to sort out this issue. pls send me sample code for invoices outbound.
Thanks.
Edited by: user627525 on Feb 18, 2009 9:30 PM

Hi, Here is what you required...Below logic shows how to use utl_file to write a data into file which is store outside of database. Please let me know in case of any additional information is required. Thanks!
V_Extract_Dir:=ltrim(rtrim('/cdunix/erp/'||V_Instance_ID||'/global/acctrecon/wrk'));
V_Rename_Dir:=ltrim(rtrim('/cdunix/erp/'||V_Instance_ID||'/global/acctrecon/snd'));
V_Fname := 'ASSURENET-GL-'||V_SOB_ID||'-'||V_Date||'-'||V_Fnum||'.csv';
FND_FILE.PUT_LINE(FND_FILE.OUTPUT,V_Fname);
V_File:=UTL_FILE.FOPEN( V_Extract_Dir,V_Fname,'w');
FOR C3 IN C2 LOOP -- Header record
UTL_FILE.PUT_LINE(V_File,'"HEADER"'||','||C3.V_Con ||','||C3.V_Total);
END LOOP;
FOR C4 IN C1 LOOP -- Body
UTL_FILE.PUT_LINE(V_File,C4.md);
END LOOP;
FOR C3 IN C2 LOOP -- Footer Record
UTL_FILE.PUT_LINE(V_File,'"FOOTER"'||','||C3.V_Con ||','||C3.V_Total);
END LOOP;
Regards,
Murali

Similar Messages

  • How to transfer all the data from Logic pro to other drive (faster)?

    Hi
    I am trying to upgrade the performance of my Mac and decided to upgrade the RAM and to use a dedicated HardDrive for Logic Pro using firewire (i have a mac mini server...). Think the Processor e fast enough...
    How can i transfer all the information for that drive?
    Can i move the media library from the OS drive to the new drive? or has it to stay were initially instaled?
    I moved to Mac because my Windows "Super 16GB QuadCore PC" was giviing me trouble...in relation to connections, critical errors...
    I am a novice on the Mac "ways"...
    Can someone give me directions?

    Logic doesn't store the majority of its data in designated library places, so you can put your session files and audio files wherever you want. If you move the location of something, say an audio file, and logic doesn't know where to find that asset, then it'll present you with a dialog box which asks you if you can tell it where you moved it to, or if you'd like it to go off and search for files of that name for you. They're all just files on a hard disk. There's only a few things which have to be stored in particular places, such as preferences or sampler instruments. Anything that isn't part of the program, you can store it wherever you want. In a session you can have for example all the live parts on one hard disk, and then all your samples on another hard disk. It's all arbitrary and can be defined by you.
    So yes, you can generally keep your media library wherever you want (as far as Logic is concerned).

  • How do you vary the Date/Time stamp format in File Adapters

    In the receiver channel of the File Adapter where you specify the 'File Name Scheme', you do have the option of specifying a 'File Construction Mode' of 'Add Time Stamp'.  How can you specify a different Date/Time stamp format ( eg MM/DD/YY vs YYYYMMDD vs MMDDYY, etc. ) without changing the Date/Time stamp for the entire SAP system?  Also, can you control where the Date/Time stamp appears in the filename?

    Hi,
    There are many threads discussing the same issue. Go thro the following:
    Dynamic file name (Date) in Receiver File Adapter
    Receiver File Adapter - TimeStamp
    Bhavesh's reply in above thread:
    You can use Adapter Specific Identifiers and then change the file name in the mapping. Append the tiem stamp in the format that you want and so on.
    Just use this code in an UDF,
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String SourceFileName = conf.get(key);
    java.text.SimpleDateFormat dateformat = new java.text.SimpleDateFormat( "yyyyMMdd" );
    dateformat.format( new java.util.Date() );
    String newfilename=SourceFileName+dateformat;
    // change to new file name
    conf.put(key, newfilename);
    return "";
    Regards,
    P.Venkat

  • How do I insert the Date in time into my file?

    VI is Attached?
    Attachments:
    Temperature_Testing_Modified.vi ‏71 KB

    Give the operator a front panel control to enter the Save Interval. Use a shift register on your While loop (initialized to a Double = 0) to hold the Last Time Saved. In your loop, call the Get Date/Time in Seconds function (from the Time & Dialog palette). If the current time - Save Interval > Last Time Saved, save the data and update the Last Time Saved.
    See the attached LabView 6.1 example.
    Attachments:
    Save_at_intervals.vi ‏23 KB

  • Hw can we plot a graph from the data given in a flat file

    i need a program that reads a file with 2 columns:
    - time in minutes for the x axis
    - value (e.g. temperature, heart freq.) for the y axis
    Plot the last m minutes, the y axis shall have a range from min...max.
    Start with parameter values m=5, speed s=1, min=20, max=120.
    After m=5 minutes, the graphical display shall plot the curve of the
    last 5 minutes. In other words, you have to implement a sliding window
    with a 5 minute history
    The speed s is useful for testing, 1=real time, 10=10 times faster.
    To implement the real time behaviour, you have to let the program wait the
    time interval between two values. The time interval is not constant.
    A sample file looks like this (lines 1..3 are always comments):
    -------8<-------cut-here-------8<-------
    Logfile of program temperature_monitor.cpp
    Temp sensor #42, range 30..60 degrees Celsius
    2007-06-21 20:30
    0.017737 45.2
    0.045122 42.7
    0.073591 43.1
    -------8<-------cut-here-------8<-------
    You can download the test data file here:
    http://alf42.dyndns.org/oost/temp_testdata_2007-06-21
    An axample how the output can look like is here:
    http://alf42.dyndns.org/oost/temperature_diagram_example.gif

    hi
    i have tried the code for it and i am getting the
    barcharts but not the graph as the output
    Your code is rubbish. You also did not use code tags. But let's examine the rubbish points shall we?
    import java.awt.*;
    import javax.servlet.*;There is no need for you to import servlet here. Especially as this later appears to be an applet.
    import java.lang.*;Importing java.lang is redundant.
    import java.applet.*;
    public class classfile{This is a poorly named class for several reasons. One it does not follow conventions, class names should begin with a capital letter. Two classfile is just a stupid name.
    Also your class should most likely extend applet if indeed you mean to write an applet. This is probably pointless because you probably don't mean to write an applet, it's just that you have no clue.
    >
    int n=0;
    String lable[];
    int value[];
    blic void init()
    try{
    n= Integer.parseInt(getParameter("column"));n is pointless since everything is hardcoded anyways for four elements
    lable = new String[n] ;
    value=new int[n];
    lable[0]=getParameter("lable11");
    lable[1]=getParameter("lable12");
    lable[2]=getParameter("lable13");
    lable[3]=getParameter("lable14");
    value[0]=Integer.parseInt(getParamater("c1"));
    value[1]=Integer.parseInt(getParamater("c2"));
    value[2]=Integer.parseInt(getParamater("c3"));
    value[3]=Integer.parseInt(getParamater("c4"));
    catch(NullFormatException e )This is garbage.
    System.out.println("Null format Exception");
    public void pain(Graphics g)While I am forced to agree with the sentiment here the correct name for this method is paint.
    for(int i=0;i<n;i++)
    g.steColor(color.red);That is garbage for a variety of reasons.
    g.drawString(lable, 20, i*50+30);
    g.fillRect(50, i*50+20, value[i], 40);
    So try again. Maybe learn some Java first? Just a suggestion.

  • HOW DO I TRANSFER ALL THE DATA ON MY OLD IPAD TO MY NEW IPAD

    I HAVE PURCHASED A IPAD4 AND WANT TO TRANSFER ALL THE DATA ON MY OLD IPAD OVER TO MY NEW IPAD.
    HOW DO I DO THIS ?
    I ALSO NEED TO GIVE THE OLD IPAD TO MY NEPHEW TO USE AND WOULD LIKE IT REDY FOR HIM TO START WITH A BLANK IPD FOR HIS USE.

    http://ipad.about.com/od/iPad_Guide/ss/How-To-Wipe-Your-iPad-And-Erase-Data.htm
    How to Transfer Everything from an Old iPad to New iPad
    http://osxdaily.com/2012/03/16/transfer-old-ipad-to-new-ipad/
     Cheers, Tom

  • How do i save the data in table ??? URGENT

    how do i save the data in table ???  URGENT
    Hope can attach some example VI for reference =]
    Attachments:
    data in table.JPG ‏271 KB
    block diagram.JPG ‏459 KB

    You didn't mention which version of LabVIEW you are using. I adapted your method in this example. Not sure this is an efficient method. I just pass the 2d array through in the false case.
    Using LabVIEW 2010SP1 and TestStand 4.5
    Attachments:
    WriteTable.PNG ‏35 KB

  • How can we acess the data of one component into othr compnent in webdynpro?

    How can we acess the data of one component into other component in webdynpro....
    I need an Field input from one webdynpro component(comp1) which is away from the line of process to the other component(comp2) we need that data........I mean i need the field info of comp1 where we doesn't navigate through the Comp1 in the portal & directly access the component comp2.........kindly share your ideas.....and possible ways .........
    any doughts do post.....
    thanks in advance!

    Hi Reddy,
    You can do it in multiple ways. One way would be to try transfer the parameters through URL & the other would be to work with the concept of interface nodes. Please try go through these 2 threads ( [Thread 1|Call view of another WDA Component and pass the value to it; & [Thread 2|navigation from one program to another; )where I have explained about working with Interface node in detail. You can refer to this [thread |receving parameters between two standard webdynpro applications;to see as to how you can do the same via parameters in URL.  Hope it would help resolve your problem.
    Regards,
    Uday

  • New computer with ipad2. old computer broken.how can i backup the data?

    old laptop broken. how can i input the data to new labtop with new itune?

    Are you able to get the hard drive from the old computer? if so then your can install the drive in a external enclosure and transfer the data to your new computer. 

  • How to transfer service ticket data from ECC6.0 to CRM 7.0 using LSMW?

    how to transfer service ticket data from ECC6.0 to CRM 7.0 using LSMW?
    Plz suggest me any BAPI or IDOC for that ..
    thanks in Advance .

    You have to convert your long string to a table of shorter strings.
    There may be other ways, but one possibility is to use a loop to process you string.
    while (there is something left)
       put the next e.g. 1024 characters in a new row of your table
    endwhile
    If you need to reconstruct your string from the table, don't use simple concatenation since it will remove blanks at the end of lines. Believe me (from experience) sooner or later this will happen.
    Instead you need to either set the subsections of your long string, or insert from the end of your table and keep shifting the contents (probably less efficient) right

  • How do I wipe the data from my Mac if I sell it on to a new owner

    I am selling my version 1 Mac book air, running on Lion, how do I wipe the data from the machine but leave the OS in place and working for the new owner?
    thanks

    To prepare a computer for sale or donation, in addition to the steps mentioned in this support article, take these steps:
    If you set a firmware password, remove it by running Firmware Password Utility in Recovery mode.
    If you activated FileVault in OS X 10.7 or later, turn it off.
    If you use Boot Camp, the partition must be deleted
    If you created any other data partitions on the internal drive, remove them in Disk Utility.
    If privacy is a concern, erase the data partition(s) with the option to zero out data. An SSD doesn't need to be zeroed.
    You can't legally or practically transfer any software downloaded from the Mac App Store to the new owner of the machine, even if it was free. That includes OS X, so if you paid for an upgrade OS X 10.7 or later, you must reinstallthe original OS, either from the installation media, if applicable, or by booting into Internet Recovery (option-command-R at the startup chime.)
    The new owner will have to repurchase the software, if need be, under his or her Apple ID. If you ever updated the bundled iLife applications (Garage Band, iMovie, and iPhoto) through the App Store, you can't transfer them either.
    Remove the machine from your list of registered products. If it's still covered by an AppleCare Protection Plan, transfer the coverage to the new owner by following the instructions in the AppleCare Terms and Conditions (under the heading "Transfer of Plan.")

  • How to Transfer apple mail data to windows outlook 2013

    Looking for a solution that will help me transfer all my data, from emails to address book and contacts from apple mail to outlook 2013 in windows system.
    I have gone through Imap way of email, but there are some few thousand emails stored as archive and are not available on server. And via Imap I cannot export my contacts and address book. So how can I transfer all the data from mac to windows outlook 2013.
    Please help.

    If both system are using the IMAP mail provider all you have to do is setup the connection to the mail server and all the emails and folders will be copied down to the windows computer. That is what IMAP is for. The mail stays on the server, and can be store on the local computer also, and when you connect to the server with another device, computer, phone or pad, all the mail with folders gets copied to the other device.
    But I think some of your mail was gotten using POP so it is not longer on the server.
    Or you have emails in local folder only and they would be on the server. But you can create folder on the server in one mail program, or on the mail web interface and then copy those emails into those folder on the server byt copying them in one of the email programs. Then when you log on with the other device all of them will be downloaded to the other device.
    Other alternative:-
    You can find various solutions on having a google search for your problem.
    Or you can have a look at the following link: Apple mail to Outlook Windows
    Hope this will help.
    Thank you

  • How can we give the Data Format (File Type ) in Runtime

    Hi all,
    How can we give the Data Format (File Type ) in Runtime for the following method,
    cl_gui_frontend_services=>gui_download.
    Thanks in advance
    Sri

    There is a filetype parameter which you can set
    CALL METHOD cl_gui_frontend_services=>gui_download
      EXPORTING
    *    BIN_FILESIZE              =
        filename                  =
    *    FILETYPE                  = 'ASC'
    *    APPEND                    = SPACE
    *    WRITE_FIELD_SEPARATOR     = SPACE
    *    HEADER                    = '00'
    *    TRUNC_TRAILING_BLANKS     = SPACE
    *    WRITE_LF                  = 'X'
    *    COL_SELECT                = SPACE
    *    COL_SELECT_MASK           = SPACE
    *    DAT_MODE                  = SPACE
    *    CONFIRM_OVERWRITE         = SPACE
    *    NO_AUTH_CHECK             = SPACE
    *    CODEPAGE                  = SPACE
    *    IGNORE_CERR               = ABAP_TRUE
    *    REPLACEMENT               = '#'
    *    WRITE_BOM                 = SPACE
    *    TRUNC_TRAILING_BLANKS_EOL = 'X'
    *  IMPORTING
    *    FILELENGTH                =
      changing
        data_tab                  =
    *  EXCEPTIONS
    *    FILE_WRITE_ERROR          = 1
    *    NO_BATCH                  = 2
    *    GUI_REFUSE_FILETRANSFER   = 3
    *    INVALID_TYPE              = 4
    *    NO_AUTHORITY              = 5
    *    UNKNOWN_ERROR             = 6
    *    HEADER_NOT_ALLOWED        = 7
    *    SEPARATOR_NOT_ALLOWED     = 8
    *    FILESIZE_NOT_ALLOWED      = 9
    *    HEADER_TOO_LONG           = 10
    *    DP_ERROR_CREATE           = 11
    *    DP_ERROR_SEND             = 12
    *    DP_ERROR_WRITE            = 13
    *    UNKNOWN_DP_ERROR          = 14
    *    ACCESS_DENIED             = 15
    *    DP_OUT_OF_MEMORY          = 16
    *    DISK_FULL                 = 17
    *    DP_TIMEOUT                = 18
    *    FILE_NOT_FOUND            = 19
    *    DATAPROVIDER_EXCEPTION    = 20
    *    CONTROL_FLUSH_ERROR       = 21
    *    NOT_SUPPORTED_BY_GUI      = 22
    *    ERROR_NO_GUI              = 23
    *    others                    = 24

  • HOW CAN U CORRECT THE DATA IN UR FILE WHICH CONTAINS 1 LAKSH RECS

    Hai Frnds,
    i Attend an interview they asked this questions can u know the answeres . tell me .
    In File to file scenario how can we reprocess records which failed records.
    HOW CAN U CORRECT THE DATA IN UR FILE WHICH CONTAINS 1 LAKSH RECS
    Thanks in advance
    thahir

    Hi,
    Refer these links:
    this might help you
    Generic Approach for Validating Incoming Flat File in SAP XI - Part 1
    Generic Approach for Validating Incoming Flat File in SAP XI - Part 1
    validating against schema file for the output XML file
    Informing the sender about bad records
    Regards,
    Nithiyanandam

  • How can we view the data asociated with Request ID

    Hi All,
    I have data loaded in an ODS there are multiple files loaded in this ODS. Now i want to view data for a perticuler request OR i want to know how can we know the data associated with a perticular request.
    Please help me out.
    Thanks & Regards
    Amit Kumar

    Copy the request number (not request ID) from the ODS manage screen, Goto RSRQ give the request number and execute. it shows the monitor screen- now goto PSA from the top and check the data. But this possible only if you are loading data to PSA also along with ODS.
    Otherwise, Goto Display Data of ODS from the right click on it -- in the selection screen give the Request ID that you want to check the data. Then it displays only that request data.
    Hope this helps.
    Veerendra.
    Edited by: denduluri veerendra kumar on Dec 1, 2009 12:40 PM
    Edited by: denduluri veerendra kumar on Dec 1, 2009 12:43 PM

Maybe you are looking for

  • Form6i runtime

    hii all, i have installed my software on WIN XP; Forms [32 Bit] Version 6.0.8.25.2 (Production) Oracle Database 10g Release 10.2.0.1.0 - Productionin my client office...now he wants to have my s/w run on 3 more computers. the networking has been done

  • HT201335 I can only get audio when using airplay through sky go on my apple tv on iphone 4

    I cn only get audio when using airplay through sky go on my apple tv on iphone4. Any ideas?

  • Buget on Internal Order

    Dear All, I am assigning Buget on Internal Order through K022. I am able to assing buget on yearly basis. Is it possible to give buget on montly or quaterly basis. Please let me know Thanks for Time Vijay

  • Sun Application Server Platform Edition 8.2 Memory Leak!!

    Hi there, I've been testing a benchmark tool and been used App Server with Adventure Builder deployed as my SUT. What happens is that I've found that the server crashes within few minutes with a memory leak problem. I was testing a version that has a

  • Problem while starting DBConsole in windows?

    Hi , Here i am facing problem while starting "OracleDBConsoleoracle". oracle is my oracle_sid. when am trying to start this service from services in windows it is showing the error... please see the below link.. http://picasaweb.google.co.in/rajeshba