Urgent Issue! Getting Insufficicent privilges error

Hi,
We have done Oracle workflow integration with one of our Oracle applications.
In the notification that the user gets(after logging into workflow) we need to provide a link to a page within our application so that if the user clicks on this link it will automatically query up the object that needs to be approved.
I have defined a function for this page and am passing the Header Id to it. The url looks like this:
'OA.jsp?OAFunc=TESTFUNC&HeaderId=';
But when the user clicks on this he gets "You have insufficient privilges for this operation , please contact System Administrator"
Does anyone have any idea how this can be resolved? Is this a valid requirement?
Please help - this is an urgent requirement that we need to implement.
Thanks!

hi avula,
follow this path, taxes on goods mvnt--indiaaccnt determination---specify excise accnts for excise transaction...maintain the sub transction type , ip or 01,
against the appropriate ETT
saurabh

Similar Messages

  • Two issues getting a headless error form windows & my clips audio plays in the preview but not once placed in th timeline. I taped with a panasonic HC 750 V. i believe it is with clips filmed using directed not surround audio.

    The title more or less says it all. I have Elements 13 & am Using the Panasonic HC 750V. I shot in AVCHD 1080/60p & instead of surround sound choose the directed feature to focus on the voices in front of me. The audio works in preview but not on the timeline. I am also getting Headless errors when working with premiere that pop up in windows but it does not shut down the system.
    Any help apprecaited.

    pc
    Have you updated your Premiere Elements 13 to 13.1 using an opened project's Help Menu/Update. If not, please do so.
    Just some points of clarification on the AVCHD 1080/60p with which you are having audio problem in Premiere Elements 13.
    a. I see no option to record to tape with your Panasonic model. Is there one? if not, what was recorded to, a memory card?
    b. When you talk about directed not surround audio, are you saying that your video uses Dolby Digital 2 channel stereo instead of 5.1 channel?
    c. Is your AVCHD footage presented to you as AVCHD.mts rather than AVCHD.mp4. I think that is the case if you are referring to Dolby Digital
    rather than AAC audio.
    Are you saying that you get play back video and audio if you double click the video's thumbnail in Project Assets, but you get video but no audio after you drag the file to the Timeline and play back its contents in the Edit area monitor?
    a. Have you checked the Volume control under the Adjust Tab/Adjustments Palette/Volume Panel expanded to make sure the Volume has been taken all the way down? Under that condition, you will get play back in the Preview Window, but no audio from the Timeline level play back in the Edit area monitor.
    b. In that same regard, if you look at the Timeline audio clip, note a yellow orange line that runs horizontally across the duration of the audio clip. Is that at the bottom of the frame or is it in the middle or at the top?
    Do you work with the Elements Organizer at all? That Headess issue sounds like an Elements Organizer issue. More on that later. That issue should not prevent you from continuing your work. But we will explore that next.
    Thanks.
    ATR

  • URGENT i get the following error when i run pa_jav_inst.bat on windows2000

    D:\oracle\Ora9i\panama\setupconf>pa_java_inst
    Using Java VM version
    java version "1.2.2"
    Classic VM (build JDK-1.2.2_005, native threads, symcjit)
    Error when opening logfile "sys_panama.log" in "/tmp": \tmp\sys_panama.log (The system cannot find the path specified)
    Error when opening logfile "tx_panama.log" in "/tmp": \tmp\tx_panama.log (The system cannot find the path specified)
    5/24/01 10:36:12 AM NOTIFY : [main] core.rdbms.SessionManager.<init>(SessionManager.java:98)
    db.connect.string = p2g/[email protected]:1521:orcl
    5/24/01 10:36:14 AM NOTIFY : [main] util.connpool.JDBCConnectionPoolManager.createPool(JDBCConnectionPoolManager.java:83)
    Creating a pool cstr jdbc:oracle:thin:@et-wks-01.esstec.lhe:1521:orcl user p2g passwd p2g min 5 max 100 idleTimeout 360
    Session Manager initialized
    db.connect.dbname = jdbc:oracle:thin:@et-wks-01.esstec.lhe:1521:orcl
    db.connect.user = p2g
    db.connect.password = p2g
    db.connect.minConnections = 5
    db.connect.maxConnections = 100
    db.connect.incConnections = 1
    db.connect.idleTimeout = 360
    db.driver = THIN
    db.schema = null
    5/24/01 10:36:14 AM NOTIFY : [main] core.rdbms.SessionManager.getSession(SessionManager.java:236)
    Database Session opened for thread "Thread[main,5,main]"
    5/24/01 10:36:14 AM NOTIFY : [main] core.util.Statx.dump(Statx.java:81)
    Open session [ready]: real 80 ms, memory diff: 602624 b, free memory: 1075488 b
    5/24/01 10:36:15 AM NOTIFY : [WebSever Daemon] core.probe.WebServer.run(WebServer.java, Compiled Code)
    Webserver is Starting
    5/24/01 10:36:15 AM ERROR : [WebSever Daemon] core.probe.WebServer.loadProps(WebServer.java, Compiled Code)
    Woops:
    java.io.IOException: \tmp don't exist as server root
    5/24/01 10:36:15 AM NOTIFY : [FTP Daemon] core.ftp.FtpServer.createServerSocket(FtpServer.java:171)
    FTP Server started on port 9100, Client connection timeout is 30000, Charset is ISO8859_1.
    at oracle.panama.core.probe.WebServer.loadProps(WebServer.java, Compiled Code)
    at oracle.panama.core.probe.WebServer.run(WebServer.java, Compiled Code)
    at java.lang.Thread.run(Thread.java:479)
    5/24/01 10:36:15 AM NOTIFY : [WebSever Daemon] core.probe.WebServer.printProps(WebServer.java, Compiled Code)
    port=8090 root=\tmp timeout=5000 workers=5
    5/24/01 10:36:15 AM NOTIFY : [Web Worker #1] core.probe.Worker.run(Worker.java, Compiled Code)
    Worker is started
    5/24/01 10:36:15 AM NOTIFY : [Web Worker #0] core.probe.Worker.run(Worker.java, Compiled Code)
    Worker is started
    5/24/01 10:36:15 AM NOTIFY : [RMI Daemon] core.rmi.server.ServerImpl.run(ServerImpl.java:106)
    RMI Persistent Services started as "PanamaServer" on port 2008
    oracle.panama.PanamaException: No such user ""
    at oracle.panama.core.ServerImpl.createModelConnection(ServerImpl.java:79)
    at oracle.panama.core.util.LoadXml.parseArgs(LoadXml.java, Compiled Code)
    at oracle.panama.core.util.LoadXml.main(LoadXml.java:731)

    i found this log file which might help u guys
    5/24/01 12:01:27 PM NOTIFY : [main] core.rdbms.SessionManager.<init>(SessionManager.java:98)
    db.connect.string = p2g/[email protected]:1521:orcl
    5/24/01 12:01:29 PM NOTIFY : [main] util.connpool.JDBCConnectionPoolManager.createPool(JDBCConnectionPoolManager.java:83)
    Creating a pool cstr jdbc:oracle:thin:@et-wks-01.esstec.lhe:1521:orcl user p2g passwd p2g min 5 max 100 idleTimeout 360
    Session Manager initialized
    db.connect.dbname = jdbc:oracle:thin:@et-wks-01.esstec.lhe:1521:orcl
    db.connect.user = p2g
    db.connect.password = p2g
    db.connect.minConnections = 5
    db.connect.maxConnections = 100
    db.connect.incConnections = 1
    db.connect.idleTimeout = 360
    db.driver = THIN
    db.schema = null
    5/24/01 12:01:29 PM NOTIFY : [main] core.rdbms.SessionManager.getSession(SessionManager.java:236)
    Database Session opened for thread "Thread[main,5,main]"
    5/24/01 12:01:29 PM NOTIFY : [main] core.util.Statx.dump(Statx.java:81)
    Open session [ready]: real 30 ms, memory diff: -86200 b, free memory: 411040 b
    5/24/01 12:01:29 PM NOTIFY : [WebSever Daemon] core.probe.WebServer.run(WebServer.java, Compiled Code)
    Webserver is Starting
    5/24/01 12:01:30 PM NOTIFY : [FTP Daemon] core.ftp.FtpServer.createServerSocket(FtpServer.java:171)
    FTP Server started on port 9100, Client connection timeout is 30000, Charset is ISO8859_1.
    5/24/01 12:01:30 PM WARNING : [WebSever Daemon] core.probe.WebServer.loadProps(WebServer.java, Compiled Code)
    No restriction for accessing Probe
    5/24/01 12:01:30 PM NOTIFY : [WebSever Daemon] core.probe.WebServer.printProps(WebServer.java, Compiled Code)
    port=8090 root=\tmp timeout=5000 workers=2
    null

  • Getting the Network errors

    Hello Experts,
    One of my customer has the following issue:
    Getting the Network errors when the following batch script is executed through a scheduler or through a command prompt.
    login "$1" "$2" on "$3";
    alter system kill request on application SEMPCNH;
    alter system logout session on application SEMPCNH force;
    alter system unload application SEMPCNH;
    alter system load application SEMPCNH;
    drop lock on database SEMPCNH.SEMPCNH;
    alter database SEMPCNH.SEMPCNH unlock all objects;
    alter application SEMPCNH disable connects;
    logout;
    exit;
    Log file:
    Thu 09/10/2009 10:38:16.69 BEGIN Disable_Connects.bat S1CN1HAVAS11
    Essbase MaxL Shell - Release 9.3.1 (ESB9.3.1.3.0B017)
    Copyright (c) 2000, 2007, Oracle and/or its affiliates.
    All rights reserved.
    MAXL> login "essadmin" "password" on "146.47.243.32";
    OK/INFO - 1051034 - Logging in user [essadmin].
    OK/INFO - 1051035 - Last login on Thursday, September 10, 2009 10:38:16 AM.
    OK/INFO - 1241001 - Logged in to Essbase.
    MAXL> alter system kill request on application SEMPCNH;
    OK/INFO - 1056090 - System altered.
    MAXL> alter system logout session on application SEMPCNH force;
    OK/INFO - 1013220 - Supervisor [essadmin] has forced user [NL034] to logout.
    OK/INFO - 1051037 - Logging out user [NL034], active for 50 minutes.
    OK/INFO - 1013220 - Supervisor [essadmin] has forced user [NL034] to logout.
    OK/INFO - 1051037 - Logging out user [NL034], active for 199 minutes.
    OK/INFO - 1013220 - Supervisor [essadmin] has forced user [NL034] to logout.
    OK/INFO - 1051037 - Logging out user [NL034], active for 214 minutes.
    OK/INFO - 1056092 - Sessions logged out [3].
    OK/INFO - 1056090 - System altered.
    MAXL> alter system unload application SEMPCNH;
    ERROR - 1042013 - Network error [10054]: Cannot Receive Data.
    ERROR - 1042012 - Network error [10054]: Cannot Send Data.
    MAXL> alter system load application SEMPCNH;
    ERROR - 1042006 - Network error [10061]: Unable to connect to [146.47.243.32:1423]. The client timed out waiting to connect to Analytic Services Agent using TCP/IP. Check your network connections. Also make sure that server and port values are correct.
    SESSION - 1241102 - Internal API error 1042006.
    MAXL> drop lock on database SEMPCNH.SEMPCNH;
    essmsh error: Invalid MaxL Session ID
    MAXL> alter database SEMPCNH.SEMPCNH unlock all objects;
    essmsh error: Invalid MaxL Session ID
    MAXL> alter application SEMPCNH disable connects;
    essmsh error: Invalid MaxL Session ID
    MAXL> logout;
    User essadmin is logged out
    MaxL Shell completed
    Suggestions / Action Plan:
    a) Modified the script by adding sleep command as below:
    login "$1" "$2" on "$3";
    alter system kill request on application SEMPCNH;
    alter system logout session on application SEMPCNH force;
    alter system unload application SEMPCNH;
    shell 'ping -n 30 localhost > nul';
    alter system load application SEMPCNH;
    shell 'ping -n 10 localhost > nul';
    drop lock on database SEMPCNH.SEMPCNH;
    alter database SEMPCNH.SEMPCNH unlock all objects;
    alter application SEMPCNH disable connects;
    logout;
    exit;
    b) Modified the essbase.cfg file by adding the following settings -
    SERVERPORTBEGIN 42768
    SERVERPORTEND 43768
    NETDELAY 2000
    NETRETRYCOUNT 2500
    NETTCPCONNECTRETRYCOUNT 50
    SERVERTHREADS 40
    AGENTTHREADS 40
    SAMPLINGNUMBLOCKS 20
    c) Edited Registry by adding the following -
    Add new DWORD Value named TcpTimedWaitDelay - Value = 30
    Add new DWORD Value named MaxUserPort - Value = 65534
    Add new DWORD Value named MaxFreeTcbs - Value = 6250
    But found the issue still persists. Any suggestions would be of great help.
    Thanks in advance.
    Regards,
    Sudhir
    Edited by: 637223 on Dec 23, 2009 2:30 PM

    So it's the unloading from memory of the database that causes the problem, yes?
    Have you tried:
    1) Unloading other databases -- just interactively, without the kill and logout commands? Do they error?
    2) Getting on the system at a quiet time and trying to unload the app/db?
    3) Trying to stop a different database after the kill and logout?
    4) Running a validate (whatever it's called in MaxL) on the db in question?
    My guess is that it's either a corrupt db or a corrupt essbase.sec (yeah, I know, not overly helpful) -- the above steps should help you determine which is the bad actor.
    Keep the board posted.
    Good luck,
    Cameron Lackpour

  • Just recently I am getting the following error message when trying to access web sites. I get a pop up window stating "Exc in ev handl: TypeError: c.location is null" then I have to click ok. It is an issue with some plug-in?

    Just recently I am getting the following error message when trying to access web sites. I am using Firefox browser version 10.0.2. I get a pop up window stating "Exc in ev handl: TypeError: c.location is null" as the web site page is being displayed in browser winder. Then I have to click ok. It doesn't matter what web link/site I go to it happens. It is an issue with some plug-in?

    I have advised McAfee's product team of the problem and this thread, and they're looking into it now.

  • I cannot install iTunes.  I get a Windows Error 126 and missing msvcr80.dll.  I've tried uninstalling and re-installing based on all the suggestions, but still have an issue

    I cannot install iTunes.  I get a Windows Error 126 and missing msvcr80.dll.  I've tried uninstalling and re-installing based on all the suggestions, but still have an issue.  I've removed all the services, tried moving the dll files as suggested, but I still have no success.  Spent all day on this issue.  I am running windows 7.

    Sorry to hear this isn't going smoothly for you. Try  Troubleshooting issues with iTunes for Windows updates. You may have seen some of the suggestions here before but is has taken some users more than one attempt.
    tt2

  • Compressor issue, keep getting Failed: QuickTime error.-50. Anyone knows why?

    Compressor issue, keep getting Failed: QuickTime error.-50. Anyone knows why?

    I have this problem too, I sent a 1hr long video to Compressor from FCP and trying to save it in H.264
    If works for a few hours and then says it failed.
    Any help would be much appreciated!

  • Need urgent help on issue "An unknown CSS error occured" Hyperion Essbase

    Hi guys
    I am facing an issue while configuring Essbase 9.3.1. Everytime i tried to register Essbase(Server1) with Shared Services(Server2), i.e at the point where we enter Shared Services server, port, username, and password i am getting the following error.
    "An unknown CSS error occured. please check the values you entered". I verified and gave all the values exactly. but same error....
    please help me with your suggestions in resolving this issue.
    Thanks in advance.
    K

    this is what the configtool_err.log is showing
    com.hyperion.cis.config.CmsRegistrationUtil, DEBUG, URL for CSS.xml = http://ServerName.DNS:58080/interop/framework/getCSSConfigFile
    com.hyperion.cis.config.CSSApp, DEBUG, Unable to communicate with the server.
    com.hyperion.cis.config.CmsRegistrationUtil, DEBUG, Authenticate admin user to CSS.
    com.hyperion.cis.config.CSSApp, DEBUG, com.hyperion.css.CSSCommunicationException: Failed to connect to the directory server: Native Directory.     Error Code: 3
    NestedException:
    javax.naming.CommunicationException: hqidwcpdap04.hqh.intra.aexp.com:58089 [Root exception is java.net.ConnectException: Connection timed out: connect]
    com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin
    com.hyperion.cis.config.wizard.ProductCustomInputPanel, DEBUG, managerClassName: com.hyperion.essbase.config.EssbaseAgentPortPanelManager
    com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to initialize CSS API
    com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin
    com.hyperion.cis.config.CmsRegistrationUtil, ERROR, Failed to authenticate user = admin
    Edited by: MP on Mar 11, 2011 12:53 PM

  • I am having an installation failure issue with my itunes 11 software.  File is corrupted and i don't know what to do.  I've un-install and re-installed the software three times and continue to get the same error message.  It states that "This copy of ITun

    I am having an installation failure issue with my itunes 11 software.  File is corrupted and i don't know what to do.  I've un-install and re-installed the software three times and continue to get the same error message.  It states that "This copy of ITunes is corrupted or is not installed correctly.  Please reinstall Itunes"
    iMac, iOS 6

    HI,
    If your old version of iTunes is still working - then I sugest you stick with that.
    iTunes 11 is a lousy update - It will not retain your playlists, you can't find and delete duplicates... and a whole arry of oyher issues. (have a look around this forum to see how many issues IT11 gives people)
    Just a friendly advise and warning :-)

  • I purchased an app for my Mac Book Pro.  The app is called djay.  Unfortunately it won't download.  I get the following error message: Error 1004 please try again later.  How can I resolve this issue?

    I purchased an app for my Mac Book Pro.  The app is called djay.  Unfortunately it won't download.  I get the following error message: Error 1004 please try again later.  How can I resolve this issue?

    Try contacting the app developer via email here >  http://help.algoriddim.com/customer/portal/emails/new

  • When attempting to install OS X Mountain Lion I get the following error message "We could not complete your purchase. OS X Mountain Lion is not compatible with this computer." Any idea what the issue might be?

    When attempting to install OS X Mountain Lion I get the following error message "We could not complete your purchase. OS X Mountain Lion is not compatible with this computer." Any idea what the issue might be?

    Mama --
    Which Mac??????
    iMac, MacBook Pro, Mini,, what?
    Go up to the Apple icon on the upper left hand corner of your screen (menu bar).
    Click that, and then "More Info". and then "More Info" again.
    What does it say?  Here's what mine says:

  • When I try and export from pages to word I get an unknown error.  No font issues that I know of.

    I used to be able to export documents from pages to word.  Things seemed to have changed after Lion.  Whenever I go to export to Word, I get "an unknown error has occurred".  I tried all the font solutions found on here and everything is validated and I don't think it's a font issue.  It's a brand new document with Helvetica as the only font. 
    Thanks, chadrs

    I'm unaware of such change.
    May you send the Pages document to my mailbox ?
    Click my blue name to get my address.
    I would check the way it behaves on my own system.
    This way we would know if the culprit is the doc or your system.
    You wrote "I tried all the font solutions found on here and everything is validated and I don't think it's a font issue."
    Must I understand that you trashed the fonts cache file dedicated to iWork ?
    If you didn't (what I assume), trash it for see.
    This file is :
    <startupVolume>:Users:<yourAccount>:Library:Caches:com.apple.iWork.fonts
    For safe I repeat that under Lion, to reach this Library folder we must press the option key while opening the menu "Go to" to be able to trigger the menu item "Library".
    Yvan KOENIG (VALLAURIS, France)  mercredi 14 décembre 2011 21:36:02
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • I am having an issue burning DVDs on Final Cut Pro X. After 15 minutes, I get a QuickTime Error:0. Anybody have a solution to this?

    I am having an issue burning DVDs on Final Cut Pro X. After 15 minutes, I get a QuickTime Error:0. Anybody have a solution to this?

    I'm sure the pros will be along to ask what your settings are.  Although this may not be exactly helpful, I did find compressor to be much more robust for burning DVDs.  This could partially be because it includes a template to convert you movie into correct DVD format.  I was quite pleased with the outcome after multiple failed attempts using FCPX alone.

  • On some sites we get sec_error_unknown_issuer SSL error due to missing root certificate TC TrustCenter Class 2 L1 CA XI. Firefox is the only browser having this issue. Why is that certificate not preinstalled and shipped with Firefox?

    On some sites we get sec_error_unknown_issuer SSL error due to missing root certificate TC TrustCenter Class 2 L1 CA XI. Firefox is the only browser having this issue. Why is that certificate not preinstalled and shipped with Firefox?
    Check sales.sauer-danfoss.com for details with Firefox 7.
    Thanks
    Stefan

    You are not sending the TC TrustCenter Class 2 L1 CA XI intermediate certificate
    *http://sales.sauer-danfoss.com/
    Web servers need to send all required intermediate certificates to build the chain to build-in root certificates.
    You need to install that intermediate certificate on your server.
    *http://www.trustcenter.de/en/infocenter/root_certificates.htm#3479
    You can test the certificate chain via a site like this:
    *http://www.networking4all.com/en/support/tools/site+check/

  • Performance issue in Report (getting time out error)

    Hi experts,
    I am doing Performance for a Report (getting time out error)
    Please see the code below and .
    while looping internal table IVBAP after 25 minutes its showing  time out error at this poit ->
    SELECT MAX( ERDAT ) .
    please send alternate code for this .
    Advance thanks
    from
    Nagendra
    Get Sales Order Details
    CLEAR IVBAP.
    REFRESH IVBAP.
    SELECT VBELN POSNR MATNR NETWR KWMENG WERKS FROM VBAP
       INTO CORRESPONDING FIELDS OF TABLE IVBAP
         FOR ALL ENTRIES IN IVBAK
           WHERE VBELN =  IVBAK-VBELN
           AND   MATNR IN Z_MATNR
           AND   WERKS IN Z_WERKS
           AND   ABGRU = ' '.
    Check for Obsolete Materials - Get Product Hierarhy/Mat'l Description
      SORT IVBAP BY MATNR WERKS.
      CLEAR: WK_MATNR, WK_WERKS, WK_PRDHA, WK_MAKTX,
             WK_BLOCK, WK_MMSTA, WK_MSTAE.
      LOOP AT IVBAP.
          CLEAR WK_INVDATE.                                   "I6677.sn
          SELECT MAX( ERDAT ) FROM VBRP INTO WK_INVDATE WHERE
          AUBEL EQ IVBAP-VBELN AND
          AUPOS EQ IVBAP-POSNR.
          IF SY-SUBRC = 0.
              MOVE WK_INVDATE TO IVBAP-INVDT.
              MODIFY IVBAP.
          ENDIF.                                               "I6677.e n
          SELECT SINGLE * FROM MBEW WHERE             "I6759.sn
          MATNR EQ IVBAP-MATNR AND
          BWKEY EQ IVBAP-WERKS AND
          BWTAR EQ SPACE.
          IF SY-SUBRC = 0.
             MOVE MBEW-STPRS TO IVBAP-STPRS.
             IVBAP-TOT = MBEW-STPRS * IVBAP-KWMENG.
             MODIFY IVBAP.
          ENDIF.                                      "I6759.en
        IF IVBAP-MATNR NE WK_MATNR OR IVBAP-WERKS NE WK_WERKS.
          CLEAR: WK_BLOCK, WK_MMSTA, WK_MSTAE, WK_PRDHA, WK_MAKTX.
          MOVE IVBAP-MATNR TO WK_MATNR.
          MOVE IVBAP-WERKS TO WK_WERKS.
          SELECT SINGLE MMSTA FROM MARC INTO MARC-MMSTA
            WHERE MATNR = WK_MATNR
            AND   WERKS = WK_WERKS.
          IF NOT MARC-MMSTA IS INITIAL.
            MOVE '*' TO WK_MMSTA.
          ENDIF.
          SELECT SINGLE LVORM PRDHA MSTAE MSTAV FROM MARA
            INTO (MARA-LVORM, MARA-PRDHA, MARA-MSTAE, MARA-MSTAV)
            WHERE MATNR = WK_MATNR.
          IF ( NOT MARA-MSTAE IS INITIAL ) OR
             ( NOT MARA-MSTAV IS INITIAL ) OR
             ( NOT MARA-LVORM IS INITIAL ).
             MOVE '*' TO WK_MSTAE.
          ENDIF.
          MOVE MARA-PRDHA TO WK_PRDHA.
          SELECT SINGLE MAKTX FROM MAKT INTO WK_MAKTX
            WHERE MATNR = WK_MATNR
              AND SPRAS = SY-LANGU.
        ENDIF.
        IF Z_BLOCK EQ 'B'.
          IF WK_MMSTA EQ ' ' AND WK_MSTAE EQ ' '.
            DELETE IVBAP.
            CONTINUE.
          ENDIF.
        ELSEIF Z_BLOCK EQ 'U'.
          IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
            DELETE IVBAP.
            CONTINUE.
          ENDIF.
        ELSE.
          IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
            MOVE '*' TO WK_BLOCK.
          ENDIF.
        ENDIF.
        IF WK_PRDHA IN Z_PRDHA.                                    "I4792
          MOVE WK_BLOCK TO IVBAP-BLOCK.
          MOVE WK_PRDHA TO IVBAP-PRDHA.
          MOVE WK_MAKTX TO IVBAP-MAKTX.
          MODIFY IVBAP.
        ELSE.                                                     "I4792
          DELETE IVBAP.                                           "I4792
        ENDIF.                                                    "I4792
        IF NOT Z_ALNUM[] IS INITIAL.                              "I9076
          SELECT SINGLE * FROM MAEX                               "I9076
            WHERE MATNR = IVBAP-MATNR                             "I9076
              AND ALNUM IN Z_ALNUM.                               "I9076
          IF SY-SUBRC <> 0.                                       "I9076
            DELETE IVBAP.                                         "I9076
          ENDIF.                                                  "I9076
        ENDIF.                                                    "I9076
      ENDLOOP.

    Hi Nagendra!
    Get Sales Order Details
    CLEAR IVBAP.
    REFRESH IVBAP.
    check ivbak is not initial
    SELECT VBELN POSNR MATNR NETWR KWMENG WERKS FROM VBAP
    INTO CORRESPONDING FIELDS OF TABLE IVBAP
    FOR ALL ENTRIES IN IVBAK
    WHERE VBELN = IVBAK-VBELN
    AND MATNR IN Z_MATNR
    AND WERKS IN Z_WERKS
    AND ABGRU = ' '.
    Check for Obsolete Materials - Get Product Hierarhy/Mat'l Description
    SORT IVBAP BY MATNR WERKS.
    CLEAR: WK_MATNR, WK_WERKS, WK_PRDHA, WK_MAKTX,
    WK_BLOCK, WK_MMSTA, WK_MSTAE.
    avoid select widin loop. instead do selection outside loop.u can use read statement......and then loop if required.
    LOOP AT IVBAP.
    CLEAR WK_INVDATE. "I6677.sn
    SELECT MAX( ERDAT ) FROM VBRP INTO WK_INVDATE WHERE
    AUBEL EQ IVBAP-VBELN AND
    AUPOS EQ IVBAP-POSNR.
    IF SY-SUBRC = 0.
    MOVE WK_INVDATE TO IVBAP-INVDT.
    MODIFY IVBAP.
    ENDIF. "I6677.e n
    SELECT SINGLE * FROM MBEW WHERE "I6759.sn
    MATNR EQ IVBAP-MATNR AND
    BWKEY EQ IVBAP-WERKS AND
    BWTAR EQ SPACE.
    IF SY-SUBRC = 0.
    MOVE MBEW-STPRS TO IVBAP-STPRS.
    IVBAP-TOT = MBEW-STPRS * IVBAP-KWMENG.
    MODIFY IVBAP.
    ENDIF. "I6759.en
    IF IVBAP-MATNR NE WK_MATNR OR IVBAP-WERKS NE WK_WERKS.
    CLEAR: WK_BLOCK, WK_MMSTA, WK_MSTAE, WK_PRDHA, WK_MAKTX.
    MOVE IVBAP-MATNR TO WK_MATNR.
    MOVE IVBAP-WERKS TO WK_WERKS.
    SELECT SINGLE MMSTA FROM MARC INTO MARC-MMSTA
    WHERE MATNR = WK_MATNR
    AND WERKS = WK_WERKS.
    IF NOT MARC-MMSTA IS INITIAL.
    MOVE '*' TO WK_MMSTA.
    ENDIF.
    SELECT SINGLE LVORM PRDHA MSTAE MSTAV FROM MARA
    INTO (MARA-LVORM, MARA-PRDHA, MARA-MSTAE, MARA-MSTAV)
    WHERE MATNR = WK_MATNR.
    IF ( NOT MARA-MSTAE IS INITIAL ) OR
    ( NOT MARA-MSTAV IS INITIAL ) OR
    ( NOT MARA-LVORM IS INITIAL ).
    MOVE '*' TO WK_MSTAE.
    ENDIF.
    MOVE MARA-PRDHA TO WK_PRDHA.
    SELECT SINGLE MAKTX FROM MAKT INTO WK_MAKTX
    WHERE MATNR = WK_MATNR
    AND SPRAS = SY-LANGU.
    ENDIF.
    IF Z_BLOCK EQ 'B'.
    IF WK_MMSTA EQ ' ' AND WK_MSTAE EQ ' '.
    DELETE IVBAP.
    CONTINUE.
    ENDIF.
    ELSEIF Z_BLOCK EQ 'U'.
    IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
    DELETE IVBAP.
    CONTINUE.
    ENDIF.
    ELSE.
    IF WK_MMSTA EQ '' OR WK_MSTAE EQ ''.
    MOVE '*' TO WK_BLOCK.
    ENDIF.
    ENDIF.
    IF WK_PRDHA IN Z_PRDHA. "I4792
    MOVE WK_BLOCK TO IVBAP-BLOCK.
    MOVE WK_PRDHA TO IVBAP-PRDHA.
    MOVE WK_MAKTX TO IVBAP-MAKTX.
    MODIFY IVBAP.
    ELSE. "I4792
    DELETE IVBAP. "I4792
    ENDIF. "I4792
    IF NOT Z_ALNUM[] IS INITIAL. "I9076
    SELECT SINGLE * FROM MAEX "I9076
    WHERE MATNR = IVBAP-MATNR "I9076
    AND ALNUM IN Z_ALNUM. "I9076
    IF SY-SUBRC 0. "I9076
    DELETE IVBAP. "I9076
    ENDIF. "I9076
    ENDIF. "I9076
    endloop.
    U have used many select queries widin loop-endloop which is a big hindrance as far as performance is concerned.Avoid such practice.
    Thanks
    Deepika

Maybe you are looking for