Problem with creation of follow-on activity in case, by action

Hi all,
Upon creation and saving of a case, I would like an action to automatically create an activity inside this case. When setting up actions for transactions, I have called the method 'COPY_DOCUMENT'. However, when called within a case, the method fails with an error.
Is there a way of configuring an action (in a case) to create an activity?
Any help or experience in the area would be greatly appreciated.
Thanks
Philip

Hi Kai,
You mean the initial value for the transaction type right? I had done this correctly. Basically I have defined the action in a way that works when the activity is created from another transaction. But it does not work when triggered from the Case.
Error message:
  Exception Class CX_SY_MOVE_CAST_ERROR
  Error Name MOVE_CAST_ERROR
  Program CL_ACTION_EXECUTE=============CP
  Include CL_ACTION_EXECUTE=============CM003
  ABAP Class CL_ACTION_EXECUTE
  Method GET_REF_OBJECT
  Line 8 
  Long text During a 'CAST' operation ('?=' oder 'MOVE ? TO')a type conflict occurred. The source type  
  '\CLASS=CL_SCMG_CASE_PPF' is not compatible for assigning with the target type  
  '\CLASS=CL_DOC_CRM_ORDER'.
Thanks
Phil
Edited by: Philip Wroblewski on Jan 29, 2008 1:37 AM

