Unable to create followup document

Hi All,
I am trying to create followup document from activity,
but unable to get successful, actually debugged standard order maintain function module also,
I  populated & followed the same in my zprogram too,
but for the same values from standard program i.e CRMD_ORDER tcode linked GUID got generating, but from my code it is not
generating followup document GUID....please help me out where I am doing mistake.......
thanking you
by code is like below :-
******followup document create
*****header
CLEAR : wa_ct_orderadm_h, ct_orderadm_h.
wa_ct_orderadm_h-handle = '0000000001'.
wa_ct_orderadm_h-mode = 'A'.
wa_ct_orderadm_h-process_type = 'Z4D2'.
APPEND wa_ct_orderadm_h TO ct_orderadm_h.
*****input fields
CLEAR : wa_crmt_input_field, wa_crmt_input_field_names, wa_crmt_input_field-field_names.
REFRESH : ct_input_fields.
wa_crmt_input_field-ref_handle = '0000000001'.
wa_crmt_input_field-ref_kind = 'A'.
wa_crmt_input_field-objectname = 'ORDERADM_H'.
wa_crmt_input_field_names-fieldname = 'MODE'.
INSERT wa_crmt_input_field_names INTO TABLE wa_crmt_input_field-field_names.
wa_crmt_input_field_names-fieldname = 'PROCESS_TYPE'. "MANUAL
INSERT wa_crmt_input_field_names INTO TABLE wa_crmt_input_field-field_names.
APPEND wa_crmt_input_field TO ct_input_fields.
   document link
CLEAR : ct_doc_flow, wa_ct_doc_flow, wa_doc_link, it_doc_link.
wa_ct_doc_flow-ref_handle = '0000000001'.
wa_ct_doc_flow-ref_kind = 'A'.
wa_doc_link-objkey_a = wa_et_doc_flow-objkey_b.
wa_doc_link-vona_kind = 'A'.
wa_DOC_link-handle_b = '0000000001'.
*wa_doc_link-reltype = 'VONA'.
wa_doc_link-brel_kind = 'A'.
wa_doc_link-brel_mode = 'A'.
INSERT wa_doc_link INTO TABLE wa_ct_doc_flow-doc_link.
INSERT wa_ct_doc_flow INTO TABLE ct_doc_flow.
CALL FUNCTION 'CRM_ORDER_MAINTAIN'
  IMPORTING
    et_exception            = it_exception
  CHANGING
    ct_orderadm_h           = ct_orderadm_h
   ct_orderadm_i           = ct_orderadm_i
    ct_input_fields         = ct_input_fields
   cv_log_handle           = cv_log_handle
   ct_partner_attributes   = ct_partner_attributes
    ct_doc_flow             = ct_doc_flow
  EXCEPTIONS
    error_occurred          = 1
    document_locked         = 2
    no_change_allowed       = 3
    no_authority            = 4
    OTHERS                  = 5.
******followup document end
READ TABLE ct_doc_flow INTO wa_ct_doc_flow INDEX 1.
IF sy-subrc EQ 0.
  READ TABLE wa_ct_doc_flow-doc_link INTO wa_doc_link INDEX 1.
  IF sy-subrc EQ 0.
    v_guid16 = wa_doc_link-objkey_b.
  ENDIF.
ENDIF.

CRM_ORDER_MAINTAIN to create follow up document
To create follow up : Service Confirmation document
Creating follow up transactions
Create a Preceeding doucument using CRM_ORDER_MAINTAIN
check these links, might be helpful.
Thanks
Raman

