How to get PROCESS MODE in CRM 2007 WebClient

Hi all,
Currently, we're implementing CRM2007 WebClient -- Service Transaction.
In the past(CRM4.0 Version), we used the function 'CRM_INTLAY_GET_PROCESS_MODE' in the BADI of SAVE Service Order to identify it's a new create order or changed order.
  CALL FUNCTION 'CRM_INTLAY_GET_PROCESS_MODE'
    IMPORTING
      ev_process_mode = l_dialog_mode. " A created, B changed
Now, this function does not work in Web Client. So, I turned to another function 'CRM_ORDERADM_H_READ_OW' try to get the flag of process mode.
CALL FUNCTION 'CRM_ORDERADM_H_READ_OW'
  EXPORTING
    iv_orderadm_h_guid               = lv_guid_ref
IMPORTING
   ES_ORDERADM_H_WRK                = l_CRMT_ORDERADM_H_WRK
   EV_MODE                          = l_dialog_mode
Yes, function 'CRM_ORDERADM_H_READ_OW' works in WebClient. But when creating new service order, the l_dialog_mode  = 'B' which is same to changing an exsiting order.
So would anyone kindly help me, How to get the process mode properly in WebClient, especially in Service Order. I need to identify the order is new created or is changed.
Your comments is really appreciated.
Best Regards,
Tony

Use function module CRM_ORDERADM_H_ON_DATABASE_OW to check, if the order has already been save on the database. If not, you are in create mode.

