Create follow up Business transaction through BOL

Hi All,
I have created a business transaction ( Ex Process Type 'FOLL' ) from a exsisting transaction ( having process type 'RED' ) from CRM 7.0 BOL.
When I change a field of RED, this FOLL transaction type is getting created. Now my requirement is to link up this 2 transaction such as FOLL wil be the follow up of the RED.
I have used below code to create FOLL transaction which is working fine.
  ent = fac->create( params ).
  ent = ent->get_related_entity( 'BTOrderHeader' ).
To create follow up, I have added 'VONA' kind to params table. But the link is not getting created.
Please suggest.
Thanks,
Nandini

Hi,
   To create followups, you have to use the entity method. Like this
  DATA: ls_params TYPE crmt_name_value_pair,
        lt_params TYPE crmt_name_value_pair_tab,
        lr_col TYPE REF TO if_bol_bo_col.
* set process type
  ls_params-name = 'PROCESS_TYPE'.
  ls_params-value = is_cunit_attr-doctype.
  IF ls_params-value IS INITIAL.
    ls_params-value = 'RED'. "process type
  ENDIF.
  APPEND ls_params TO lt_params.
  ls_params-name  = 'VONA_KIND'.
  ls_params-value = 'A'.
  APPEND ls_params TO lt_params.
  ls_params-name  = 'RELTYPE'.
  ls_params-value = 'VONA'.
  APPEND ls_params TO lt_params.
  TRY.
*     Execute createFollowUp-Method, lr_adminh is the "FOLL" parent doc
      lr_col = lr_adminh->execute(
                  iv_method_name = 'createFollowUp'
                  it_param       = lt_params ).
    CATCH: cx_crm_genil_model_error cx_crm_bol_meth_exec_failed.
      RETURN.
  ENDTRY.
*after this lr_col will contain your new followup document(RED)
Regards,
Arun Prakash

