To check process mode when application running through PCUI

Hi Experts,
I have implemented a BADI called EVAL_SCHEDCOND_PPF to schedule actions.
There is one action which need to trigger when the document is going to be created and not when the document is being saved.
So, for this purpose I have used the function module CRM_INTLAY_GET_PROCESS_MODE to capture the process mode. This is working fine when I run CRMD_ORDER it is satisfying my requirement, but when I run the application from PCUI the mode that will be returned by this module will always be 'CHANGE(B)' only.
Does any body have encountered the similar situation or If any one have any thoughts pls reply me.
Thanks in advance.
Regards,
Usha.

HI Madireddy,
In PC-UI by default the document is opened in edit mode. Try one thing open the document in GUI in change mode and then try to open it in PC-UI.
<b>
Award Points if it is Useful.</b>
Regards,
Naveen

Similar Messages

  • Images are not coming out when application running through jar file.

    I have written an application program using j2sdk1.4.1 that needs your help.
    My application folder's contents.....................
         C:\Examination\Examination.class <-----This is the main class and application's entry point.
         C:\Examination\ExamBox.class
         C:\Examination\PaperSetterBox.class
         C:\Examination\pspBox.class
         C:\Examination\epBox.class
         C:\Examination\TimerBox.class
         C:\Examination\ReportCardBox.class
         C:\Examination\HelpBox.class
         C:\Examination\AboutBox.class
         C:\Examination\Images\(some jpg & gif files)
         C:\Examination\Sounds\(some au files)
    Compilation Report:     There was no error.
    Execution Report :     Was working properly using the command:- java Examination
    Now, I created a jar file for my application in the following steps.................................
              STEP-1:          Firstly, I created a text file(mainclassInfo.txt) that contains
              the line:--     Main-Class: Examination
              This line would be automatically added to the default manifest file when I would include the                name of that text file with the command to create the jar file.
              Location of the text file I created:     C:\mainClassInfo.txt
              STEP-2:          Then I went to C:\Examination and executed the following command(by using                'Command prompt'):--------------------------------------------------------------------
    jar cmf C:\mainClassInfo.txt Examination.jar Examination.class ExamBox.class PaperSetterBox.class pspBox.class epBox.class TimerBox.class ReportCardBox.class HelpBox.class AboutBox.class Images Sounds
    Finally, I got the jar file:-     Examination.jar
    Double clicking on it application ran as it was expected.
    Then, I thought, that as all the files & folders the application needed to run properly were packaged in the jar file; I should delete all the contents of the folder 'Examination', so that no one could see or use anything of the resources easily. I did that.
    So, then it became only:-- C:\Examination\Examination.jar
    Thereafter, I tried to run the application again and there a problem occurred! The application was running, but the images, those were to be used and shown by the application were missing somehow!!
    Moreover, when I kept a copy of those 2 folders('Images' and 'Sounds') into the C:\Examination and ran the application again all the images came out normally!
    I just can't understand why it's happening so mysterious?
    I don't want to leave anything of the resources in an open place; I mean, outside of the jar file. The images should be used and shown by the application.
    Help me please!

    double post http://forum.java.sun.com/thread.jspa?threadID=582311

  • When MRP run through background process in MDBT open PR and PO not comming?

    Hi,
    When MRP run through backgroung process in MDBT open PR and PO not coming in MDBT result.
    Pls advise accordingaly.
    Regards
    rk

    Ram,
    Either I am totally misunderstanding your statements, or your business people are misinformed.  
    The output of MD01 (MRP total run in foreground) and the output of MDBT (MRP total Run in Background) ARE IDENTICAL, provided you have selected the same parameters.  
    Neither output contains a discrete listing of open Purchase orders and Purchase requisitions.
    Standard output of both MD01 and MDBT are:
    1.  List of materials processed, with exception messages
    2.  Statistics
    In addition, both of these programs also write MRP records to the MRP databases, provided that the "Display Material List" parameter is set.  In this case, both of these programs will produce data that can be further reviewed and managed in MD05 and MD06. MD06 is the tool that most planners use to process the MRP database info.
    If you wish to see a listing of the entire MRP results (either MD01 or MDBT), then execute transaction MDLD.  This will produce either a spoolfile or a printed document.
    For the PO or PR listings, review my earlier suggestions.
    Rgds,
    DB49

  • How to stop a process chain when its running?

    Dear Experts,
    How to stop a process chain when its running? is it that a chain can be stoppend when we open an info package of that chain ?
    Thank you,
    Raj

    Hi,
    Goto the main menu process chain --> choose the remove from the Schudule...
    Regards
    sathis
    I hope it helps to u... please assign the points

  • Problem if three tier application run through WebStart

    I developed a three tier application (Messaging Service (JMS,JNDI))
    When i run this applivation without web start it run without problem
    but when i run this application through web start the middel tier (JBoss) throwing some exception relATED TO CONNECTION
    Can u give me any hint to solve this problem
    regards
    tushar

    I had no problem with my application .i have a swing based client application that connects to JBoss Application Server to connect to Session Beans, JDO,etc. IT works fine. You need to distribute JBoss-all-client.jar.
    Can you describe your error

  • .xml file not loading when piece runs through an LMS

    Dear all
    We created a fully interactive training program on MS Excel where we also simulated Excel using the OWC10.DLL control.  This works pretty well for both .exe and web packaged pieces.
    In certain cases this control is pre-populated using a .xml data file.
    When the piece is packaged for the web and runs directly over the web - everything works fine.
    But when published to Moodle as a SCORM 1.2 package the data in the .xml file is not read.  The .xml file is included in the SCORM wrapper.
    Anyone has any idea what the problem could be?

    My existing mime types on the Apache server as follows:
    AddType application/x-authorware-seg aas
    AddType application/x-authorware-bin aab
    AddType application/x-authorware-bin x32
    AddType application/x-authorware-bin u32
    AddType application/x-authorware-bin vox
    AddType application/x-authorware-bin xml
    AddType application/x-authorware-map aam
    AddType application/x-authorware aam aas u32 vox xml
    Still not working ;-(
    Johann Fouché
    +27 82 853 1010
    http://www.jfmultimedia.co.za
    Skype:  johannfouche
    Telephone VOIP:  +27 127435670

  • Macbook Air (11 inch) does NOT go in hibernation mode when battery runs out

    Hi,
    I have a problem with my new Macbook Air. When the battery runs out to 0% it does NOT go into hibernation mode, it just turns itself off and all my data is lost. It never happened to my old 2008 Macbook Air!
    I have all updates, the 1.4Ghz Macbook with 4GB RAM upgrade in case that matters. Hope anyone can help? Is there perhaps a setting where I can set at which Percentage (%) the Macbook should go into hibernation? Thanks in advance!

    Noone knows a solution? I also still have problems with my Macbook not waking up properly (like everyone else). The main problem is, however, that it SHUTS down when the battery is empty and does not hibernate!
    And I can't install the MacBook Air Late 2010 Software Update 2.0 - I always get this message: "MacBook Air (Late 2010) Software Update can’t be installed on this disc. This volume does not meet the requirements for this update."
    - The update also does not show up in Software Update, I had to download it manually!
    And I believe its NOT because I have 10.6.6 because I have talked to others who have the same problem under 10.6.5!

  • When application runs as service in WInServer 2012, printing fails

    spCommand->Exec( &CGID_MSHTML, IDM_PRINT, OLECMDEXECOPT_DONTPROMPTUSER,    NULL,   NULL); returns S_OK but printing is not happening.
    SplWOW64.exe gets launched but DllHost.exe fails to get launched.
    Please provide any hint to solve this issue on WInSvr2012.
    Thanks
    --Sumit Saxena

    #include "stdafx.h"
    #include <windows.h>
    #include <tchar.h>
    #include <stdio.h>
    #include <docobj.h>
    #import <shdocvw.dll>
    int _tmain(int argc, _TCHAR* argv[])
        ::OleInitialize(NULL);
        try
            SHDocVw::IWebBrowserAppPtr ptrWebBrowserApp(
                __uuidof(SHDocVw::InternetExplorer));
            SHDocVw::IWebBrowser2Ptr ptrWebBrowser =
                ptrWebBrowserApp;
            _variant_t vtDummy;
            HRESULT hr;
            hr = ptrWebBrowser->Navigate(
                L"C:\\Users\\Rahul\\Desktop\\sample.txt",
                &vtDummy, &vtDummy, &vtDummy, &vtDummy);
            while(ptrWebBrowser->Busy == VARIANT_TRUE)
                ::Sleep(3000);
            IOleCommandTargetPtr ptrOleCmdTarget =
                ptrWebBrowser->Document;
            hr = ptrOleCmdTarget->Exec(NULL, OLECMDID_PRINT,
                OLECMDEXECOPT_DONTPROMPTUSER, NULL, NULL);
        catch(_com_error& e)
            _ftprintf(stderr,
                _T("Error: 0x%08X (%s); Source: %ls; Desc: %ls"),
                e.Error(), e.ErrorMessage(),
                LPCWSTR(e.Source()), LPCWSTR(e.Description())
        ::OleUninitialize();
        return 0;
    This code segment gets executed through one of the service.

  • Development buttons not working when application running

    Hi,
    I am using Apex 4.1. For a new application that i created the buttons which come in the bottom of page (Edit Page1, Application 1, debug etc) are not clickable. They workked for another app in the same workspace.
    Any idea what could be the issue and how to fix it?

    PoojaC wrote:
    Hi,
    I am using Apex 4.1. For a new application that i created the buttons which come in the bottom of page (Edit Page1, Application 1, debug etc) are not clickable. They workked for another app in the same workspace.
    Any idea what could be the issue and how to fix it?It seems you have those buttons but they were not clickable? This suggests that some of your custom JavaScript broke them.
    Do you have any custom js code in your app? try disabling that code and see if the buttons work

  • Steps to configure an application run through web start

    Could anybody pls tell the steps involved in making a jar file run using Java Web Start.

    Please read the excellent documentation at http://java.sun.com/j2se/1.4.2/docs/guide/jws/developersguide/contents.html

  • Processes (Uncompile) When Using Arrow Navigation ?? Anyone Had This ?

    Has one experienced page processes not working after you have scrolled through your processes using the arrow navigation buttons ? This doesn't always happen but we have had it consistently happen enough that I was wondering if anyone had this problem. To fix this, we go back through and just re-save all of our processes. Any thoughts on this appreciated.
    Thanks,
    Tom

    Scott,
    We are using 3.0.1.00.08. The symptons are the following:
    We edit or are scrolling through the page processes using the navigation arrows. May or may not edit one of the processes. When we run our application again, the Automated Row Fetch or Automatic Row Processing Throws a PL/SQL Error on the page display. Sometimes it just takes going to the process and just RE-SAVING IT and it works. As in trying to pin point this problem, it is hard to replicate but has happened enough that you notice something is not right. The scrolling is the only thing some of us developer do differently. Where one developer just selects the process to edit while another may just scroll through the processes. Do you get a sense of what I am trying to explain ? Also, had a problem with field entry data items are cleared as part of a Automatic Row Process where we put in a Primary Key page item to put the result and for some reason it gets cleared. Any ideas ???
    Thanks,
    Tom

  • Voucher number not populating for payments run through payment Manager

    Hi
    I have created automatic Document sequence for Check Payments category and assigned Document category in bank account and payment document, Voucher number is working fine for Manual payments, but when we run through Payment manager it is not populating Voucher number, Please help me on this issue.
    Thanks in advance.

    Hi.
    The assignment must be created both for Manual and Automatic Methods.
    Octavio

  • OAF prompting to relogin while running through JDeveloper. How to avoid?

    I am trying to do an extension of Payables workflow notification. I have copied the files from application server to my local host. I have created the project and has given right responsibility and right user.  When I run through JDeveloper able to login to the application. I am able to click on the payables workflow notification on the home page worklist and was able to navigate to the Notification Details page. When I click on the 'View Additional Invoice Details' link, the application is prompting the login page again (URL is changed and not ponting to my local host anymore). When I enter the credentials a valid page is opened but not connected to JDeveloper any more.
    I am not seeing any issue when I run the same outside of Jdeveloper with same user and responsibilities.
    Please help.
    Thanks,
    RBA

    Hi,
    Get the latest dbc file from instance with the help of DBA
    and put it in correct location
    Ex.
    D:\JDEVELOPER\jdevhome\jdev\dbc_files\secure\xxxx.dbc
    Make sure your path is correct.
    Regards,
    prashant C

  • Processing error when doing a drillthrough agianst a Rolap dimension, working with MOLAP

    Hi,
    I'm having a drillthrough dimension (fact) that i'm using for drillthrough scripts. One thing that I have come a cross is that I get processing errors when I run queries agianst a ROLAP dimension where as it works agianst the same dimension set
    as MOLAP. This is kind of confusing me.
    The error message i get is like this one:
    Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined
    limit of allowable errors for the operation.
    Errors in the OLAP storage engine: An error occurred while the 'Journal NO' attribute of the 'GLFact' dimension from the 'XXX' database was being processed.
    I found a article about this
    http://sqlblog.com/blogs/marco_russo/archive/2009/01/17/issues-executing-a-drillthrough-with-a-rolap-dimension.aspx
    But I have set KeyDuplicate, Keynotfound, Nullkeyconvertedtounknown and NullKeynotallowed to ignoreerror and still it doesn't work.
    So my questions are 2:
    1. Do anyone have a solution for me? Or having any thoughts about this?
    2. When switching over to MOLAP the processingtime takes about 30 min. How can i decrease this to a minimum?
    This is all implemented in SSAS 2005.

    I'm getting the exact same error when attempting to drill down on a rolap dimension associated to the cube.  the cube is molap, but the dimension is rolap to reduce processing time (processing dimension using molap spike my 4 core processing to 100%
    for 4 minutes due to all the select DISTINCT on the attributes (about 10)). 
    I too have seen the article about KeyDuplicate but I think this is a different issue.  Anyone figure out the problem?
    Version: SSAS 2012 SP2
    Example of error:
    Server: The current operation was cancelled because another operation in the transaction failed. Errors in the OLAP storage engine: An error occurred while the 'City' attribute of the 'NameAddress'
    dimension from the 'MyDatabase' database was being processed. Errors in the OLAP storage engine: The process operation ended because the number of errors encountered during processing reached the defined limit of allowable errors for the operation.

  • I'm running Lion on a Late 2008 MacBook Air.  With no other applications running, I can no longer Check for Software Updates.  It gets abut half way through the checking process and then freezes.  The MBA passes Disk Utility. Thoughts?

    I'm running Lion on a Late 2008 MacBook Air. 
    With no other applications running, I can no longer Check for Software Updates.  It gets about half way through the checking process and then freezes. 
    The MBA passes Disk Utility. Thoughts?
    Thanks
    Jim Taylor

    How long do you leave it?
    Mine can sometimes sit for quite a while (maybe 10 minutes??) before it finally finishes.
    You could look at the relevant logs via Console (Utilities folder) to see if Software Update is complaining about anything.
    charlie

Maybe you are looking for

  • SPEEDING UP YOUR PL/SQL DEVELOPMENT

    제품 : SQL*PLUS 작성날짜 : 1997-01-09 ================================= Speeding up your PL/SQL development ================================= By Jeff Warner If you're doing Oracle database or application development, then you're probably using PL/SQL. Ever

  • Pro's and Con's for use of E-sourcing or SRM or E-Procurement in ECC 6.0

    Hi Experts, Does anybody of you have a document which describes the main pro and contra's of choosing SRM as a solution or E-sourcing or E-Procurement in ECC 6.0. Kind Regards, Tom

  • Downgrade to 5.1.1 - Apple *****

    Any suggestions on how to downgrade from just released ios6 to ios 5.1.1 on iphone 4s? ios6 *****. Tons of problems.

  • Alternative scrollpane to load dynamic content

    I'm trying to load jpgs to my scrollpane dynamically. I noticed the compiled scrollpane component in flash 8 is very large in size (> 130kb) which i cannot afford to use. Instead I'm using the flash 6 scrollpane which is not precompiled and only seve

  • Set limits to resizing a window ?

    How can I set limits in width and height for my window, so that the user won't be able to make it to small or to big ? And how can I make the font in a text area to integrate with the width of my window i.e. small window,smaller fonts,large window la