Account Life cycle: Screen Control

Hi experts.
I want to:
Display additional assignment blocks that should only be available if the account is in a certain life cycle stage.
Hide assignment blocks that should not be available in certain life cycle stages.
I have implemented the Business Add-In (BAdI) BADI_CRM_BP_UIU_VIEWS from the enhancement spot CRM_UIU_BP_ENHANCEMENT with the filter value BP_HEAD as COMPONENT. Within the implementation of the interface method IF_UIU_BP_VIEWS~DETERMINE_VIEWS i want to evaluate the current life cycle stage, and the corresponding role exclusion group, by the current instance of the custom controller BP_HEAD/Lifecycle. The custom controller should be retrieved from the referenced view controller passed in the parameter IR_VIEW_CONTROLLER by calling GET_CUSTOM_CONTROLLER() and providing the custom controller name BP_HEAD/Lifecycle.
My problem is that I can´t locate the records containing current life cycle stage, and the corresponding role exclusion group.
Anybody can hel me?
Thanks in advance.
Paco.

Hi,
You can use two BADIs to achieve this either ORDER_SAVE(Implement the badi) and write ur ststus change code over here or
BADI - CRM_ORDER_STATUS(Implement the badi) 
for status change use the below code to get it...
call function 'CRM_STATUS_CHANGE_EXTERN'
      exporting
        client              = sy-mandt
        objnr               = lv_order_guid
        user_status         = 'E0012'
        no_check            = 'X'
      exceptions
        object_not_found    = 1
        status_inconsistent = 2
        status_not_allowed  = 3
        others              = 4.
    if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
hope this solves ur problem.
Regards
Jegadesh Balan T