Similar Messages

  • Status in Interaction Record update based on a follow up Business Transacti

    Hi
    I put in place within ICWC the Interaction record creation as initial step followed by a creation of a Service ticket.
    I would like at the Completion of my service tickets the interaction record to be completed automatically as we dont want any agent to manually complete them.
    Thanks in advance
    Aurelien
    CRM 4.0

    Hi,
    I tried to come back to the idea of the Status Completed as default when Interaction Record is created.
    My scenario is:
    Confirm BP
    Confirm IBASE
    Click Service ticket on the left Menu (Interaction Record Menu is not visible anymore)
    then i am on the ticket...
    I noticed different small problems:
    1/ The service organisation determination is not trigger anymore at the ticket creation, it is triggered only when an update occur on the ticket, in my case only when the classification is filled.
    2/ When i saved the ticket, the Interaction Record appears in the Business Context, when i click on it (it is completed straigh away), but an error is present in the Interaction record, CRM_ORGMAN - 039 (Enter an organizational unit (Service))
    When i had set up my interaction record status profile with more than one status (not Completed straight away) the error number 2 never occured.
    The error number 1 always occurs if i use the scenario in ICWEB:
    When i use one transaction type to multiple transaction type as dependent business transaction type, in my case the transaction type linked to my Business transaction profile (interaction Rec) is ZS33, then as default Service Transaction in the Dependand transaction i used a ZEST.
    Config done in  SAP Implementation Guide -> Customer Relationship Management -> Interaction Center WebClient -> Business Transactions ->  Define Business Transaction Profiles
    In case that i used directly ZEST as the default transaction type for my Business Transaction profile the Org determination occurs correctly.
    As anyone seen this problem before?
    Or is there anything to do to transfer the org from the Interaction Record to the Service Ticket? is there a link?
    I have been through all the topics about Interaction record but couldnt find anything related to my problem.
    Thanks in advance
    Aurelien

  • Follow-up Business Transactions

    Hi Experts,
    I have a problem with follow-up transactions. I created two transactions, a Quotation and a Standard Order.
    Then I created follow-up for these transactions in the copying control, ZAG --> ZTA. Now, when I create a new Quotation in the Web Client UI and I open the drop down list "create follow-up" I just can see many diferent activities like Contact, Task, incoming e-mail, etc. but no Business Transaction.
    How can I display the new created Business Transaction ZTA (Standard Order) in the drop-down list?
    Hope sb can help me.
    Thanks.
    Sebastian

    Hello Sudeep De,
    Thanks for your reply but thats not the problem.
    Also in the standard I have the same problem. The standard also defines follow-up transaction for AG (Quotation), AG --> TA (Standard Order) in the copying control. When I log in whith the role salespro and I create a new Quotation, save this Quotation and try to create a new Standtard order with the drop-down list "create follow-up", I just can see activites but no Business Transactions. Why can I just see activities (Task, ...) and no Business Transaktions? All these activities I can see are not defined in the copying control.
    Can you help me?.
    PS: I can find my Business Transaction in the Web Client UI. I just can not find the Transaction in the "create follow-up" List as a follow-up transaction
    Edited by: Sebastian Wilhelm on Oct 1, 2008 11:48 AM

  • Offline Interactive Form Upload for creating Business Transaction

    Hi All,
    I am using CRM Web Request for creating Business Transaction through Offline Interactive Adobe Form.
    For that i have done PDF upload coding and then converting the PDF form to XML format.
    Now the XML format of form is converted to string from xstring.
    And then passing the XML to function module CRM_WEBREQ_EXTERN_CREATE_DOC along with the corresponding request category configured for the web request.Created the corresponding request category structure also.
    still the business transaction is not getting created, the following error message is coming "XML incompatible for data structure of request category" .
    Please respond if anybody has done the same scenario.
    Or is there any other process that can be followed to upload offline interactive adobe form to create one order object.
    Regards,
    Madhu

    Hi Maarten,
    Is that aatribute binded to Dropdown field lying under a node of cardinality 1..1??
    I think if that's so, ur error can be resolved by just putting this attribute in a node with cardinality 1..n.
    Hope this helps..!!
    Thanks,
    Amita

  • Not able to create Follow up transaction since it has been grayed out

    Hi Experts,
    We have a scenario where in we will create the Sales Transactions (OR) in ECC and then it will replicates to CRM.
    In CRM we wants to create Returns Order (RE) as a follow up Transaction to OR (which is replicated from ECC to CRM) .
    When I tried to create Returns Order (RE) in CRM as a follow up document to Sales Transaction (OR), the follow up Transaction CRM Returns (RE) has been grayed out. I mean it is in display mode only.
    And then I created Sales Transaction (OR) in CRM itself and then I tried to create follow up Returns Transaction (RE) I was able to create.
    But I am not able to Create Returns Order (RE) for the Sales Transactions (OR) that have been replicated from ECC to CRM.
    Can anybody help me in resolving this issue. Any help ful answer will be rewarded with points.
    Thanks in advance,
    -Frederick Johnson.

    Hi Fredrick,
    Please check, whether you have completed all the steps for Copying Control for Business Transactions in the following path in IMG:
    SPRO->Customer Relationship Management->Transactions->Basic Settings->Copying Control for Business Transactions:
    - Define Copying Control for Transaction Types
       In this step, you define the control for copying business transaction types.
       To do this, you enter a source tranaction type and a target transaction type, and define the corresponding conditions for this combination.
    - Define Copying Control for Item Categories
    In this step, you define the control for copying item categories.
    To do so, you enter a source item category and a target item category, and define the corresponding conditions.
    - Define Item Category Determination when Copying
    In this step, you define a specific item category determination which should be run during copying. The item category is used to find the target item category in the source transaction for the transaction type in the target transaction. This means that the transaction type for the source transaction is not relevant for the item category determination.
    If the system cannot find an entry for the copying transaction in this table, the item category is found in the target transaction using the normal item category determination.
    This might help you
    regards
    Srikantan

  • BADI for restrict creation of business transaction independently

    Hello Experts,
    I have a requirement where I need to check if the Business activity (say any 'Z' transaction) has a opportunity follow-up document then only that business transaction need to be executed else should give the error that "Z transaction need to be created through opportunity only and can not be created individually".
    I found one BADI CRM_ORDERADM_H_BADI where I can check for the condition but the issue is that as soon as I entered to CRMD_ORDER this BADI gets triggered where I need to trigger this BADI only when the user is trying to create the 'Z' business transaction individually.
    Any Suggestion will be highly appreciated.
    Thanks in Advance & Best Regards,
    Deepak Gupta

    Deepak, there is a parameter called CRM_MODE and this has the following values depending upon the transaction context:
    A - Create
    B - Change
    C - Display and
    D - Delete
    Now, in the same BAdI, since you are restricting the creation of the activity, check the CRM_MODE for the Activity, if it is A, then, call the function module CRM_ORDER_READ with the GUID of the activity and extract only the document flow ET_DOC_FLOW. Check this export table and see if the parent is an opportunity (BUS2000111). If your condition is not met, add an Error message in the transaction.

  • Authorization for "Accept Quotation" Business Transaction in Service Order

    Hello All,
    I need of Authorization Control for doing "Accept Quotation" business transaction in Service Order.
    Process goes as follows.
    Service Order created with Planned cost components with DIP Profile
    Service Quotation got created through DP80
    Then, Accept Quotation will be done in Service Order
    Release of Service Order
    Execution, Billing, etc.,
    Here, I want to control of doing "Accept Quotation" by only authorized people.
    I couldn't find any suitable Authorization Object under I_VORG_ORD under field BETRVORG.
    We can control that business transaction through User status. Is there any other standard object available to achieve this??
    Hope I am clear in my query & looking forward your suggestions.
    Thanks in advance.

    Maheswaran KD
    Sorry, but I can't check at this client as we are not using CS processes.
    Try popping into debug mode using "/H" and put a break-point on "authority-check" before continuing.
    The program should now stop at all authorisation checks. See if any of these are suitable.
    If not, then you may need to use a user-exit or BADI.
    PeteA

  • Activating/Using Business Transaction Event (BTE) PM000030

    Hello everybody !
    I need to implement BTE PM000030.
    I tried to follow the howto provided by sap & in the forums , but I must be missing a step since this is not working.
    I have created a custom product in transaction FIBF and now I want to assign my own function module to this event & product.
    I entered FIBF->Settings->Of a customer.
    Now when I attempt to select the PM000030 Proccess which im interested in, It is not there, to be exact - most of the proccessing are not there.
    From this step, I found no availible SAP documentation on dealing with this situation.
    I tried to manually enter PM000030 in the field and was rejected saying "entry does not exist in TSP01, when trying to create an entry manually in TSP01, I get an error saying I should first create a data element for it.
    I dont really know what procedure I should follow from here.
    I would highly appreciate any help, Thanks!
    Udi.
    Edited by: Udi Dekel on Mar 16, 2010 5:13 PM

    Hi,
    Please refer to following link :
    [Business Transaction Events (BTE) |http://wiki.sdn.sap.com/wiki/display/Snippets/BusinessTransactionEvents+%28BTE%29]
    [Business Transaction Events - Process Interface - Event 00001040 - customer implementation for dunning notice via email |http://wiki.sdn.sap.com/wiki/display/BPX/BusinessTransactionEvents-ProcessInterface-Event00001040-customerimplementationfordunningnoticeviaemail]
    Hope this helps.
    Regards,
    Chandravadan

  • Display View as per different Business transaction

    Hello Experts,
    I have created two z business transactions. I want to show the view depending upon business transaction.
    Lets say, In view set there are total 3 view are displayed. If we consider business transaction as ZBT1 and ZBT2. and view as view1, view2 and view3.
    I want hide view2 for business transaction ZBT1 only. If I am running ZBT2, view2 should be visible.
    Is it possible? if yes, how? could you please provide some pointers on this?
    Thanks in advance,
    Prashant

    Hi,
    Created one configuration without view2. (With same configuration key and different object type) Redefine DO_CONFIG_DETERMINATION method with below code.
    if lv_bus_trans eq 'abc'.
        me->set_config_keys( iv_object_type = 'ZPNJ_OBJ_TYPE'      "Object type created
                         iv_propagate_2_children = abap_true ).
    Else.
         me->set_config_keys( iv_object_type = 'DEFAULT'
                         iv_propagate_2_children = abap_true ).
        CALL METHOD SUPER->DO_CONFIG_DETERMINATION
          EXPORTING
            iv_first_time = ABAP_FALSE.
    Endif.
    For more details, please follow below links
    1. UI Configuration
    2. configuration not dispplayed on the screen
    3. http://wiki.sdn.sap.com/wiki/display/CRM/CRM-MasscopyofUIconfigfromoneroleto+another
    4. Hide Attributes depending on BP_CATEGORY
    Thanks a lot Andrei for your help.
    Regards,
    Prashant

  • Business Transaction Profile - Error when using Z-Transaction Type

    Dear Experts,
    we are using SAP CRM 7.0 (Support Level 0007 - SAPKU70007). I have created a Z-Business Transaction Profile Z_IC_SERVICE.
    SAP Help says:
    Enter the transaction type to be used as a default in your scenario in the IC WebClient. For example, choose the transaction type 0010 (Interaction Record) if an interaction record is to be created automatically. The system creates this interaction record automatically after the interaction has started (for example, after accepting a call). During this, the activity clipboard in the interaction record is filled with the relevant data.
    So when I am using the transaction type 0010 (Interaction Record) in my Business Transaction Profile all is OK that means I can search for accounts and I can confirm them to go on with the process.
    BUT: When I entering here a Z Transaction Type (Z000) the systems shows the errors:
    - Error occurred in class CL_ICCMP_CUCOIREC_IMPL, event InteractionStarted.
    - Error occurred in class CL_ICCMP_CUCOIREC_IMPL, event BPConfirmed.
    Then I have made a copy of the transaction type 0010 (Name of copy: Z010) and tried to use it in my Business Transaction Profile the system says:
    Customizing settings missing. Assign partner functions to Z010
    Anybody know what to do and where to avoid errors? Note 1346892 is obsolete in this case because we already have the highest Support Package Level.
    Best Regards
    Oliver

    Hi yes you were right. In the case of both transaction type I have corrected the customizing parameters in
    SPRO -> Customer Relationship Management -> Interaction Center WebClient -> Business Transaction -> Assign Partner Functions to Business Transactions
    In the case of Transaction Type Z010 I had Z-Partner Functions and and that leaded to the errors:
    - Error occurred in class CL_ICCMP_CUCOIREC_IMPL, event InteractionStarted.
    - Error occurred in class CL_ICCMP_CUCOIREC_IMPL, event BPConfirmed.
    In case of the Transaction TYPE Z000 I forgot to assign the Partner Functions that is why this error appeared:
    Customizing settings missing. Assign partner functions to Z010
    Thread Closed

  • How to create a new business group in production instance?

    Hi All
    How can I create a new Business Group in Oracle Apps in a production Instance where there wont be any HRMS responsibility. Do I need to create a new Business Group through Inventory responsibility ? Any documents about this issue?
    Thanks and Regards
    M.A.Rahman

    why do you need to create a new business group? To implement HR? If so, linking a HR responsibility to your user, is one of the few steps to go anyway.
    How you did it on the test environment?
    Why not link a hr resp to your user temporarily, and disable it later.
    I'm always afraid to answer this kind of questions, since the real requirement is not described.

  • Button - Copy Business Transaction

    Hi Guys,
    In Service msg screen, i notice there is a button named "Copy business Transaction". Where i can use this function to create a new service msg from a Confirmed msg.
    For eg:
    Normal service msg(Status 'Confirmed', msg# 999900123), in the screen of this msg, i click on button "Copy business transaction". Immediately system will create a new msg(msg# 61) with reference to the msg 999900123.
    Thus i may need to check with you,
    1. is the function only meant to create "followup" msg base on the existing confirmed msg?
    2. i notice sap is using different number range for the msg create via "Copy business transaction". May i know how can i change it by using the existing number ranges which is start from 9999xxxx?
    Thanks in advance.

    Hi,
    I will try to respond to your second question:
    - In fact when you create a message from satelite system, the external number range is used and when you create a message in solution manager (even via the transaction Notif_create) the internal number range is used.
    Please check in the configuration guide the part talking about the customizing of the number ranges. Please read each line (there is a remark about this feature)
    Best regards,
    Zobair Lamarti

  • Locator area displays unauthoritative business transaction types

    Hi,
    I created a service business transaction type (ZXXX). Some users can see the details of this BT in the locator area (nearly all of the fields) although they have no authority for displaying. Indeed when they double click the relaited row for ZXXX, systems warns "There is no authorization for displaying...".
    So i want they are not able to see these documents in the locator area.
    Regards.
    Sadi Yılmaz

    Our system already had business area link to each plant.
    However I don't think the business area value is defaulted from plant as a plant can be link to multiple business areas. Based on a plant, how do system determined which business area to be pulled to MIRO?
    <i>the business ares a is linked to the plant (and not the way back), that means from a plant you have always a unique busines area. This is set up in transaction OMJ7, pls have a look</i>
    We don't turn on the business area balance sheet (OB65). Would you please kindly advise what will be the impact to turn this on?
    <i>quite a lot... In this case don't turn it on, but that also means there won't be automatic derivation (whatever you customized in previous step)</i>
    One last question the enhancement LMR1M001 to derived the business area, from what data will system derive the business area (from vendor master, Purchase order or from where?)
    <i>it just depends on your coding, but basically you have the information in the exit, what you have normally in MIRO.</i>
    <i>Would be good to know, what is your exact requirement, why you want to use business area in case of MIRO postings (and in case of other postings as well).</i>

  • Business Transaction

    HI
    I need one information regarding Business Transaction
    I should allow to create only one  business transaction for a business partner
    How exactly i can do this
    Thanks in advance
    Vinaykumar

    Hi Vinay,
    As far as i concern from functional point of view in think only Lead transaction having this functonality, if u want same for Activity, Opportunity, Sales etc. it can be acheive by using ORDER_SAVE badi use method CHECK_BEFORE_SAVE, this will check u r condition before saving the order.
    Kind Regards,
    Dipesh.

  • Error in creating business partner through transaction FPP1 in ECC6.0

    HI,
    We have upgraded our system from 4.7E to ECC6.0.Now when we are trying to create business partner through transaction FPP1 we are getting error as " Exception condition "NO_ACTIVE_TAB" raised."
    Can any one help us in rectifying the error and tell us the possible causes of error.. .??
    Regards,
    Shruti Singh

    Hello,
    Notes  696189 & 618123 may be of some help to you....:)
    Regards
    Olivia

Maybe you are looking for

  • (3) 24" iMacs, in a row, all with one dead pixel? Why? Normal?

    Hi, sorry if this has been addressed before BUT... Last week I started my adventure of getting a 24" iMac. I have returned 2 and am now with the 3rd in the same condition. All 3 have had 1 stuck (dead?) red pixel. An all 3 they looked exactly the sam

  • JRE 7u67 Exception Error

    Hello Folks, I'm new here and have an issues regarding the installation of JRE 7u67 on a Windows 7 tablet PC. I have installed Java runtime on a tablet PC, based on Intel Atom N2600. Once installed, I can verify java by going straight to the verifica

  • How do I get the full menu library in Encore Cs6?

    I have just started using encore within Cs6 for making DVD's, I have used a different programmed before this.  When I opened it up I only have HD Menus and not many how do i get the full lot?

  • Copying problem

    Since I took it out of the box, I'm having problems copying with my HP Envy 7640. I've checked the user manuals and I know I'm doing it right. I lay the documet in the feeder or on the copy screen and press copy for black or color and the first thing

  • Query about field symbol

    Hi, Can we write a query like this using field symbol. <FS> is a field symbol mapped onto an internal table. select * from dbtab into corresponding field of internal_tab for all entries in <FS> where field1 = <FS>-field1. It gives a syntax error when