Expense Reporting having incorrect value for org_id

Hello team,
Some of our expense reports are having issue while populating the org_id on ap_expense_report_headers_all table. Expense report was created in UK but having the org_id value for US. This is happening randomly and not to all the expense reports in the system.
Please feel free to let us know if anyone of you came across the same issue. Parallely I have opened a SR with Oracle team.
Application release Version 12.1.1
Thanks
Abhi

Hi Abhishek,
are you creating expense reports from a single responsibility all the time or you have different responbilities...?
If so check the profile option values attached to the mo:operating unit ....since system would populate the ORG_ID column in the ap_expense_report_headers_all table based on the value assigned in the profile option.
References:
In Oracle Internet Expenses patchset H, why do we receive a warning saying the employee is inactive when auditing a report? [ID 312203.1]
Regards,
Ivruksha

Similar Messages

  • Java returning incorrect values for width and height of a Tiff image

    I have some TIFF images (sorry, I cannot post them b/c of there confidential nature) that are returning the incorrect values for the width and height. I am using Image.getWidth(null) and have tried the relevant methods from BufferedImage. When I open the same files in external viewers (Irfanview, MS Office Document Imaging) they look fine and report the "correct" dimensions. When I re-save the files, my code works fine. Obviously, there is something wrong with the files, but why would the Java code fail and not the external viewers? Is there some way I can detect file problems?
    Here is the code, the relevant section is in the print() routine.
    * ImagePrinter.java
    * Created on Feb 27, 2008
    * Created by tso1207
    import java.awt.Graphics2D;
    import java.awt.Image;
    import java.awt.print.PageFormat;
    import java.awt.print.PrinterException;
    import java.io.File;
    import java.io.IOException;
    import java.util.Iterator;
    import javax.imageio.ImageIO;
    import javax.imageio.ImageReader;
    import javax.imageio.stream.FileImageInputStream;
    import javax.imageio.stream.ImageInputStream;
    import com.shelter.io.FileTypeIdentifier;
    public class ImagePrinter extends FilePrintable
       private final ImageReader _reader;
       private final int _pageCount;
       private final boolean _isTiff;
       //for speed we will hold current page info in memory
       private Image _image = null;
       private int _imgWidth = 0;
       private int _imgHeight = 0;
       private int _currentPage = -1;
       public ImagePrinter(File imageFile) throws IOException
          super(imageFile);
          ImageInputStream fis = new FileImageInputStream(getFile());
          Iterator readerIter = ImageIO.getImageReaders(fis);
          ImageReader reader = null;
          while (readerIter.hasNext())
             reader = (ImageReader) readerIter.next();
          reader.setInput(fis);
          _reader = reader;
          int pageCount = 1;
          String mimeType = FileTypeIdentifier.getMimeType(imageFile, true);
          if (mimeType.equalsIgnoreCase("image/tiff"))
             _isTiff = true;
             pageCount = reader.getNumImages(true);
          else
             _isTiff = false;
          _pageCount = pageCount;
       public int print(java.awt.Graphics g, java.awt.print.PageFormat pf, int pageIndex)
          throws java.awt.print.PrinterException
          int drawX = 0, drawY = 0;
          double scaleRatio = 1;
          if (getCurrentPage() != (pageIndex - getPageOffset()))
             try
                setCurrentPage(pageIndex - getPageOffset());
                setImage(_reader.read(getCurrentPage()));
                setImgWidth(getImage().getWidth(null));
                setImgHeight(getImage().getHeight(null));
             catch (IndexOutOfBoundsException e)
                return NO_SUCH_PAGE;
             catch (IOException e)
                throw new PrinterException(e.getLocalizedMessage());
             if (!_isTiff && getImgWidth() > getImgHeight())
                pf.setOrientation(PageFormat.LANDSCAPE);
             else
                pf.setOrientation(PageFormat.PORTRAIT);
          Graphics2D g2 = (Graphics2D) g;
          g2.translate(pf.getImageableX(), pf.getImageableY());
          g2.setClip(0, 0, (int) pf.getImageableWidth(), (int) pf.getImageableHeight());
          scaleRatio =
             (double) ((getImgWidth() > getImgHeight())
                ? (pf.getImageableWidth() / getImgWidth())
                : (pf.getImageableHeight() / getImgHeight()));
          //check the scale ratio to make sure that we will not write something off the page
          if ((getImgWidth() * scaleRatio) > pf.getImageableWidth())
             scaleRatio = (pf.getImageableWidth() / getImgWidth());
          else if ((getImgHeight() * scaleRatio) > pf.getImageableHeight())
             scaleRatio = (pf.getImageableHeight() / getImgHeight());
          int drawWidth = getImgWidth();
          int drawHeight = getImgHeight();
          //center image
          if (scaleRatio < 1)
             drawX = (int) ((pf.getImageableWidth() - (getImgWidth() * scaleRatio)) / 2);
             drawY = (int) ((pf.getImageableHeight() - (getImgHeight() * scaleRatio)) / 2);
             drawWidth = (int) (getImgWidth() * scaleRatio);
             drawHeight = (int) (getImgHeight() * scaleRatio);
          else
             drawX = (int) (pf.getImageableWidth() - getImgWidth()) / 2;
             drawY = (int) (pf.getImageableHeight() - getImgHeight()) / 2;
          g2.drawImage(getImage(), drawX, drawY, drawWidth, drawHeight, null);
          g2.dispose();
          return PAGE_EXISTS;
        * <br><br>
        * Created By: TSO1207 - John Loyd
        * @since version XXX
        * @return
       public int getPageCount()
          return _pageCount;
       public void destroy()
          setImage(null);
          try
             _reader.reset();
             _reader.dispose();
          catch (Exception e)
          System.gc();
        * <br><br>
        * Created By: TSO1207 - John Loyd
        * @since Mar 25, 2008
        * @return
       public Image getImage()
          return _image;
        * <br><br>
        * Created By: TSO1207 - John Loyd
        * @since Mar 25, 2008
        * @return
       public int getImgHeight()
          return _imgHeight;
        * <br><br>
        * Created By: TSO1207 - John Loyd
        * @since Mar 25, 2008
        * @return
       public int getImgWidth()
          return _imgWidth;
        * <br><br>
        * Created By: TSO1207 - John Loyd
        * @since Mar 25, 2008
        * @param image
       public void setImage(Image image)
          _image = image;
        * <br><br>
        * Created By: TSO1207 - John Loyd
        * @since Mar 25, 2008
        * @param i
       public void setImgHeight(int i)
          _imgHeight = i;
        * <br><br>
        * Created By: TSO1207 - John Loyd
        * @since Mar 25, 2008
        * @param i
       public void setImgWidth(int i)
          _imgWidth = i;
        * <br><br>
        * Created By: TSO1207 - John Loyd
        * @since Mar 25, 2008
        * @return
       public int getCurrentPage()
          return _currentPage;
        * <br><br>
        * Created By: TSO1207 - John Loyd
        * @since Mar 25, 2008
        * @param i
       public void setCurrentPage(int i)
          _currentPage = i;
    }Edited by: jloyd01 on Jul 3, 2008 8:26 AM

    Figured it out. The files have a different vertical and horizontal resolutions. In this case the horizontal resolution is 200 DPI and the vertical is 100 DPI. The imgage width and height values are based on those resolution values. I wrote a section of code to take care of the problem (at least for TIFF 6.0)
       private void setPageSize(int pageNum) throws IOException
          IIOMetadata imageMetadata = _reader.getImageMetadata(pageNum);
          //Get the IFD (Image File Directory) which is the root of all the tags
          //for this image. From here we can get all the tags in the image.
          TIFFDirectory ifd = TIFFDirectory.createFromMetadata(imageMetadata);
          double xPixles = ifd.getTIFFField(256).getAsDouble(0);
          double yPixles = ifd.getTIFFField(257).getAsDouble(0);
          double xRes = ifd.getTIFFField(282).getAsDouble(0);
          double yres = ifd.getTIFFField(283).getAsDouble(0);
          int resUnits = ifd.getTIFFField(296).getAsInt(0);
          double imageWidth = xPixles / xRes;
          double imageHeight = yPixles / yres;
          //if units are in CM convert ot inches
          if (resUnits == 3)
             imageWidth = imageWidth * 0.3937;
             imageHeight = imageHeight * 0.3937;
          //convert to pixles in 72 DPI
          imageWidth = imageWidth * 72;
          imageHeight = imageHeight * 72;
          setImgWidth((int) Math.round(imageWidth));
          setImgHeight((int) Math.round(imageHeight));
          setImgAspectRatio(imageWidth / imageHeight);
       }

  • IExpense Create Expense Report Page  - Entity Value

    Hi All,
    IExpense Create Expense Report Page has an entity value by default . I am not sure that whether it is based on responsibility login or on employee login .
    1) Pls let me know if you know it .
    In Create Expense Report Page , department value can be selected by the user . Now I have selected a department which does not belong to the default entity . In this case I am able to create the expense report but with default entity code combination .
    2)I need to customize the entity value based on the selected department.But I could not track where the entity value is being set.
    Any suggestions to start it off ??
    Thanks,
    Thavam

    Dear Thavam,
    You need to decompile your Controller and AMImpl class files and understand the underlying logic. Thereafter you can identify a solution to extend the controller and introduce the solution.

  • Expense reports are not processing for future date?

    hi folks,
    in our co.expense reports are not processing for future date, even though the end date is one month from now the expense reports are not getting paid.
    can anybody assist me to come out of this issue.
    thanks in advance,
    regards
    bhanu

    HI,
               Could you please share how to go  Debug mode in Dymanic program, I have scenarion in SAP HR , when Employee is hire , during the hiring action Infotype 32 is updating based on following conditions
    ********INSERT IT0032 FOR CANDIDATE ID *************
    P0001-PERSG<>'5' - True
    P0000-MASSN='01'/X
    P0000-MASSN='H1'/X
    P0000-MASSN<>'84'/X
    P0000-MASSN<>'86'/X
    P0000-MASSN<>'99'/X
    GET_PNALT(ZHR_CREATEP0032)
    RP50D-FIELDS <> ''
    INS,0032,,,(P0000-BEGDA),(P0000-ENDDA)/D
    P0032-PNALT=RP50D-FIELD1
    P0032-ZZ_COMPID='05' _ True
                  Infotype record is being created but there is no data in "RP50D-FIELD1 , so i tried to debug the  subroutine GET_PNALT(ZHR_CREATEP0032) as mention in Dynamic action, its not going in debugger mode.
    Do you have any Idea about how to debug the  program.  used in dynamic action
    Regards,
    Madhu

  • Getting incorrect values for linkQueryResult (ILinkManager) while debugging our plugin in Adobe InDesign CC debug

    Hi,
    We have added some functionalities in PanelTreeView sample source. In that, we are getting incorrect values for linkQueryResult (ILinkManager) while using InDesign CC debug. But in release version we are getting the correct values for linkQueryResult (ILinkManager). So when debugging our plugin InDesign CC debugger has stopped working. Please find the below source,
    IDocument* document = Utils<ILayoutUIUtils>()->GetFrontDocument();
      if(document == nil)
      //CAlert::InformationAlert("Doc Interface Not Created");
      break;
      IDataBase *db = ::GetDataBase(document);
      InterfacePtr<ILinkManager> linkmanager(document, UseDefaultIID());
      if(linkmanager == nil)
      //CAlert::InformationAlert("linkmanager Interface Not Created");
      break;
      LinkQuery Query;
      ILinkManager::QueryResult linkQueryResult;
      linkmanager -> QueryLinks(Query, linkQueryResult);
      for (ILinkManager::QueryResult::const_iterator iter(linkQueryResult.begin()), end(linkQueryResult.end()); iter != end; ++iter)
      InterfacePtr<ILink> iLink(db, *iter, UseDefaultIID());
      if ( iLink )
      InterfacePtr<ILinkResource> resource(linkmanager->QueryResourceByUID(iLink -> GetResource()));
      ILinkResource::ResourceState rs = resource->GetState();
      PMString fileName = resource -> GetLongName(kTrue); //gets full path
      CharCounter lc=fileName.LastIndexOfCharacter('.');
      PMString *exten = fileName.Substring(lc+1,3);
      if((*exten).Compare(kFalse,"xml")==0)
      xmlDataLinkName = fileName;
    Kindly help us if anyone has idea regarding this issue.
    Thanks,
    VIMALA L

    Hi Vimala L,
    try to replace
    ILinkManager::QueryResult linkQueryResult;
    by
    UIDList linkQueryResult(db);
    Markus

  • Multitouch.maxTouchPoints giving incorrect values for Google Nexus S

    Just testing out the Adobe multitouch example application (http://www.adobe.com/devnet/flash/articles/multitouch_gestures.htm_phases-16569.html) and have discovered that Multitouch.maxTouchPoints is giving incorrect values (2) for my Google Nexus S (5+).
    If any devs are listening, can you give me more information? Should I report a bug?

    The runtime team is aware of this issue.  I believe it may return 2 for many if not all devices.

  • Custom Report Not fetching values for parameter of report (Valueset not pop

    Hi,
    I am running custom report on Oracle application R12. This report parameters used standard value set for fetching purchase order number. The value set is not populating any values for the custom report. but for the standard report where this valuse set populating proper result.
    It's bit Supprising ...the same valuset populating values for standard reports but not for custom report developed by me.
    Value set query using table valueset and getting values from po_headers (View)
    Thanks

    Hi All,
    Luckily I have been able to rectify the problem !
    I tried retrieving the output using LISTCUBE to show the SID of the InfoObject  also for which I was unable to get the data. After the report successfully gave the output for those I/O, I checked again I could see the data in the I/O maintain master data !
    It worked like magic to me !
    But I could guess that since it is a virtual I/O therefore it is not able to retrieve the data from the table directly and is able to do that only after the SID of this I/O is retrieved.
    (If a characteristic does not have any master data, the values from the SID table are displayed for the "Values in Master Data Table" mode.)
    Closing the thread !
    Regards
    Shalabh

  • In MB5B report  having minus value

    Dear exports
    In MB5B report the opening (amount in LC) stock value in the minus value for zero quantity for some material.
    why it is?
    how can i balanced?
    Regards
    amsi

    check if anwer to question 5 can help you :
    OSS  Note 690027 - FAQ: Reporting IM (no LIS)

  • Report not picking value for segment reporting

    Hello,
    The PA report is not picking up the carry forward value. I have checked the following.
    1)in FS10N  balance carry fwd has been done.
    2)2keh Profit center carry fwd actual balance has been performed
    3)KE5Z Chk a/c wise transaction, it is showing that PA documents exist
    The program was developend last year December and it had picked the correct value for the same (cumulative value).
    Kindly let me know what could be the possible reason. Any pointer for the same will be highly appreciated.
    Thanks & Regards
    Jyoti

    self answerd

  • CN41 report with out values for project dates

    Hi Experts
    The following field values are captured in Table PROJ.
    a. Finish Date PROJ-PLSEZ
    b. Forecast Start PROJ-SPROG
    c. Forecast Finish PROJ-EPROG
    But the report CN41/CN41N does not show values for these fields.
    Can anybody give clue to get this report with values for the above fields.
    Warm regards
    ramSiva

    HI,
    if you want the top  - of - page to be displayed
    even when we scroll down
    then use this
    try to give heading as text elements by giving some spaces
    TOP-OF-PAGE.
      PERFORM display_header.  RESERVE 10 LINES.
    form
      SET LEFT SCROLL-BOUNDARY COLUMN 84.
      FORMAT COLOR COL_BACKGROUND INTENSIFIED ON.
      WRITE:/01(252) text-h01 CENTERED.
      WRITE:/01(252) text-h06 CENTERED.
      SKIP.
    endform
    as it is working fine in my report
    reward points if helpful,
    regards,
    venkatesh

  • ESS - Create Expense Report Link is missing for few users

    Hi,
    We are on ECC 6.0 Ehp 3 with EP 7.0.
    We are using the ESS and in that Standard SAP provided Travel and Expenses Module.
    For few of the users, the Create Expense Report  link is missing eventhough the user is assigned with the  Traveller Role
    SAP_FI_TV_TRAVELER
    Request you to let me know if any setting needs to be done in the back end/infotype to make the Create Expense Report link visible in the portal.
    Appreciate your help.
    Thanks and Regards,
    Sekar

    Hello, 
    Same happened on our side.  User is already set with the proper roles, with the correct info types but when logging in the Portal- she, too, could not view the link for Create Expense Report (which is supposed to Create an expense report for a trip without a travel plan).
    When i use my userid, and just switch personnel number to her number, I could create an expense report on her behalf. 
    That made me conclude that her traveller roles are fine.
    Pls help.

  • Discoverer Report: Select all values for a Page Item

    Hi Guys
    I have created a Disco Report which has one Page Item.
    It populates all columns based on values I select for Page Item that is perfectly fine.
    How do I Display column values for all possible values of Page Item?
    Is thera ny way I can have Option to select All possible values for Page Item?
    Cheers
    Vijay

    Hi Vijay
    Just to confirm what Rod has said, this capability to manage ALL in Page Items was introduced as part of 10.1.2 and has been maintained into 10.1.2.3 and 11g. It will not be back ported to previous releases.
    Best wishes
    Michael

  • Extractor 0EC_PCA_1: incorrect value for BALANCE field for USD currency

    Hi Gurus/Experts,
    We have a standard extractor in ECC side: 0EC_PCA_1 wherein USD currency (CURRTYPE/Currecny type = 30) is giving out a sum value for Accumulated Balance field of -300,962.66 for Plant A. I checked on its corresponding EUR value (CURRTYPE/Currency type = 10) it is giving out a sum value of +4,060,629.43 as shown below.
    Plant
    Fiscal year/period
    Currency Key / Type
    Accumulated Bal(BALANCE)
    Plant A
    2011/005
    EUR / 10
    +4,060,629.43 <--Balance is summation value
    Plant A
    2011/005
    USD / 30
    -300,962.66 <--Balance is summation value
    Logically thinking, if we sum up all of the accumulated balance and result is +4,060,629.43 in Euro, it should appear also as +USD after summing up the accumulated balance in the corresponding currency. But given this scenario, we are getting a negative result for USD value. I already checked the exractor on how is the Accumulated balance is being populated on ECC side but unfortunately, did not find any luck. I was not able to validate the records of Accumulated balance with the source table GLPTC as I don't have that much experience on the ABAP side.
    As for my questions:
    1. How is the currency conversion works on this extractor for Accumulated Balance field?
    2. How is the value for Accumulated Balance derived?
    Please take note also that isue rises at ECC side so I did not include the data flow on BW side.
    Thanks!

    Decided to use Generic Extractor on GLPCA

  • Wants a report of characteristics values for material master

    Dear sir,
    how can i get the report of characteristic values of a materials.
    pratik

    Hi
         In CL6C, give the class where u might have assigned the characteristics.
    tick the display options as required and execute.
    or
    Use the tcode CT10, give the characteristic name and execute.
    Regards
    Sandy
    Edited by: Snehalkumar Kadam on Feb 25, 2009 11:33 AM

  • Insert into .. sql return incorrect value for 2 columns,sometime no value

    Hello,
    Oracle 10.2.0.3 , sol 10. (recently upgraded from oracle9i & sol8)
    sql query is used to populate a table. sometimes it is populating same values for all the records in 2 columns. Sometimes not populating or partially populating 1 other column. other times its running fine.
    SQL is not changed at all. When run again , it populates correctly.
    any help is highly appreciatied.
    --pooja                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    no ORA errors while execution. Its completing successfully.
    and its an intermittent issue. when the SQL is run manually its gives perfect results. Rerunnign the entire process is also fine. Conclusivly, data & SQL has no problem.
    its an insert into table <SQL>
    SQL contains left outer join.
    example:
    Expected output:
    1 john texas
    2 smith MA
    3 rob michigan
    Actual Output
    1 john texas
    2 smith texas
    3 rob texas

Maybe you are looking for

  • Field length in alv

    hi, if we increase the length of field using <b>outputlen</b> with fieldcatalog. if i do it that length is applicable for data as well as for text....... example: balance(17). but with this balance field i want to display amount more than 17 characte

  • HT1414 need to upate my iphone 3g from ios 4.2 to  ios 4.3

    How can I update my iphone 16gb 3g to ios 4.3 from ios 4.2 cos cant play games on it

  • Restricting the CSV Output

    Hi we want to restrict some of the columns in the csv output is there any way to do it other than using extext templates. Thanks in Advance, Have a Nice day

  • How to validate the input field

    Hi, I have a input form which is draged from input port of a RFC. in this input form i have two input fields nad submit button. on of this input field should always take the character values only. it should not take any numeric value and other input

  • Weird icon showing up

    Am getting, especially on .doc files a curious icon, two eyeball peeking up from the base and two protrusions, either eyebrows or horns, can't decide which. Anybody else seen this? What gives?