Problem in Retreiving the Salesorder

Hi All
   I am trying to retrieve the salesorder number by passing the purchase order number.  But the requirement is, I should not use any SQL query for this retrieval.  In stead, I have to use some function module.
Could anyone please suggest me any function module which can serve this purpose?
Thanks in advance,
Vijay.

Hi Amole
   I have already tried this FM.  Passing Sales Organization and Customer number are mandatory for this FM.  But as per my req., I cannt pass these values.  I can input only the PURCHASE ORDER NUMBER.
It would be better, if you suggest my any other FM's known to you suiting my requirement.
Thanks,
Vijay.

Similar Messages

  • Problem in retreiving the time from the table

    I have stored time in varchar2 format but in forms in order to enable a button i have to compare the time,for that I have used to_char(sysdate,'HH24') as : is not working.How to retreive the time in its exact format/?

    Hi,
    When you compare the Date and Time Fields which of varchar Type, we will get undesirable results.
    Always, Trying Store date in DATE Type.
    As, you are using stroed in Character type,
    Just try something like this,
    SELECT TO_DATE ('23:00:00', 'HH24:MI:SS')
      FROM DUAL;Which displays the
    Date
    6/1/2012 11:00:00 PMThe better way is to convert your varchar2 type to date format and check against it.
    Thanks,
    Shankar

  • Retreiving the file names from directory inside another directory from application server

    Hi,
    I had a problem in retreiving the file names from a directory inside another directory.
    I tried using the FM's  SUBST_GET_FILE_LIST, RZL_READ_DIR_LOCAL and EPS_GET_DIRECTORY_LISTING
    But here I am getting only one directory details.
    Actually my file is located a directory inside one more directory and one more directory and inside the files are located.
    i.e total 3 directories inside the 3rd one my files are there.
    I need to read the latest file name in the directory.
    So that i can do some manipulation after getting the file name.
    Is there option like OPEN DATASET , READ DATASET and CLOSE DATASET?
    Can anyone please let me know How can i acheive this one.
    Regards
    Ram

    Hi Ram,
        Following thread can be helpful for you, were it shows in the tables structure rsfillst a field RSFILLST-TYPE whether its a directory or file..........
    http://scn.sap.com/thread/865272
    thanks and regards,
    narayan

  • When i am retreiving the values from the access table i am getting null val

    hi all,
    I comeacross the following problem,I connected my applet to the Access database with jdbc:odbc driver.
    I am trying to retreive the values from the table.I am getting the result correctly when the same code with using applet it was giving the correct result.
    when I am using an applet program it was giving the null value istead of the actual records.
    can anybody tell me the reason why
    thanks in advance
    and also how to connect the databse in the webserver when i installed my applet in the client side
    please give me some suggestions to do that
    thankyou
    lakshman

    Hi Krishna,
    Can you please copy the code generated by ODI for creating your C$ table ?
    i mean :- create table C$_0Entity ( from the operator log
    Regards,
    Rathish A M

  • I havea 2007Mac Book Pro and a Genius told me that it is "vintage" and that the "logic board" is bad.  He removed the hard drive and told me to buy a "sled" to retreive the data.  Is it worth trying to fix it so that I don't have to buy a new one?

    I have a 2007 Mac Book Pro and a Genius told me that it is "vintage" and that the "logic board" is bad and no longer supported.  He removed the hard drive and told me to buy a "sled" to retreive the data.  Is it worth trying to fix it so that I don't have to buy a new one?  Where should I take it?  Thanks.

    djgornik,
    if the Genius is correct and the logic board is bad, then replacing the logic board would be fairly expensive. What problems are you seeing with your MacBook Pro that caused you to visit the Genius in the first place? Whether it’s worth trying to fix it or not depends on your particular circumstances, such as your willingness to trade time for money in pursuing repair vs. replacement.

  • Is there any way to retreive the FileName in the mapping

    Is there any way to retreive the FileName and so that I can use that in my mapping. This is FILE2RFC scenario with NO BPM.
       I am using the adapter specific message attributes in the file sender CC.
    Thanks,
    Ravi
    null

    Yes you can retreive it.  Create an simple user defined function in the mapping and use the following code.
    Imports: com.sap.aii.mapping.api.*;
    Parameter: String filename
    Paramter: String filename;
    filename = fileName + ".DAT";
    DynamicConfiguration conf = (DynamicConfiguration) container
    .getTransformationParameters()
    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File", "FileName");
    conf.put(key, filename);
    return filename;
    Or
    Just do whatever mentioned in this weblog:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    ---Satish

  • Problems with software the update with Nokia 6233

    Problems with software the update with Nokia 6233
    Hello,
    I have so far some-paints tries my software to update.
    Each time the update procedure begins, sometime stands then on the telephone “test mode”.
    On the computer wars I the reference in the update manager “connection to the telephone broken off” and wants the update to again start.
    If I change my profile attitudes since that for example, then after a telephone restart again deleted.
    What there can I make?
    GreetingsMessage Edited by adisaily on 24-Aug-2007 09:03 AM

    It sounds like your 5800 has the earpiece fault that was common with 5800's made before February.
    You need to take it to a nokia care point for repair under warranty.
    Care points/service centres and repair info:
    UK • Europe • Asia-Pacific • USA •
    Canada • Middle East and Africa
    Elsewhere: Click here, select your country, go to the support section, then select repair.

  • Problem in displaying the TaxRate columns .

    Hi Experts,
                            I am having a problem in displaying the 'TaxRate', in this Query there are some different Taxrate's columns  like-  ' 'Basic Excise Duty BED@10 %',  ' Education ces@2% ' , 'Secondary Education Cess @1%',    etc.   only  4 -5  tax's value should display  at a  time  and rest of  the TaxRate's  columns whose value is NULL  should not display.
    So, I want to display only those TaxRate's  columns whose  value  is not NULL  and If there is  no value for any taxrate's column  in the data, then it should Display only 'Excempt' column.
    This is my query...
    SELECT DISTINCT OSTA.Code , ORPC.DocNum AS 'Debit Note No.', ORPC.CardName AS 'Name', ORPC.CardCode AS 'code', ORPC.NumAtCard AS 'Supplier Ref.'  ,
                          RPC1.Dscription AS 'Description of Goods', ORPC.Address, RPC1.Quantity, RPC1.Price AS 'Rate', RPC1.LineTotal AS 'Amount', ORPC.DocDate,
                              (SELECT DISTINCT TaxRate
                                FROM          RPC4
                                WHERE      (staType = - 90) AND (StaCode = 'BED@10') AND (DocEntry = RPC1.DocEntry)) AS 'Basic Excise Duty BED@10 %',
                             (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_8
                                WHERE      (staType = - 60) AND (DocEntry = RPC1.DocEntry)) AS 'Education Cess @2%',
                             (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_7
                                WHERE      (staType = - 55) AND (DocEntry = RPC1.DocEntry)) AS 'Secondary Education Cess @1%',
                             (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_6
                                WHERE      (staType = 4) AND (StaCode = 'CST2') AND (DocEntry = RPC1.DocEntry)) AS 'Central Sales Tax(CST)',
                             (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_5
                                WHERE      (staType = 1) AND (StaCode = 'VAT4') AND (DocEntry = RPC1.DocEntry)) AS 'Input VAT@5%',
                              (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_4
                                WHERE      (staType = 1) AND (TaxRate = 12.500000) AND (StaCode = 'VAT12.5') AND (DocEntry = RPC1.DocEntry)) AS 'VAT12.5%',
                           (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_3
                                WHERE      (staType = 18) AND (StaCode = 'Add2') AND (DocEntry = RPC1.DocEntry)) AS 'ADD Tax 1%',
                                  (SELECT DISTINCT TaxRate
                                FROM          RPC4 AS RPC4_2
                                WHERE      (staType = 7) AND (DocEntry = RPC1.DocEntry)) AS 'Excempt'
    FROM         OSTA INNER JOIN
                          RPC4 AS RPC4_1 ON OSTA.Code = RPC4_1.StaCode CROSS JOIN
                          ORPC INNER JOIN
                          RPC1 ON ORPC.DocEntry = RPC1.DocEntry
    WHERE     (OSTA.Code IN ('BED@10','eCess 2%','HeCess 1%','CST')) AND (ORPC.CardCode = 'V00308') AND (ORPC.DocNum = '9220004')
    Kindly help me to solve this problem
    Regards
    Rahul

    Hi rahul,
    Try this:
    SELECT DISTINCT T0.DocNum AS 'Debit Note No.', T0.CardName AS 'Name', T0.CardCode AS 'code', T0.NumAtCard AS 'Supplier Ref.'
         ,T1.Dscription AS 'Description of Goods', T0.Address, T1.Quantity, T1.Price AS 'Rate', T1.LineTotal AS 'Amount', T0.DocDate,
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0)FROM RPC4 WHERE RPC4.StaType = -90 AND RPC4.DocEntry = T0.DocEntry) AS 'Basic Excise Duty BED@10 %',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = -60 AND RPC4.DocEntry = T0.DocEntry) AS 'Education Cess @2%',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = -55 AND RPC4.DocEntry = T0.DocEntry) AS 'Secondary Education Cess @1%',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 4  AND RPC4.StaCode = 'CST2' AND RPC4.DocEntry = T0.DocEntry) AS 'Central Sales Tax(CST)',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 1  AND RPC4.StaCode = 'VAT4'AND RPC4.DocEntry = T0.DocEntry) AS 'Input VAT@5%',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 1 AND RPC4.StaCode = 'VAT12.5'AND RPC4.DocEntry = T0.DocEntry) AS  'VAT12.5%',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 18 AND RPC4.StaCode = 'Add2'AND RPC4.DocEntry = T0.DocEntry) AS   'ADD Tax 1%',
         (SELECT DISTINCT ISNULL (SUM(RPC4.TaxRate),0) FROM RPC4 WHERE RPC4.StaType = 7 AND RPC4.DocEntry = T0.DocEntry) AS  'Excempt'
    FROM ORPC T0
         INNER JOIN RPC1 T1 ON T0.DocEntry = T1.DocEntry
    WHERE  (T0.CardCode = 'V00308') AND (T0.DocNum = '9220004')
    FOR BROWSE
    Thanks,
    Neetu

  • I'm trying to set up my Ipod, but when I go to sign in with an apple ID it says 'Could not sign in: there was a problem connecting to the server'.

    I just bought a 3rd generation ipod touch. It was professionally refurbished. I'm trying to set it up, and everything seems to be working fine, until we get to the wifi. I live on campus and our wifi is username and password protected. I signed in and everything seemed to work fine, and in the top left hand corner I have all the bars for wifi. However, when I go to sign in with an apple ID it says 'Could no sign in: there was a problem connecting to the server'. I've tried turning it on and off again, tried signing on to our wifi again, but it all isn't working. What can I do?

    I also encountered the same problem. Try using a different email address or try signing in later.

  • Problem with Installing the Oracle8i PO into Windows ME

    I think I have the same problem as some of you had. Recently, I bought the Oracle Book and it has 3 discs: 1 for Oracle Developer 6 for Win 95 or 98, 1 for Oracle 8i PO (release 8.1.5) for Win 95, also 1 for Win 98.
    My computer had no problem when I installed the Or. Developer. However, my computer won't allow me to install the Oracle 8i PO Win 98 disc. Instead of that, I have no problem of installing the Oracle 8i PO Win 95 disc. After I installed the Win 95 disc with all correct configuration according to the instructions, I can not CONNECT to the database. So, is this mean the Windows ME is compatible with the Win 95 disc? Or my computer is "screw up"? Because I know Win Me is very much the same as Win 98. If I installed the Win 98 disc, it should be ok. Anyway, I installed the Win 95 disc successful, but can not CONNECT.
    So if anyone can help me out, or need a specific error message, I will post up next time. For now, I think I already gave you guys a "head-ache"... sorry.... Thanks all! Wait for your helps guys!

    What drivers are you attempting to install?
    - Peter

  • I'm trying to buy a book. The book is made in I-Photo and when I push buy book button it starts to process and than says--  There was a problem communcating wit the apple store   " help"

    I'm trying to buy a book I made in I-photo. I have made a 20 page book in I-photo and when I push the "buy book" button it starts to process and then pops up a sign that say'es There was a problem commucating with the apple store. Please try again.   Help

    Are you buying from the correct Print Products Store?  If you are using the wrong store, your AppleID may not be valid.
    Is the Print Products Store set correctly in iPhoto Preferences > Advanced?  It should be set to the  same country as your billing address and delivery address, and match the settings of the Apple ID you are using.
    And you are using iPhoto '09 or '11, right?  you can no longer buy books from earlier versions.
    When you reenter your settings as LarryHN described, don't forget to enable Express Checkout. It is required.

  • I have just updated to Yosemite, but now I can't get the custom shortkeys to work. In Mavericks I had no problem whatsoever, but now even after googeling and restart no solution. Does anyone have the problem? All the other shortcuts work!

    I have just updated to Yosemite, but now I can't get the custom short-keys to work.
    In Mavericks I had no problem whatsoever, but now even after googeling and restart no solution.
    Does anyone have the problem? All the other shortcuts work!

    Hi Thomas,
    I can confirm the problem you are hitting. The XML test trace does not get recognized at all, and it defaults to Eclipse's basic Open File behaviour. I am not sure if it's because the format definition is missing, or if it's because something prevents the trace type from being recognized. I will open a bug about it.
    Thanks for identifying this issue!
    In the meantime, if you'd like to experiment with XML analyses, you can also take a look at the example at https://github.com/tracecompass/xml-analysis-example .
    Cheers,
    Alex

  • There was a problem connecting to the server ... OS 10.8.4 + WD NAS

    Dear all,
    first my configuration:
    iMac from mid 2012, MacOS X Mountain Lion, 10.8.4, iPhoto 09 v. 8.1.2 - all software updates done and up-to-date
    MacBook Pro late 2011, MacOS X Mountain Lion, 10.8.4
    NAS WD My Book World Edition II (white light), 2 x 1TB (configured RAID : 1TB mirrored), original firmware (01.02.14 with MioNet built on Thu Feb 9 14:11:48 CST 2012 ) NFS, AFP enabled
    a win 7 laptop and plenty of other devices
    everything on a LAN with GB router + WiFi
    I have my iPhoto library on my iMac, but the photos (the originals) stored on the NAS. I have the option "copy photos to library when importing" disabled. So I guess iPhoto has a reference / link in the library to the original files.
    Everything used to work fine until some weeks ago. Not sure what happened but suddenly I got the error message "There was a problem connecting to the server ... Check the server name or IP address, and then try again. ..." when I tried to import photos stored on my WD NAS.  When I want to display any photo stored on the NAS - same thing.
    Now I guess I have a bunch of gray hairs more while trying to get this fixed.
    I tried so many of the tips posted everywhere including booting in save mode, deleting the .plist files (first I actually tried to clean them using Xcode first before deleting them), etc. I cleared out KeyChain. I removed all recent entries (folders) and recent servers from the "history". I tried to connect as guest or named user. There are also no "logIn items" pointing to the NAS. I even tried to disable / enable AFP + NFS on the NAS, not to mention countless restarts of all the machines
    One other thing I noticed: Before that problem occured I was able to select the NAS in Finder and it would show me all the shares. When I selected one of them it was mounted automatically. When I select it now I get "connecting" for a loooong time and then "Connection Failed". Most of the time (not always!) however I am able to get in via "Go -> Connect To Server - smb://<nas server name>). And suddently after that also selecting the NAS in Finder shows me all the shares! Hoever even this not in 100% of all cases. I can replicate this from the iMac and the MacBook.
    I do use an external HD for TimeMachine to back up my data (directly connected via USB). No issues there.
    Not I really don't know what to do any more
    Do you have any ideas? Did anyone ever get a response from Apple with a useful solution that really hit the core of the issue?
    Thank you!

    SOLVED!! and I want to share the solution which worked for me with everybody here. Ultimately I had to install nettalk 2.2 on my NAS as described here: http://mybookworld.wikidot.com/netatalk2-2-on-whitelight . A nice description on how to do that can be found here: http://forums.macrumors.com/showthread.php?t=1102423 .
    One last remark: When asked about the "DHX2 login process", I opted to install the original version, so I can confirm this one works too.

  • "There was a problem connecting to the server" in iTunes after migrating to new mac

    I have a problem that is driving me crazy with my brand new iMac. I see many other people posting similar issues, but none of the other solutions seem to work for me.
    I had a MacPro and bought a new iMac, on which I used Migration Assistant to set up. So the new iMac is virtually the same as my old machine in terms of appearance and installed applications. Both machines have Mountain Lion 10.8.2. All software on both machines has been through Software Update and is fully up to date, as are the connected devices (iPhone and iPad).
    The problem is with iTunes. Every time I start iTunes (I think at the moment it checks my two connected devices) I get a pop up dialogue saying:
    There was a problem connecting to the server "MacPro".
    The server may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again.
    This dialogue continues to pop up constantly as long as iTunes is open, interrupting my work and frustrating me no end. The old machine is of course turned off and indeed is not available -- but I can't find what on the new iMac is so desperate to connect to it.
    So far I have tried completing erasing my iTunes library, deleting all the preferences, reinstalling iTunes from a fresh download of the dmg, safe rebooting several times with no peripherals connected at all, and deleteing other preferences like the Login Items, iPhone config and iPhoto. I have also cleared Recent Items from the apple menu and opened "Connect to Server" in the finder and cleared all servers from the dropdown menu.
    Last night I also completely restored my iPhone from scratch to see if that would clear away the issue and I have connected both iPhone and iPad to go through any apps that have permission to write content to my computer and deleted all of them completely from the devices.
    Nothing has changed at all after all that, and I have run out of ideas. Clearly there is something somewhere that has my old machine's name hard coded in it but I can't see any way to search for it. I would grep my Library folder but I think a lot of the files are binary so I'm not sure that would unearth anything. I've seen many posts saying that Apple phone support (which I would qualify for) can't help with this issue and so I have put off phoning them to simply run through all the things I've already tried.
    Any advice that anyone could offer would be extremely helpful. I can't use iTunes at all like this as it disrupts everything I try to do on the new machine.
    many thanks!!

    Nothing at all? Can't anyone help with this issue at all? I would be grateful for any suggstions as it is driving me crazy. It happens every time I open iTunes and also every time I open Mail.

  • I am currently using Lightroom 5.6 and operating on a Mac with OSX Ver 10.9.5. I am receiving an error problem when doing the following -  I am exporting selected photos from a particular Catalogue saved on Drive 1 to a folder created on another Drive whe

    Hi, I am having a little trouble with exporting images to another drive and Catalogue and need some help if anyone can give me some advice
    I am currently using Lightroom 5.6 and operating on a Mac with OSX Ver 10.9.5.
    I am receiving an error problem when doing the following -
    I am exporting selected photos from a particular Catalogue saved on Drive 1 to a folder created on another Drive where a Lightroom Catalogue has been created. In this Catalogue I have arranged for the images once exported to be moved to a different folder - I used the Auto Import process under the File dialogue box.
    When processing the Export I receive an error message for each of the images being exported indicating the following -
    Heading Import Results
    Some import operations were not performed
    Could not move a file to requested location. (1)
    then a description of the image with file name
    Box Save As                                  Box  OK
    If I click the OK button to each image I can then go to the other Catalogue and all images are then transferred to the file as required.
    To click the OK button each time is time consuming, possibly I have missed an action or maybe you can advise an alternative method to save the time in actioning this process.
    Thanks if you can can help out.

    Thank You, but this is a gong show. Why is something that is so important to us all so very, very difficult to do?

