Need to put a column in start to identify Billing or Backlog

Hi,
I have query in which data are coming for both Billing & Backlog in seperate records. I need to place a static column in start to identify Billing or Backlog. i have CKF defined to identify billing as 1 value and backlog as 2.  I need to put it as "Billing" or "Backlog".
Thanks
Vishal

Vishal,
Is there a characteristic that identifies Billing or Backlog.
have you considered creating a strcutre with two selections, one on Biling and then one for Backlog and place this as the first item in your rows?
Regards
Gill

Similar Messages

  • Table name input. and output i need  all rows and columns  using procedures

    hi,
    question: table name input. and output i need all rows and columns by using procedures.
    thanks,
    To All

    An example of using DBMS_SQL package to execute dynamic SQL (in this case to generate CSV data in a file)...
    As sys user:
    CREATE OR REPLACE DIRECTORY TEST_DIR AS '\tmp\myfiles'
    GRANT READ, WRITE ON DIRECTORY TEST_DIR TO myuser
    /As myuser:
    CREATE OR REPLACE PROCEDURE run_query(p_sql IN VARCHAR2
                                         ,p_dir IN VARCHAR2
                                         ,p_header_file IN VARCHAR2
                                         ,p_data_file IN VARCHAR2 := NULL) IS
      v_finaltxt  VARCHAR2(4000);
      v_v_val     VARCHAR2(4000);
      v_n_val     NUMBER;
      v_d_val     DATE;
      v_ret       NUMBER;
      c           NUMBER;
      d           NUMBER;
      col_cnt     INTEGER;
      f           BOOLEAN;
      rec_tab     DBMS_SQL.DESC_TAB;
      col_num     NUMBER;
      v_fh        UTL_FILE.FILE_TYPE;
      v_samefile  BOOLEAN := (NVL(p_data_file,p_header_file) = p_header_file);
    BEGIN
      c := DBMS_SQL.OPEN_CURSOR;
      DBMS_SQL.PARSE(c, p_sql, DBMS_SQL.NATIVE);
      d := DBMS_SQL.EXECUTE(c);
      DBMS_SQL.DESCRIBE_COLUMNS(c, col_cnt, rec_tab);
      FOR j in 1..col_cnt
      LOOP
        CASE rec_tab(j).col_type
          WHEN 1 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
          WHEN 2 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_n_val);
          WHEN 12 THEN DBMS_SQL.DEFINE_COLUMN(c,j,v_d_val);
        ELSE
          DBMS_SQL.DEFINE_COLUMN(c,j,v_v_val,2000);
        END CASE;
      END LOOP;
      -- This part outputs the HEADER
      v_fh := UTL_FILE.FOPEN(upper(p_dir),p_header_file,'w',32767);
      FOR j in 1..col_cnt
      LOOP
        v_finaltxt := ltrim(v_finaltxt||','||lower(rec_tab(j).col_name),',');
      END LOOP;
      --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
      UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      IF NOT v_samefile THEN
        UTL_FILE.FCLOSE(v_fh);
      END IF;
      -- This part outputs the DATA
      IF NOT v_samefile THEN
        v_fh := UTL_FILE.FOPEN(upper(p_dir),p_data_file,'w',32767);
      END IF;
      LOOP
        v_ret := DBMS_SQL.FETCH_ROWS(c);
        EXIT WHEN v_ret = 0;
        v_finaltxt := NULL;
        FOR j in 1..col_cnt
        LOOP
          CASE rec_tab(j).col_type
            WHEN 1 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_v_val);
                        v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
            WHEN 2 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_n_val);
                        v_finaltxt := ltrim(v_finaltxt||','||v_n_val,',');
            WHEN 12 THEN DBMS_SQL.COLUMN_VALUE(c,j,v_d_val);
                        v_finaltxt := ltrim(v_finaltxt||','||to_char(v_d_val,'DD/MM/YYYY HH24:MI:SS'),',');
          ELSE
            v_finaltxt := ltrim(v_finaltxt||',"'||v_v_val||'"',',');
          END CASE;
        END LOOP;
      --  DBMS_OUTPUT.PUT_LINE(v_finaltxt);
        UTL_FILE.PUT_LINE(v_fh, v_finaltxt);
      END LOOP;
      UTL_FILE.FCLOSE(v_fh);
      DBMS_SQL.CLOSE_CURSOR(c);
    END;This allows for the header row and the data to be written to seperate files if required.
    e.g.
    SQL> exec run_query('select * from emp','TEST_DIR','output.txt');
    PL/SQL procedure successfully completed.Output.txt file contains:
    empno,ename,job,mgr,hiredate,sal,comm,deptno
    7369,"SMITH","CLERK",7902,17/12/1980 00:00:00,800,,20
    7499,"ALLEN","SALESMAN",7698,20/02/1981 00:00:00,1600,300,30
    7521,"WARD","SALESMAN",7698,22/02/1981 00:00:00,1250,500,30
    7566,"JONES","MANAGER",7839,02/04/1981 00:00:00,2975,,20
    7654,"MARTIN","SALESMAN",7698,28/09/1981 00:00:00,1250,1400,30
    7698,"BLAKE","MANAGER",7839,01/05/1981 00:00:00,2850,,30
    7782,"CLARK","MANAGER",7839,09/06/1981 00:00:00,2450,,10
    7788,"SCOTT","ANALYST",7566,19/04/1987 00:00:00,3000,,20
    7839,"KING","PRESIDENT",,17/11/1981 00:00:00,5000,,10
    7844,"TURNER","SALESMAN",7698,08/09/1981 00:00:00,1500,0,30
    7876,"ADAMS","CLERK",7788,23/05/1987 00:00:00,1100,,20
    7900,"JAMES","CLERK",7698,03/12/1981 00:00:00,950,,30
    7902,"FORD","ANALYST",7566,03/12/1981 00:00:00,3000,,20
    7934,"MILLER","CLERK",7782,23/01/1982 00:00:00,1300,,10The procedure allows for the header and data to go to seperate files if required. Just specifying the "header" filename will put the header and data in the one file.
    Adapt to output different datatypes and styles are required.

  • I need to edit out parts of a song to cut it down to two minutes for my daughter's talent show. I went to info and it will cut down one part but only one part. I need to put three parts together. I tried adding duplicates of the song to the list but if I

    I need to edit out parts of a song to cut it down to two minutes for my daughter's talent show. I went to info/start time and it will cut down one part but only one part. I need to put three parts together. I tried adding duplicates of the song to the list but if If I change the start time on one it will change it on all of them.

    In your library, right-click the song you want to edit.
    select "get info".
    go to "options" and select the start and stop times for your first section of the song.
    click "OK".
    Find the shortened version of the song in your library. It may take a minute for it to show up. right click it again and select "create (????) version". (the ???? is different for different formats).
    The library will spit out a new, second version of the song which you can rename. I suggest you use the original title and add a 1 to the end.
    Now you can go back to the other version and repeat the process with a different  start/stop time.
    Once you are done editing, you can burn all of your versions to a disk, just make sure your interval time is zero so there are no gaps between edits.
    To keep the orginal song on your library, just go back to the original and put the start/stop times back to the original settings.

  • In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    In the numbers app, using the "date and time" function, is it possible to remove the time? I need to put together a list of dates, but I don't need or want times.

    When formatting your column to date/time, pick Date & time, and then pick the letter i in the circle to the right. Then scroll down and pick "No time"
    Jason

  • Need to put help document on home page.

    Hi All..... in my project several users are not trained on oracle HRMS as to how to use the selfservice due to being on leave. I have prepared a document with screenshots on how to use the functions. I want to put this document in home page.
    So when user logs in can see this document. Is there any way to place a document on the self service pages through personbalization. Users shoud be able to see it for reference.
    Appreciate your inputs.
    Thanks

    Hello
    One way of doing is to create the Item with item type as "Spacer" in the Home Page personalization screen.Then attach this item and you can give the link of your document in the Text column of this item . You need to put the document on some location which can be accessed by every one.
    HTH
    Gaurav

  • Need to put KeyFigures in to Free Charecteristics

    Hello Gurus,
    I got one requirement in reporting...i.e i want to put some Keyfigures in to free charecteristics.Please any one tell me is it possibe in our  BW REPORTING. Please any one give me solution.
    Thanks in Advance.
    Regards,
    Raju.

    Hello,
    Free characteristics are used for drilldown of reports. Hence using KFs as free char dose not make sense at all.
    Now if the requirement is such that at first output users would see some KFs and later if they needed they should get a capability to include more KFs, then this can be achieved in the foll way:
    1) Include all the needed KFs in the columns.
    2) Those which not required initially, mark them as Hide (but can be seen) in their properties.
    3) Now when you execute the report, from the navigation/filter panel right click on Key Figures and select the option 'Select Filter Values'.
    4) Here you can see all the KFs including the ones Hidden. Select all that are needed and hit OK.
    This will show all the KFs.
    Regards,
    Shashank

  • I need to put an image up that looks like tv turned on

    I need to put an image up of a television and have a video of something looping
    in the center the image of the tv would be just that and a player
    would really be under the image playing the video. I am a newbiie and would b very greatful if someone would walk me through this. I prefer to be emailed here at  [email protected] rather than my email used for the forum. Replies here are greatly encouraged because i will be checking back often.

    The skin (just a graphic) is something that can be created in PhotoShop or even in Flash. It needs to be able to have a hole in it for the video to show thru, so use something like a .png graphic with a transparent background. That graphic really has nothing at all to do with the palying of the video... it's just a skin, covering over the top of the video (which is on a lower layer in Flash).
    So use your imagination! Go thru those tutorials listed and you'll be able to add the controls and loader bar. then when you are ready, you can incorporate an xml playlist if you like.
    Here is an example of a simple video player with no skin... just controls and loading bar:
    http://www.exploreolympics.com/index.html
    Here is that same basic video player with a simple graphic placed over the top of the actual video. The graphic is on a higher layer in Flash, and has a hole in it so the video will show thru. This player has an xml playlist added... so the graphic has to cover over that playlist also:
    http://www.cidigitalmedia.com/video.html
    Here is that same simple video player, different type of skin. Open the menu and click on "Trailer" and you'll see a scrolling playlist added to that same simple little vid player.
    http://www.serenityfarmthemovie.com/main18.html
    Here is the code for the simple player. Of course the playlist players have added code to build and access the playlist. But start with the simple player and build on your skill from there.
    /* Video player created by CI Digital Media for educational purposes */
    var nc:NetConnection = new NetConnection();
    nc.connect(null);
    var ns:NetStream = new NetStream(nc);
    video_screen.attachVideo(ns);
    /* Name of your video, with correct path, goes here */
    ns.play("video1.flv");
    /* Comment out this pause line for use with auto start or leave pause to start with Play button */
    ns.pause();
    rewind_btn.onRelease = function() {
    ns.seek(0);
    play_btn.onRelease = function() {
    ns.pause();
    var videoInterval = setInterval(videoStatus,100);
    var amountLoaded:Number;
    var duration:Number;
    // Trace the metadata then remove the last comment tag from code below //
    ns.onMetaData = function(myMeta) {
    for (var i in myMeta) {
      trace(i + ":\t" + myMeta[i])
    /* cut the comment tag from line 35 and paste at end of this line so scrubber will work
    ns["onMetaData"] = function(obj) {
    duration = obj.duration;
    function videoStatus() {
    amountLoaded = ns.bytesLoaded / ns.bytesTotal;
    loader.loadBar._width = amountLoaded * 160;
    loader.scrub._x = ns.time / duration * 160;
    var scrubInterval;
    loader.scrub.onPress = function() {
    clearInterval(videoInterval);
    scrubInterval = setInterval(scrubit,10);
    this.startDrag(false,0,this._y,160,this._y);
    loader.scrub.onRelease = loader.scrub.onReleaseOutside = function() {
    clearInterval(scrubInterval);
    videoInterval = setInterval(videoStatus,100);
    this.stopDrag();
    function scrubit() {
    ns.seek(Math.floor((loader.scrub._x/160)*duration));
    //-------Sound Controls--------//
    this.createEmptyMovieClip("sound_mc",this.getNextHighestDepth());
    sound_mc.attachAudio(ns);
    var videoSound:Sound = new Sound(sound_mc);
    mute_btn.onRelease = function() {
    if (videoSound.getVolume() > 0) {
      videoSound.setVolume(0);     
      else
       videoSound.setVolume(100);
    cidm_btn.onRelease = function() {
    getURL("http://www.cidigitalmedia.com/video.html", "_blank");
    Best of luck!
    Adninjastrator

  • If i reset my ipad can i install paye games for free if i sign back into my apple ID. Please i need help because i need to update my games but i need to put in this billing thing and i want to get rid of it so then i cant buy games with my credit card

    If i reset my ipad can i install paye games for free if i sign back into my apple ID. Please i need help because i need to update my games but i need to put in this billing thing and i want to get rid of it so then i cant buy games with my credit card

    Hello,
    As frustrating as it seems, your best to post any frustrations about the iPhone in the  iPhone discussion here:
    https://discussions.apple.com/community/iphone/using_iphone
    As this discussion is for iBook laptops.
    Best of Luck.

  • HT1212 My ipad is disabled and says it needs to be connected to itunes, when i connect it to itunes, itunes says that i need to put my passcode in my ipad for it to recognize it, but since it is disabled, i cant do this, how can i resolve this problem?

    My ipad is disabled and it says i need to connect to itunes when i connect it to itunes, it says it wont recognize it until i put my passcode into my ipad, but with my ipad disabled, this is immposible, how can i resolve this problem?

    You may need to put the iPad into recovery mode : http://support.apple.com/kb/ht1808 - you should then be able to reset the iPad an resync your content to it

  • There are sites like Amazon, Facebook and pages where I need to put info on that don't totally show all the points. How can I get them to show up? I usually have to guess

    There are sites like Amazon, Facebook and pages where I need to put info like name, address, etc, that don't show where 'next' or 'skip' or 'continue' are. There is just alot of space. When I move my cursor around I have to guess if it's the right one and click

    For some ways around this see [http://kb.mozillazine.org/User_name_and_password_not_remembered User name and password not remembered - MozillaZine Knowledge Base]
    Another option is the [https://addons.mozilla.org/en-US/firefox/addon/60265/ Saved Password Editor] add-oin which allows you to add passwords for sites that disable password saving.

  • HT1766 # is not working in my iphone 4s, when i want to see how much credit i have in iphone, i need to put # on that, than it calls and end, it is not working and not showing anything..

    # is not working in my iphone 4s, when i want to see how much credit i have in iphone, i need to put # on that, than it calls and end, it is not working and not showing anything..

    http://support.apple.com/kb/HT1848  Did you transfer your purchased item, take a look at the link

  • How can I change the password in the iBook donated to our nonprofit.  No password was given with the iBook?  We need to put in printer and other software.  Help, we can use the laptop without changing the password.

      How can we change the password in the iBook donated to our nonprofit?  No password was given with the iBook and every time we try to install items, the password window pops up.  We need to put in printer and other software.  Help! We can use the laptop without changing the password.

    If you did not get an OS X install-restore DVD with the computer you may need
    to buy one from somewhere, and you may be lucky to get a retail OS X 10.5.x
    version. The original grey-label install set of software and OS X it shipped with
    likely would be an older system than Leopard 10.5. Last versions of G4 Mac, &
    G5, shipped with a Tiger 10.4 system; so did early Intel-based Mac. Grey discs
    which accompanied other computer build models generally do not interchange.
    The last OS X version a PowerPC architecture can use, if supported, is 10.5.8.
    A PPC processor at 867MHz & faster should be able to run OS X 10.5 Leopard.
    {With the correct disc installer, you can use it to change a password and other
    things including re-install, and perform disk utility functions, etc.}
    There is a chance you may be able to get a white-label Replacement 10.4 DVD
    or Replacement 10.5 DVD from AppleCare or the online Apple Store (800myapple)
    from a Mac OS X system specialist; these have been available yet hard to get
    as not all persons involved with them seem to know if they still exist until someone
    is asking. These aren't retail stock, are special discs for computers who could use
    a system later than original old discs; these are complete install discs not for one
    specific series of Mac. Generally they'd work in supported PowerPC G4/G5; but
    do not replace specialized original install DVD, such as an early Intel mac requires.
    You'd need to have a serial number of the computer, and a method of payment
    when seeking some replacement system media from Applecare or Apple sales
    and these discs are not available in a retail store. The original Retail discs are
    labeled differently and shipped in a retail box with a big X on the front. Other
    sources for retail 10.4 Tiger or 10.5 Leopard may be online via amazon sellers
    or computer resellers who handle repaired Macs. Avoid mystery grey label ones
    that were intended to be sold and kept with their original computer kits.
    Good luck!

  • I have an old ipod touch and it keeps saying, ipod is disabled. I connected it to itunes and it said, sorry you need to put the passcode in, but it wont let me. And my power button doesnt work.

    I have an old ipod touch and it keeps saying, ipod is disabled. I connected it to itunes and it said, sorry you need to put the passcode in, but it wont let me. And my power button doesnt work.

    iOS: Unable to update or restore

  • If I changed my Apple ID password on my iphone then log into itunes on my phone with that new password, would it automatically sync to my laptop or would i need to put the new password into my laptop also?

    If I changed my Apple ID password on my iphone then log into itunes on my phone with that new password, would it automatically sync to my laptop or would i need to put the new password into my laptop also? My laptop got stolen so I changed my password and wanted to be sure it's safe to enter in the new one on my phone. I don't want it to snyc to my laptop.

    Hi loro,
    Thanks for visiting Apple Support Communities.
    I'm sorry to hear that your laptop was stolen. Changing your password was a good step. 
    Entering your new password on your iPhone will not affect the laptop, as mentioned in this article:
    Apple ID: Changing your password
    http://support.apple.com/kb/HT5624
    The next time you use an Apple feature or service that uses Apple ID, you'll be asked to sign in with your new Apple ID password.
    Best Regards,
    Jeremy

  • How do I change credit card info for apps?  It thinks I want to pay with paypal and I need to put in credit card info.

    I have a new iPhone 6 and want to buy apps.  When I click on "buy" some say they don't take PayPal and that I need to change my payment information.  ITunes seems to accept PayPal, but not the apps store.  Well, some do, some don't.  I still need to put in the info but cannot find how to do it.  Help please!

    Change or remove your payment information from your iTunes Store account (Apple ID) - Apple Support

Maybe you are looking for

  • BADI_CRM_BP_FILTER_ATTRIBUTE  implementation to control field attributes

    Hi, I have a requirement to control field attributes of Business partner or customer based on user role, like make some fields display for most of the roles. I found this BADI in SAP notes, but it does not allow to create my new implementation like n

  • In Bridge CS4 only icons

    In bridge SC4 I cannot see images in Raw or Dng. Bridge only shows icons. However I can open them and convert them to tif's and then they are visible in bridge Something wrong in Bridge??

  • Logic Pro7 - Logic Studio (8) for sale?

    Hello everyone. I'd like to share my dilemma with you. I bought LogicStudio last week and wanted to update from Pro7 to 8. Well easy enough, I just needed to buy a bigger Hard Disc, because my old system disc was almost full. So I did that and then w

  • HT1296 how to download in english the itunes

    my ipod was disabled and i download itunes in my computer , after i download the languages came out is arabic..please help me to changes the language

  • Is CS5.5 Production Premium compatible with 8.1 on Surface Pro 3?

    I have been trying to install my CS5.5 onto my new Surface Pro 3 but it has been giving me trouble.  I've tried using an external DVD reader, and I've gotten the digital download link from Adobe's support team but the installation stops at about 15%