Urgent.......pls advice

Hi All,
I have a parameter.This calls the function
"CALL FUNCTION 'F4_FILENAME' to get the file from C drive.
After selecting the file the path is displayed in the Parameter field.
My problem is I need to extract only file name from the path.Please advice.
Example : Prameter id C:\folder\file.xls
I shd extract only file.xls from the path.Please advice.

Hi,
after calling the function
"CALL FUNCTION 'F4_FILENAME' to get the file from C drive.
use call another function
CALL FUNCTION 'SO_SPLIT_FILE_AND_PATH' in which you pass the complete path you get from the above function and pass the variable in which you want the filename.
See example below.
CALL FUNCTION 'SO_SPLIT_FILE_AND_PATH'
    EXPORTING
      full_name           = p_file "
   IMPORTING
     STRIPPED_NAME       = v_filename "Filename
     FILE_PATH           = v_path
   EXCEPTIONS
     X_ERROR             = 1
     OTHERS              = 2
  IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
Reward Points, if useful.
Regards
Manoj Kumar

Similar Messages

  • UDF in message mapping instead of Java Mapping. Pls advice urgent

    Hi All,
    My scenario
    CRM --- XI -- CRM
    In XI I have to open socket connection.
    Pls refer link:
    /people/saravanakumar.kuppusamy2/blog/2005/12/15/socket-integration-with-xi
    Can Java Mapping code given in above link for socket connection can be used in Message Mapping (CRM -- CRM)UDF?
    Pls advice urgent
    Regards

    Hi Henry,
    I understood your requirement.
    But as per the architecture of XI/PI some message has to trigger your scenario.
    In this case there is no adapter where you can directly communicate with CRM system.
    Do one thing configure a dummy scenario on the sender side.
    Use File adapter for simplicity. once it pools the file with some dummy data in the file it comes to Interface mapping(message mapping) of the PIPELINE steps. Now use the code as you mentioned above(within UDF) for opening socket to CRM system and implement you business logic within that program and write the response to target interface which will infact talk with CRM system.
    Dont forget to do the coding in an infinite loop with some delay (if required). Other wise every time you have to put a message for File Adapter for triggering purposes.
    You can also acheive the same if you use Java Mapping instead of Graphical mapping with UDF(code for Opening socket and business logic). I suggest you to use Java Mapping.
    I dont know how you will comunicate with CRM system on receiver side.?
    Thanks,
    Gujjeti

  • WebService Receiver Problem. Pls advice urgent.

    Hi All,
    I have R/3 (RFC) -- XI -- R/3(WebService) Scenario.
    Now when I test my WebService in R/3 using wsadmin command it works fine.
    But If I import my webservice as wsdl file and use it in Soap Receicer Adapter and use XI I get error:
    <SAP:Category>XIAdapterFramework</SAP:Category>
    <SAP:Code area="MESSAGE">GENERAL</SAP:Code>
    <SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: sapd03ci.alkhaliji.bank</SAP:AdditionalText>
    Pls advice very urgent
    regards

    Hi RAC,
    May I know where this R/3 webservice located.
    In your landscape or not?
    Thanks
    Gujjeti

  • Webservice sender and Receiver. Pls advice urgent

    Hi All,
    My Scenario
    System A (WebService) -- XI -- System B (WebService)
    Pls let me know
    1. What does it mean by WebService needs WebServer?
    2. For System A (WebService) -- XI
        Do I require WebServer to be installed at System A or XI?
    3. For XI -- System B (WebService)
    Do I require WebServer to be installed at System B or XI?
    Pls advice urgent.
    Regards

    Hi Piyush,
    Hi Piyush,
    System A (WebService) -- XI --- System B (WebService)
    I know the flow -- like both webservices will be impoted as External Definations and will me mapped.
    I was asking about Webserver.
    a. XI --- System B (WebService)
    System B is providing wsdl.
    WebServer is required at System B -- fine.
    b. System A (WebService) -- XI
    System A is providing WebService(wsdl) to XI
    XI is NOT providing WebService to System A.
    So It is a webservice(wsdl) of System A. It will be given to XI and XI will import it as wsdl.
    So do we or not require require Webserver in
    System A or XI?
    Pls tell System A (WebService) -- XI
    Webserver part.
    Regards

  • Http Scenario. Pls advice very urgent

    Hi All,
    My Scenario is
    a. HTTP sends data to XI Synchronously.
    b. XI opens Socket Connection in User Defined Function (UDF)
        of Message Mapping and gets response back from Socket
        in UDF. For Socket Connection request and response I will
        write java code in UDF
    c. XI needs to send back Socket response to HTTP as XI has
        received data from HTTP Synchronously.
    d. XI also needs to send back Socket response to File.
    How to make this approach in XI using BPM.
    Pls expain urgent
    Regards

    Hi Praveen,
    Steps in BPM I have done :
    1. One Rec step with Open S/A mode.
        Abstract Sync Message Interface for HTTP Request and
        HTTP Response.
    2. Transformation Step (Mapping in BPM)
        HTTP Request and Socket Response
    3. Fork Step -- Necessary Branch 2
    4. Branch 1st --
      a. Transformation Step(Mapping in BPM)
        Socket Response and HTTP Response
       b.One Send Step with Close S/A mode for HTTPResponse
          back
    5. Branch 2nd --
    a. Transformation Step (Mapping in BPM)
        Socket Response and File Response
    b. One Send Step for File Response back.
    Pls advice is it ok ?
    Regards

  • HTTP adapter. Pls advice urgent

    Hi,
    Some cleint wants to send data to PI (7.0)  through HTTP.
    Now should that client send through HTTP or it can also use
    HTTPS.
    Pls advice urgent.
    Regards

    Hi,
              All XI runtime components using the HTTP protocol support the encryption of the HTTP data stream by means of the SSL protocol, also known as HTTPS. HTTPS data streams are completely transparent to the Exchange Infrastructure
         HTTPS (Hyper Text Transfer Protocol Secure) is a secure version of the Hyper Text Transfer Protocol (http). Secure means of transferring data using the https protocol in the World Wide Web where secure ecommerce transactions, such as online banking transactions and other financial transactions are involved.
    Https encrypts the session with a digital certificate i.e., HTTP over SSL (Secure Sockets Layer) which can be used by Web browsers and HTTPS - capable client programs.
    If the website begins with https:// instead of http://, it is a secure site. Almost 99% of the browsers can connect to web servers either using http or https. The address bar in the browser will begin with https instead of http, if a web site is secured.  
    HTTPS Protocol work with the combination of programs including the browser programs which takes care of the encryption/decryption routines that exist on the web hosting servers.
    HTTP data is sent over TCP/IP port 80, whereas  HTTPS  data is sent over port 443.
    HTTPS comes in two flavors, both ensuring the confidentiality of data sent over the network
    1)Server authentication :
    Only the HTTP server identifies itself with a certificate that is to be verified by the client.
    2)Client authentication:
    Additionally, the HTTP client identifies itself with a certificate that is to be verified by the server
    Regards,
    sangeetha

  • Same Sender and Receiver File Name. Pls advice urgent

    Hi All,
    My sender file name is auto generated number so
    it is dynamic in nature.
    ex. "abc1.txt"
         "abc2.txt"
    Now In my Sender File Adapter I cannot give
    File Name hard coded as my sender file name is auto generated number.
    Also I want same file name received at receving end.
    File Sender --   "abc1.txt"
    File Receiver -- "abc1.txt"
    File Sender --   "abc2.txt"
    File Receiver -- "abc2.txt"
    Pls advice.
    Regards

    Hi Rider,
    All your sender files have .txt extension but the name is not constant(dynamic in nature).Than in this case to pick ur file u can use the *.txt as ur sender file name.Than all the files with .txt extension in the source folder specified would be picked.
    Than u can proceed in the same way given in this blog
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Please let me know if u need any information
    Thanks,
    Bhargav
    Note:Award points if found useful

  • Pls advice........its urgent

    Please advice any FM that takes excel sheet file from local drive and convert the data present in excel sheet into text tab delimited as the output.......My input file should be excell sheet only.......i will call gui upload to get the file.but later after uploading i need the output to be displayed in text tab delimited file...........
    Note : Requirement is input file should be excel sheet only....i dnt want to convert the excel sheet as tab delimited file and thn upload......
    pls advice........thanks in advance

    You can use FM ALSM_EXCEL_TO_INTERNAL_TABLE and check this link for sample code.
    http://www.sapdevelopment.co.uk/file/file_upexcel2.htm
    Here is sample program.
    REPORT ZDBLV_UPLOAD_EXCEL_TEST.
    data: begin of itab occurs 0,
    name(20) type c,
    addre(20) type c,
    end of itab.
    dATA : ITAB1 LIKE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    DATA : B1 TYPE I VALUE 1,
    C1 TYPE I VALUE 1,
    B2 TYPE I VALUE 100,
    C2 TYPE I VALUE 9999.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
    FILENAME = 'C:\test.xls'
    I_BEGIN_COL = B1
    I_BEGIN_ROW = C1
    I_END_COL = B2
    I_END_ROW = C2
    TABLES
    INTERN = itab1
    EXCEPTIONS
    INCONSISTENT_PARAMETERS = 1
    UPLOAD_OLE = 2
    OTHERS = 3.
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at itab1.
    write:/ itab1.
    Endloop.

  • XI to WebService . Pls advice urgent

    Hi All,
    Scenario:
    There is some response from System A back into XI.
    I need to send response from XI to System B and get response back to XI.
    System B has Synchronous Web Service and has provided its WSDL to XI.
    Question:
    1. Do I need to Import Webservice WSDL as External Defination in XI.?
    2.Do I need to use only Soap Receiver Adapter in XI as it is Synchronous Web Service and XI can get response back from that System or also I need Soap Sender Adapter ?
    Regards

    Hi Sudeep,
    I am sending this xml from runtime workbench:
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:MT_REQ_TEST xmlns:ns0="http://CRM">
       <MobileNo>1</MobileNo>
       <Message>2</Message>
       <ActivationCode>3</ActivationCode>
       <StrService>4</StrService>
       <StrFrom>5</StrFrom>
       <StrOptions>6</StrOptions>
    </ns0:MT_REQ_TEST>
    The below XML forms after mapping
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns1:SendMessageSoapIn xmlns:ns1="urn:MMWebSrvService">
      <strFrom>XI</strFrom>
      <strTo>1</strTo>
      <strMessage>2</strMessage>
      <strSubject>3</strSubject>
      <strService>abc</strService>
      <nOptions>0</nOptions>
      </ns1:SendMessageSoapIn>
    In Soap Receiver Adapter
    URL -- http://172.20.80.11/MMWebService/MMWebSrv.asmx
    Soap action -- #SendMessage
    The error I am getting now:
    <SAP:AdditionalText>soap fault: Server was unable to read request. ---> There is an error in XML document (1, 97). ---> <SendMessageSoapIn xmlns='urn:MMWebSrvService'> was not expected.</SAP:AdditionalText>
    Pls advice
    Regards

  • HTTP Synchronous Scenario. Pls advice urgent

    Hi All,
    My scenario
    System A -- XI --- System B
    This is Synchronous HTTP scenario.
    I tested in XI RWB.
    a. I took Message Mapping Source xml structure and sent from RWB it worked fine.
    b. I took xsd of Request Data Type and sent from RWB it shows error
    "MAPPING">EXCEPTION_DURING_EXECUTE"
    Now In real scenario System A will send data to XI.
    So does it mean that I need to send Message Mapping Source xml structure to System A and not xsd of Request Data Type
    Pls advice
    Regards

    Hi,
    Check the message status in SXMB_MONI and let me know the trace and error message.
    the below message shows that there is some problem in mapping, u have not done the correct mapping between source and target.
    EXCEPTION_DURING_EXECUTE"
    test the message in message mapping using test tab and let me know the result.
    chirag

  • Alert Problem. Pls advice

    Hi Aall,
    I have made one alert Category.
    Initially Wwhen I do not check -- Suppress Multiple Alerts of This Rule  every time I was getting alert.
    But as I want one alert I check that box I am not getting any alert.
    Pls advice urgent
    Regards

    hi
    here give you some blogs and Docs about alerts
    apply the better for you
    XI: Alerts - Step by step
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    http://help.sap.com/saphelp_nw04s/helpdata/en/d0/d4b54020c6792ae10000000a155106/frameset.htm
    Triggering by Calling a Function Module Directly.
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Alerts with variables from the messages payload (XI) – UPDATED
    /people/michal.krawczyk2/blog/2005/03/13/alerts-with-variables-from-the-messages-payload-xi--updated
    Simple Steps to Get Descriptive Alerts from BPM in XI
    /people/community.user/blog/2006/10/16/simple-steps-to-get-descriptive-alerts-from-bpm-in-xi
    Triggering XI Alerts from a User Defined Function
    /people/bhavesh.kantilal/blog/2006/07/25/triggering-xi-alerts-from-a-user-defined-function
    Throwing Smart Exceptions in XI Graphical Mapping
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    /people/sukumar.natarajan/blog/2007/01/07/how-to-raise-alerts-from-abap-proxy
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    /people/sravya.talanki2/blog/2006/11/22/error-handling-framework-xiout-of-the-box-episode-1
    /people/ginger.gatling/blog/2005/06/16/integrating-alerts-into-uwl--its-no-problem
    /people/aravindh.prasanna/blog/2006/02/20/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-3
    /people/aravindh.prasanna/blog/2005/12/24/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part-2
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1
    http://help.sap.com/saphelp_nw2004s/helpdata/en/56/d5b54020c6792ae10000000a155106/content.ht
    http://help.sap.com/saphelp_nw04/helpdata/en/2c/abb2e7ff6311d194c000a0c93033f7/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    check this links.
    https://www.sdn.sap.com/irj/sdn/forums
    Trouble shooting Alert configuration:
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    Alert Inbox
    http://help.sap.com/saphelp_nw04/helpdata/en/80/942f3ffed33d67e10000000a114084/frameset.htm
    Alert Notification Step-by-Step
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Defining Alert Classifications
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Triggering Alerts
    http://help.sap.com/saphelp_nw04/helpdata/en/49/cbfb40f17af66fe10000000a1550b0/frameset.htm
    Setting up alerts
    Setting up alerts in RZ20
    Alert Management
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e04141e8-0f11-2a10-adaa-9d97b062c2df
    Alert Notification
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/90f449a8-a6db-2910-a386-d2b5999f5751
    Thanks
    Rodrigo

  • I have a MacBook Pro 13.3 OS- MAC OS X LION.Whenever I am staring the computer, it says You need to restart your computer by pressing the power button.I did this number of times and everytime it freezes to the same screen.Solution needed urgently pls.

    I have a MacBook Pro 13.3 OS- MAC OS X LION.
    Whenever I am staring the computer, it says You need to restart your computer by pressing the power button.
    I did this number of times and everytime it freezes to the same screen.Solution needed urgently pls.
    Thank you for any help in this regard that comes fast.

    The details of the kernel-panic report is as follows-
    Interval Since Last Panic Report:  1458653 sec
    Panics Since Last Report:          6
    Anonymous UUID:                    70BA6A**************************************************
    Sun Sep 16 23:00:13 2012
    panic(cpu 0 caller 0xffffff80002c4794): Kernel trap at 0xffffff8000290560, type 14=page fault, registers:
    CR0: 0x0000000080010033, CR2: 0x0000000000800028, CR3: 0x000000000a509005, CR4: 0x00000000001606e0
    RAX: 0x0000000000000001, RBX: 0x0000000000820000, RCX: 0xffffff801122dc40, RDX: 0x0000000000020501
    RSP: 0xffffff80ef3d3da0, RBP: 0xffffff80ef3d3dc0, RSI: 0x000000002b1d78b6, RDI: 0xffffff800342d280
    R8:  0xffffff80ef3d3f08, R9:  0xffffff80ef3d3ef8, R10: 0x000000010d901000, R11: 0x0000000000000206
    R12: 0xffffff800342d280, R13: 0x0000000000000000, R14: 0xffffff8011cd6500, R15: 0x0000000000800000
    RFL: 0x0000000000010206, RIP: 0xffffff8000290560, CS:  0x0000000000000008, SS:  0x0000000000000000
    CR2: 0x0000000000800028, Error code: 0x0000000000000000, Faulting CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff80ef3d3a50 : 0xffffff8000220792
    0xffffff80ef3d3ad0 : 0xffffff80002c4794
    0xffffff80ef3d3c80 : 0xffffff80002da55d
    0xffffff80ef3d3ca0 : 0xffffff8000290560
    0xffffff80ef3d3dc0 : 0xffffff800026c9c3
    0xffffff80ef3d3f40 : 0xffffff80002c3fbb
    0xffffff80ef3d3fb0 : 0xffffff80002da481
    BSD process name corresponding to current thread: fsck_hfs
    Mac OS version:
    11E2620
    Kernel version:
    Darwin Kernel Version 11.4.2: Wed May 30 20:13:51 PDT 2012; root:xnu-1699.31.2~1/RELEASE_X86_64
    Kernel UUID: 25EC645A-8793-3201-8D0A-23EA280EC755
    System model name: MacBookPro9,2 (Mac-6F01561E16C75D06)
    System uptime in nanoseconds: 4850001132
    last loaded kext at 1796984176: com.apple.driver.BroadcomUSBBluetoothHCIController    4.0.7f2 (addr 0xffffff7f80e16000, size 57344)
    loaded kexts:
    com.apple.driver.BroadcomUSBBluetoothHCIController    4.0.7f2
    com.apple.driver.AppleUSBTCButtons    227.6
    com.apple.driver.AppleUSBTCKeyEventDriver    227.6
    com.apple.driver.AppleUSBTCKeyboard    227.6
    com.apple.driver.AppleIRController    312
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless    1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib    1.0.0d1
    com.apple.BootCache    33
    com.apple.iokit.SCSITaskUserClient    3.2.1
    com.apple.driver.XsanFilter    404
    com.apple.iokit.IOAHCISerialATAPI    2.0.3
    com.apple.iokit.IOAHCIBlockStorage    2.0.4
    com.apple.driver.AppleFWOHCI    4.8.9
    com.apple.driver.AirPort.Brcm4331    560.7.21
    com.apple.driver.AppleSDXC    1.2.2
    com.apple.driver.AppleUSBHub    5.0.8
    com.apple.iokit.AppleBCM5701Ethernet    3.2.4b8
    com.apple.driver.AppleEFINVRAM    1.6.1
    com.apple.driver.AppleSmartBatteryManager    161.0.0
    com.apple.driver.AppleAHCIPort    2.3.0
    com.apple.driver.AppleUSBEHCI    5.0.7
    com.apple.driver.AppleUSBXHCI    1.0.7
    com.apple.driver.AppleACPIButtons    1.5
    com.apple.driver.AppleRTC    1.5
    com.apple.driver.AppleHPET    1.7
    com.apple.driver.AppleSMBIOS    1.9
    com.apple.driver.AppleACPIEC    1.5
    com.apple.driver.AppleAPIC    1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient    195.0.0
    com.apple.nke.applicationfirewall    3.2.30
    com.apple.security.quarantine    1.3
    com.apple.security.TMSafetyNet    8
    com.apple.driver.AppleIntelCPUPowerManagement    195.0.0
    com.apple.driver.AppleUSBBluetoothHCIController    4.0.7f2
    com.apple.iokit.IOBluetoothFamily    4.0.7f2
    com.apple.driver.AppleFileSystemDriver    13
    com.apple.driver.AppleUSBMultitouch    230.5
    com.apple.driver.AppleThunderboltDPInAdapter    1.8.4
    com.apple.driver.AppleThunderboltDPAdapterFamily    1.8.4
    com.apple.driver.AppleThunderboltPCIDownAdapter    1.2.5
    com.apple.iokit.IOUSBHIDDriver    5.0.0
    com.apple.driver.AppleUSBMergeNub    5.0.7
    com.apple.driver.AppleUSBComposite    5.0.0
    com.apple.iokit.IOSCSIMultimediaCommandsDevice    3.2.1
    com.apple.iokit.IOBDStorageFamily    1.7
    com.apple.iokit.IODVDStorageFamily    1.7.1
    com.apple.iokit.IOCDStorageFamily    1.7.1
    com.apple.driver.AppleThunderboltNHI    1.6.0
    com.apple.iokit.IOThunderboltFamily    2.0.3
    com.apple.iokit.IOSCSIArchitectureModelFamily    3.2.1
    com.apple.iokit.IOFireWireFamily    4.4.5
    com.apple.iokit.IO80211Family    420.3
    com.apple.iokit.IOEthernetAVBController    1.0.1b1
    com.apple.iokit.IONetworkingFamily    2.1
    com.apple.iokit.IOUSBUserClient    5.0.0
    com.apple.iokit.IOAHCIFamily    2.0.8
    com.apple.iokit.IOUSBFamily    5.0.8
    com.apple.driver.AppleEFIRuntime    1.6.1
    com.apple.iokit.IOHIDFamily    1.7.1
    com.apple.iokit.IOSMBusFamily    1.1
    com.apple.security.sandbox    177.5
    com.apple.kext.AppleMatch    1.0.0d1
    com.apple.driver.DiskImages    331.7
    com.apple.iokit.IOStorageFamily    1.7.2
    com.apple.driver.AppleKeyStore    28.18
    com.apple.driver.AppleACPIPlatform    1.5
    com.apple.iokit.IOPCIFamily    2.7
    com.apple.iokit.IOACPIFamily    1.4

  • I change the hard disk from 500gb to 750 gb then i heard qw sound in some interval pls advice me., i change the hard disk from 500gb to 750 gb then i heard qw sound in some interval pls advice me?

    i change the hard disk from 500gb to 750 gb then i heard qw sound in some interval pls advice me., i change the hard disk from 500gb to 750 gb then i heard qw sound in some interval pls advice me?

    I wish it was under better circumstances, but welcome to the discussions!
    It certainly sounds like a bad HD to me. Back up your data and then take it in or call Apple.

  • Order by taking too much time. Tried using all_rows hints no use.Pls advice

    I run the query without order by and finishes in less than 30 sec. Once you have order by,query just hangs. Pls advice. Thanks.
    select col4,col6
    from
    table a , table b, table c
    where a.col1 = b.col2
    and a.col1 = c.col3
    order by col1,col2 desc

    If you put the \ tag (6 characters, all lower case) around the text where you want to preserve the formatting, the query plans you post are going to be much more readable.
    The optimizer's estimates appear to be correct and the plan is the same other than the ORDER BY.  I would, therefore, be highly inclined to believe as I was discussing earlier that the "30 seconds" figure that you're discussing is the time to fetch the first few rows, not the time to fetch the last row.
    Can you define "hang"?  How long do you let the query run before killing it?  Minutes?  Hours?  Days?
    What are the wait events associated with the query when it is running?  If the optimizer is correct that you're generating 5.4 million rows and a little over a GB of data that needs to be sorted, that should be expensive but that shouldn't take hours.
    What is the business problem you're trying to solve?  Sorting implies that you are trying to return results from a report to a user.  But, obviously, no user is ever going to page through 5.4 million rows of results.
    Justin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Global_attribute20 field in ap_payment_schedules_all table - Urgent Pls

    All,
    Version: 11.5.10.2
    I created an invoice, from the 'Scheduled Payments' tab I checked the 'Hold' flag. After the flag is checked in the UI, I noticed the global_attribute20 field in the ap_payment_schedules_all updates to 'EP' along with the hold_flag='Y'. I want to know the significance of global_attribute20 and what are all the other possible values of this field like 'EP'??
    this is quite urgent, pls help.
    rgds
    sen

    Have you tried to enable trace on this form to find out how this column gets populated?
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1] -- 3. How does one enable trace in the Oracle Application screens / forms?
    Can you reproduce the issue with other invoices?
    Do you have any other instance where you can try the same and see if the issue is reproducible?
    Thanks,
    Hussein

  • Hi,I lost my iphone 5,n trying to log in to icloud so that I can locate it but every time I try login in I get a message that an error occured while trying to connect to server.Pls advice what to do to locate it.Thank you.

    Hi I lost my iphone 5,and each time I try to log in to icloud to locate it I get a message that error while connecting to server.Pls advice on what to do to locate ot.Thank you.

    what browser? have you tried another browser could be your browser settings which cause it you can also try another computer

Maybe you are looking for