Similar Messages

  • Business Partner Roles and Account Life Cycle management in IC

    Hi all,
    We have IC agents creating prospects but also back office people (i.e. sales staff) creating prospects. Back office staff uses account life cycle management to identify the prospect role. However, I noticed that the business partner role (prospect in this case) is not visible within the IC - during account creation - because the role is used within the account life cycle role exclusion group.
    I can always enhance the IC component to remove the filter on the BP Role. but question I have is why does SAP IC remove the roles from the role drop down list in the IC account creation screen and how did other people get around this?
    Thanks,
    John

    I am also looking for an answer on this. How did other people who work on Interaction Center get around this? How do you create accounts when IC removes the BP roles mentioned in the Exclusion group config in SPRO ?

  • Account Life cycle status change

    Hi All,
    I have a requirement that goes like this : In the account life cycle status field on the Account screen i have some Custom BP Role statuses. I have to change this status after the User saves the account.
    I am new to Web UI and i do not know where to write the code to achieve this functionality. I am assuming we should be writing it in EH_ONSAVE of the BPHEADOVERVIEW of BP_HEAD component. Can we use the PARTNER_UPDATE BADI for this ? or any other BADI/ User Exit that you suggest ?

    Hi,
    You can use two BADIs to achieve this either ORDER_SAVE(Implement the badi) and write ur ststus change code over here or
    BADI - CRM_ORDER_STATUS(Implement the badi) 
    for status change use the below code to get it...
    call function 'CRM_STATUS_CHANGE_EXTERN'
          exporting
            client              = sy-mandt
            objnr               = lv_order_guid
            user_status         = 'E0012'
            no_check            = 'X'
          exceptions
            object_not_found    = 1
            status_inconsistent = 2
            status_not_allowed  = 3
            others              = 4.
        if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        endif.
    hope this solves ur problem.
    Regards
    Jegadesh Balan T

  • Account life cycle in CRM 2007

    Hello all,
    maybe it is a simple question, but I don't find an answer yet.
    How can I acctivate the account life cycle?? I found something about a config-tool, but I don't know what it is.
    Thanks a lot.
    M.Buchheim

    Hello:
    Because "The account life cycle is delivered as a hidden function and must be activated in the UI configuration tool"
    SO how can I acctivate the account life cycle?Can you tell me?
    How can I find    1097651 How to use the Account Life Cycle?
    thanks!

  • Account Life Cycle

    Hi folks,
    I am little bit confused for the exact scenario and functionality of account life cycle. Although I know that Account life cycle is used to define the BP roles's stage.
    I tried some scenarios:
    1. I went to the BP Role Exclusion group setting and created two role in BP role Exclusion group one is prospects & second is sold to party. After this allow a permitted transition from prospects to sold to party.
    2. Enable the life cycle stage.
    After completing this configuration, I could see that Prospects and Sold to party  BP role are missing from BP roles but that role could be chosen from life cycle stage.
    Till yet, every thing was OK.
    Then i created a prospect from Web ui by selecting the prospects role from life stage cycle.
    Then i tried to create the opportunity transaction and quotation transaction from that prospects and system allowed me to create quotation document with that prospects number... In actual the system asks for a sold to party detail not prospects.
    My 1st question is "As i did not convert the prospects into sold to party then Why the CRM system is allowing the entering a prospects into Quotation document?
    2nd Question is:   If it is allowing then Will it be possible to replicate the prospects into ECC system as sold to party role?
    3rd Question is : Could any body give a practical scenario where this functionality can be used?
    Even if i do not do any account life cycle configuration, I get the same result while creating the opportunity and quotation then what exactly is the use of account life cycle.
    Thanks in advance.
    Best regards,
    Dinesh.
    Message was edited by: Dinesh Sachdeva

    Hi Nash,
    Yes i know that there are many information available in SCN as well as sap help. I have read those information as well as i went on the sap note1097651 - How to use the Account Life Cycle.
    As far as theoretical things concern, all the information were there.
    But practically i could not get the solution of my problem that i mentioned in my earlier post.
    Could you please let me know the actual behavior of the CRM system after configure the Account life cycle and why it is necessary?
    Thanks & Regards
    Dinesh

  • Accounting entries for OTC life cycle

    Hi Guys,
    I was wondering if anyone of u can explain me the complete accounting entries that get credited and debited....right from booking an order till reconcilation (the whole OTC life cycle).
    Thanks & Regards,
    Ravi.

    All looks good but there can be exceptions if you introduce two variables:
    1. Invoicing Rules and Acconting Rules. These will affect your accouting in AR (Invoicing Rule will affect your Receivables and Accounting rule will affect the revenue accounting).
    2. If you are on R12, there is Customer acceptance process that will change the accounting on both COGS and Revenue accounting a little bit but the final entry remains the same as you mentioned.
    Forgot to mention: In someones blog on in Metalink's section where customer's documents are uploaded in knowledge base, I found a decent document that can help you with some more information.
    Thanks
    Nagamohan
    Edited by: Nagamohan on Oct 2, 2008 6:11 PM

  • Using page life cycle (OnPageLoadBackingBeanB)class to update page controls

    I used the onPageLoadbackingBeanbase class that exists in SRDemo to handle the page life cycle for my project ADF faces pages but found that the controls is null in all phases of the page
    How can i use the page life cycle for dealing with the page controls like
    filling selectOneChoice in the isPostback once not in every action or refresh
    thanks

    I sent this post 1 week ago and no response
    please help
    Message was edited by:
    user560167

  • Adobe Life cycle designer ES2 Activex control

    I have Adobe Lifecycle designer ES2 tool installed in my PC. I need to get the Activex control for adobe Life cycle tool so that i can use it to programatically create and edit the PDF file. can any one help me in finding the name of the activex control.
    Thanks in advance
    Regards,
    Jayavanth.G

    Hello,
    use this:
    Have a look at Note 1121176 and Note 1253121
    https://websmp230.sap-ag.de/sap(bD1jcyZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1121176
    https://websmp130.sap-ag.de/sap(bD1jcyZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1253121
    Hope this solves our problem, regards Otto

  • ME51/ ME21 screen control based on account assignment

    Hi,
    Previously there was an addition of one field name PARTNER in account assignment category pop-up screen. I did not find out how this field has been added in the pop-up screen. I checked for all customization as well as functional modules but nothing was there. This PARTNER field is enable for Tcode- ME51/ ME21. Requirement is to enable it for enjoy transaction ME51N/ ME21N but only for a particular account assignment category.
    Can anyone help me where is the screen control for the pop-up screen based on Tcodes and only for a particular category.
    Note:
    This field is enable for Z and not for K.
    Thanks,
    Karun Kumar

    Hi,
    Please check the BADI: ME_PROCESS_PO_CUST has implemented in your system..
    Take ABAPer help if you have only done for ME21
    Badi For Account Assignment Category in me21n
    Kuber

  • I cant use facetime. but my sister can. we share the same account for itunes.but when i go to face itme and click on create a new account a blank screen pops up. what do i do?when i go to make a new facetime account nothing comes up

    i cant use facetime. but my sister can. we share the same account for itunes.but when i go to facetime on my ipod touch and click on create a new account a blank screen pops up and the only thing it says is cancel and account.  what do i do?

    Please follow these directions to delete the Mail "sandbox" folder.
    Back up all data.
    Triple-click the line below to select it:
    ~/Library/Containers/com.apple.mail
    Right-click or control-click the highlighted line and select
    Services ▹ Reveal
    from the contextual menu.* A Finder window should open with a folder named "com.apple.mail" selected. If it does, move the selected folder — not just its contents — to the Desktop. Leave the Finder window open for now.
    Quit and relaunch Mail, and test. If the problem is resolved, you may have to recreate some of your Mail settings. You can then delete the folder you moved and close the Finder window. If you still have the problem, quit Mail again and put the folder back where it was, overwriting the one that may have been created in its place. Post your results.
    Caution: If you change any of the contents of the sandbox, but leave the folder itself in place, Mail may crash or not launch at all. Deleting the whole sandbox will cause it to be rebuilt automatically.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar, paste into the box that opens (command-V). You won't see what you pasted because a line break is included. Press return.

  • How to Install ADOBE life cycle designer

    Hi All,.
    I am new to ADOBE forms, Please let me know how to install ADOBE life cycle designer step by step.
    Thanks&REgards,
    Archana.G

    Download the installer from Service Marketplace (http://service.sap/com/swdc). Use the search screen to search for Adobe LifeCycle Designer. You will get a compressed file with a .zip extension. Unzip that into a folder and you will find a exe called SapAldSetup.exe Double click it and the rest is cake walk.
    Thanks,
    GLM

  • Can any body explain me JSF Page Life Cycle?

    Hello All
    Can any body explain me JSF Page Life Cycle?
    I wanted to know basically following few things
    1. how the JSF component will be rendered to html
    2. How the ValueBinding and MethodBinding mechanish works
    3. On conditional situation, if we need to generate the page dynamically with the various components, then what is the role of ValueBinding mechanism?
    4. What happens once the page is rendered?? In other words, does the FacesContext instance holds the object information in cache or sends it to garbage collector??
    5. Other than ValueBinding mechanism does we have any other procedures to bind the beans to components , when dynamic controls generation situation arises??
    Thanks
    Sudhakar Chavali

    Thanks Giri, for your continuous support
    Basically I get these doubts because I am not able to get right response from Java Server Faces when I communicate between Non_JSF and Jsf Pages
    please have a look on following links. Where I need your support
    http://swforum.sun.com/jive/thread.jspa?threadID=54347&messageID=208120#208120
    http://swforum.sun.com/jive/thread.jspa?threadID=54379&messageID=208222#208222
    Thanks
    Sudhakar

  • Adobe Life Cycle Designer doesnt show Context Data

    Hi All,
    I have a requirement where I have a add a new field to the adobe form . I am able to add the new field but when I try to Bind it with the Context I am unable to see any context in the Adobe life cycle designer can anyone please let me know how to do this .Thank you so much in advance.

    [https://websmp103.sap-ag.de/swdc] goto this url and click on the installations and upgrade drop down to your left part of the screen --> then click on the search for installations and upgrades then type Adobe in the search box and press enter you will find all the Life cycle designer versions click on
    [NW 7.0 Presentation - Adobe LiveCycle Designer 8.0] this software will be added to the download basket.
    And you should have authorization for downloading the software your basis person should have access to the same..

  • Problems with Safari, Acrobat, Intel Macs, and Life Cycle Form Mgr.

    Here is my problem:
    A Mac user using 10.4.10, with Acrobat Standard Ed v.7.0.9 installed,
    is having to approve purchase forms through Adober Life Cycle Form Manager
    through Safari 2.0.4. When trying to approve the PDF forms, it tells her
    she needs to have Acrobat v.7 installed, and only shows a white page.
    Went back and launched Acrobat 7.0.9, and did the "Detect and Repair"
    setting to verify the Adobe PDFViewer plugin was installed.
    Said it was, checked the Library/Internet Plugins folder and it was.
    Launched Safari, Safari's list of plug-ins does not show it as being installed.
    Trashed the Safari .plist file, relaunched Safari, same thing.
    Read on the Apple site that people were experiencing similar issues,
    Read on Adobe's site that for Intel Macs, should be using v. 8.01.
    Downloaded the 8.01 Acrobat Reader and installed it.
    re-launched Safari, success, it says the plugin, v.8.01 is installed.
    Go back to Adobe Life Cycle Forms Manager, go to view a PDF,
    at 100% screen size, PDF shows correctly. Zoom in on details,
    PDF goes blank, will not show details. Zoom back out,
    PDF goes white page, no info displayed.
    My Questions:
    1. is it an issue with Adobe Life Cycle Forms Manager and Safari on Intel Macs?
    2. Is there a way to get a proper plug in for Safari, so that Acrobat will read the PDFs
    instead of the default Preview?
    thanks in Advance

    bump
    anybody running ALCFM and Acrobat 8 with an Intel Mac,
    are you running into issues with approval of PDF forms?

  • Servlet life cycle/Singleton pattern/synchronized

    I have some questions about the life cycle of a servlet and the use of synchronozed.
    We have a main controller class that is extended from HTTPServlet and accepts all HTTP requests. It in turn instantiates another class to do the work. That class eventually returns control to the main controller and the request is forwarded. It is a typical MVC.
    1. Once the helper class is instantiated how long will it live? We never destroy the class. I can debug the class using JBuilder and see variables set from the previous access.
    2. While the class is in memory, if two or more requests are requiring the use of it, is a copy of the class created and used by each request. These particular classes are not instantiated as 'private static' instances.
    3. If no copy is made, will the requests wait for the other to finish its processing before it gains control of the class. If no, I am assuming that proper use of synchronized will eliminate any issues.
    4. Anyone have advice on where and when to synchronize or do you know of any good articles on this topic.
    Thanks in advance for any advice you can give.

    Hello,
    Many of your question depends on where you declare the helper class, so here it goes:
    1) The helper class will stay in memory as long as it's scope lasts. Ie: If you declare it as an instance member of the servlet it will stay alive until the servlet is unloaded by the application engine.
    2) In short, local and parameter members, yes. Instance members no.
    3) Most servlet configurations servers multiple requests on the same servlet. So if your helper class is an instance member it can be accessed be multipe threads at the same time. You can also declare that your servlet is not thread safe and the application engine will create multiple copies of it instead.
    4) Er... Have a look around. I'm sure there are several examples and tutotrials on this site alone.
    Yours
    - Lars J. Nilsson

Maybe you are looking for

  • IChat no longer working after 10.4.8 update

    Has anyone figured out how to use iChat after the 10.4.8 update???

  • In Acrobat 9 Standard how do I reembed/fix fonts?

    I converted a Word document into a PDF using Acrobat 9 Standard. However several fonts did not get embedded. I check the help menue and it said open the file and select Properties| Font|Advanced|Preflight. However the Preflight tab is not shown.

  • I get an error when i try to update the latest update

    For the last month, I have tried to update after affect latest update, but every time i try to install it ,i get a error that the download has failed

  • Patch For Excise Duty & Taxes

    Dear Experts, As my client is implementing the ECC 6.0. In the Business process when genrating the Documents the system is have H&S Ecees excise duty problems along with Taxes. The same is appearing for MM guy. So would like to know which SAP Patch h

  • Needed Details on GETTAB,SETTAB,CHETAB,RESTAB.

    Can anyone clearly state with an example of GETTAB,SETTAB,CHETAB,RESTAB in ECATT and the practical usage of where to use it. I have referred help.sap.com.Needed some more information. Thanks in advance.