Hi Guys,,I am not getting the right output?Plz help

Hi Guys,
Here is my code..
ELSEIF p_versb  = 'W2'.
    CONCATENATE lv_perxx '08' INTO lv_date3.              (20090708)
    CONCATENATE lv_perxx '15' INTO lv_date4.              (20090715)
      SELECT  mseg~mblnr
              mseg~bwart
              mseg~matnr
              mseg~lgort
              mseg~menge
              FROM mseg
              INNER JOIN  mkpf
              ON msegmblnr = mkpfmblnr
              INTO TABLE t_temp
              FOR ALL ENTRIES IN t_firmplan
              WHERE mseg~matnr = t_firmplan-matnr       (490045,500001)
              AND mkpf~budat GE lv_date3
              AND mkpf~budat LE lv_date4
              AND mseg~bwart IN ('101', '102')
              AND mseg~werks = t_firmplan-werks.        (werks = 1100)
Plz suggest where I m wrong ?
Thanks
Steve

Hi,
Check the
SELECT mseg~mblnr
mseg~bwart
mseg~matnr
mseg~lgort
mseg~menge
FROM mseg
INNER JOIN mkpf
ON mseg~mblnr = mkpf~mblnr
INTO TABLE t_temp
FOR ALL ENTRIES IN t_firmplan
WHERE mseg~matnr = t_firmplan-matnr (490045,500001) " Check the matnr value in the MSEG table if it storing with
                                              "  leading zero's then use the conversion exit to get the leading zero's
                                              " in  t_firmplan-matnr
AND mkpf~budat GE lv_date3
AND mkpf~budat LE lv_date4
AND mseg~bwart IN ('101', '102')
AND mseg~werks = t_firmplan-werks. (werks = 1100)

