How to default "Reason" in a Business Activity transaction

Hi experts,
When I create a Business Activity, I am able to default Priority and Goal. When it comes to 'Reason' I am unable to default because there is no direct assignment in Trans type in Customizing header. We can assign only the Subject Profile for the Reason but not the reason code.
Can anybody give some idea to default the reason code in the Activity document. It's an urgent req. Pl reply ASAP.
Ranjan

In customizing in the crm server there is no way of doing it without programming.
But if you program, you should rather do it with the post processing framework (actions) than with the events: just create an event which is executed automatically (an always-true schedule condition and also an always-true start condition). This is calling then a self-written method which sets the reason via an CRM_ORDER_MAINTAIN. The reason code itself then can be passed as a container parameter.
The benefit of this approach is that the predefinition can be enabled or disabled via customizing per transaction type.
Kai

Similar Messages

  • How to Show Product Catalog in an Activity transaction

    Hello Experts,
    Normally a 'Product' or 'Product Hierarchy' can be associated with an 'Activity' Transaction Type.
    Our requirement is to associate a 'Product Catalog' with an 'Activity' Transaction Type.
    1. Any Inputs ?
    2. How can it be done through Object Reference?
    Many Thanks for the suggestions !!

    Hi Ramalingareddy
    For CRM 5.0 or CRM 2007 you can take a look at Best Practice guide C14 which can be located from here.
    http://help.sap.com/
    Click on SAP Best Practices Tab
    Select: Cross Industry Packages
    Select: Customer Relationship Management
    Select: Release V1.52
    Select: Technical Information
    Select: Building Block Library
    Regards
    Arden

  • How to identify reasons for a very slow transaction?

    Hi All,
    If I see that a SAP standard transaction is very slow for every user, what are the areas that I will have to look to get it resolved.
    All other transactions work quick and only one transaction is very sluggish. How to find the root cause and resolve this?
    Thanks
    Vijay

    Hi,
    I have used Tx Code SGEN to reduce the time to open every Transaction. As opening every transaction require the compilation of some programs, reports etc, which takes a lot of time.
    This transaction S creen GEN erator,  will load(compiled version of ) all the frequently used transactions into the database. Database size will be increased by 2 GB or more.
    Refer this link for more details :
    http://help.sap.com/saphelp_nw70/helpdata/EN/28/52583c65399965e10000000a114084/frameset.htm
    I hope this will help you.
    Best Regards,
    Pradeep Bishnoi
    Edited by: Pradeep Bishnoi on Dec 31, 2008 1:32 PM

  • How to default Roles on Person Affected screen (transaction cbih82)

    Hi, Experts
    When an Iincident / Accident Log Entry of a specific type is created, I would like to default a few roles e.g. INJ / "Injured Person" on the persons affected screen in transaction CBIH82.
    Is there a USER EXIT to achieve this?
    Regards,
    Nhlanhla Ndlovu

    Hi Nhlanhla,
    There is an user exit "IAL_TYPE"  which you can assign against the "log entry type"  at "Specify Incident/Accident log entry types" in spro. But, this user exit performs a check function, which compares the number of persons affected with the Incident/Accident log entry type and outputs a warning if it finds inconsistencies.
    A reference function module "CBIH_LB14_IAL_UPD_CRE_CHECK" is assigned to this user exit at Basic Data & Tools>Basic settings> Manage user exits.
    For your requirement, you may probably use this reference function module as a template for defining your own logic.
    Regards,
    Pavan

  • "Business Activty template' in place of "Business activity " under "create"

    Hi Gurus,
    the matter is, In CRM7.0 we have copied standard "sales pro" role and customized it according to our requirement. same way we also created 'z'  Business activity from standard "0000"  and did all other customization as well like maintain category, assign category, reasons,goal everything necessary.
    Now when you login to CRM7.0 WEBUI , from Activity work centre, we click our 'z' business activity under "create".
    a popup window opens up and give stwo oprtions:
    1.interaction log
    2.Task
    (it is correct till here)
    now when i choose "interaction log" with an intention to see 'z' Business activity transaction, but to my surprise i see " 'z'business template which i never configured.
    but same transaction i open by going to "Search" option , then dragging "new" icon, my 'z' business activity opens up..
    can somebody help me understand why is it happening and how can i resolve this....
    where as in standard "salespro" role , if log-in everything is perfect no issues there.
    then where did i went wrong or missed.
    Please help it is critical...
    Thanks,
    G.one

    actually in CRM webui:
    there are two logical links:
    a)Activity (it represents Templates for Activity & task in GUI)
    b)Interaction logs (it represents Activity transaction types only).
    That's all we needed to know.
    Thanks,
    G.One

  • Change Transaction type in a Business Activity

    Hi,
    There is a requirement in our project to change the business activity transaction type say ZXXX to a new transaction type ZYYY.
      Is there any standard function module which can accomplish the same.
    Any help appreciated

    Hi Kumar,
    I am not sure whether this is possible or not but you can give a try. Use FM CRM_ORDER_MAINTAIN and in the structure ct_orderadm_h change the field PROCESS_TYPE.
    Thanks,
    Vikash.

  • Undo tablespace with active transaction/segment corrupted

    How to recover if undo tablespace with active transaction/segment corrupted

    Try RMAN blockrecover or restore the tablespace from latest backup and recover it.

  • How to default Business Area

    How to default Business Area at line item entry to particular GL accounts
    Satish
    Points assured

    hi,
    for getting finer records u can have user exist programme which will give you finer reports as in other standard report u might face clearing account problem. but user exit can be defined at the miner level of details u required . this is generally used fr multilocation multi business area configuration to which u can also attach SECTION CODE and get those reports in same programme by assigning business place.
    user exit is more useful becuse u might be using same chart of account for all the business area and it is not convinient to have business area at entry level or assigned at company code level, instead by using user exit u can assign it to user at specific business area.
    Warm Regards

  • How to catch attachment info. in the Business Activity Doc.?

    Hi experts,
    How to catch attachment info. in the Business Activity Doc.? For example, I want to get how many attachments in the Activity. and the description of attachments.Is there any SAP table or FM for it ? Thank you.
    Best regards,
    Gavin

    Hi,
      Go to the table CRMD_ORDERADM_H give your trnsaction( Activity ) no in the OBJECT_ID field, you will get GUID corresponding to the transaction.
    Pass the GUID in the SMOATTACHLNK Table in the PARENTID field, then you will get PHIO_ID.
    Pass PHIO_ID in the table CRMORDERPHIO Table in the field PHIO_ID, then you will get LOIO_ID.
    Finally pass youe LOIO_ ID into CRMORDERLOIO table in the field LOIO_ID then you will get how many attachments are there for particula transaction
    Tables
    CRMORDERLOIO
    CRMORDERLOIOT
    Regards
    Srinu

  • How to get business activity with status open for a given BP ?

    Hi,
      I want to get the business activity status for a given business partner.
      To be more specific , consider the following customer service scenario:
    Requirement:
    Customer will call the call center
    Call center will create that business partner and BP will be assigned to proceed with the customer requirement
    A report program has to be generated to get the list of customers pending for the given business partner
    Things done:
    I have created a business partner(consumer) through the transaction CIC0
    Now I need to write a report program which will fetch all customers pending(with business activity status open) for a given business partner
        The thing is we are not able to find out where the status of the business activity is maintained.
        Is there any BAPI to meet out this requirement? or is there any other way?
    Regards,
    Arokiaraj. S,
    Asian Paints

    Hello,
    Try BAPI BAPI_BUSPROCESSND_GETLIST to get the activities for a BP and CRM_ORDER_READ to get the status.
    You also use FM CRM_STATUS_CHECK to check the status.
    Regards,
    Frédéric
    Message was edited by: Frederic Schoenaers

  • Business Activity in SAP CRM 7.0 WebUI

    Hello SAP Experts,
    In SAP CRM 7.0, under maintain activities, I have assigned categories to class interaction log, appointments and tasks.
    The same categories have been assigned to some business activities. For example Category Sales Call (001) is assigned to Interaction Log. The sales call is in turn assigned to Transaction Type- Business Activity.
    When I log on to web ui, I am able to see this business activity under Interaction Log and create the transaction.
    In the same way, when I assign category u2013CX4 (Telephone Call) to class Phone Call to a Transaction Type-Sales Call (0001-business activity), I am not able to see the same in web ui.
    The same holds good when categories are assigned to Class Miscellaneous, Letter, Meeting, E-mail etc, are in turn assigned to transaction types are visible in web ui.
    Kindly clarify, whether all the business activities fall under APPOINTMENT, INTERACTION LOG, TASK, E-MAIL AND VISIT PLAN in WEB UI.
    The other category class, apart from the above mentioned, where can they be used?
    If yes, how do I do the customizing which would enable me to see all in WEB UI?
    Thanks in advance
    Regards,
    Srinivasan.R

    Hi Raghavendran,
    I am facing the same problem. Other than Appointments,Tasks,Email and Interaction record I cannot create any other Activities.
    I defined a new Transaction type assigned the category Misc but cannot create the Activity on WEBUI. As Raja suggested I have also assigned the Channel as WEBUI and ICWEBCLIENT but still does not work. Is there any Role specific customization that needs to be performed?
    Please let me know if your issue is resolved and how you resolved it.
    Any help will be greatly appreciated.
    Thanks,
    Pooja

  • How can we make the save button active in standard toolbar in outout of alv

    Hi experts ,
    I am using factory method to print alv with oops .
    Cancel , Exit and Back button are active by default in Standard tool bar  in output of Report , But Save button is not active , How can i make that save button active .
    Also Pls tell me how i can make editable to the cell in output , 
    My Code is like this :
    cl_salv_table=>factory( IMPORTING r_salv_table = gr_table CHANGING t_table = ispfli ).
      gr_functions = gr_table->get_functions( ).
      gr_functions->set_all( abap_true ).
      gr_display = gr_table->get_display_settings( ).
      gr_display->set_striped_pattern( cl_salv_display_settings=>true ).
      gr_display->set_list_header( 'This is the heading' ).
      gr_columns = gr_table->get_columns( ).
      gr_column ?= gr_columns->get_column( 'CITYTO' ).
      gr_column->set_long_text( 'This is long text' ).
      gr_column->set_medium_text( 'This is med text' ).
      gr_column->set_short_text( 'This is sh' ).
      gr_column ?= gr_columns->get_column( 'CITYFROM' ).
      color-col = '6'.
      color-int = '1'.
      color-inv = '0'.
      gr_column->set_color( color ).
      gr_sorts = gr_table->get_sorts( ).
    *gr_sorts->add_sort( 'CITYTO' ).
      gr_sorts->add_sort( columnname = 'CITYTO' subtotal = abap_true ).
      gr_agg = gr_table->get_aggregations( ).
      gr_agg->add_aggregation( 'DISTANCE' ).
      gr_filter = gr_table->get_filters( ).
      gr_filter->add_filter( columnname = 'CARRID' low = 'DL' ).
      gr_layout = gr_table->get_layout( ).
      gr_layout->set_key( key ).
      key-report = sy-repid.
      gr_layout->set_save_restriction( cl_salv_layout=>restrict_none ).
      gr_table->display( ).
    Rgds,
    Premraj

    Hi,
    1)you need to give the function code to that save in the Function Keys of that screen from the GUI Status.
    2) while filling the field catalog of that field you need to put the        
    wa_fieldcat_edit-edit = c_x.
    i.e use the edit and append to that field catalog internal table.
    for more infomation you can refer to below links:
    problem with alv edit and save
    *Edit* and *Save*  for the selected records in ALV
    solves your problem
    Thanks!!

  • Integrate Business Activity Monitoring (BAM) with Oracle Forms Recognition

    Hi All,
    As per project requirement, I have to integrate Business Activity Monitoring (BAM) with Oracle Forms Recognition.
    Does anyone have an idea how can this be achievable from OFR Verifier?
    Thanks,
    Moumi.

    Hi All,
    Apart from my previous queries, I found that there is an sample reporting program - Oracle Application Express application has been developed and tested using version 4.1 of AppExpress.
    To access OFR tables I run the below script in below sequence in my local IPM environment as found in this link- http://workplacedba.blogspot.in/2012/11/ofr-odc-installation.html
    Seq 1 - 01-OFR-AP-Tables_Oracle.sql
    Seq 2 - 02-OFR-AP-Reporting_Oracle.sql
    Seq 3 - 03-XX_ROUND_IT.fnc
    Seq 4 - 04-XX_ROUNDDOWN.fnc
    Seq 5 - 05-XX_ROUNDUP.fnc
    Seq 6 - 06-OFR-AP-EBS-Views.sql
    Seq 7 - 07-INVOICE_NUMBER_FORMATS_INS.sql
    Seq 8 - 08-Insert Into Company.sql
    I couldn't found the below queries in my installables -
    Seq 3 - 03-XX_ROUND_IT.fnc
    Seq 4 - 04-XX_ROUNDDOWN.fnc
    Seq 5 - 05-XX_ROUNDUP.fnc
    Seq 7 - 07-INVOICE_NUMBER_FORMATS_INS.sql
    Seq 8 - 08-Insert Into Company.sql
    can anyone provide me these sql scripts?
    Thanks,
    Moumi

  • Survey is not displayed in WebUI in Business Activity

    Dear Team,
    I have a business activity document created with category "Various"
    questionnaire determinations are activated for this transaction type.
    when i try to create the activity document Survey building block is not showing up.
    i have made the necessary configuration at UI level and put it in the direct mode.
    let me know how to i find the problem?
    Is there any specific settigns to be addressed for survey display in UI?
    Regards,
    GJ

    Hi,
    please check the impl - class of your View and set a breakpoint in method REATTACH_STATIC_OVW_VIEWS.
    If your assignmentblock is not there in rt_return you could redefine this method and add your block like this:
    ls_reattach-viewid = 'ZEQSAEGEZUB.ZUI_EQUI/ZEQSAEGEZUBW'.
    APPEND ls_reattach TO rt_return.
    Kind regards
    Manfred

  • Creating sales order as follow up document of business activity

    hi...
    i want to create sales order as follow up document of business actvity.In business activity i have maintained product id and quantity in activity journal.Now i want to copy that product from activity to sales order.But system is not allowing me to copy it.
    So how can i solve this problem?

    Hi,
    First question - Have you maintained copy control between source and destination transaction types and item categories. If not yet then you need to maintain that first.
    Cheers!
    Kripa

Maybe you are looking for