Creating follow-up document  in actions

Hello all,
               I need to create a followup document in actions with specific process_type (transaction type) and channel type (category example: in-call , email..)
              Now, I am able to pass my transaction type as an import parameter but not the channel type. Does anyone know how to create followup document with specific transaction type and channel type.
thanks in advance
ark

Hi Ark,
you can copy the BAdI implementation COPY_DOCUMENT. In action customizing assign your copied implementation (don't forget to activate it) in the processing details of you action. There you will also find a button for maintaining processing parameters. Add one parameter for the transaction type and one for your channel type and set the values for them.
In the BAdI implementation add the following parameter:
data: lv_new_header type crmt_object_guid.
copy document
  CALL METHOD lc_action_execute->copy_document
    EXPORTING
      io_appl_object     = io_appl_object
      ip_application_log = ip_application_log
      ip_action          = ip_action
      ip_preview         = ip_preview
      ii_container       = ii_container
      iv_actiontext      = lv_actiontext
    IMPORTING
      EV_NEW_HEADER_GUID = lv_new_header   <==========
      rp_status          = rp_status.
Now you have the GUID of the copied document. The table lt_container contains your channel type. Read it out of the internal table and then call the function module crm_order_maintain in order to set the channel type.
Hope you are a bit familiar with crm programming, otherwise this might become sligthly complicated.
Cheers, Ralf

Similar Messages

  • Newly created follow-up document is inactive

    Hi Forum,
    I have just  created  a follow-up document for my service order and created a target transaction as another serv order document  through copy control.
    The target Service order is showing in the create follow up documents in the main menu, but it is inactive, rest other follow up documents for the source service order transaction are active.
    Please help me by letting me know how to make this follow up document active.
    Another workaround that i have checked in SAP help is that we have made this in the same organisation unit.
    Regards,
    Amit

    Hi,
    Have you maintained all the copy control settings like
    1. copy control for transaction types
    2. copy control for item categories
    3. copy control for target transaction and item categories
    Also check whether the permitted channels is not maintained for the target transaction.
    Hope this will help
    Regards,
    Rekha Dadwal
    <b>You gain a point for every point that you reward. So reward helpful answers generously</b>

  • Problem in creating follow-on document (RFQ) for a bid invitation.

    Hi Experts,
    We have an issue while creating follow-on document(RFQ) for a bid invitation.
    Process is as follows :
    We have a bid invitation and sent it to two vendors. After this, created two responses one is accepted and another one is rejected.
    Now the accepted bid is ready to "Create follow-on Document(RFQ)". But when we do this, the bid with rejected vendor also including in the follow-on document. This should not be the case.
    The follow-on document should include only the accepted bid, but not the rejected bid.
    Could anyone tell me how to achieve this ?
    Thank you very much in advance.

    As far as I understand, what you described is the standard behavior. ALL undeleted vendors are copied over to the follow-on RFQ regardless if their bids have been rejected or not. What you can do is to implement BBP_DOC_CHANGE_BADI for BUS2200 and explicitly remove the vendors which created rejected bids. Make use of the header field "copy_of_guid" to identify the originated RFQ.

  • Create Follow-up document from Service Contract automatically while saving

    Hi,
    In CRM 4.0, under the Service secnario, Service Data for Service Contract is related to --
    1. Interval value
    2. Period
    Based on these parameter values how to generate the corresponding follow up documents automatically while saving the parent doucment(i.e Service Contract).
    For ex, Interval = 6 , Period = 36, then all the 6 docs should be genarated at once while saving the Service Contract.
    Please Advice.
    Regards
    Deb

    Hi
    Yes , manually executing the Action through PPF.
    But the requirement is to generate the subsequent docs at once while saving the Service Contract i.e the corresponding Action should also triggered automatically.
    Please Advice.
    Regards
    Deb

  • Error creating follow on documents for Shopping cart

    Hi expert
    we are on srm 701
    and we are  using classic scenario
    We are currently facing an issue with  follow-on documents are not created in R/3
    i  Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders)
    when my manger approve Sc i havent any follow on doc in my back-end and i have this error in RZ20 :Shopping cart 0010000376: Error creating the follow-on document
    but when is  using FM : BBP_PD_SC_TRANSFER the reservation created (for which material that define on  Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders as created reserve)
    but i cant create PO or PR
    Please help to resolve this issue.

    Hello,
    check this section:
    Shopping Cart Transfer
    Regards.
    Laurent.

  • Unable to create follow-up document in Portal

    Hi,
    We are using NetWeaver Portal 7.0 and it is at the latest SP(SP10).
    When we are trying to create a follow-up document for an opportunity all the fields are getting grayed out and we are unable to create any follow-up document.But from GUI we are able to create it successfully.
    Also we are unable to create any sub-opportunity for the existing opportunity
    Both the above were possible when the portal was on lower SP(SP8)
    Does this issue have anything to do with the SP upgrade or could there be any other reason.
    Any inputs on the above issue would be of great help.
    Thanks and Regards,
    Vijaya Sai.

    Hi Chen,
    The problem the you are facing mostly occurs due to incorrect assignment of roles. The user id that is used in the EP needs to be present in the CRM backend system as well. The CRM Backend user has to be assigned to the corresponding single role.
    Portal user needs to be assigned to a Portal Role.
    Kindly have a look at the following document which will give more
    information on the role configuration.
    Please find the related documentation under:
    -> http://service.sap.com/crm-inst
    -> People-Centric CRM Inst. a. Config. Guides (on the left side tree)
    Kindly have a look at the guide for CRM 5.0
    This will give a clear picture on how to set up follow ups. Hope this helps. Please let us know incase you need more information on the same.
    Regards,
    Hemanth

  • Shopping cart not creating follow-on documents

    Hi,
    We were using extened classic for some time in test system and now deactivated extended classic and want to work with classic scenario. However when i create shopping cart for the material it is not creating any follow-on documents like reservation or purchase requisition or PO.
    Can anyone guide me for possible reasons.
    Thanks & Regards,
    Ganesh

    Hi Suresh,
    I am able to create Reservation and/or Purchase Requisition for the shopping cart after maintaining the backend system for product category, but when i am creating shopping cart which should create PO, i am getiing error and status of shopping cart is "Error in Process".
    After going through the transaction BBP_PD, the alert is as below-
    Alerts that Could Belong to this Document:                                      
    Monitor            Shopping Basket\Backend application errors                   
    Date               20.01.2006                                                   
    Time               08:49:44                                                     
    Message ID         BBP_ADMIN 016                                                
    Message text       Shopping cart &1 (PO &2): &3                                 
    Argument 1         5000000668                                                   
    Argument 2         3300000002                                                   
    Argument 3         MEPO                085Check item number 0 in tabl           
    Argument 4         00000000000000000000000000000000                                                                               
    Monitor            Shopping Basket\Backend application errors                   
    Date               20.01.2006                                                   
    Time               08:49:44                                                     
    Message ID         BBP_ADMIN 016                                                
    Message text       Shopping cart &1 (PO &2): &3                                 
    Argument 1         5000000668                                                   
    Argument 2         3300000002                                                   
    Argument 3         06                010Document contains no items              
    Argument 4         00000000000000000000000000000000                                                                               
    Monitor            Shopping Basket\Backend application errors                   
    Date               20.01.2006                                                   
    Time               08:49:44                                                     
    Message ID         BBP_ADMIN 016                                                
    Message text       Shopping cart &1 (PO &2): &3                                 
    Argument 1         5000000668                                                   
    Argument 2         3300000002                                                   
    Argument 3         MEPO                071Item 00010 does not exist             
    Argument 4         00000000000000000000000000000000                                                                               
    Can you throw some light on this, to solve the problem.
    Thanks & Regards,
    Ganesh

  • BAPI or sample program to create follow-up document programmatically

    Hi Experts,
    I have a requirement to create a sales order document from a quotation (follow-up document), please suggest me some BAPI/FM or some sample code to achieve it.
    Thanks
    -Sourabh

    CRM Document Flow
    Saving R/3 Document in CIC Document Flow

  • Error in creating follow-on documents after shopping cart is approved

    Hi,
    After the shopping cart has  been approved by the concerned approver and the when the staus is checked in the check status application , it shows 1 error in process i.e. no follow-on document is created in doing so.
    Thanks and regards
    Sachin

    Dear Sanjay,
      Thanks for the reply. I have made all the settings , but I am getting an error in the check status application for the shopping cart that has been approved.
    Well first instead of getting into the PO that are created in the backend system, let us consider the documents that are to be created as a result of categories that are local. I have maintained a range for local PO's.
    I need to know whether any extra procedure needs to be carried out so that PO be created i.e I am not using the sourcing application as of yet and presume that the
    POs are created (i.e. the follow-on documents are created on it's own,) .
      I have my own local purchasing group for an organisation. It there are any setting please let me
    know. PLease note that I am getting the same error as for ones while shooping cart that involve backend systems.
    Thanks and regards
    Sachin V. patel

  • Unable to create follow on documents in SOCO

    Hi all,
    We are on SRM Server 550 SPS: SAPKIBKT05
    Once I click 'propose source of supply', it takes me to the next screen showing the proposed SOS's in a subscreen.
    Below this, is another subsreen with three tabs. Currently I do not see anything here? No items.
    Any idea what problem could it be? Do I need to activate BW report templates? Or is there something else??
    Thanks.
    Ali

    Hi,
    BW reports don't cause it. They will be used for reporting vendor evaluation etc.
    There are few things to make SOS to work:
    - material and services must exists in COMMPR01
    - in COMMPR01 Conditions tab must be filled with proper values eg.
      - Ctyp = 01PV
      - Vendor = 332 (Business Partner number)
      - Ammount = 34,00
      - Currency = EUR
      - Valid from = 25.10.2006
      - Valid to = 31.12.9999
    - in COMMPR01 Relationships->Vendor tab:
      - Business Partner = 332
    Save document.
    These values will be show in SOS. In Overview of Sources of Supply will be vendor no 332.
    Please check if Your IPC is work correctly in SPRO->SRM->SRM Server->Cross-Application Basic Settings->Pricing->Check Technical and Customizing Settings for Conditions
    Please look at SAP note 881265, 778253 too.
    Regards,
    Marcin

  • Shopping cart changeable after follow-on document is created

    Hi,
    Something strange in the production env. I'm on SRM 7.
    I create a shopping cart. It gets automatically approved and creates a PO in the backend.
    After this when i open the shopping cart and click on the 'Edit' button, the system opens the shopping cart in edit mode
    I'm able to save new line items. New lines items are displayed with 'Approved' status
    This is not the right behaviour. Strangely this does not happen in our development system
    Any solution /  notes ?
    Rgds
    Venkat

    Hi
    I think whatever role it may be but system should not allow to edit the shopping cart ITEM after creating follow on docuement.
    What is the item status of shopping cart . Is it follow on document deleted? OR Error in process?
    Muthu
    Edited by: Muthuraman Govindasamy on Dec 31, 2010 6:24 AM

  • Problem in changing follow up document Transaction type using CRM_COPY_BADI

    Hi,
    I am creating follow up document ( Service Contract ) to another service contract. Now Based on a condition, in CRM_COPY_BADI, I have to change the follow up document type forcefully to Service Contract Quotation.
    Menas, eventhough I select ZSC, I have to change it to ZSCQ using CRM_COPY_BADi.
    Can you please help me, how to do it.
    Thanks
    Sandeep

    Yes, Rajesh is right. You can use action profile for that kind of stuff. For the action just use the method call COPY_DOCUMENT. And of course you then create several action which trigger this method and in action parameters define which action is triggerred when.
    Regards.

  • Creating follow up via report

    HI Experts,
    I have requirement to create follow up document via report program from quote to sales order.
    For this I am reading details from crm_order_read and passing to crm_order_maintain.
    I am able to create sales order but not able provide link in transaction history.
    How can I achieve this?
    Any help will be much appreciated and rewarded.
    Thanks & Regards,
    Anil

    Thanks again.
    Ya..followup is created without the product and quantity.
    Please find my below code.
    ls_orderadm_h-process_type = 'ZOR'.
    ls_input_names-fieldname = 'PROCESS_TYPE'.
    INSERT ls_input_names INTO TABLE ls_input_field-field_names.
    * add to header data
    ls_orderadm_h-guid = lv_header_guid .
    INSERT ls_orderadm_h INTO TABLE lt_orderadm_h_hlp.
    * add to input fields
    ls_input_field-objectname = 'ORDERADM_H'.
    ls_input_field-ref_handle = '100'.
    INSERT ls_input_field INTO TABLE lt_input_field.
    REFRESH ls_input_field-field_names.
    ls_predecessor-pred_guid = lv_header_ref.
    ls_predecessor-handle    = ls_orderadm_h-handle.
    INSERT ls_predecessor INTO TABLE lt_predecessor.
    CALL FUNCTION 'CRM_COPY_PROCESS_PREPARE'
    EXPORTING
    it_orderadm_h     = lt_orderadm_h_hlp
    it_orderadm_i_ref = lt_orderadm_i_ref
    it_predecessor    = lt_predecessor
    iv_vona_kind      = 'A'
    IMPORTING
    *       ET_DOC_FLOW       =
    et_orderadm_i     = lt_orderadm_i
    et_orderadm_h     = lt_orderadm_h
    CHANGING
    ct_input_fields   = lt_input_field
    * EXCEPTIONS
    *       ERROR_OCCURRED    = 1
    *       OTHERS            = 2
    IF sy-subrc <> 0.
    * Implement suitable error handling here
    ENDIF.
    DATA :lt_doc_link3    TYPE crmt_doc_flow_extdt,
    ls_doc_link3    TYPE crmt_doc_flow_extd,
    lt_input_field1 TYPE crmt_input_field_tab,
    ls_input_field1 TYPE crmt_input_field,
    ls_inputnames1  TYPE crmt_input_field_names,
    lt_inputnames1  TYPE crmt_input_field_names_tab.
    BREAK-POINT.
    CALL FUNCTION 'CRM_ORDER_MAINTAIN'
    *      EXPORTING
    *      IMPORTING
    *       ET_EXCEPTION    =
    CHANGING
    ct_orderadm_h   = lt_orderadm_h
    ct_orderadm_i   = lt_orderadm_i
    ct_input_fields = lt_input_field
    *       CV_LOG_HANDLE   =
    *       CT_PARTNER_ATTRIBUTES         =
    *       ct_doc_flow     = lt_doc_link3
    * EXCEPTIONS
    *       ERROR_OCCURRED  = 1
    *       DOCUMENT_LOCKED = 2
    *       NO_CHANGE_ALLOWED             = 3
    *       NO_AUTHORITY    = 4
    *       OTHERS          = 5
    Thanks
    Anil

  • Scoping Question on follow-up documents for Sales Quotes

    One of the scoping questions in the "Integration into Sales, Service, and Marketing Processes" in the Customer Quotes section asks:
    "Do you want to create follow-up documents for sales quotes from your cloud solution to an external application?"
    See screenshot with the arrow cursor below:
    What follow-up documents is this referring ?
    Would be related to creating Sales Orders in the ERP ?
    What other followup documents could there be ?  The Help text was not very clear.

    Hi Tim,
    On creating the sales quote in C4C, request can be triggered to ERP system for Sales Order Request.
    Once Sales Order gets created in the ERP system, 'Sales Order Request' and 'Sales Order' documents can be captured in C4C.
    Regards,
    Siddhartha

  • No Follow up Document Creation

    Hi,
    Follow up sales order is not getting created from Quotation. While in quotation, when I press 'Create Order' button, nothing happens. Similar situation is there in Lead. While in Lead, button 'Create Opportunity'
    doesn't give any result.
    Please suggest how to make this button active.
    Thanks and Regards
    Vishal

    Hi,
    Can we create follow - up document by opening BSP application in BAB or in from BSP Application link CRM_BSP_FRAME.
    Is it necessary to host the application on the portal and object links needs to be maintained.
    Pls suggest the procedure to how follow up transactions are created in PCUI
    Vishal

Maybe you are looking for

  • Fazer devolução de nota fiscal

    Prezados,           Qual o  procedimento a ser feito no SAP, uma vez que no sistema a nota foi cancelada, mas na SEFAZ não. Como vamos fazer a devolução da nota se a mesma está cancelada? O prazo de cancelamento do SEFAZ já passou. Garato, Fernando M

  • I am trying to install Adobe premiere elements 8 on my new computer (Windows 7). The program ansvers with "the program not installed or can be damaged".

    I am trying to install Adobe premiere elements 8 on my new computer (Windows 7). The program ansvers with "the program is not installed or can be damaged". Then aborts the installation. It`s right, the program is not istalld, it is  what i`m trying t

  • Embedding Flash in Swing

    Hi Flash community I am researching on having the Flash application embedded in the Java Swing GUI. An approach seems to have the Http client view to load the flash url. But are there any additional technologies from Adobe? How extensive is the integ

  • Music player requires title attribute for song nam...

    Hi, I just transferred a set of music to my yellow Lumia 920. Some of the song names do not show up in Lumia music player, and i found the reason : for some of the files, the music file uses the attribute "title". For those files, the song name works

  • Deleted documents in Pages

    Hi there, I am using Mavericks and the latest version of Pages with iCloud. I wanted to send in word format my document created in pages on my Mac but sent another open document instead and the other document has completely disappeared. Any idea what