Similar Messages

  • How to open multiple sessions in CRM 2007 WebClient UI

    Hi guys,
    This simple thing, I am could not figure out. How do I open another session on WebClient UI in CRM 2007.
    Can anybody help.
    Thanks,
    John

    Hi Vijayata,
    Thank you very much for responding. Yes, now I am able to create another browser where I have to put my user id and password again. However, your answer is very useful.
    I have another problem. When I login I see a list of roles and click one  of them to go into the home page.
    I created my own role. My question is, how do I make my role appear in the existing list of roles.
    What I did is, I assigned my role to an Org.Unit. The result is when I login to WebClient UI, it directly takes me to home page of my role.
    What I want is, I want my new role to appear among the existing list of roles. I tried many ways, I couldn't figure out. Can you please give idea.
    Thanks,
    John

  • Where can we get the media for CRM 2007?

    We want to get the media for CRM 2007 to begin our upgrade. My understanding is that it is now in general release.
    Where can we get the media? There are no links in the marketplace.
    Thanks

    I believe this is released for United States and Germany only.  I know you can order the physical media by submitting an OSS message under component: XX-SER-SWFL-SHIP.  You can also talk to your SAP account executive about getting the software.
    Take care,
    Stephen

  • How to get Process Task Retry Count using API (OIM 10g)

    Hi ,
    I want to get all the process task which are failed after retried 5 times.
    For e.g Create user task in AD retried for 5 times but still it is in failed state. I want to get all such process task.
    I am stuck at point how to get process task retry count from process definition?
    Thanks

    You can reference the code in the "Task Timed Retry" scheduled task to get what you are looking for. Here is the decompiled code:
    >
    package com.thortech.xl.schedule.tasks;
    import Thor.API.Operations.tcScheduleTaskOperationsIntf;
    import com.thortech.util.logging.Logger;
    import com.thortech.xl.dataaccess.tcDataSetException;
    import com.thortech.xl.dataobj.tcDataSet;
    import com.thortech.xl.scheduler.tasks.SchedulerBaseTask;
    import com.thortech.xl.util.logging.LoggerMessages;
    import java.sql.Date;
    import java.util.Hashtable;
    public class tcTskTimedRetry extends SchedulerBaseTask
    private static Logger logger = Logger.getLogger("Xellerate.Scheduler.Task");
    Date isCurrentDate;
    public void init()
    logger.debug(LoggerMessages.getMessage("EnteredMethodDebug", "tcTskTimedRetry/init"));
    this.isCurrentDate = new Date(System.currentTimeMillis());
    logger.debug(LoggerMessages.getMessage("LeftMethodDebug", "tcTskTimedRetry/init"));
    public void execute()
    logger.debug(LoggerMessages.getMessage("EnteredMethodDebug", "tcTskTimedRetry/execute"));
    tcDataSet localtcDataSet1 = new tcDataSet();
    tcDataSet localtcDataSet2 = new tcDataSet();
    tcDataSet localtcDataSet3 = new tcDataSet();
    try
    if (isStopped())
    return;
    localtcDataSet2.setQuery(getDataBase(), "select osi_retry_on from osi where 1=2");
    localtcDataSet2.executeQuery();
    if (isStopped())
    return;
    localtcDataSet2.setDate("osi_retry_on", this.isCurrentDate);
    localtcDataSet1.setQuery(getDataBase(), "select osi.sch_key, osi.mil_key, osi.orc_key, osi.osi_rowver, sch.sch_rowver, osi.osi_retry_for, osi.osi_retry_on, osi.osi_retry_counter, sch.sch_note from osi osi,sch sch where osi.osi_retry_on <=" + localtcDataSet2.getSqlText("osi_retry_on") + " and osi.sch_key = sch.sch_key" + " and sch.sch_status='R'" + " and osi_retry_counter>0 order by osi.sch_key");
    localtcDataSet1.executeQuery();
    if (isStopped())
    return;
    int i = localtcDataSet1.getRowCount();
    logger.debug("tcTskTimedRetry:execute:Number of Process tasks retrieved is=" + i);
    tcScheduleTaskOperationsIntf localtcScheduleTaskOperationsIntf = (tcScheduleTaskOperationsIntf)getUtility("Thor.API.Operations.tcScheduleTaskOperationsIntf");
    tcDataSet localtcDataSet4 = new tcDataSet();
    localtcDataSet4.setQuery(getDataBase(), "select osi_retry_for, osi_retry_counter from osi where 1=2");
    localtcDataSet4.executeQuery();
    Hashtable localHashtable = new Hashtable();
    if (isStopped())
    return;
    for (int j = 0; j < i; j++)
    if (isStopped())
    return;
    localtcDataSet1.goToRow(j);
    localtcDataSet3.setQuery(getDataBase(), "select count(*) as counter from osi osi,sch sch where osi.sch_key = sch.sch_key and osi_retry_for=" + localtcDataSet1.getLong("sch_key"));
    localtcDataSet3.executeQuery();
    if (isStopped())
    return;
    if (localtcDataSet3.getInt("counter") > 0)
    continue;
    localHashtable.put("osi_retry_for", String.valueOf(localtcDataSet1.getLong("sch_key")));
    localHashtable.put("sch_note", localtcDataSet1.getString("sch_note"));
    long l = localtcDataSet1.getLong("osi_retry_counter");
    if (isStopped())
    return;
    try
    localtcScheduleTaskOperationsIntf.createScheduleItem(localtcDataSet1.getString("orc_key"), localtcDataSet1.getString("mil_key"), localHashtable, l - 1L);
    catch (Exception localException2)
    logger.error(LoggerMessages.getMessage("ErrorMethodDebug", "tcTskTimedRetry/execute", localException2.getMessage()), localException2);
    catch (tcDataSetException localtcDataSetException)
    logger.error(LoggerMessages.getMessage("ErrorMethodDebug", "tcTskTimedRetry/execute", localtcDataSetException.getMessage()), localtcDataSetException);
    logger.debug("PJ:tcTskTimedRetry:execute:DataSetexception has occured");
    catch (Exception localException1)
    logger.error(LoggerMessages.getMessage("ErrorMethodDebug", "tcTskTimedRetry/execute", localException1.getMessage()), localException1);
    logger.debug(LoggerMessages.getMessage("LeftMethodDebug", "tcTskTimedRetry/execute"));
    public boolean stop()
    logger.debug("tcTskTimedRetry:stop:Task being stopped");
    return true;
    >
    -Kevin

  • In CRM 2007 WebClient UI - How to change the exit URL?

    Good Evening All
    When we log off from the CRM 2007 WebClient UI application, the exit url is pointing to www.sap.cpm. Where can we change this to point to our corporate URL or point back to the logon URL?
    Sometime back I had seen some information regarding this, but am not able to find it. Any information would be highly appreciated.
    Thanks
    Anand

    Hi Anand,
    Check this wiki page
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/crm/howtochangetheURLwhenuserclicksLogOffinnewWEB+UI
    Regards,
    Shwetha

  • CRM 2007 - Webclient Logo replacement

    Hi Gurus
    In the CRM 2007 Webclient view there is a SAP Logo on the top right corner of the view.
    I'd like to replace this with a customer branded logo.
    I have reviewed and applied from the blog.
    /people/sudipta.sarma/blog/2008/03/28/how-do-you-brand-your-company-logo-in-crm-2007-ui
    As well I looked at
    http://help.sap.com/saphelp_crm60/helpdata/en/b3/f00c1514c54e67a60b61f7318c14b7/content.htm
    I think these maybe referring more to the WEB UI than the Webclient.
    Is there a cookbook or Note on this subject, any help will be gratefully received and rewarded.
    Regards
    Panduranga

    Hi.
    Go again through blog:
    /people/sudipta.sarma/blog/2008/03/28/how-do-you-brand-your-company-logo-in-crm-2007-ui
    And read the first comment related with Logo for IC:
    BSP "CRMCMP_IC_FRAME"
    MIMEs->images->branding->SAP_logo.gif
    Regards,
    Susana Messias

  • How to create custom component in CRM 2007

    Hi.
    I am new for the CRM 2007 Web UI.
    Here we have CRM_UI_FRAME.
    Like this so many Components are there.
    I want how to create our own component.
    I created it as follows.
    Open the Transaction code bsp_wd_cmpwb.
    Provide Z Name in the Component.
    Zcomponent
    Press Create button.
    Go to Run Time Repository.
    Press Change Mode.
    Create a MODEL as ALL.
    GO to Browser Component Structre.
    Select View.
    Provide View name.
    Create the View.
    Go to view Layout.
    Provide the code like this.
    <%@page language="abap"%>
    <%@ extension name="htmlb" prefix="htmlb"%>
    <%@ extension name="xhtmlb" prefix="xhtmlb"%>
    <%@ extension name="crm_bsp_ic" prefix="crmic"%>
    <%@ extension name="bsp" prefix="bsp"%>
    <cthmlb:overviewFormConfig/>
    Create the context under the context.
    Go to Configuration tab.
    Assigne the Attributes to the Screen.
    GO to the Run Time Repository.
    press change mode.
    Assigne the view name to the Window.
    Save it.
    Test the Componet. But it is not diaply anything on the screen.
    How i will get the data into the web UI.
    Can anybody expalin about this one to me with screen shorts if possible.
    I want add some fields into the web UI. Provide some values into that. Capture the values.
    Navigate the data from one screen to another screen. How it is possible. I did not understand. 
    If i am changing any screens in the pre define component it shows dump.
    So, now i need Custom component with adding of the fields.
    Please give me proper information regarding this one.
    Thank You.
    Krishna. B.

    Hi,
    Try put the htmlb to show a field:
    <thtmlb:label design="LABEL" for="//<context>/<field>" text="<field>"/>
    <thtmlb:inputField  id="<field>" maxlength="31" size="20" value="//<context>/<field>"/>
    In order to get value, you can write a simple code in the event_handler:
    LR_BOL                      type ref to IF_BOL_BO_PROPERTY_ACCESS
    LR_BOL = ME->TYPED_CONTEXT-><context>->COLLECTION_WRAPPER->get_current()
    var1 = LR_BOL->GET_PROPERTY_AS_STRING('FIELD').
    take a look at lr_bol methods so that you can see the set and get methods.
    Regards,
    Renato.

  • Getting error type RABAX_STATE in CRM 2007 Webclient

    Hi,
    We have installed CRM 2007 and upgraded the patchlevel of BBPCRM to SP2. After the patch upgrade we are getting type RABAX_STATE error after we log in through Webclient. We get no errors while logging through SAP GUI. Before the upgradation we were successfully able to login through Webclient. The details of error screen is as follows:
    Error when processing your request
    What has happened?
    The URL http://coevhpa4.coekc.com:8000/sap/bc/bsp/sap/crm_ui_frame/BSPWDApplication.do was not called due to an error.
    Note
    The following error text was processed in the system CR7 : Syntax error in program CL_BSP_WD_CONTEXT_NODE_TREE===CP .
    The error occurred on the application server coevhpa4_CR7_00 and in the work process 2 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_BSP_ELEMENT~RUNTIME_IS_VALID of program CL_THTMLB_CELLERATOR==========CP
    Method: IF_BSP_PAGE_CONTEXT~ELEMENT_PROCESS of program CL_BSP_PAGE_CONTEXT===========CP
    What can I do?
    If the termination type was RABAX_STATE, then you can find more information on the cause of the termination in the system CR7 in transaction ST22.
    If the termination type was ABORT_MESSAGE_STATE, then you can find more information on the cause of the termination on the application server coevhpa4_CR7_00 in transaction SM21.
    If the termination type was ERROR_MESSAGE_STATE, then you can search for more information in the trace file for the work process 2 in transaction ST11 on the application server coevhpa4_CR7_00 . In some situations, you may also need to analyze the trace files of other work processes.
    If you do not yet have a user ID, contact your system administrator.
    Error code: ICF-IE-http -c: 100 -u: SUMSENGU -l: E -s: CR7 -i: coevhpa4_CR7_00 -w: 2 -d: 20080422 -t: 021218 -v: RABAX_STATE -e: SYNTAX_ERROR
    HTTP 500 - Internal Server Error
    Your SAP Internet Communication Framework Team
    Request you to kindly help ASAP. Users are waiting for it...
    Thanks and Regards,
    Suman Sengupta

    Hi,
    Have you resolved the problem ? We have encountered similar problem after patching the
    CRM 2007 to latest levels?
    Please help....
    Thanks & Regards,
    Bostjan

  • How to add new fields to CRM 2007 Web UI

    Hi,
    I am new to SAP CRM 2007 and I am interested in how to extend the Web UI, for example adding new fields, to meet the customer requirements. Should I use the EEW or is there another "new and easier" way?
    Thanx & best regards,
    Oliver
    Edited by: Oliver Pregler on Jan 30, 2008 5:50 PM

    Actually for the new IC webclient UI you have need to take a look at your options:
    1.  New Installation:
    Use the EEWB and add the fields.  As part of the EEWB work, you will have a couple of post-processing steps where you will add your generated fields to the new screens.  However this doesn't require any programming.
    2.  Upgrade from CRM 4.0/50
    - New fields to add as part of upgrade
    See the directions for new installation
    - Existing fields to add as part of upgrade
    --See the blog on the 40/52 CUSTOMER_H migration for transaction fields
    --Business Partner fields part of BUT000 available via UI configuration tool, no extra work needed
    --Business Partner fields part of tabular extension, manual work required, I am still "perfecting" this method and plan on writing a blog once I have the technique finished.
    --Product Attributes - use the transaction CRMM_UI_PROD_GEN and CRMM_UIU_PROD_CONFIG
    I know CRM 2007 is based on the same tech foundation as 2006s, with some differences in how the UI tool works and the fact there are some screen layout changes(editable overviews).  The extension procedures are generally the same.  I can answer some of you extension questions based on my work with CRM 52 so far.  It will generally apply to your situation.
    BTW:  The PCUI is no longer supported in CRM 2006s and above.  Even the old SAP GUI transactions such as BP, COMM_PRODUCT are removed from the standard CRM menu.   The SAP CRM web client should be used instead now.
    Take care,
    Stephen

  • How to activate a counter in CRM 2007

    HI,
    I created a counter in CRM 2007.I made all the necessary entries in the counter but still its showing the status as Inactive.Also there are no application logs available.
    Can anyone suggest how to make it active so that i can use it in my trasactions.
    I also want to know where can we define the application group for the counter??
    Regards,
    PePe

    HI,
    My scenorio is that i want to determine my warranty based on time / counter whicheveris earlier like a warranty in automobile industry.
    I have created a warranty time / counter based , attached it to my ibase comp and also created a counter and attached it to warranty product and ibase component both.
    Now when i create a order warranty gets determined considering the time only and not the counter.
    May be i am missing some customizing steps..
    I am also not aware of different characteristics of a counter..
    Regards,
    PePe

  • How to integrate personalize function in CRM 2007 WebUI to portal

    Hello Experts,
    I have a requirement in regards to the CRM 2007 and portal integration.
    We have integrated a business role from CRM and CRM 2007 WebUI is now an integrated part of the portal. But in this we are missing the 'Personalize' option that is in CRM WebUI in portal.
    So can anyone suggest me any solution how to go ahead for the personalize development in enterprise portal.
    Thanks.

    Hello, Aparna,
    In CRM 2007 integrated into portal, the links like Personalize are part of so called Masthead iView. To get that view instead of the standard one, you need to configure the portal rules to load CRM desktop, instead of the standard one. You can find the instructions how to do it at the following path:
    http://help.sap.com -> SAP Business Suite -> SAP Customer Relationship Management -> SAP CRM 2007 6.0 -> Application Help -> SAP Customer Relationship Management -> Components and Functions -> Basic Functions -> UI Framework and Configuration -> Portal Integration-> Adapting the CRM Portal Desktop
    Sincerely,
    Arman

  • How can we upload questionnaire to CRM 2007 during data migration activity?

    Hi all,
    I have an requirement where i have to upload questionnaires from an existing CRM system to SAP-CRM 2007 during data migration activity.
    i just go through what are questionnaires, how we can create them and how we can assign them to transactions.
    how can i upload during data migration activity ?
    Thanks & Regards
    Raman Khurana

    Hi,
    According to your post, my understanding is that the 'Upload.aspx' page was missing or corrupted from many document libraries after migration to 2010 from 2007. 
    Per my knowleadge, the upgrade process sets the SPWeb.CustomUploadPage property for upgraded sites to a custom upload page titled
    uploadex.aspx, as opposed to upload.aspx which is the default page for file uploads. And this custom upload page contains the “Destination Folder” field.
    To removes the custom upload page (uploadex.aspx) from SPWeb, and reverts back to the default upload page (upload.aspx), we can use PowerShell script to loop through all Web sites that are contained within the site collection, including the top-level site
    and its subsites, and checks to see if the SPWeb.CustomUploadPage property is not equal to blank. If true, then it sets the SPWeb.CustomUploadPage property to blank.
    Here is a great blog for your reference:
    Destination Folder field in site upgraded from MOSS 2007 to SharePoint Server 2010
    More information:
    What’s This Destination Folder Field On My File Upload Page?
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • How to get communication data in CRM 7.0

    In CRM 7.0 with CCS active.
    How to get communication data (Current phone #) that is presently active while creating Interaction Record or during account confirmation.
    Thanks,
    Nilesh P.

    Hi,
    This problem is related to IC and not related to Marketing Campaign.
    At this movement I hv resolved this problem by storing phone # in memory variable by some other way.
    But I would be more interested to know Communication Data in 'Context area' of IC.
    Thanks & Regards,
    Nilesh P.

  • How to create a URL in CRM 2007?

    Hi,
    Please guide me on how do I create a URL in SAP CRM 2007?
    Which transaction codes?
    Regards,
    Rohit

    Hi Rohit,
    1- Use T code- PPOMA_CRM and select your Organizational Unit
    2-Hope you would have assigned a Position
    3- Assign the User to the Position.
    By default it will take the Business Role Assigned to Position for the assigned user.
    If you want to assign a role double click on the position>Goto>Detailed Object-->clik on Enhanced object description.
    from the Infotype select Business Role > click on create> assignh Business Role ( e.g. SALESPRO,MARKETPRO,OR Z****)
    Regards
    Arup

  • How to get data from MS CRM into Crystal Reports

    Hello All,
    Can anybody tell me how to get data into   crystal XI reports with MS CRM.
    Thanks in Advance
    Ramesh

    First you should refer to the Rules of Engagement and then add more info.
    Start off by telling us what version of CR are you using and what is MS CRM?
    Thank you
    Don

Maybe you are looking for

  • How do I put my ical on my iphone into 24hr clock?

    I recently reset my iphone and lost the 24 hr clock on my ical when creating a new event.  I have the standard 12 clock with no way to differentiate between am and pm. I have gone into settings/general/24-hour time but this has not changed the clock

  • BAPI or FM for VL01N and Del. Packing

    Hello, I am looking for BAPI or FM to create delivery and to pack the del. items. Thank you,

  • External lib classes not found

    Starting with 4.5, Flex has complained about the linking of all my projects with default css because they were "merged into code".  The problem described sounded exactly like what I've dealt with- skins randomly not being found despite being defined

  • UITableView with Images Best Practices

    I have a UITableView with each row having an image coming from a remote URL. There are a great many strategies for dealing with and caching the images. I've narrowed it down to two: 1. When the table stops scrolling let all the visible cells know the

  • Unable to start the 8.1 server

    Hi there, I am getting the following message when I try to start my server. * To start WebLogic Server, use a username and * * password assigned to an admin-level user. For * * server administration, use the WebLogic Server * * console at http:\\[hos