How to get files rollback by using File Adapter

Hi All,
I have a question..
How can we get the files rollback whenever the inbound file adapter is down after reading some files in source.??
Regards,
VenkatCH

Hi VenkatCH,
You can do rollback with File Adapter using jca.retry.* properties.
you can do same with below ways:
1.click on File Adapter.
2. Go to view> property inspector.
3. click on binding properties and set the properties.
Thanks
Richa

Similar Messages

  • How to get file from server while click on link

    Hi,
    i created on link and i gave one server path to select file from server but while clickinng on link it no displaying any thing.
    following is the Destination url that i gave for the item.
    /u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/
    please tell me how to get file from server while click on link.

    Ok I got your requirement now.
    If you are getting file names from view attribute then you should not be adding destination URI property for the link.
    Instead you can use OADataBoundValueViewObject API.
    Try below code in your controller processRequest method:
    I am assuming that you are using classic table.
    Also in below example it considers OAMessageStyleText and you can replace it with link item if you want.
    OATableBean tableBean =
    (OATableBean)webBean.findChildRecursive("<table item id>");
    OAMessageStyledTextBean m= (OAMessageStyledTextBean)tableBean.findChildRecursive("<message styled text in table item id>");
    OADataBoundValueViewObject tip1 = new OADataBoundValueViewObject(m, "/u08/app/appvis/xxex/inst/xxex_apps/xxrbe/logs/appl/conc/log/"+"<vo attr name which stores file name for each row>");
    m.setAttributeValue(oracle.cabo.ui.UIConstants.DESTINATION_ATTR, tip1);
    Regards,
    Sandeep M.

  • How to get file count in variable?

    dear all,
    how to get file count in variable?
    regards
    Naseer

    Hi Nazeer ,
    It wont take much time .. so simple :- )
    Create one os comand step
    ( for unix) Use
    wc -l filename.txt > someoutputfile.txt
    Now the number of lines in your file will be there in the output file ( someoutputfile.txt )
    Step2 :-
    Now use Cezar's logic to fetch the variable value ( file count ) from the output file .. ( select value for a variable from a file )
    This will not take eeven a second to finish the job.
    Regards,
    Rathish A M

  • How to get file attribs - on any Mac

    ok so if the Mac in question has Developer / Tools - yeah the GetFileInfo binary will work to get the Type and Creator code and other info.... since most Macs dont have this bulky download... how to get file attribute information via Terminal ? How to change it ?

    Oddly enough I was just now playing around with a getinfo Applescript and studying the event log when I realized that it does return information about at least some of the attributes. I made the ones that it looks like you can get information about bold:
    A Alias file
    B Bundle
    C Custom icon
    D Desktop
    E Hidden extension
    I Inited
    M Shared (can run multiple times)
    N No INIT resources
    L Locked
    S System (name locked)
    T Stationary
    V Invisible
    Z Busy
    If you are interested see this thread:
    http://discussions.apple.com/message.jspa?messageID=5261906#5261906
    The SetFile function is actually available on any Mac that has a recent Tiger updater package installed. Thus I have copies in both the package updaters and the receipts for 10.4.7, .8, .9 and .10 in the /Library/Packages and /Library/Receipts folders. The SetFile command is in the Resources folder:
    "/Library/Packages/MacOSXUpd10.4.10PPC.pkg/Contents/Resources/SetFile"
    Control click on the .pkg file and select Show contents from the Contextual Menu to get there. Unfortunately I don't know of any way to use some other Terminal command to get information on all the attributes, except the GetFileInfo and using the Applescipt get info function.
    Francine
    Francine
    Schwieder

  • How to get file line count.

    Hey guys,
    How to get file line count very fast? I am using BufferedReader to readLine() and count. But when dealing with big file, say several GB size, this process will be very time consuming.
    Is there any other methods?
    Thanks in advace!

    What I'd do is you create an infofetcher, register a listener, implement gotMore() and have that scan for '\n'
    Some might suggest getting rid of the listener/sender pattern or use multiple threads to make ii faster. This might help a little, but only if your I/O is super-duper speedy.
    you are welcome to use and modify this code, but please don't change the package or take credit for it as your own work.
    InfoFetcher.java
    ============
    package tjacobs.io;
    import java.io.IOException;
    import java.io.InputStream;
    import java.util.ArrayList;
    import java.util.Iterator;
    * InfoFetcher is a generic way to read data from an input stream (file, socket, etc)
    * InfoFetcher can be set up with a thread so that it reads from an input stream
    * and report to registered listeners as it gets
    * more information. This vastly simplifies the process of always re-writing
    * the same code for reading from an input stream.
    * <p>
    * I use this all over
         public class InfoFetcher implements Runnable {
              public byte[] buf;
              public InputStream in;
              public int waitTime;
              private ArrayList mListeners;
              public int got = 0;
              protected boolean mClearBufferFlag = false;
              public InfoFetcher(InputStream in, byte[] buf, int waitTime) {
                   this.buf = buf;
                   this.in = in;
                   this.waitTime = waitTime;
              public void addInputStreamListener(InputStreamListener fll) {
                   if (mListeners == null) {
                        mListeners = new ArrayList(2);
                   if (!mListeners.contains(fll)) {
                        mListeners.add(fll);
              public void removeInputStreamListener(InputStreamListener fll) {
                   if (mListeners == null) {
                        return;
                   mListeners.remove(fll);
              public byte[] readCompletely() {
                   run();
                   return buf;
              public int got() {
                   return got;
              public void run() {
                   if (waitTime > 0) {
                        TimeOut to = new TimeOut(waitTime);
                        Thread t = new Thread(to);
                        t.start();
                   int b;
                   try {
                        while ((b = in.read()) != -1) {
                             if (got + 1 > buf.length) {
                                  buf = IOUtils.expandBuf(buf);
                             int start = got;
                             buf[got++] = (byte) b;
                             int available = in.available();
                             //System.out.println("got = " + got + " available = " + available + " buf.length = " + buf.length);
                             if (got + available > buf.length) {
                                  buf = IOUtils.expandBuf(buf, Math.max(got + available, buf.length * 2));
                             got += in.read(buf, got, available);
                             signalListeners(false, start);
                             if (mClearBufferFlag) {
                                  mClearBufferFlag = false;
                                  got = 0;
                   } catch (IOException iox) {
                        throw new PartialReadException(got, buf.length);
                   } finally {
                        buf = IOUtils.trimBuf(buf, got);
                        signalListeners(true);
              private void setClearBufferFlag(boolean status) {
                   mClearBufferFlag = status;
              public void clearBuffer() {
                   setClearBufferFlag(true);
              private void signalListeners(boolean over) {
                   signalListeners (over, 0);
              private void signalListeners(boolean over, int start) {
                   if (mListeners != null) {
                        Iterator i = mListeners.iterator();
                        InputStreamEvent ev = new InputStreamEvent(got, buf, start);
                        //System.out.println("got: " + got + " buf = " + new String(buf, 0, 20));
                        while (i.hasNext()) {
                             InputStreamListener fll = (InputStreamListener) i.next();
                             if (over) {
                                  fll.gotAll(ev);
                             } else {
                                  fll.gotMore(ev);
    InputStreamListener.java
    ====================
    package tjacobs.io;
         public interface InputStreamListener {
               * the new data retrieved is in the byte array from <i>start</i> to <i>totalBytesRetrieved</i> in the buffer
              public void gotMore(InputStreamEvent ev);
               * reading has finished. The entire contents read from the stream in
               * in the buffer
              public void gotAll(InputStreamEvent ev);
    InputStreamEvent
    ===============
    package tjacobs.io;
    * The InputStreamEvent fired from the InfoFetcher
    * the new data retrieved is from <i>start</i> to <i>totalBytesRetrieved</i> in the buffer
    public class InputStreamEvent {
         public int totalBytesRetrieved;
         public int start;
         public byte buffer[];
         public InputStreamEvent (int bytes, byte buf[]) {
              this(bytes, buf, 0);
         public InputStreamEvent (int bytes, byte buf[], int start) {
              totalBytesRetrieved = bytes;
              buffer = buf;
              this.start = start;
         public int getBytesRetrieved() {
              return totalBytesRetrieved;
         public int getStart() {
              return start;
         public byte[] getBytes() {
              return buffer;
    ParialReadException
    =================
    package tjacobs.io;
    public class PartialReadException extends RuntimeException {
         public PartialReadException(int got, int total) {
              super("Got " + got + " of " + total + " bytes");
    }

  • How to get File type icon for files store on Amazons3

    Hi,
    i want to know about how to get file type icons for files that we store on Amazons3.i am a devloper ,i want to make gui for accessing amazons3.
    so ,i want to know about how to get file type icons for files that we store on Amazons3.
    thanx in advance.

    hi,
    have u heard amazon simple storage service,that provides storage space for
    storing files, i am a devloper,i want to know the files that we store on amazon,how we can get file type icon for that files.
    i want to sample code in java for this.
    thanx in advance.

  • How to get web application to use Tuscany without conflicting with SAP SDO

    Hi,
    We are attempting to run a web application on SAP NetWeaver CE 7.1 SP1 which uses Tuscany SDO.  As it now stands We must use Tuscany because the web application will not run with the SAP SDO implementation provided by Netweaver. To ensure that Tuscany is loaded with priority, we have packaged the Tuscany JAR files and their dependencies as a heavy resource, as described here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60642a88-95fe-2b10-d387-a245d48fc257?overridelayout=true
    The final check showed that Tuscany was correctly deployed as a heavy resource and included the following JAR files:
    common-2.2.3.jar
    ecore-2.2.3.jar
    ecore-change-2.2.3.jar
    ecore-xmi-2.2.3.jar
    tuscany-sdo-impl-1.1.1.jar
    tuscany-sdo-lib-1.1.1.jar
    tuscany-sdo-tools-1.1.1.jar
    xsd-2.2.3.jar
    We also verified that the web application using Tuscany has a hard reference to the Tuscany heavy resource.
    However, when we try to run the web application, the following error is logged:  java.lang.LinkageError: Class commonj/sdo/DataGraph violates loader constraints
    The issue is definitely due to some kind of classloading conflict with the SAP SDO library, as the application runs normally when SAP SDO is manually removed from the classpath. Doing this on a production system is unfortunately not an option, though.
    So the question is: how to get web application to use Tuscany without conflicting with SAP SDO?

    I took a look at the "printerReady" example.  Looks like I may be able to use the InetPing (...) function to ping through a range of IP addresses looking for a response.
    Any ideas on how to find the MAC address associated with the IP addresses that respond?
    We may have multiple units responding and the MAC address will allow the operator to determing which unit to connect to.
    I'll try the InetPing to see how it works,
    Kirk

  • How to get certain applied styles using script?

    Hi All,
    I need to know how to get certain applied styles using ID Scripting. I don't have much experience in InDesign so need some help.
    Here is a screenshot with a sample text with the said styles applied and highlighted.
    I need to know what texts in my document have these styles applied like All Caps, Strikethrough, Underline, Subscript and Superscript etc.
    Please help.
    Thanks!

    Hi Poortip87
    The first thing you have to understand is how to refer to "where" you want to apply the style.
    If you want the script to apply the style to the selected text then you would use for example app.selection[0].strikeThru = true;
    If you for example want to underline the last word of the first paragraph of the first story you would use app.activeDocument.stories[0].paragraphs[0].words[-1].underline = true;
    If you just wanted the first letter of that word underlined then you would add .characters[0] after the words[-1]
    To for example apply All Caps to all the text in all the stories you would use
    app.activeDocument.stories.everyItem().texts[0].capitalization = Capitalization.ALL_CAPS;
    The easiest way to find how to set properties to a selections is to set them manually and make the selection and then run the script below.
    You should be able to find all the properties you want very easily after running the script.
    Or you can use Jongwares excellent reference guide. Indesign JavaScript Help
    HTH
    Trevor
    // script to show most of the selection properties by Trevor
    // Creative-Scripts.Com (Still not ready!) available (sometimes) for custom scripts $$$
    // scripts {at} Creative-Scripts [dot] Com
    $.level = 0; // set debug mode to allow try catch (not read only as stated in manual);
    if (!app.selection.length) exit();
    var c = 0, s = app.selection[0], p,
          a = [], n, er;
    for (n in s) {
        try {
            p = s[n];
            if (p && p.constructor.name === "Enumerator") p = getEnum(p ,n);
            a[c++] = n + ": " + p;
        } catch (er) {a[c++] = n + ": ???"}
    var f = new File (Folder.temp + +(new Date) + ".txt");
    f.open('r');
    f.encoding = "UTF-8";
    f.lineFeed = ($.os[0]=="M") ? "Macintosh" :" Windows";
    f.open('w');
    f.write("\uFEFF" + a.join("\r"));
    f.close();
    $.sleep(300);
    f.execute(true);
    function getEnum (q, n) {
        var enums = ["AcrobatCompatibility",
        "AddPageOptions",
        "AdornmentOverprint",
        "AlignDistributeBounds",
        "AlignOptions",
        "AlignmentStyleOptions",
        "AlternateGlyphForms",
        "AlternatingFillsTypes",
        "AnchorPoint",
        "AnchorPosition",
        "AnchoredRelativeTo",
        "AnimationEaseOptions",
        "AnimationPlayOperations",
        "AntiAliasType",
        "ArrangeBy",
        "ArrowHead",
        "AssetType",
        "AssignmentExportOptions",
        "AssignmentStatus",
        "AutoEnum",
        "AutoSizingReferenceEnum",
        "AutoSizingTypeEnum",
        "BalanceLinesStyle",
        "BaselineFrameGridRelativeOption",
        "BaselineGridRelativeOption",
        "BehaviorEvents",
        "BevelAndEmbossDirection",
        "BevelAndEmbossStyle",
        "BevelAndEmbossTechnique",
        "BindingOptions",
        "BitmapCompression",
        "BlendMode",
        "BlendingSpace",
        "BookContentStatus",
        "BookletTypeOptions",
        "BoundingBoxLimits",
        "BuildingBlockTypes",
        "BulletCharacterType",
        "BulletListExportOption",
        "Capitalization",
        "ChangeBackgroundColorChoices",
        "ChangeCaseOptions",
        "ChangeConditionsModes",
        "ChangeMarkings",
        "ChangeTextColorChoices",
        "ChangeTypes",
        "ChangebarLocations",
        "ChangecaseMode",
        "ChapterNumberSources",
        "CharacterAlignment",
        "CharacterCountLocation",
        "CharacterDirectionOptions",
        "ClippingPathType",
        "ColorModel",
        "ColorOutputModes",
        "ColorRenderingDictionary",
        "ColorSettingsPolicy",
        "ColorSpace",
        "ComposeUsing",
        "CompressionQuality",
        "ConditionIndicatorMethod",
        "ConditionIndicatorMode",
        "ConditionUnderlineIndicatorAppearance",
        "ContainerType",
        "ContentType",
        "ContourOptionsTypes",
        "ConvertPageBreaks",
        "ConvertShapeOptions",
        "ConvertTablesOptions",
        "CoordinateSpaces",
        "CopyrightStatus",
        "CornerOptions",
        "CreateProxy",
        "CrossReferenceType",
        "CursorTypes",
        "CustomLayoutTypeEnum",
        "DataFormat",
        "DefaultRenderingIntent",
        "DesignOptions",
        "DiacriticPositionOptions",
        "DigitsTypeOptions",
        "DimensionsConstraints",
        "DisplayOrderOptions",
        "DisplaySettingOptions",
        "DistributeOptions",
        "DocumentIntentOptions",
        "DocumentPrintUiOptions",
        "DynamicDocumentsJPEGQualityOptions",
        "DynamicDocumentsTextExportPolicy",
        "DynamicMediaHandlingOptions",
        "DynamicTriggerEvents",
        "EPSColorSpace",
        "EPSImageData",
        "EditingState",
        "EmptyFrameFittingOptions",
        "EndCap",
        "EndJoin",
        "EpubCover",
        "EpubVersion",
        "EventPhases",
        "ExportFormat",
        "ExportLayerOptions",
        "ExportOrder",
        "ExportPresetFormat",
        "ExportRangeOrAllPages",
        "FeatherCornerType",
        "FeatherMode",
        "FeatureSetOptions",
        "FindChangeTransliterateCharacterTypes",
        "FirstBaseline",
        "FitDimension",
        "FitMethodSettings",
        "FitOptions",
        "Fitting",
        "FlattenerLevel",
        "Flip",
        "FlipValues",
        "FloatingWindowPosition",
        "FloatingWindowSize",
        "FollowShapeModeOptions",
        "FontDownloading",
        "FontEmbedding",
        "FontStatus",
        "FontTypes",
        "FootnoteFirstBaseline",
        "FootnoteMarkerPositioning",
        "FootnoteNumberingStyle",
        "FootnotePrefixSuffix",
        "FootnoteRestarting",
        "GIFOptionsPalette",
        "GlobalClashResolutionStrategy",
        "GlobalClashResolutionStrategyForMasterPage",
        "GlowTechnique",
        "GoToZoomOptions",
        "GradientType",
        "GridAlignment",
        "GridViewSettings",
        "GuideTypeOptions",
        "HeaderFooterBreakTypes",
        "HeaderTypes",
        "HorizontalAlignment",
        "HorizontalOrVertical",
        "HyperlinkAppearanceHighlight",
        "HyperlinkAppearanceStyle",
        "HyperlinkAppearanceWidth",
        "HyperlinkDestinationPageSetting",
        "ICCProfiles",
        "IconSizes",
        "ImageAlignmentType",
        "ImageConversion",
        "ImageDataTypes",
        "ImageExportOption",
        "ImageFormat",
        "ImagePageBreakType",
        "ImageResolution",
        "ImageSizeOption",
        "ImportFormat",
        "ImportPlatform",
        "ImportedPageCropOptions",
        "InCopyUIColors",
        "IndexCapitalizationOptions",
        "IndexFormat",
        "InkTypes",
        "InnerGlowSource",
        "InteractiveElementsOptions",
        "InteractivePDFInteractiveElementsOptions",
        "JPEGOptionsFormat",
        "JPEGOptionsQuality",
        "JoinOptions",
        "JpegColorSpaceEnum",
        "Justification",
        "KashidasOptions",
        "KentenAlignment",
        "KentenCharacter",
        "KentenCharacterSet",
        "KinsokuHangTypes",
        "KinsokuSet",
        "KinsokuType",
        "LanguageAndRegion",
        "LayoutRuleOptions",
        "Leading",
        "LeadingModel",
        "LibraryPanelViews",
        "LineAlignment",
        "LineSpacingType",
        "LinkStatus",
        "ListAlignment",
        "ListType",
        "LiveDrawingOptions",
        "Locale",
        "LocationOptions",
        "LockStateValues",
        "MapType",
        "MarkLineWeight",
        "MarkTypes",
        "MatrixContent",
        "MeasurementUnits",
        "MojikumiTableDefaults",
        "MonoBitmapCompression",
        "MoviePlayOperations",
        "MoviePosterTypes",
        "NestedStyleDelimiters",
        "NoteBackgrounds",
        "NoteColorChoices",
        "NothingEnum",
        "NumberedListExportOption",
        "NumberedParagraphsOptions",
        "NumberingStyle",
        "OTFFigureStyle",
        "ObjectTypes",
        "OpenOptions",
        "OpenTypeFeature",
        "OutlineJoin",
        "OverrideType",
        "PDFColorSpace",
        "PDFCompressionType",
        "PDFCrop",
        "PDFJPEGQualityOptions",
        "PDFMarkWeight",
        "PDFProfileSelector",
        "PDFRasterCompressionOptions",
        "PDFXStandards",
        "PNGColorSpaceEnum",
        "PNGExportRangeEnum",
        "PNGQualityEnum",
        "PPDValues",
        "PageBindingOptions",
        "PageColorOptions",
        "PageLayoutOptions",
        "PageNumberPosition",
        "PageNumberStyle",
        "PageNumberingOptions",
        "PageOrientation",
        "PagePositions",
        "PageRange",
        "PageReferenceType",
        "PageSideOptions",
        "PageTransitionDirectionOptions",
        "PageTransitionDurationOptions",
        "PageTransitionOverrideOptions",
        "PageTransitionTypeOptions",
        "PageViewOptions",
        "PaginationOption",
        "PanelLayoutResize",
        "PanningTypes",
        "PaperSize",
        "PaperSizes",
        "ParagraphDirectionOptions",
        "ParagraphJustificationOptions",
        "PathType",
        "PathTypeAlignments",
        "PdfMagnificationOptions",
        "PerformanceMetricOptions",
        "PlacedVectorProfilePolicy",
        "PlayOperations",
        "PointType",
        "Position",
        "PositionalForms",
        "PostScriptLevels",
        "PreflightLayerOptions",
        "PreflightProfileOptions",
        "PreflightRuleFlag",
        "PreflightScopeOptions",
        "PreviewPagesOptions",
        "PreviewSizeOptions",
        "PreviewTypes",
        "PrintLayerOptions",
        "PrintPageOrientation",
        "Printer",
        "PrinterPresetTypes",
        "Profile",
        "ProofingType",
        "RangeSortOrder",
        "RasterCompressionOptions",
        "RasterResolutionOptions",
        "RecordSelection",
        "RecordsPerPage",
        "RenderingIntent",
        "RepaginateOption",
        "ResizeConstraints",
        "ResizeMethods",
        "ResolveStyleClash",
        "RestartPolicy",
        "RotationDirection",
        "RowTypes",
        "RubyAlignments",
        "RubyKentenPosition",
        "RubyOverhang",
        "RubyParentSpacing",
        "RubyTypes",
        "RuleDataType",
        "RuleWidth",
        "RulerOrigin",
        "SWFBackgroundOptions",
        "SWFCurveQualityValue",
        "Sampling",
        "SaveOptions",
        "ScaleModes",
        "Screeening",
        "ScreenModeOptions",
        "ScriptLanguage",
        "SearchModes",
        "SearchStrategies",
        "SelectAll",
        "SelectionOptions",
        "Sequences",
        "ShadowMode",
        "SignatureSizeOptions",
        "SingleWordJustification",
        "SmartMatchOptions",
        "SnapshotBlendingModes",
        "SortAssets",
        "SoundPosterTypes",
        "SourceFieldType",
        "SourceSpaces",
        "SourceType",
        "SpanColumnCountOptions",
        "SpanColumnTypeOptions",
        "SpecialCharacters",
        "SpreadFlattenerLevel",
        "StartParagraph",
        "StateTypes",
        "StaticAlignmentOptions",
        "StoryDirectionOptions",
        "StoryHorizontalOrVertical",
        "StoryTypes",
        "StrokeAlignment",
        "StrokeCornerAdjustment",
        "StrokeFillProxyOptions",
        "StrokeFillTargetOptions",
        "StrokeOrderTypes",
        "StyleConflict",
        "StyleSheetExportOption",
        "SyncConflictResolution",
        "TabStopAlignment",
        "TableDirectionOptions",
        "TableFormattingOptions",
        "TagRaster",
        "TagTextExportCharacterSet",
        "TagTextForm",
        "TagTransparency",
        "TagType",
        "TagVector",
        "TaggedPDFStructureOrderOptions",
        "TaskAlertType",
        "TaskState",
        "TextExportCharacterSet",
        "TextFrameContents",
        "TextImportCharacterSet",
        "TextPathEffects",
        "TextStrokeAlign",
        "TextTypeAlignments",
        "TextWrapModes",
        "TextWrapSideOptions",
        "ThumbsPerPage",
        "TilingTypes",
        "ToolTipOptions",
        "ToolsPanelOptions",
        "TrapEndTypes",
        "TrapImagePlacementTypes",
        "Trapping",
        "UIColors",
        "UITools",
        "UndoModes",
        "UpdateLinkOptions",
        "UserInteractionLevels",
        "VariableNumberingStyles",
        "VariableScopes",
        "VariableTypes",
        "VersionCueSyncStatus",
        "VersionState",
        "VerticalAlignment",
        "VerticalJustification",
        "VerticallyRelativeTo",
        "ViewDisplaySettings",
        "ViewZoomStyle",
        "WarichuAlignment",
        "WatermarkHorizontalPositionEnum",
        "WatermarkVerticalPositionEnum",
        "WhenScalingOptions",
        "XFLRasterizeFormatOptions",
        "XMLElementLocation",
        "XMLElementPosition",
        "XMLExportUntaggedTablesFormat",
        "XMLFileEncoding",
        "XMLImportStyles",
        "XMLTransformFile",
        "ZoomOptions"];
        var l = enums.length,
            s = q.toString(), e, er, a;
        while (l--) {
            try {
                e = $.global [enums[l]];
                if (e.hasOwnProperty (s) && q === e[s]) {
                    a = e.reflect.properties;
                    a.pop();
                    a = (a.length < 2) ? "" : "\r[Possible " + enums[l]+ " Enumerations for " + n + "]:\r" + enums[l] + "." + a.join ("\r" + enums[l] + ".");
                    return enums[l] + "." + q.toString () + a;
            catch (er) {};
        return "???." + q.toString ();

  • Since I upgraded to os 5.1 for my iPhone I can no longer type in reminders. Any suggestions how to get around having to use siri for reminders?

    since I upgraded to os 5.1 for my iPhone I can no longer type in reminders. Any suggestions how to get around having to use siri for reminders?

    Unfortunately, I have a very similar problem. Since I upgraded to os 5.1 on my new iPhone 4S the reminders screen will not add new reminders or scroll up and down. What's more strange is the screen will still scroll side to side allowing access to the Completed list, and both the Completed list and Date functions work normally so this must be an upgrades glitch.

  • How to get default values while using the transaction "BP"

    Hi Group,
    I have a query on how to get default values while using the transaction <b>BP</b>?
    The thing is:
    when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
    how can I achieve this?
    So please kindly let me know the procedure to achieve this.
    Thanks & Regards,
    Vishnu.

    Hi,
    The events of BDT can be used to default some fields on creating a partner.
    For this create a function module for ISDAT. attach that event in BUS7.
    In the ISDAT funtion modulethe following code should be used.
    For example to set the nationality:
    I_BUSDEFAULT-NATIO = 'DE.
    CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
    EXPORTING
    i_busdefault = I_BUSDEFAULT
    Regards, Smita.

  • How to get a field that using variable in order to create a query

    Hi,
    I found a difficulty when creating a query. so, I would like to ask you some question.
    1. How to get a field that using variable which that field I want to put it in my query?
    For example, I would like to take quantity field in inventory audit report. And when I put my cursor in
    quantity field, there was only variable, item, etc. How to get this and put it in query?
    2. How to combined the invoice quantity with inventory audit report quantity?
    3. I have a query like this:
    SELECT distinct T0.[DocDate] as 'Tanggal', T0.[DocNum] as 'No.Faktur', T1.[ItemCode] as 'Kode Barang',
    T1.[Dscription] as 'Deskripsi', T1.[Quantity] as 'Quantity', ((T1.[LineTotal])/(T1.[Quantity])) as 'Harga
    Satuan', T1.[LineTotal] as 'Harga Total', T3.[CalcPrice] as 'HPP Satuan', ((T3.[CalcPrice]) * (T1.
    [Quantity])) as 'HPP Total', T4.[ItmsGrpNam] as 'Jenis Barang', T5.[SlpName] as 'Nama Sales', T1.
    [WhsCode] as 'Kode Gudang' FROM [dbo].[OINV] T0 INNER JOIN [dbo].[INV1] T1 ON T0.DocEntry =
    T1.DocEntry INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode INNER JOIN OINM T3 ON T2.ItemCode
    = T3.ItemCode INNER JOIN OITB T4 ON T2.ItmsGrpCod = T4.ItmsGrpCod INNER JOIN OSLP T5 ON
    T0.SlpCode = T5.SlpCode WHERE T3.[TransType] = '13' and T3.[CreatedBy] = T1.[DocEntry] and T0.
    [DocDate] >=[%0] and T0.[DocDate] <=[%1] and T4.[ItmsGrpNam] =[%2] and T1.[WhsCode] =[%3]
    Is it possible if I just take one invoice with invoice quantity and only show up at once although I have a
    lot item cost for that item? (because I'm using FIFOmethod).
    Please help me.. cause I'm stuck with this thing :l.
    Thank you very much, and I'm waiting your respon soon.
    Regards,
    Sisca

    Try this one:
    SELECT distinct T0.DocDate as 'Tanggal', T0.DocNum as 'No.Faktur', T1.ItemCode as 'Kode Barang',
    T1.Dscription as 'Deskripsi', T1.Quantity as 'Quantity', ((T1.LineTotal)/(T1.Quantity)) as 'Harga
    Satuan', T1.LineTotal as 'Harga Total', T3.CalcPrice as 'HPP Satuan', ((T3.CalcPrice) * (T1.
    Quantity)) as 'HPP Total', T4.ItmsGrpNam as 'Jenis Barang', T5.SlpName as 'Nama Sales', T1.
    WhsCode as 'Kode Gudang'
    FROM dbo.OINV T0 INNER JOIN dbo.INV1 T1 ON T0.DocEntry =T1.DocEntry
    INNER JOIN OITM T2 ON T1.ItemCode = T2.ItemCode
    INNER JOIN OINM T3 ON T2.ItemCode = T3.ItemCode AND T3.TransType = '13' and T3.CreatedBy = T1.DocEntry AND T3.Warehouse = T1.WhsCode
    INNER JOIN OITB T4 ON T2.ItmsGrpCod = T4.ItmsGrpCod
    INNER JOIN OSLP T5 ON T0.SlpCode = T5.SlpCode
    WHERE T0.DocDate >=[%0\] and T0.DocDate <=[%1\] and T4.ItmsGrpNam =[%2\] and T1.WhsCode =[%3\]
    Thanks,
    Gordon

  • How to get the context data using java script in interactive forms

    Hi All,
    How to get the context data using java script in interactive forms by adobe,  am using web dynpro java
    thanks.

    Hi venkat,
    Please Refer this link.
      Populating one Drop-Down list from the selection of another Drop-down list
    Thanks,
    Raju.

  • How to get the list of Used Quotations & Non Used Quotations

    Hi MM Gurus,
    How to get the list of Used Quotations & Non Used Quotations.
    i am not talking about Open quotation ,closed quotation..
    if once i created PO through quotation it should be used quotation. i not created PO through quotation
    it s should be Non used quotation. how to get this list through when we create PO  through ME21N
    document over view. is there any opetion in Dynamic selection or somthing ..???
    Thanks in Advance..
    Anthyodaya.

    ok.

  • How to get list of tables used in packages

    Dear All
    Can you pls tell me how to get list of tables used in packages
    Regards

    select referenced_name
      from user_dependencies
    where name = 'your_package'
       and referenced_type = 'TABLE'Regards,
    Rob.

  • I have a JVC video camera and it records the video to a .mod format (which Apple devices don't support). I figured out how to get them to iPhoto using iMovie but I want to be able to get the videos on my iPad 2 but it won't let it sync. Any help?

    I have a JVC video camera and it records the video to a .mod format (which Apple devices don't support). I figured out how to get them to iPhoto using iMovie but I want to be able to get the videos on my iPad 2 but it won't let it sync. Any help?

    Thanks for that. Much more constructive than the last comment. It's only the restriction code I can't recall, not the access passcode. So I can currently access the device, just not age restricted content. Does that's make a difference? I also wondered if anyone knew how many attempts you get to try to get it right. Now tried 21 times and so far nothing bad has happened but I am concerned I'll eventually be completely locked out of the device. That doesn't seem in the spirit of things though. Surely it's foreseeable that a child could repeatedly try to guess the code so I can't see that it would be right to lock the device down completely in that circumstance, particularly if the access code is being typed in correctly every time.
    Thanks

  • How to get pivot table by using dates

    Hi,
    How to get pivot table by using dates in column.
    Below is the sample table and its value is given.
    create table sample1
    Order_DATE       DATE,
    order_CODE       NUMBER,
    Order_COUNT   NUMBER
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('30-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),1,232);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('30-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),2,935);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('30-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),3,43);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('30-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),4,5713);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('30-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),5,11346);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('29-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),1,368);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('29-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),2,1380);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('29-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),3,133);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('29-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),4,7109);
    Insert into sample1 (Order_DATE,order_CODE,Order_COUNT) values (to_timestamp('29-SEP-12','DD-MON-RR HH.MI.SSXFF AM'),5,14336);
    select * from sample1;So how to get the data like below.
              order_date
    order_code 30-sep-12 29-sep-12
    1 232 368
    2 935 1380
    3 43 133
    4 5713 7109
    5 11345 14336

    Using the extra data I inserted in my previous reply:select ORDER_CODE,
    SUM(DECODE(extract (month from ORDER_DATE),1,ORDER_COUNT,0)) JAN,
    SUM(DECODE(extract (month from ORDER_DATE),2,ORDER_COUNT,0)) FEB,
    SUM(DECODE(extract (month from ORDER_DATE),3,ORDER_COUNT,0)) MAR,
    SUM(DECODE(extract (month from ORDER_DATE),4,ORDER_COUNT,0)) APR,
    SUM(DECODE(extract (month from ORDER_DATE),5,ORDER_COUNT,0)) MAY,
    SUM(DECODE(extract (month from ORDER_DATE),6,ORDER_COUNT,0)) JUN,
    SUM(DECODE(extract (month from ORDER_DATE),7,ORDER_COUNT,0)) JUL,
    SUM(DECODE(extract (month from ORDER_DATE),8,ORDER_COUNT,0)) AUG,
    SUM(DECODE(extract (month from ORDER_DATE),9,ORDER_COUNT,0)) SEP,
    SUM(DECODE(extract (month from ORDER_DATE),10,ORDER_COUNT,0)) OCT,
    SUM(DECODE(extract (month from ORDER_DATE),11,ORDER_COUNT,0)) NOV,
    SUM(DECODE(extract (month from ORDER_DATE),12,ORDER_COUNT,0)) DEC
    from SAMPLE1
    where trunc(order_date, 'YY') = trunc(sysdate, 'YY')
    group by order_code
    order by order_code;
    ORDER_CODE JAN FEB MAR APR MAY JUN JUL AUG   SEP   OCT NOV DEC
             1   0   0   0   0   0   0   0   0   600   600   0   0
             2   0   0   0   0   0   0   0   0  2315  2315   0   0
             3   0   0   0   0   0   0   0   0   176   176   0   0
             4   0   0   0   0   0   0   0   0 12822 12822   0   0
             5   0   0   0   0   0   0   0   0 25682 25682   0   0Now a bit of explanation.
    1) Whenever you pivot rows to columns, no matter what version of Oracle and no matter what method you use, you have to decide in advance how many columns you are going to have and what the names of the columns are. This is a requirement of the SQL standard.
    2) I use the WHERE clause to get just the data for this year
    3) With EXTRACT, I get just the month without the year.
    4) Using DECODE, I put every month's data into the correct column
    5) Once I do all that, I can just GROUP BY order_code while SUMming all the data for each month.

Maybe you are looking for

  • How to stop an unauthorized user from changing my password.

    How do I block an unauthorized user from constantly changing my password? I had an old iPod Gen 4 stolen and someone from China is downloading Apps (I get email alerts when they download something and the last message said the computer used is regist

  • List of Orders - Fully settled / Partially settled / Not yet settled

    Hi All, Is there any standard report which gives the list of all those PM orders which are related to settlement. i.e.  Fully settled / Partially settled / Not yet settled I tried to see the report in IW39 by comparing the fields such as 'Total actua

  • Report Painter Report by Cost centers

    Hi Guys, I need to create a report paniter report by cost centers,My client wants to track certain costs in accounts like manufacturing,Engineering etc.Which Library should I use,Can I use 0FL library which has data by profit centrs, cost centers.We

  • Why does Firefox have a constant problem finding servers?

    Firefox is constantly unable to find servers, even after succesfully loading a web page. When I hit reload it scampers off and finds the server immediately (most of the time -- occasionally I have to punch it twice), but if I leave the tab open, sure

  • My nano is confused plz help it

    Hey all, earlier I had transfered a bunch of music over to my nano but didn't eject it correctly so all the songs do not appear. This is ok because I can just reload them, however now when I load itunes and go the my ipod, it says it is 2.36gb full -