Help in finding GCD correctly

Hi,
I need to convert 39.8 to inches as 3' - 3 4/5".
For this, first I find the gcd of 8 and 10, which should be 2 and then divide 8 and 10 by 2 to get 4 and 5. I implemented following program, but it seems I am going wrong somewhere and it is not getting the correct result. I am not sure where I am going wrong, hence seeking your help.
{code}
public static void main(String[] args) {
          double decNum = 39.8d;
          int feet = (int)(decNum / 12); // 3
          int inch = (int)(decNum % 12); //3
          double fraction = decNum % 12; //3.8
          double remainderInch = (fraction - inch); //0.8
          String str = Double.toString(remainderInch);//0.8
          int numberOfDecPts = str.length() - 2;
          double tens = Math.pow(10, numberOfDecPts);
          long remainderWhole = (long)(remainderInch * tens);
          long gcd = builtInMethod(remainderWhole, (long)tens);
          double numerator = remainderWhole / gcd;
          double denominator = tens / gcd;
          StringBuffer sb = new StringBuffer();
          sb.append(feet + "\'" + " - ");
          sb.append(inch + " ");
          sb.append(numerator + "\\" + denominator + "\"");
          System.out.println(sb);
     public static long builtInMethod (long u, long v) {
     BigInteger bigU = new BigInteger (Long.toString (u));
     BigInteger bigV = new BigInteger (Long.toString (v));
     long gcd = bigU.gcd (bigV).longValue ();
     return gcd;
The GCD that I get is 4 instead of 2 and the ouput I get is:-
3' - 3 1.999999999999993E15\2.5E15"
It works perfectly for number like 39.5 (3' - 3 1.0\2.0") but not for 39.8.
If you could please suggestion where I am going wrong, that would be very helpful.
Thanks in advance!                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Here is my convoluted way to coax a fraction out of decimal part
                double number=3.84;
          String str=""+number;
          System.out.println(str);
          int num=0;
          for(int i=0;i<str.length();i++)if(str.charAt(i)=='.'){
               num=Integer.parseInt(str.substring(i+1,str.length()));
               break;
          str=""+num;
          int den=(int)Math.pow(10,str.length());
          for(int i=den;i>1;i--){
               if(den%i==0 && num%i==0){
                    den=den/i;
                    num=num/i;
                    break;
          System.out.println((int)number+" "+num+"/"+den);

Similar Messages

  • Can someone please help me find the correct driver for my audio ca

    Hello, it's famke again...Still trying to find drivers.. My sound card is apparently also missing drivers... I've tried many drivers from different sites matching the information i've taken off the card...but for some reason i always get a big red slash through my audigy sound control panel after trying to install the driver and reboot my system... I'm convinced i haven't been able to find the correct driver... The information off the card is...Soundblaster Audigy 2ZS M:SB0350... If anyone can help out i would greatly appreciate this...Famke.

    I'm new to this, but I also had trouble for a while in finding and installing the right drivers. Eventually I got it to work with the link below. Follow the steps and select everything it suggests (I did and it worked for me). You might want to try it and see if it works for you too. Good Luck. http://www.creative.com/language.asp...wnloads/su.asp

  • Need help to find the correct .MIB-file

    Hi.
    We are using some Nexus 7009 chassis on my work and a program called "SNMPc" that receives traps from our Nexus devices.
    The program do not have the new Nexus 7000 MIBs so we are only getting "pure text" from Nexus.
    We need to download the right type of MIB file so we can get a better understanding of what is happening on the Nexus.
    We can ONLY use ".mib" extensions but Cisco currently only offering ".traps", ".my" and ".oid" files what I can find.
    This is an example message we get:
    ciscoMgmt.706.0.1 [1] ifName.437260288 (DisplayString): Ethernet3/2 [2] ciscoMgmt.706.1.1.0 (Integer): 5 [3] ciscoMgmt.706.1.2.0 (Integer): 5 [4] ciscoMgmt.706.1.3.0 (Integer): 5 [5] ciscoMgmt.706.1.4.0 (Integer): 5 [6] ciscoMgmt.706.1.5.0 (Integer): 5 [7] ciscoMgmt.706.1.6.0 (Integer): 5 [8] ciscoMgmt.706.1.7.0 (Integer): 5 [9] ciscoMgmt.706.1.8.0 (Integer): 4 [10] ciscoMgmt.706.1.9.0 (Integer): 5 [11] ciscoMgmt.706.1.10.0 (Integer): 5 [12] ciscoMgmt.706.1.11.0 (Integer): 5 [13] snmpTrapEnterprise.0 (ObjectID): ciscoMgmt.706
    We can see that the trap name is: 1.3.6.1.4.1.56.12.1.1.0.1
    Can someone help me get the right MIB?

    Silly question but have your tried changing the file extension of the .my files to .mib  ?  I typically have to do something like that for net-snmp with Cisco MIB files...
    - Be sure to rate all helpful posts

  • Help me find the correct document please!

    (This is a repost - not sure if I posted it in the correct forum before)
    I'm just starting out with Java, on the J2ME platform.
    I've been reading about threads, such as this:
    http://developers.sun.com/techtopics/mobility/midp/articles/threading2/
    where it says:
    The Java runtime associates each live thread with an instance of java.lang.Thread.
    But on my API docs, which I downloaded (can't find them online) the Thread class isn't a HTML link, suggesting it's not part of J2ME. But all the example source code I've seen has it supporting "start", "run" etc.
    The docs I have were downloaded from the Sun site, and are in the same format as the regular J2SE 1.5 does (html files with 3 panes).
    Am i missing something? Where (possibly on a Sun webpage) do I get documentation about Runnable, Thread etc, related to the MIDP2.0 release.

    I'm new to this, but I also had trouble for a while in finding and installing the right drivers. Eventually I got it to work with the link below. Follow the steps and select everything it suggests (I did and it worked for me). You might want to try it and see if it works for you too. Good Luck. http://www.creative.com/language.asp...wnloads/su.asp

  • Please help to find the correct answers

    Hi,
    Please send an url to study about the below questions with short and easily understandable explanation with simple example.Please help to improve my knowledge for the below concepts.
    1.     String
    2.     String Buffer
    3.     String Builder
    4.     finally
    5.     final
    6.     finalize
    7.     static
    8.     Abstract Class
    9.     Interface
    10.     Inheritance
    11.     Overloading
    12.     Overriding
    13.     Wrapper class
    14.     Collection
    15.     Array
    16.     Array List
    17.     Linked List
    18.     Vector
    19.     Hash Table
    20.     Hash Map
    21.     Hash Set
    22.     Tree Set
    23.     Set
    24.     List
    25.     Map
    26.     Itterator
    27.     Enumeration
    28.     Comparator
    29.     Comparable
    30.     Auto Boxing and Un Boxing
    31.     Generics
    32.     JDBC Drivers
    33.     Statement
    34.     Prepared Statement
    35.     Callable Statement
    36.     ResultSet
    37.     Stub and Skelton
    38.     Marshalling and UnMarshalling
    39.     Sterilization
    40.     Synchronization
    41.     Thread
    42.     Servlet Life Cycle
    43.     Generic Servlet
    44.     HttpServlet
    45.     RequestDispacher
    46.     Forward
    47.     Redirect
    48.     ServletContext
    49.     ServletConfig
    50.     Filter
    51.     Throttle Filter
    52.     GZip Filter
    53.     Session Handling
    54.     Jsp Life Cycle
    55.     JSP Action tags
    56.     JSP Include Directives
    57.     JSP: plug-in
    58.     MVC Pattern
    59.     Implementation of struts using mvc with flow
    60.     Hibernate
    61.     EJB
    62.     Session Bean
    63.     Entity Bean
    64.     Inner Join
    65.     Outer Join
    66.     Left outer Join
    67.     Right Outer Join
    68.     Stored Procedure and how to call in java
    Thanks in advance,
    Regards,
    Saravanan.K

    Note: This thread was originally posted in the [CLDC and MIDP|http://forums.sun.com/forum.jspa?forumID=76] forum, but moved to this forum for closer topic alignment.
    To the Original Poster: the forum does not function as your personal homework solving process. If you have specific questions about these subjects that's fine.
    Meanwhile I suggest you read [The Java Tutorials|http://java.sun.com/docs/books/tutorial/]
    Edited by: dcminter on 08-Sep-2009 15:02

  • Help to find the correct technology

    Dear all,
    first of all excuse me for my bad english. I've to develop a monitoring system for our instrumentation.
    What I want to do is:
    an user starts to use an instrument controlled by a PC (Linux or Windows), set an experiment ad runs an agent giving it some information. The agent starts in background and when receive a request from a server, collects some information in XML format and return its to the server. The server write this information in a db. The server ask for information in regularly interval of time. The user can use a browser to connect to the server, authenticate himself and see the experiment status.
    When the experiment is finished, the server send a kill signal to the agent and the agent kill itself.
    I've an agent for each instrument.
    Instrument <------> PC Linux/Windows (agent) <------ xml ------> Server (Java EE) <--- jsf/restful----> Client
    I want to use Java EE for the server part, but I haven't idea how to write the agent or which technology I've to use to realize the agent and how create the communication server <-> agent.
    Thanks a lot for your help.
    Enrico

    morellik wrote:
    I want to use Java EE for the server part, but I haven't idea how to write the agent or which technology I've to use to realize the agent and how create the communication server <-> agent.You will have to learn. That is going to take weeks at least and will probably require you to buy and study several books. But you can learn while doing, JEE is not one big thing, it is a collection of little things which can be used and learned separately. So you could focus on the RESTful side of it first for example.
    Thanks a lot for your help.What help? You didn't even ask a question, you just made a statement that you need to do stuff. If you want help you'll have to make a start yourself first, which will be orienting yourself on what is available. If you are stuck choosing between different technologies, THEN it is time to ask for help.

  • Dont find the correct video drivers for my T61 + windows 7 ultimate + intel pm965 video card

    Hi Experts,
    I am keep getting the stop error 0x00000116 failing with a blue screen while im browsing. I have observerd this quite a few times and also I could not find the correct video drivers for my t61 thinkpad in the ibm site. I could see the details as wxp & windows vista but not for win 7. Please find the link below which has all the video drivers fro t61. Please help me find the correct customized video drivers fro my t61 + win 7. Hope you understand my problem.
    By the way i just use for home computing and my win 7 is upto date wiht no extra software and games installed. I dont play games at all on my t61.
    my t61 specificaitons : http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-67883
    If you see the link http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-67853
    if u search in the baove link ,you cannot find the video drivers for t61 + win 7. You have it only for xp & vista in this section. Intel X3100 (940GML, 945GM, GL960, GM965). there are no video drivers for win 7 for t61. my video card info is
    Video chipsets:
    Intel PM965/GM965 graphics. (15.4 inch).
    my video card is Intel PM965 chipset . Please help me to get the correct customized version of the video drivers for my thinkpad as I am getting this problem with video drivers and its getting restarted when I am in the middle of something. But it works find after that. I have tried to install drivers from intel and its saying i have customized version of lenovo drivers and I should contact you guys. I triedcomplete  win 7 update from windows site and installed all patches and still getting the problem intermitently, but after restart it works fine. No hardware or software changes. Its that I need the correct version of video drivers for win 7. Please inform the lenovo about this and ask them to develop the good video drivers for win 7 + t61 model. Hope you understand my situation.
    Please let me know if you need any kind of info so that i can provide.
    thanks for reading the mail.
    Regards,
    Manu

    Are you kidding me ? You dont work for Lenovo and you are an active volunteer here in this forums. I have seen your replied many times and wont get paid by Lenovo, you are really crazy for ur stufee .Anyways thanks a lot for the link and the original lenovo staff were notable to provide the link and you could. Well I have tried that what you have said nd still I could not get the link, here you go..
    http://www-307.ibm.com/pc/support/site.wss/product.do?doccategoryind=50880&template=%2Fproductpage%2...
    Let me install the drivers from your link and I will reply soon, so who ever search in this forum now , there wont be any problems for t61 windows 7 video drivers because of u. You are awsome.wll reply my results soon.

  • Please help to find out asmlib kernel driver ?

    Hello everyone, please help to find out correct asmlib kernel driver ?
    rpm -ivh oracleasmlib-2.0.4-1.el5.x86_64.rpm
    error: Failed dependencies:
    oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.4-1.el5.x86_64
    My kernel version is:
    uname -a
    Linux 2.6.18-238.el5xen #1 SMP Tue Jan 4 16:15:36 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
    Thank you.

    user12144220 wrote:
    Hello everyone, please help to find out correct asmlib kernel driver ?
    rpm -ivh oracleasmlib-2.0.4-1.el5.x86_64.rpm
    error: Failed dependencies:
    oracleasm >= 1.0.4 is needed by oracleasmlib-2.0.4-1.el5.x86_64
    My kernel version is:
    uname -a
    Linux 2.6.18-238.el5xen #1 SMP Tue Jan 4 16:15:36 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
    Thank you.uname -rm
    you can find the exact oracleasmlib for your version
    eg:- my system Intel IA64 Architecture
    Library and Tools
    * oracleasm-support-2.1.7-1.el5.ia64.rpm
    * oracleasmlib-2.0.4-1.el5.ia64.rpm
    and then search(control +F) for  2.6.18-238.el5
    refer this link:-http://www.oracle.com/technetwork/server-storage/linux/downloads/rhel5-084877.html

  • Help to find correct patchset for upgrade on Metalink

    I am new to Metalink and need help to find correct patchset to upgrade base database version from 10.2.0 to 10.2.0.2 on Sun Solaric (SPARC 64)
    What selections should I pick to get correct download link?

    1) Click on the 'Patches and Updates' tab
    2) Click on the 'Quick Links to the Latest Patchsets, Mini Packs, and Maintenance Packs' link
    3) Hover over the 'Oracle Database' link, hover over the operating system, click on the target version to which you want to upgrade
    On the resulting page you click on 'Download' icon.

  • X300 - Need help finding the correct internal DVD Burner

    I want to buy and install an internal DVD burner, which I am unable to identify on the Lenovo website.  The only internal Ultrathin DVD burners I find fit the x200 series, but nothing for the x300 series.  Frustrating.
    Mine is a Thinkpad x300, Type 6477, and S/N L3-xxxxx.
    Anyone able to help me identify the correct part number?
    Thanks!
    Moderator Note; s/n edited for members own protection

    . . . thanks for the part IDs, lead_org. . . . took your advice and searched ebay for both, but nothing surfaced. . . . so, I entered the parts numbers into Lenovo's Websales site and was unable to find any such part listings for sale anywhere . . . nothing. . . . then, I emailed Lenovo Websales about it . . . they promptly replied that the parts were not in stock, and that I could try purchasing from www.cdw.com . . . I can understand if Lenovo did not have them in stock, but that they would not even LIST the parts was weird. . . . this is a 1-1/2 year old machine . . . are the lifecycles for laptops these days so short that they are unsupported even this fast? . . . I did see a few other sites selling the replacement DVD as new (presumably) for US$300, but none were in stock. . . . if I have no other alternatives, is a DVD the sort of part that is durable enough to reliably purchase used? Thanks!

  • DB13 can not find the correct controlfile.

    My environment is
    Win2003
    Oracle 10g
    Ecc 6.0
    When I use DB13 for the full offline backup, I get the following message:
    BR0051I BRBACKUP 7.00 (13)
    BR0055I Start of database backup: bdtelngh.afd 2006-08-02 21.01.03
    BR0252W Function remove() failed for 'D:\oracle\DEV\102\database\sap.ora' at location BrInitOraCreate-1
    BR0253W errno 13: Permission denied
    BR0252W Function remove() failed for 'D:\oracle\DEV\102\database\sap.ora' at location BrInitOraCopy-7
    BR0253W errno 13: Permission denied
    BR0166I Parameter 'control_files' not found in file D:\oracle\DEV\102\database\initDEV.ora - default assumed
    BR0274W File 'D:\oracle\DEV\102\database\CTL1DEV.ORA' not found
    BR0101I Parameters
    Name                           Value
    oracle_sid                     DEV
    oracle_home                    D:\oracle\DEV\102
    oracle_profile                 D:\oracle\DEV\102\database\initDEV.ora
    sapdata_home                   D:\oracle\DEV
    sap_profile                    D:\oracle\DEV\102\database\initDEV.sap
    backup_mode                    ALL
    backup_type                    offline_force
    backup_dev_type                disk
    backup_root_dir                D:\oracle\DEV\sapbackup
    compress                       yes
    compress_cmd                   D:\usr\sap\DEV\SYS\exe\nuc\NTI386\mkszip -c $ > $
    uncompress_cmd                 D:\usr\sap\DEV\SYS\exe\nuc\NTI386\uncompress -c $ > $
    exec_parallel                  0
    system_info                    SAPServiceDEV JXCDEV Windows 5.2 Build 3790 Service Pack 1 Intel
    oracle_info                    DEV 10.2.0.2.0 8192 1870 13112942
    sap_info                       700 SAPSR3 DEV U0388471103 R3_BASIS 0002894446
    make_info                      NTintel OCI_10103_SHARE Apr  2 2006
    command_line                   brbackup -u / -jid ALGOF20060802210000 -c force -t offline_force -m all -p initDEV.sap -w use_dbv -a -c force -p initDEV.sap -s -w
    BR0116I ARCHIVE LOG LIST before backup for database instance DEV
    Parameter                      Value
    Database log mode              Archive Mode
    Automatic archival             Enabled
    Archive destination            D:\oracle\DEV\oraarch\DEVarch
    Archive format                 ARC%S_%R.%T
    Oldest online log sequence     1867
    Next log sequence to archive   1870
    Current log sequence           1870       SCN: 13112942
    Database block size            8192       Thread: 1
    BR0118I Tablespaces and data files
    Tablespace     TS-Status  F-Status  File                                                       Size   Id.     Device  Link    Type       MaxSize     IncrSize  BlkSize
    PSAPSR3        ONLINE*    ONLINE+   D:\ORACLE\DEV\SAPDATA1\SR3_1\SR3.DATA1
    BR0120I Control files
    File                                                Size   Id.      Device  Link    Type
    D:\oracle\DEV\102\database\CTL1DEV.ORA              8192    0            0  NOLINK  FILE
    BR0280I BRBACKUP time stamp: 2006-08-02 21.01.09
    BR0115I Compression rate for all files 5.8422:1
    BR0056I End of database backup: bdtelngh.afd 2006-08-03 06.07.57
    BR0280I BRBACKUP time stamp: 2006-08-03 06.07.59
    BR0053I BRBACKUP completed successfully with warnings
    BR0280I BRBACKUP time stamp: 2006-08-03 06.07.59
    BR0291I BRARCHIVE will be started with options '-U -jid ALGOF20060802210000 -d disk -c force -p initDEV.sap -s -w'
    BR0280I BRBACKUP time stamp: 2006-08-03 06.08.06
    BR0292I Execution of BRARCHIVE finished with return code 1
    1.It seems the correct control file can not been found.
    I have checked the file "initDEV.ora" and spfile.In them the positions of control file are  "/origlogA/cntrl","/origlogB/cntrl" and "/sapdata1/cntrl".
    So I donot know why the process of DB13 cannot find the correct control file and search the file CTL1DEV.ORA.
    Because the correct control file could not been backuped,I can not restore and recover the database.
    What causes it?
    2.
    BR0252W Function remove() failed for 'D:\oracle\DEV\102\database\sap.ora' at location BrInitOraCreate-1
    BR0253W errno 13: Permission denied
    BR0252W Function remove() failed for 'D:\oracle\DEV\102\database\sap.ora' at location BrInitOraCopy-7
    BR0253W errno 13: Permission denied
    How can I solve this warning? And why it occurs?
    Anyone can help me?
    Thanks!
    Ryan Fung

    Praveen,
    I had the same problem as Ryan and Gary on a new XI \ Oracle 10g installation and your suggestion did solve this.  It seems that when you run the first BRTOOLS based backup, Oracle tries to create a PFILE from the automatically generated SPFILE, but the DB user doesn't have rights to delete the SAP.ORA file.  Once you assign SAP_<SAPSID>_GOBALADMIN full rights to the Oracle folder, an updated INIT<SID>.ORA is generated and the default SAP.ORA is deleted on the next BRTOOLS backup run.
    Thanks for the tip.
    Rgds,
    Andrew

  • Why does my ipod touch no longer find my correct location?

    Up until a couple of months ago, no problem - when at home my touch found my exact location on Long Island. But for the last two months, it thinks I'm in Maryland. My wife has an ipad. Using the same wifi network it finds the correct location. I've tried resetting the touch, but it keeps telling me I'm in Maryland, not New York. Any ideas as to why this happened, or how I can correct it?

    If you've tried resetting it and that hasn't helped, then you may have to submit your wifi to Skyhook database. The only other thing is if you've recently moved I would [read this|http://www.technipages.com/ipod-touch-how-to-change-current-location.html] , otherwise you can go [here to submit your wifi to the Skyhook database|http://www.skyhookwireless.com/howitworks/submit_ap.php].
    Hope that helps.

  • When starting Window XP on my laptop (which was connected, in the past, in a wi-fi network now no more available) appears immediatly this allert: "iTunes Helper was not installed correctly. Please reinstall iTunes. ERROR 7."  Reistallation impossible!

    When starting Window XP on my laptop (which was connected, in the past, in a wi-fi network now no more available) appears immediatly this allert: "iTunes Helper was not installed correctly. Please reinstall iTunes. ERROR 7."
    Reistallation of older or up to date  iTunes versions is impossible because: "Installation package iTunes.msi is located on a network resource not available" and because "It is impossible to remuove thew previous verson of iTunes. Impossible fto find the path."
    Someone can help me ???
    Thank,
    Gerald

    Take a look at iTunes for Windows: "Error 7" message when opening iTunes. Perhaps your .NET Framework needs a repair.
    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • Need help for finding objects impacted by size change for an infoobject

    hi all,
    need help for finding objects impacted by size change
    for xxx infoobject, due to some requirements, the size to be changed from
    char(4) to char(10), in the source database tables as well as adjustment
    to be done in BI side.
    this infoobject xxx is nav attribute of YYY as well as for WWW
    infoobjects. and xxx is loaded from infopkg for www infoobject load.
    now that i have to prepare an impact analysis doc for BI side.
    pls help me with what all could be impacted and what to be done as a
    solution to implement the size change.
    FYI:
    where used list for xxx infoobject - relveals these object types :
    infocubes,
    infosources,
    tranfer rules,
    DSO.
    attribute of characteristic,
    nav attribute,
    ref infoobject,
    in queries,
    in variables

    Hi Swetha,
    You will have to manually make the table adjustments in all the systems using SE14 trans since the changes done using SE14 cannot be collected in any TR.
    How to adjust tables :
    Enter the table name in SE14. For ex for any Z master data(Say ZABCD), master data table name would be /BIC/PZABCD, text table would be /BIC/TZABCD. Similarly any DSO(say ZXYZ) table name would be /BIC/AZXYZ00 etc.
    Just enter the table name in SE14 trans --> Edit --> Select the radio button "Save Data" --> Click on Activate & adjust database table.
    NOTE : Be very careful in using SE14 trans since there is possibility that the backend table could be deleted.
    How to collect the changes in TR:
    You can collect only the changes made to the IO --> When you activate, it will ask you for the TR --> Enter the correct package name & create a new TR. If it doesn't prompt you for TR, just goto Extras --> Write transport request from the IO properties Menu screen. Once these IO changes are moved successfully, then the above proceduce can be followed using SE14 trans.
    Hope it helps!
    Regards,
    Pavan

  • Need help for finding oracle payables tables

    Hi,
    I need help for finding tables relating fields INVOICE_ID, NOTIFICATION_ID and APPROVAL_STATUS or WFAPPROVAL_STATUS. I have searched a lot but has been unable to find any table containing all the above mentioned fields. I found the table WF_NOTIFICATIONS for INVOICE_ID, however have been unable to find the latest tables with INVOICE_ID and APPROVAL_STATUS as fields.
    All the tables having this combination are either very old tables which are not used anymore or doesnt give the required data. Please let me know where am i going wrong. Once i get the required tables, i need to join the tables to get the required data with the imp fields. Also, the values of WFAPPROVAL_STATUS are not very clear to me. I need values for it as APPROVED, REJECTED AND INITIATED.

    Hi Swetha,
    You will have to manually make the table adjustments in all the systems using SE14 trans since the changes done using SE14 cannot be collected in any TR.
    How to adjust tables :
    Enter the table name in SE14. For ex for any Z master data(Say ZABCD), master data table name would be /BIC/PZABCD, text table would be /BIC/TZABCD. Similarly any DSO(say ZXYZ) table name would be /BIC/AZXYZ00 etc.
    Just enter the table name in SE14 trans --> Edit --> Select the radio button "Save Data" --> Click on Activate & adjust database table.
    NOTE : Be very careful in using SE14 trans since there is possibility that the backend table could be deleted.
    How to collect the changes in TR:
    You can collect only the changes made to the IO --> When you activate, it will ask you for the TR --> Enter the correct package name & create a new TR. If it doesn't prompt you for TR, just goto Extras --> Write transport request from the IO properties Menu screen. Once these IO changes are moved successfully, then the above proceduce can be followed using SE14 trans.
    Hope it helps!
    Regards,
    Pavan

Maybe you are looking for