Similar Messages

  • Unable to create Accounting document for my Outgoing excise Invoice

    Dear All,
    I am implementing sales from Factory. I am unable to creat accounting document for my Outgoing excise invoice.  When I click the Utilization button, The excise invoice type is selected Deemed.
    1. How to control which Which Excise invoice type should be selected in J1IIN.
    2. For Deemed exports will system not genererate Accounting document for Excise Invoice?
    3. Where to view the excise invoice document types (Like Billing and order types)
    Thanks & Regards

    For deemed export sales,
    -Accounting documents will not get generated. (ref: Excise Acct Determination in CIN settings, you will not find Excise Tranraction type:ARE3 for which G/L account will not be assigned)
    -Excise Invoice type will be automatically triggered based on configuration : Excise Group / Series Group detetermination.
    - For Deemed Exports , only Quantity will get updated in RG1, but not the value. thats the reason, accounting document will not get generated.
    - This excise invoice is created, for - to update the RG1 registry / ARE3 creation.
    hope it clears
    regards,

  • Unable to create followup activity in crm portal

    Hi All,
      When we are trying to create a follow-up document for an activity 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.  We are using CRM 5.0
    I have given all the necessary authorizations and the sales representative role is also added still the issue is seen.
    please suggest
    Thanks & Regards,
    Swetha

    You need to maintain blueprint table entries for the Back End CRM roles that you have created. Goto Transaction CRMC_BLUEPRINT_C navigate to Navigation(URL generation) "Assign object Method to Role" .
    Add a new entry for your custom role if you have assigned the custom role in portal to the Enterprise Profile and under object type select the type of object you are trying to create followup(Example Opportunity,Order) , Method type is "Application" and Implementation Type : S - BSP as external Service and in ID Page/Service give the PCD location of the Portal Role that you are using.
    Regards,
    Swami
    Reward points if it helps.

  • Create "Followup document" in Service Ticket

    Dear Experts,
    I'm performing mass creation for Service Ticket by using IDOC basic type CRMXIF_ORDER_SAVE_U01.
    At the same time, i need to create a "Followup document" for the service ticket as well, and hence i utilized the segment E101CRMXIF_DOC_FLOW with below field population:
    APPL_SNAME = E101CRMXIF_DOC_FLOW
    RELATION_TYPE = VONA
    RELOBJ_TYPE = BUS2000116
    RELOBJ_OBJECT_ID = 1234567
    RELATION_TYPE_ATTR = A
    I can not get any Followup doc created. Basically i did tried to take off the value for RELOBJ_OBJECT_ID, but it still didn't worked.
    Could you please comment what went wrong? Or any steps that i have left out?
    Thanks in advance.

    Hello FSCHU,
    Please refer notes 1036737 and see if this helps.
    regards,
    Muralidhar Prasad Chatna

  • Unable to Create Work Document in SharePoint 2010 by one user

    Hi,
       We have a unique issue. One user in our organisation is not able to create Word Document in our SharePoint environments.
    We have SharePoint 2010 Enterprise Edition and Office 2010 Professional Edition. This issue is faced by only one user in our organization. no issues for thousands of other users.
    We tested with our multiple SharePoint environments of different type of web applications. No where user is able to create Word Document using New Document functionality.
    User is able to create Excel, PowerPoint documents of all extensions. User is able to upload Word Document. User is able to Edit the existing word documents both in browser and Word client.
    Since it fails in all SharePoint environments, I am suspecting some common failure point like User Profile issue, CAL etc. Any suggestions from experts like you is highly appreciated.
    Thanks in advance.

    Hi Sivanandham,
    Could you please test two more options below with the user for narrowing down the issue scope?
    Create a new content type inheriting from content type Document and then upload a new word file as the template to the new content type.
    Change the word template for the content type with issue when the user creates a document from the content type.
    Please also check ULS log for more detailed error for further research.
    Best regards,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Unable to create  followup and view transaction types for InteractionRecord

    Hi,
    We are currently working in crm 7.0 environment.
    we are not able to create followup transaction for Interaction Record -
    Transaction Type -  Business activity(0010).
    We are not even able to view the standard transaction types available
    when we select followup both in UI and GuI.
    Any inputs in this regard are rewarded and appreciated.

    Hi sreenicrm,
    Have you configured anything in the "Allowed Channels for transaction types".
    If not, it may be worth copying the standard transation type and then setting the values in the above screens.
    if you set a values of "interaction Center"(IAC) and "CRM Server"(GUI) then you shoudl see the activity.
    I am using CRM 5.0 but would imaging it is similar in 7.0.
    HTH
    Gaz

  • BAPI_ACC_DOCUMENT_POST - Unable to create accounting document

    Hi All,
    I am trying to post a document using BAPI "BAPI_ACC_DOCUMENT_POST" and "BAPI_TRANSACTION_COMMIT " . On execution the following message is being displayed "                                                                   
    S RW  605 Document posted successfully: FKKSU $ I00CLT030 " .  But, I could not able to see the accounting document number generated in BKPF / BSEG table.
    Can any one of you help me in creating the accounting document number in BSEG / BKPF table using the above said BAPI. Is there any thing which needs to be maintained in customization?
    Thanks in advance.
    Sunil.K

    May be this is little late to answer .. but still it will be better for clarity.
    First of all accouting document will be generated only after commit of the BAPI i.e. call BAPI_TRANSACTION_COMMIT after  BAPI_ACC_DOCUMENT_POST.
    Second to check the accounting document number  generated from BAPI
    When filling the BAPI interface, leave the following fields empty if  the FI document number is to be the reference document number for  the posting:                                                                               
    o  DOCUMENTHEADER:                                OBJ_TYPE, OBJ_KEY and OBJ_SYS       
    o  DOCUMENTHEADER and ACCOUNTGL:   AC_DOC_NO                           
    o  ACCOUNT_GL:                                         STAT_CON, AC_DOC_NO 
    In the importing paramters
         IMPORTING
           obj_type          = l_type
           obj_key           = l_key
           obj_sys           = l_sys
    The first 10 character of l_key will contain the FI document number

  • Unable to create a Document

    Hello Everyone,
    I have never had this problem till today.  When I start pages and select a new document and pick a blank page to start with.
    The document opens with a thumbnail on the left side and looks like a blank document on the right.  However, when I try and type anything I just get a beeping sound and I am unable to enter any information.
    I can not set the font or size as they are all grayed out??
    I am using an iMac and the version is 4.3
    Thanks for any help

    Thank you very much. 
    I feel so stupid, just picked a blank page.
    Thanks for being there and I appreciate the help as I am new to this world from coming from the PC world and use to using Word.
    Thanks again... for being there and helping an Old guy.
    Clif

  • Once,User create Followup Document Then previous Order should be dispaly

    Hi Folks,
    I'm currently in version 5.0, and having trouble with the PCUI customization,
    I have requirement like USER- A create SERVICE ORDER send to USER-B, USER-B Receive service order in CHANGE Mode only, then he will create Follow-up document Service confirmations. And same user comes back to service order that service order should be DISPLAY mode only.
    please help as much as you can ?
    i will appresiate small help also which is so help full.
    please respond as early as possible......

    Outlook 2003
    If you are using Outlook 2003, follow these steps:
    Click My Computer, and then double-click drive C.
    On the File menu, click New, and then click
    Folder.
    Name the folder temp0.
    Click Start, click Run, type regedit, and then click
    OK.
    Locate and then click the following registry key:
    HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Outlook\Security\
    In the right pane, double-click OutlookSecureTempFolder.
    In Value Data field, type C:\temp0\ and then click
    OK.
    Exit Registry Editor.
    Restart the computer.
    Try this and make the comment
    I used this on Outlook 2007.  Also used the "let us fix it for you" link in the help section after backing up the registry and everything is working, at least for now.
    Hope this helps others!

  • When I try to export the file in word, I get the error "The Save as command has not been able to develop this document. Unable to create file"

    When I try to export the file in word, I get the error "The Save as command has not been able to develop this document. Unable to create file".
    Win7 Pro, 64bit
    Acrobat XI Pro, tryal

    Create a one word pdf file. Try converting to word. If that fails, try a complete uninstall, run the cleaner tool, then re-install.
    Download Adobe Reader and Acrobat Cleaner Tool - Adobe Labs

  • Adobe Acrobat XI Pro. Unable to process the document in the module Save As.File not created

    On the ultrabook Asus (System Settings: WIN 8.1 64-bit, Core I5-3317U CPU @ 1.70 Ghz, Memory 4 Gb), set Adobe Acrobat XI Pro 11.0.09
    When you convert to any format via SaveAs in WORD, EXCEL, or via the Export file in ... throws the error "Unable to process the document in the module Save As. File not created"
    http://youtu.be/l0a0lWexfNQ.

    Hi,
    Please post your query in Adobe Acrobat Thread:Acrobat
    Regards,
    Florence

  • I have a problem. When exporting from PDF to PPTX error "unable to process the document in the module Save As file is not created." What to do?

    I have a problem. When exporting from PDF to PPTX error "unable to process the document in the module Save As file is not created." What to do?
    Windows 7 64
    PC

    everything works on a laptop (

  • 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

  • I am unable to create adobe file from attached document from email

    I am unable to create adobe file from attached document from email. No 'open in' link is available as given in directions. What to do?

    Because there is no abode on the IOS.  you'll need to do a search in the app store to resolve your issue.

  • Unable to create excise invoice against the Material document

    Hi experts,
    Unable to create excise invoice against the Material document in J1IEX transaction.
    Material document is generated through quality management which movement type is 105.
    error message :
    Material document cannot be processed
    Message no. M7130
    Thanks
    SAP MM

    Steps to do GR along with excise,
    1.Capture excise invoice using J1IEX.
    2. Refer excise invoice no. in MIGO(SAP not recommends to post excise invoice against 105 mvmt against blocked stock)
    3. Post excise invoice using J1IEX

Maybe you are looking for

  • Email customer relationship history

    Hi Folks, We've got email configured for Cisco Agent Desktop and UCCX but have questions from business units that we are struggling to come up with answers for.  Staff want to know if they use CAD for email in email CSQs, how they can refer to previo

  • Clone 10.2.0.5 agent problems

    Hello, I have followed instructions of manually cloning agent on Linux hosts. Has anyone been successful at this ? From the error messages, it seems as though cloning is not allowed anymore, but perhaps I am missing something. Here is what I am doing

  • I lost multi windows in safari after synching to iCloud any suggestions?

    I no longer have the icon that I had for the multi screens.  Did I change something inadvertently?

  • Duplication in vendor code

    hi, i am facing problem due to duplication in vendor code. Two codes are existing for one vendor and transactions also done through each codes. Is there any way to transfer all the financial transaction form one vendor code to another in order to kee

  • Activation requested for already activated software

    I have CS6 with all the latest updates installed on a Window 8 partition. I also have Vista and XP on seperate drives with CS4 and CS3 installed respectively. I need the legacy software because I have a large film project that was completed in CS4 wh