Maybe you are looking for

  • I have ipad2, using wifi home network and ios7. Why I cannot play youtube...help!

    I have ipad2, using wifi home network and ios7. Why I cannot play youtube...help!

  • OBIEE 11g - serious problem when rotating columns into "table prompt" area

    Hi, I'm hitting an OBIEE 11g issue that's causing huge problems on reports. Essentially, the problem is this - if I dump all the columns of a query to a table, everything looks fine. But if I rotate one of the columns into the "table prompts" area, O

  • Jpeg file size 6D vs 60D

    Hi all, Being a bit newer at all this I'm sure there is something I don't know that I don't know  which would answer this: Been taking some identical test shots on my new 6D and my old 60D to compare.  Jpeg only for now, same "quality" setting.    I

  • Laptop difficult finding printer on bootcamp imac

    Hello ! Thank you very much for your time ! Info: iMac is bootcamp with Windows 7. Printers have been set up and shared on both OSX/Windows on the network. iMac is the main computer. Drivers have been installed on all computers. Problem: Asus Laptop

  • Dividing iPhoto Library

    I have about 9000 photos in my iPhoto Library. There are approximately 3000 photos in each of the folders for 2006, 2007, 2008. I am trying to burn DVDs for each year as back up. The 3000 photos are too many for one DVD. I can't seem to figure out ho