Similar Messages

  • PAYABLES NOT GETTING THE REPORT OUTPUT IN PDF AFTER APPLYING RUP5 R12

    Hi All,
    RDBMS:10.2.0.3.0
    Oracle Apps :12.0.4
    OS:AIX 5.3
    Problem Description:
    We are presently facing an issue in Payables not getting the report output in PDF esp for the reports "Invoice Register", Invoice Hold Report and also other reports. We were able to generate the reports till our last test performed on last Thursday. This instance was cloned over the last weekend and probably the new upgrade to RUP5 R12,would have impacted it.
    Concurrent Programs submitted are completed normal but on clicking "view output" results in Blank PDF output.
    The error message what was shown is as below:
    "Adobe Reader could not open 'AcrC.tmp' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)".
    Where could we locate ther above 'AcrC.tmp' of Adobe Reader..
    could anyone please share such an experience encountered for resolution..
    Would appreciate an early response..
    Thanks for your time!
    Regards,

    I suggest you speak to your DBA/sysadmin. This is not likely to be a reports problem.
    Check that you can see the output from apps through the viewer (the report may not hav output anything)
    Check whether you can print anything on that printer from apps.
    May also be worth checking to see if you can print to another printer from this report.

  • Problem:  While creating a project in iDVD, it plays perfectly on the computer, but after burning the sound is off.  Video soundtrack is not in the right place.  HELP!

    Problem:  While creating a project in iDVD, it plays perfectly on the computer, but after burning the sound is off.  Video soundtrack is not in the right place.  HELP!

    Have you checked out the topics at the right in the More Like This section?
    OT

  • I'm not getting the right "Home" page for Itunes.

    I had my hard drive replaced about six months ago.  I have all my the music that I want on my Iphone 3G and is backed up on my PC.  I haven't synced by Iphone to the computer since the drive was changed. I use another charger that I have plugged directly into an outlet.
    The first picture below is what it should look like AND WHAT I WANT.  The second is what I get when I open Itunes.  I added a CD and a few voice memos while trouble shooting this.  I have around 45 CD's of music on my Iphone and I can listen to them.  When I sync my Iphone, which it does automatically, I can transfer photos to my computer but not vice versa.  I don't get this first picture I get the second.  Also this second screen does not recognize the music I already have on my Iphone and does not put the one CD from the second picture onto my phone.
    I've removed Itunes from my computer and then reinstalled it.  I thought that would solve the issue.  It didn't.  I got the second picture when I connect my Iphone.  Is there some version of Itunes that I don't know about?  Why would I not get the screen in the first picture below?
    Can anyone shed some light on this and help me figure out what to do?
    Any help would be greatly appreciated!!!  THANK YOU!!!

    - plug in your iPhone
    - on your keyboard press "Control" & "S" together, this will bring up the side bar on the left hand side
    - select the name of the iphone underneath "devices"
    Now you should be on the summary page.

  • I recebtly bought an app (FIFA 12) now every time i play a match after the match it does not save an just goes to the home page without warning and i have to start all over again and no i did not press the home button. plz help

    i recebtly bought an app (FIFA 12) now every time i play a match after the match it does not save an just goes to the home page without warning and i have to start all over again and no i did not press the home button. plz help

    You can't gift it, gifting can only be done from within the store, not from within your library.
    Puchases are considered final but you can try the 'report a problem' link to contact iTunes Support and see if they will refund or credit you : http://reportaproblem.apple.com
    If the 'report a problem' link doesn't work then you can try contacting iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • I can not get the right frequency out of my NI-DAQ 6062E card from Matlab

    Hi.
    My name is Johan and I want to generate an analog square waveform with 5.76 kb/s in frequency with my NI DAQCard-6062E from Matlab.
    When I run in Matlab the program below, I get the frequency of 5.747 kb/s on the output channel (even thou I have chosen 5.76 kb/s). When I try to change the sample rate, to higher values in Matlab, I get the same frequency until I choose the sample rate to 5.79 kb/s. The output signal is in that case is 5.813 kb/s.
    So my problem is that I can't get the exact frequency of 5.76 kb/s.
    How do I solve this.
    Thankful for help.
    Best regards, Johan
    Program in Matlab:
    clear all
    openDAQ=daqfind; %Detect any open DAQ channels
    for i=1:length(openDAQ), %Close any open DAQ channels
      stop(openDAQ(i));
    end
    ao = analogoutput('nidaq',1); %Create an object for analog output
    addchannel(ao, [0 1]);
    set(ao, 'SampleRate', 2*5760); %Here the sample rate is specied. 2*, because to get right samplerate
    y=[80,-80] %Sets theoutput values to 80 and -80 (As -1 and 1)
    putdata(ao, [y' y']); %Sends the values to out buffer
    set(ao,'RepeatOutput',inf) %Repeats sending in infinity
    set(ao, 'TriggerType', 'Immediate'); %Choose trigger to immediate, because sending values shall occur driect after start command.
    start(ao);
    %stop(ao)

    Hello Johan!
    Bad news I am afraid….
    I assume you are using the Data Acquisition Toolbox from the Mathworks and when it comes to support on that interface I have to advice you to contact the Mathworks for assistance. We don't provide any support on their data acquisition interface since we have nothing to do with it.
    Sorry for the inconvenience this might cause you.
    Regards,
    Jimmie A.
    Applications Engineer, National Instruments
    Regards,
    Jimmie Adolph
    Systems Engineer Manager, National Instruments Northern Region
    Bring Me The Horizon - Sempiternal

  • Q:Date link not getting the right date in calendar

    Gang,
    I have enabled the day link on my calendar so the user can click on the date in the month view to get to a form page where they can add records.
    My day_link looks like this:
    f?p=&FLOW_ID.:2:&SESSION.::&DEBUG.:2:P2_TRAINING_DATE:#TRAINING_DATE#
    Where P2_TRAINING_DATE is the DATE I'd like to populate on page 2. The variable name that holds this date is called P2_TRAINING_DATE.
    If I hoover over the daylinks they display very strange dates and also if I click on the link the dates are wrong. For example if I hoover over 01-May the URL in the bottom of my browser displays the correct date but if I hoover over 02-May it displays 05-May instead.
    What am I missing, should I not use the #TRAINING_DATE# variable?
    Oh, this application is running on apex.oraclecorp.com so it's version 3.1.
    Cheers,
    Andy

    Hi Andy,
    Change the day link to pass #DD#/#MM#/#YYYY# (UK format, so change if another format is required).
    This will pick up the date from the calendar rather than your data.
    Andy

  • Analysis not getting the right value off ADM Tool

    Hello people,
    I'm trying to do one difficult thing, but, first of all the simple thing is not working.
    In ADM tool, I have this logic column: avg(Fact_AGR_ESCOPO_MEDIAPPM.MEDIA_PPM_TIPO)
    The physical table that have this attribute is: TFAGR_ESCOPO_MEDIAPPM
    When I do this Search:
    SELECT DISTINCT T3.TIPO_PTB, T2.NOME, T1.MEDIA_PPM_TIPO FROM TFAGR_ESCOPO_MEDIAPPM T1
    JOIN TD_ESCOPO T2 ON T1.ESCOPO_SK = T2.ESCOPO_SK
    JOIN TD_MOTIVO T3 ON T1.MOTIVO_SK = T3.MOTIVO_SK
    WHERE T2.ESCOPO_SK = 1;
    I get this TIPO_PTB:
    Complaint and Não Complaint.
    Now, when I go to the analysis and use the MEDIA_PPM_TIPO att, I got all the TIPO_PTB, not only the Complaint and Nao Complaint.
    Someone know whats is this or how I can search for the problem ?

    The problem was because I'm trying to use some aggregation rule.
    When I put none to aggregation rule, I got only the representation of the DB.
    But now, I have another problem and is my initial problem:
    How can I spread one value to anothers, always getting the last value by month ?
    Example:
    JAN FEB MAR
    10 20 5
    JAN FEB MAR
    5 5 5
    This is what I want. Always spread the last value base on month to the others (The filter is not a good solution because the prompt changes and the last month will not be the same)

  • Not getting the right posting key..

    hey,
    i am posting accounts payable data using the bapi BAPI_ACC_DOCUMENT_POST.
    my logic arrives at two values
       blart  = 'KG'.
       newbs1 = '21'.
    now how do i pass this to the bapi, which structure , which field, so that i get the posting key as 21 in the GL acct line item ??
    i am always getting 31 and 40 as the posting keys... now i need 21 and 50..
    thnks

    hey Sudarshan, I traced the BAPI and found out that it is the amount being positive or negative along with the doc type that determines what  the posting shud be..so when i set the doc type say as KG and pass a +ve value, posting key 21 is set , for -ve value posting key 50 is set. i was abt to achieve the result by changing the signs for the currency amt..worked..

  • GETTING NO ERROR BUT STILL NOT GETTING THE DESIRED OUTPUT!!!!!!!!

    HIII ,
    AM DOING AN APPLICATION IN WHICH I AM TRYING TO INSERT VALUES IN A TABLE(CREATED THRU JAVA DICTIONARY), USING EJBS(ENTITY BEAN AND SESSION BEAN) AND COMMAND BEAN..AND WEBDYNPRO....
    AFTER DEPLOYMENT EVRYTHNG IS RUNNING FINE BUT VALUES NOT GETTING ADDED IN THE TABLE...
    THE CODE FOR THE "ADD" BUTTON IS :
    wdContext.currentEmp_cmdElement().modelObject().add(wdContext.currentEmp_cmdElement().getEmpno(),wdContext.currentEmp_cmdElement().getEmpname());
    THE CODE FOR ADD function IN COMMANDBEAN IS
    public void add(String empno,String empname){
    try {
    local.createdata(empno,empname);
    } catch (Exception e) {
    e.printStackTrace();}
    PLZZ DO HELP OUT!!!

    try { aPreparedStatement.close();
               if(dmd!=null)
                            dmd = null;
               if(con!=null)
                            con.close();
                catch (Exception e)
                     e.printStackTrace();  
                }instead of catching the last error i printed it and it came up with an error of nullPointerException
    for the line of code
    try { aPreparedStatement.close();how can i fix this error please
    and thank you

  • Using analytic function to get the right output.

    Dear all;
    I have the following sample date below
    create table temp_one
           id number(30),  
          placeid varchar2(400),
          issuedate  date,
          person varchar2(400),
          failures number(30),
          primary key(id)
    insert into temp_one values (1, 'NY', to_date('03/04/2011', 'MM/DD/YYYY'), 'John', 3);
    insert into temp_one values (2, 'NY', to_date('03/03/2011', 'MM/DD/YYYY'), 'Adam', 7);
    insert into temp_one values (3, 'Mexico', to_date('03/04/2011', 'MM/DD/YYYY'), 'Wendy', 3);
    insert into temp_one values (4, 'Mexico', to_date('03/14/2011', 'MM/DD/YYYY'), 'Gerry', 3);
    insert into temp_one values (5, 'Mexico', to_date('03/15/2011', 'MM/DD/YYYY'), 'Zick', 9);
    insert into temp_one values (6, 'London', to_date('03/16/2011', 'MM/DD/YYYY'), 'Mike', 8);this is output I desire
    placeid       issueperiod                               failures
    NY              02/28/2011 - 03/06/2011          10
    Mexico       02/28/2011 - 03/06/2011           3
    Mexico        03/14/2011 - 03/20/2011          12
    London        03/14/2011 - 03/20/2011          8All help is appreciated. I will post my query as soon as I am able to think of a good logic for this...

    hI,
    user13328581 wrote:
    ... Kindly note, I am still learning how to use analytic functions.That doesn't matter; analytic functions won't help in this problem. The aggregate SUM function is all you need.
    But what do you need to GROUP BY? What is each row of the result set going to represent? A placeid? Yes, each row will represent only one placedid, but it's going to be divided further. You want a separate row of output for every placeid and week, so you'll want to GROUP BY placeid and week. You don't want to GROUP BY the raw issuedate; that would put March 3 and March 4 into separate groups. And you don't want to GROUP BY failures; that would mean a row with 3 failures could never be in the same group as a row with 9 failures.
    This gets the output you posted from the sample data you posted:
    SELECT       placeid
    ,             TO_CHAR ( TRUNC (issuedate, 'IW')
                  , 'MM/DD/YYYY'
                ) || ' - '|| TO_CHAR ( TRUNC (issuedate, 'IW') + 6
                                             , 'MM/DD/YYY'
                               )     AS issueperiod
    ,       SUM (failures)                  AS sumfailures
    FROM        temp_one
    GROUP BY  placeid
    ,            TRUNC (issuedate, 'IW')
    ;You could use a sub-query to compute TRUNC (issuedate, 'IW') once. The code would be about as complicated, efficiency probably won't improve noticeably, and the the results would be the same.

  • Not getting the complete output in the crontab script

    Hi All,
    I am running a script to find the CPU and memory utilization of the Oracle 10g server. Script name is atul.sh. When i run this script then it gives the desired output as mentioned below:
    bash-3.00$ cat ./SCRIPTS/atul.sh
    *A=`date| cut -d" " -f1-9; top -d 1| awk '/^CPU states/ {print $3,$5,$7,$9} /^Mem/ {print $2,$3,$4,$5,$6,$7,$8,$9,$10}'*
    echo $A
    bash-3.00$
    bash-3.00$ ./SCRIPTS/atul.sh >> /oracle/SCRIPTS/toplog
    bash-3.00$ cat /oracle/SCRIPTS/toplog
    Thu Sep 8 11:43:49 IST 2011 99.5% 0.0% 0.5% 0.0% 2048M phys mem, 77M free mem, 8193M total swap,
    bash-3.00$
    However, when i run this script through crontab, it gives incomplete output. It only display the date and not the cpu and memory utilization.:
    bash-3.00$ crontab -l
    * * * * * /oracle/SCRIPTS/atul.sh >> /oracle/SCRIPTS/toplog
    bash-3.00$
    bash-3.00$ cat /oracle/SCRIPTS/toplog
    Thu Sep 8 11:43:49 IST 2011 99.5% 0.0% 0.5% 0.0% 2048M phys mem, 77M free mem, 8193M total swap,
    Thu Sep 8 11:44:00 IST 2011
    Thu Sep 8 11:45:00 IST 2011
    bash-3.00$
    Kindly, provide me the soluton.
    Edited by: 883925 on Sep 7, 2011 11:24 PM
    Edited by: 883925 on Sep 7, 2011 11:29 PM

    Thanks everyone for the reply.
    *@DUDE*
    Still problem is not solved. I have used the command given by you but problem is same..*its displaying only date when scheduled from crontab*.
    bash-3.00$ crontab -l
    * * * * * /oracle/SCRIPTS/sm >> /oracle/SCRIPTS/memorylog.csv
    * * * * * /oracle/SCRIPTS/sc >> /oracle/SCRIPTS/cpulog.csv
    * * * * * /oracle/SCRIPTS/atul.sh >> /oracle/SCRIPTS/toplog.csv
    bash-3.00$
    bash-3.00$ cat atul.sh
    *A=`date| cut -d" " -f1-9; top -d 1 -n 1 | awk '/^Cpu/ {print $3,$5,$7,$9} /^Mem/ {print $2,$3,$4,$5,$6,$7,$8,$9,$10}'`*
    echo $A
    bash-3.00$
    bash-3.00$ cat toplog.csv
    Fri Sep 9 10:06:00 IST 2011
    Fri Sep 9 10:07:00 IST 2011
    Fri Sep 9 10:08:00 IST 2011
    bash-3.00$
    However, expected output is that it should display the CPU and memory utilization along with the date.
    bash-3.00$ ./atul.sh
    Fri Sep 9 10:08:52 IST 2011 2048M phys mem, 33M free mem, 8193M total swap,
    bash-3.00$
    Edited by: 883925 on Sep 8, 2011 9:43 PM

  • Not getting the expected output in report, run throughapps

    hi,
    when i run the report through apps, there are some records missing. But, i executed the same query in TOAD, which is used in the data model of the report, and i got the expected output. But, the same, when run through apps, not giving the result.
    Can anybody please help me in this regard?
    Thanks,
    maschender

    You should probably ask in
    PL/SQL
    Note: Make Sure you post your table structure, your sample query and expected output.

  • I am not getting album art/thumbnail of album category in MusicLibrary (only getting default mp3 icon / thumbnail.Type == ThumbnailType.Icon) in WP 8.1 ,C#.Not getting ThumbnailType.Image. Plz Help

     private async Task GenerateMusicInternalStorageItems(IReadOnlyList<StorageFolder> musicLibrary)
                foreach (StorageFolder item in musicLibrary)
                    try
                        IReadOnlyList<IStorageItem> folderContents = await item.GetItemsAsync();
                        if (folderContents.Count > 0)
                            MusicMyDeviceFolderViewModel objMusicMyDeviceFolderViewModel = new MusicMyDeviceFolderViewModel();
                            objMusicMyDeviceFolderViewModel.Name = item.Name;
                            objMusicMyDeviceFolderViewModel.AlbumPath = item.Path;
                            objMusicMyDeviceFolderViewModel.ItemCount = folderContents.Count;
                            StorageFile firstFile = folderContents.OfType<StorageFile>().FirstOrDefault();
                            if (firstFile != null)
                                const ThumbnailMode thumbnailMode = ThumbnailMode.DocumentsView;
                                const uint size = 300;
                                using (StorageItemThumbnail thumbnail = await firstFile.GetScaledImageAsThumbnailAsync(thumbnailMode, size))
                                    if (thumbnail != null  /*&& thumbnail.Type == ThumbnailType.Image*/)
                                        BitmapImage genThumbnail = new BitmapImage();
                                        genThumbnail.SetSource(thumbnail);
                                        objMusicMyDeviceFolderViewModel.Thumbnail = genThumbnail;
                            albumList.Add(objMusicMyDeviceFolderViewModel);
                    catch
    This is my Code ? now i commented  - > thumbnail.Type == ThumbnailType.Image. i am not getting image. default mp3 icon is getting for all album
                                              

      private async Task GenerateMusicFolderItems(IReadOnlyList<StorageFolder> musicLibrary)
                foreach (StorageFolder item in musicLibrary)
                    try
                        IReadOnlyList<IStorageItem> folderContents = await item.GetItemsAsync();
                        if (folderContents.Count > 0)
                            MusicMyDeviceFolderViewModel objMusicMyDeviceFolderViewModel = new MusicMyDeviceFolderViewModel();
                            objMusicMyDeviceFolderViewModel.Name = item.Name;
                            objMusicMyDeviceFolderViewModel.AlbumPath = item.Path;
                            objMusicMyDeviceFolderViewModel.ItemCount = folderContents.Count;
                            StorageFile firstFile = folderContents.OfType<StorageFile>().FirstOrDefault();
                            if (firstFile != null)
                                const ThumbnailMode thumbnailMode = ThumbnailMode.MusicView;
                                const uint size = 300;
                                using (StorageItemThumbnail thumbnail = await firstFile.GetThumbnailAsync(thumbnailMode, size))
                                    if (thumbnail != null  /*&& thumbnail.Type == ThumbnailType.Image*/)
                                        BitmapImage genThumbnail = new BitmapImage();
                                        genThumbnail.SetSource(thumbnail);
                                        objMusicMyDeviceFolderViewModel.Thumbnail = genThumbnail;
                            albumList.Add(objMusicMyDeviceFolderViewModel);
                    catch
            }

  • Not getting the right quantity in select

    Hi,
    My company stores each week's transaction in one dbf table, thus, creating around 53 tables per year. I try to move the tables into one big table (bigTable) in mysql. I created a Java program to select the data from dbf (visual foxpro dbf driver) and insert into mysql using JConnect. After I finished inserting into mysql, I used Visual Foxpro and I do a:
    SELECT sum(quant) from week532000.dbf
    and obtained 52843.6, which I considered it the correct result.
    * Note that 'quant' is of type Numeric in dbf.
    However, when I do this with mysql client:
    SELECT sum(qunt) from bigTable where date_ between '2000-12-25' AND '2000-12-31'. I obtained 52977.6, which is different from the original result.
    To troubleshoot this, I created a small program just to select the 'quant' field and obtained the sum. It turned out that when I ran this program, I obtained a different sum (although I was selecting from the same table):
    Example:
    sum of quant is 52977.6
    sum of quant is 52890.1
    sum of quant is 52837.6
    double q, qt;
    try{
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    con1 = DriverManager.getConnection("jdbc:odbc:daydata", "", "");
    st = con1.createStatement();
    rs = st.executeQuery("SELECT quant from wk532000 where quant <> 0");
    while(rs.next()){
    qt = rs.getDouble("quant");
    q = q + qt;
    rs.close();
    st.close();
    con1.close();
    } catch(ClassNotFoundException e){
    e.printStackTrace();
    catch(SQLException e){
    e.printStackTrace();
    System.out.println("sum of quant is "+q);
    Why a different sum was produced each time the code was run? Any feedback is appreciated.

    what do you mean timestamp?One of the following is true.
    1. You have a field in the database that holds a timestamp (a date and a time.) That is because that is the only thing that databases allow.
    2. You have a varchar/char field that has a date in in as a string.
    If the second is the case then the problem has nothing to do with java. It is one of the following
    - Your migration is not migrating everything.
    - Your comparisons are not equivalent in terms of functionality.
    If the first then it could still be one of the above problems but it could also be because the timestamp values are not equivalent.

Maybe you are looking for