Similar Messages

  • Problems with creation of catalogue XPGrpwise and temporary

    Problems with creation of catalogue XPGrpwise and temporary files.
    I use GroupWise 8.01 and WinXP (SP2), OpenOffice 3.1.
    Why at opening files in Library, temporary files are not created in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\XPGrpwise, and created in catalogue C:\Documents and Settings\Jon Smith\My Documents. That causes problems. How to change a situation that worked as it is necessary.
    Catalogue XPGrpWise is created and leaves duly in catalogue C:\Documents and Settings\Jon Smith\Local Settings\Temp\.

    Cvetaev,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Problem with creation of jar with external libraries

    hi guys, I've no problem with creation of jar,i use this command:
    jar -mcf MANIFEST.MF NameFile.jar *.class
    my file manifest is this:
    Manifest-Version: 1.0
    Created-By: Me
    Main-Class: NameFile
    Now,I've to make a jar file,but i have to use some external libraries in jar format.
    I've read on sun tutorial and i've added to manifest this line:
    Class-Path: dt.jar formshelp.jar formsrt.jar jh.jar looks-1.3.1.jar substance.jar TableLayout.jar
    But the jar file doesn't work, neither with a double click nor with console...
    Someone can help me?Thanks!:)

    Darkweb wrote:
    sorry but,the external libraries that i use are in .jar,what i've to do to include these libraries in my jar?One of 3 things
    1) Take them out of the jar, and put them in a folder, preferably a folder in the same folder as the jar
    2) Write a custom classloader to load classes from nested jars
    3) Extract the contents of all the dependency jars, and jar them all up with your own code
    The first is almost always the most preferable, the second one is doable but brittle and resistent to updating dependencies ( you have to release everything for any changes you need, even if it's not a change in your own code ) and the third one is tedious and suffers from the same robustness problems of the second, not to mention that a lot of software licences prohibit you from actually doing it. Do the first one, it's by far the most common and easiest to maintain. I really wouldn't advise the third option, ever, though. Any activity that reduces the modularity of your application is ill-advised

  • Problem with Creation of TemSe file...

    HI Experts...
    Here im facing the problem with creation of # 3 rd Quarters
    Temse file.when ever i use the tcode pc00_m40_f24 and entering the details of quater 3 ...here im showing up the ABAP Runtime error."""Overflow for arthimitic operation Type P in program  HINCF240"".
    What could be done to overcome the problem.Please advice.
    Regards,
    V Sai.

    Hi experts/Sriram...
    Thanks for the reply.
    The -
    >showing the line....
            QS80_TAB-DEDMT=QS80_TAB-DEDMT+S80-DEDMT
    Where should we change to get rid of this runtime error.
    Here in my quality everthing is fine and we have uploaded patches in quality upto recent one sp80.But in prod. the patchlevel is sp71.Will it be the reason.
    Please advice me on this as i have to complete the issue of F16.
    Thanks and Regards,
    V Sai.

  • There is any Performance problem with Creation of many Y or Z  Programs.

    HI,
    There is any Performance problem with Creation of many Y or Z  Programs. plz give clarity regarding this to me......
    regards
    ganesh

    Ganesh,
    Can you please mention the context and the purpose of creating these custom program.  And application are you referring to?
    Regards,
    Rohit

  • I have a problem with my iphone 4s's activation.

    I have a problem with my iphone 4s's activation. After upgrading IOS 7.0.4 the activation required me an account icloud.com with password that i forgot... it is not my usualy apple ID (wherewith i have activate my iphone)!
    Right now i haven't yet complited de activation, how can i risolve it??? thanks

    This is called Activation Lock, & there is no way around it. To re-activate this phone, you MUST use the Apple ID/Password that was originally used to activate the phone. If you don't know this info, you WILL NOT be able to re-activate this phone. It will be useless, & Apple can't/won't help you.
    Resetting your phone, as suggested by Rahul won't help either. If you forgot your Apple ID, you can use this:
    https://iforgot.apple.com/appleid
    Regardless, you'll have to remember this info. Otherwise, all you'll own is a paperweight.

  • Problem with creation of site (SMWP)

    Hi All
    I am currently working on SAP SRM 7.0 , middleware settings for master data replication from SAP ECC to SRM.
    I am facing a strange issue. when I try to create a site for backend ECC system in transaction SMWP. When I click on site attributes for typr R/3 and give the ECC RFC destination , system throws an error "Logical System is not defined in target system".
    I have checked multiple times in ECC and SRM ALE settings where logical system for SRM and ECC is correctly defined. There seems to be no problems with RFC connections  also in both ECC and SRM as I am able to remote log in.
    Kindly let me know what could be the possible reason for this issue
    Awaiting your reply
    Pawan Keshwani

    Hi Nikhil
    Thanks for your prompt reply. I have already checked this blog although I have doubts with my system Landscape definition.
    While defining system landscape in "SPRO-> SRM Server-> Technical Basic settings->Define System Landscape" there are two attributes System Lanscape Directory Name and system Type. I might have put wrong information here.
    Can you plz let me know what do you put in these fields? Is this information provided by BASIS team during installation?
    Regards
    Pawan

  • Problems with creation of an HEAP Dump

    Dear all,
    I have tried to create a HEAP Dump (CntrBreak) with the Java-based SAPMC Console (Process Table => server<no.> => DumpStack, but I get no dump on operation system (/usr/sap/<SID>/JC01/j2ee/cluster/server0/). I set the parameter -XX:HeapDumpOnOutOfMemoryError -XX:HeapDumpOnCtrlBreak in the VM. Our Java version is 1.4.12, the OS is Sun Solaris.
    Did anyone know why it not functioned in our solution?
    Many thanks in advanced.
    Patrick

    Hi,
    The Java based MC should provide the same functionality as the MMC. I tested today to trigger a heap dump as you have described and I had success.
    As the "Dump Stack" action is a protected one, the user should be asked for user/pass. Is it also for you so?
    And I have found several notes describing problems with the authentication of the sapstartsrv user on different unix platforms. As there is no action at all logged in your case, I guess that this could be the problem.
    Here are the notes I found:
    [Note 927637 - Web service authentication in sapstartsrv as of Release 7.00|https://service.sap.com/sap/support/notes/927637]
    [Note 992907 - sapstartsrv user authentication on Solaris|https://service.sap.com/sap/support/notes/992907]
    I hope this helps.
    Have you tried already to perform the action from an MMC?
    Regards,
    Krum

  • Problem with creation of table

    i have created  one custom table with three fields. ( mandt(k),amount(K),desc)).
    while creating the table for the first time i attached INT4 domain for the amount field.
    since it want to compare with this value amount field in in the table (BSEG-WRBTR) it is no giving an error of inconsistent.
    i have given delivery class : C and application as APPL1 .buffering not allowed.
    Now if try to change the domain with CURR of length (13) is giving follwoing error log.
    1 enhancement category is missing for the table (warning).
    2. enhancement category for the subtype or include is missing.
    3.table-amount field ( specify the reference table and field.
    4.key field amount has type CURR buffering not possible.
    5.activation of table is not possible.
    Please help me in solving the problem.
    regards
    GB

    Hi
    First keep some CHAR field as KEY field in the table
    You are keeping CURR field as Key field
    and for Qty and amount fields always reference key field has to be mentioned
    like VBAK-NETWR  REF FIELD is VBAK-WAERK
    for EKPO-MENGE  ref field is EKPO-MEINS
    3.table-amount field ( specify the reference table and field.
    so give some vbak-waerk
    4.key field amount has type CURR buffering not possible.
    remove this field as key field and keep some CHAR field as Key field
    5.activation of table is not possible.
    Once you correct all of them it is activated.
    1 enhancement category is missing for the table (warning).
    2. enhancement category for the subtype or include is missing.
    You can ignore them
    or see the doc
    Enhancement Category Selection
    Structures and tables that were defined by SAP in the ABAP Dictionary can be enhanced subsequently by customers using Customizing includes or append structures. The enhancements do not only refer to structures/ tables themselves, but also to dependent structures that adopt the enhancement as an include or referenced structure. Append structures that only take effect at the end of the original structure can also cause shifts - in the case of dependent structures - even within these structures.
    You must select an enhancement category for the following reason: In programs where there is no active Unicode check, enhancements to tables and structures can cause syntax and runtime errors during type checks and particularly in combination with deep structures.
    In programs where there is an active Unicode check, statements, operand checks, and accesses with an offset and length are problematic - for example, if numeric or deep components are inserted into a purely character-type structure and the structure thus loses its character- type nature.
    Depending on the structure definition, the radio buttons allowed in the dialog box are ready for input. Choose one of the possible enhancement categories:
    Cannot be enhanced
    The structure must not be enhanced.
    Can be enhanced or character type
    All structure components and their enhancements must be character-type (C, N, D, or T). The original structure and all enhancements through Customizing includes or through append structures are subject to this limitation.
    Can be enhanced or character-type or numeric
    The structure and its enhancement must not contain any deep data types (tables, references, strings).
    Can be enhanced in any way
    The structure and its enhancement may contain components whose data type can be of any type.
    Not classified
    This category can be chosen, for example, for a transition status; however, it must not be chosen for creating structures.
    The rules for defining the enhancement category result implicitly from the structure setup and the classification of the types used. These rules are as follows:
    If the object contains at least one numeric type or a substructure or component (field has a structure/table/view as its type) that can be enhanced numerically, the object can no longer be enhanced character-type, but is itself, at most, enhanceable character-type or numeric.
    If the object contains a deep component (string, reference, or table type), or it contains a substructure or component that is marked as enhanceable in any way, then the object itself is enhanceable in any way.
    If the object does not contain any substructure or component that is marked as enhanceable, you can select cannot be enhanced. If the structure has not yet been enhanced, you can choose the categorycannot be enhanced in any case.
    If you are creating new tables and structures in the ABAP Dictionary, the system proposes the category can be enhanced in any way as standard value for the classification of the enhancement options. If the developer chooses a more restrictive classification than can be enhanced in any way for a particular structure, then only the classification levels that adhere to the rules above are allowed. It is not possible to choose an enhancement option of a structure that is more restrictive than the classification resulting immplicitly from the structure setup and from the classification of the types used. Therefore, only the allowed categories are proposed for selection in the maintenance user interface.
    If a structure depends on one or several other structures, the smallest category is chosen as implicit classification (in the order cannot be enhanced < can be enhanced and character-type < can be enhanced and character-type or numeric < can be enhanced in any way). This classification is greater than or less than the category in the other structures and also greater than or the same as the category that results from the actual setup in the original structure itself.
    For more information, refer to the online documentation (pushbutton "i").
    Reward points for useful Answers
    Regards
    Anji

  • Problem with Creation of CRM Order via Function Module Test

    I am trying to check the order creation process from external systems by using the test function in Tcode SE37 with Function Module BAPI_BUSPROCESSND_CREATEMULTI.
    I have created a Test Sequence of the following FMs:
    BAPI_BUSPROCESSND_PROCSETTINGS
    BAPI_BUSPROCESSND_CREATEMULTI
    BAPI_PROCESS_SAVE
    BAPI_TRANSACTION_COMMIT
    All that I have been able to create so far is an order header without a Sold-to or Ship-to and no items. I am able to populate the Organization data, Header text and Appointments. The only partner function that is being populated is the one that is being automatically picked up from my user master.
    For the BAPI_BUSPROCESSND_CREATEMULTI I am populating the following tables:
    HEADER          1 entry
    ITEM               2 entries
    PARTNER          2 entries
    ORGANISATION     1 entry
    APPOINTMENT          2 entries
    INPUT_FIELDS          41 entries     
    SCHEDULELINE     2 entries
    I have created the entries based upon information gained through debugging function module CRM_ORDER_MAINTAIN during the creation of a service order.
    It would be interesting to know if anybody has successfully created an order via the SE37 test function and if so, it would be useful to see the data in the relevant tables.

    HEllo ,
    Write a wrapper to the function module CRM_ORDER_MAINTAIN.
    To populate the Text use below code
      ls_input_field_names-fieldname  = 'REF_GUID'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'REF_KIND'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'TDID'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'TDSPRAS'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'TDSTYLE'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'TDFORM'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'LINES'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      ls_input_field_names-fieldname  = 'MODE'.
      INSERT ls_input_field_names INTO TABLE lt_input_field_names.
      CLEAR ls_input_fields.
      ls_input_fields-ref_guid    = attr_guid.
      ls_input_fields-ref_kind    = 'A'.
      ls_input_fields-objectname  = 'TEXTS'.
      CONCATENATE 'CRM_ORDERH' order_guid INTO ls_input_fields-logical_key.
      ls_input_fields-field_names = lt_input_field_names.
      INSERT ls_input_fields INTO TABLE attr_t_inputfields.
    Call Order maintain FM to create any order
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
        EXPORTING
          it_text               = lp_order->attr_t_text
          it_partner          = lp_order->attr_t_partner
        IMPORTING
          et_exception     = et_exception
        CHANGING
          ct_orderadm_h     = lp_order->attr_t_orderadm_h
          ct_input_fields      = lp_order->attr_t_inputfields
        EXCEPTIONS
          error_occurred    = 1
          document_locked   = 2
          no_change_allowed = 3
          no_authority      = 4
          OTHERS            = 5.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Regards
    Satish

  • ACE - Problem with creation of selective BP Rule

    Hello Experts,
    I want to restrict the visibility of Accounts with ACE into CRM. The users should only have the right to see Accounts (Sold-to) with the same sales organization as himself.
    Therefore if implemented the Interface Method GET_ACTORS_FROM_OBJECTS :
      TYPES: BEGIN OF partner_data,
              partner         TYPE bu_partner,
              partner_guid    TYPE bu_partner_guid,
            END OF partner_data.
      DATA: lt_partner_data TYPE TABLE OF partner_data,
            ls_partner_data TYPE partner_data,
            lv_guid TYPE bu_partner_guid,
            ls_object_guid TYPE crms_ace_object_guid,
            lv_rltyp       TYPE bu_partnerrole.
      SELECT partner partner_guid FROM but000 INTO CORRESPONDING FIELDS OF TABLE lt_partner_data.
      LOOP AT lt_partner_data INTO ls_partner_data.
        SELECT SINGLE rltyp FROM but100 INTO lv_rltyp WHERE partner = ls_partner_data-partner.
        IF lv_rltyp EQ 'CRM000'.
          ls_object_guid-object_guid = ls_partner_data-partner_guid.
          APPEND ls_object_guid TO ex_object_guid_table.
        ENDIF.
      ENDLOOP
    Everything works fine, and the users could only find the accounts which have the same sales organization as the user.
    But now, the users couldn't find any contact person in the system.
    My solution for that problem was to implement a second ACE rule, where the users get access to all other BP except Accounts.
    For me, this solution is unsatisfactory!
    In a system with about 100.000 Contacts this solution would significally degrade the performance. There will be thousands of entries in the ACE tables which weren't needed.
    I only want to filter the Accounts mit ACE and nothing more.
    Is there a possibility to filter only Accounts with ACE?
    Regards
    Steffen

    Hi Steffen,
    with the activation of ACE this is indeed one of those side effects.
    isn't there any way to do some extra coding in the runtime check of ACE? If you can check there is the object the user wants to see is a person that would save you a lot of work.

  • Help! - Problem with TV capture following Noodle upgrade

    Hi All,
    Hoping someone here can help me with a little problem i've found after upgrading to 'Noodle'.
    After upgrade and switching to hwd from hotplug the bttv driver seems to be loaded okay for my Leadtek Winfast XP and i can see and hear TV using tvtime as before, (had to alsaconf after upgrade to get sound from my soundblaster live but otherwise ok).
    My problem comes when i use the following command to try and capture TV:
    mencoder -tv driver=v4l2:width=640:height=480:device=/dev/video0 -vf crop=760:568,pp=lb -ovc lavc -lavcopts vcodec=mpeg4:vqscale=6.1:vbitrate=2000 -oac mp3lame -lameopts abr:br=80 -o output.avi tv://
    I've been uisng this command perfectly well up unitl this weekend when i took the plunge and upgraded. Since then i can capture the video from the TV card but the resulting capture never has any sound???
    Prior to the upgrade i would have to adjust my volumes manually via the gnome volume control, lowering my master and PCM feeds and upping the Line and Capture options in the capture sections. This was to ensure the volume on my captures was not too loud, but it makes no difference now as i get no audio fullstop..
    [edit]
    For the record i have not upgraded mplayer to the latest version due to incompatibility with other scripts i use. The version i'm using is: MPlayer 1.0pre6-3.4.3.
    I might try and upgrade this incase its an mplayer prob with the rest of the system, which maybe fixed in the current version.
    [edit]
    I suspect this is a problem caused by udev or a missing device and or rights issue, but unfortunately after hours of slaving i have not made any headway and i'm not sure where to go from here. I was hoping someone maybe able to explain whats happening and perhaps offer a solution.
    Its as if mencoder is trying to get the audio from the wrong feed or  something???
    Any help would be greatly appreciated.
    Regards
    Spitbyte
    PS: I have removed and reinstalled alsa and also reconfigured several times using alsaconf.

    Cerebral wrote:Well, there's a quick way to test if it's a permissions problem: does it run correctly as root user?
    Nope, it does exactly the same as root. So i guess its not a permission related problem. Thanks for the idea though
    I've just found this site:
    http://www.linuxtv.org/v4lwiki/index.php/TVCapture_98
    and played with the amixer commands.
    I have the capture options exactly as they say, save for the ID is 68. I have tried all the options 1 thru 7 and can't get an audio stream on any. (ive also adjusted volume levels)
    I also noticed that there was a separate option in the full amixer listing (amixer controls) for Line playback. Out of curiosity i ran tvtime and then adjusted the volume of the Line playback option via amixer and this lowers the volume that tvtime is using.
    This is interesting as i thought tvtime was using the capture channel for audio, it obviously is not and thats why i can get a feed with tvtime and not with mencoder.
    So my TV card must be okay as i'm definately getting sound from it to my soundcard. The issue looks to lie with the soundcard. However, i've tried capture on my onboard sound and this does not work either. What are the chances of both sound chips failing, unlikely me thinks.
    So again, i'm coming back to the idea that something has not been loaded that allows capture????
    Also, if i try and watch tv via mplayer (mplayer tv:// -tv driver=v4l2:width=768:height=576:outfmt=yuy2 -vf pp=lb), then i get no sound. I'm trying to work out how to specify to mplayer which audio source to use but i'm getting lost in the man page a little (sooooooo many options ), i believe tvtime (as per man page) uses '/dev/mixer:line' as its default feed and this works, so i've just got to try and work out how to define this within the mplayer command to see if i can get sound.
    My next step after this would be to see if i can route the line playback feed to mencoder for capturing ????
    I dunno if i'm getting anywhere, but i'll soldier on. Please help if you can
    Regards
    Spitbyte

  • Problem with Creation of Source module for MS Access

    I am having a problem in creating a source module connected with an "MS Access" file in OWB 9i using the heterogeneous services. I have created a DSN to an access file (.mdb) and created the HS in Oracle (modified the tsnames.ora and listener.ora files with required details). Created a Database link using this service and it's working fine in SQL PLUS, but I am unable to create a Source module in OWB 9i using this db link, since OWB 9i need a schema name for db link. In MS access it's not possible to have a schema.
    Please help me in solving the above issue.
    Thanks in advance
    Jagan

    What version of OWB and Oracle database are you using? If it is an OWB version 9.0.4 or higher, I presume you are trying to create a non Oracle source module under the Oracle Database node - is this the case? If yes, you should not do that, but create your MS Access module under Databases->Other->Other node (as I understand you are not using ODBC). Let me know if my assumptions are correct.
    Regards:
    Igor

  • Problem with creation of Return Delivery

    Hi gurus,
    I have created a return sales order without reference. But when I click on PGR, following error is shown
    1) Item 10, mtl staging data 10.03.08 replaced by current date
    2) Outbound delivery is on backorder.(check shipping deadline).
    Please let me know how to resolve this issue, since i am not aware of back order processing.
    Thanks in advance,
    Amol

    Hi Amol,
    Please ignore my earlier post.
    normally you create a Returns Order with reference to a earlier Invoice or Sales order .
    In your case ,Based on the returns order , u need to create a returns delivery and then do the PGR,
    later based on the returns delivery to need to create a returns credit memo.
    Thanks,
    Umesh.

  • Problem with creation of Sales Order with reference to Contract

    Hi,
    I have a problem when creating Sales order with reference to Contract , shipping condition was not copied. Is there any existing copy routines suitable to accomodate this?
    Thanks!

    your functional team can help you in finding one.

Maybe you are looking for

  • How can I make sure that icloud deleted my stolen device

    I got my iphone stolen about 2 weeks ago, and proceeded to send a deletion request next time the iphone was connected to wi-fi. I forgot about the subject until yesterday when, while browsing through my pictures, I came up to a picture I didn't take.

  • Sharing iPhoto Library from HD on iMac with SSD/HD

    I'm looking for guidance on how to share the iPhoto library among users on a single iMac from the HD drive, as opposed to the SSD.  The shared folder appears to only extend to the SSD and I'd prefer to set up the machine so photo content resides on t

  • Encoding in Receiver side file adapter

    Hi All, I have special characters in message structure. While writing the message to output file the special characters are not getting printed(getting replaced by '?'); I have tried using UTF8, ISO-8859-1 and other code pages related to latin charac

  • Movie file on photo gallery page

    I added a small movie file to the bottom on a photo gallery page. That works out fine, but then the same movie displays at the bottom of each page when individual images are displayed, which I don't want. I know that it's all one page under the hood.

  • Overheating issues Macbook Pro 13" (newest version)

    I bought one of the new Macbook Pro's with Haswell, the version which I believe retails at £1,249 in the UK. I recently started playing the new Football Manager and after minutes of me turning the game on the laptop is becoming very hot, and in turn