Still trying BAPI_ACTIVITYCRM_CREATEMULTI

Hi animesh,
That is the right bapi as u have sent what exactly i needed for getting the list of Activities , it is very helpful to me, still I AM TRYING TO CREATE THE ACTIVITY, i am unable to see after creating. i l send the details to uwht i m doing , check it once and tell me the prob wht i am doing, now i m trying to creating, i l send wht is the result.
                  Regards
                   eswar

Hello Eswar,
Apparently you also need a CRM_ORDER_SAVE call.
Below a small code sample, this should really help you on track.
I've done this in a 5.2 system so structures or parameters might be different on your system.
DATA:lt_head TYPE TABLE OF BAPIBUS2000110_HEADER_INS,
ls_head TYPE BAPIBUS2000110_HEADER_INS,
lt_headx TYPE TABLE OF BAPIBUS2000110_HEADER_INSX,
ls_headx TYPE BAPIBUS2000110_HEADER_INSX,
lt_created TYPE TABLE OF BAPIBUS20001_HEADER_INS,
ls_created TYPE BAPIBUS20001_HEADER_INS,
lt_save TYPE CRMT_OBJECT_GUID_TAB,
lt_saved TYPE CRMT_RETURN_OBJECTS,
lv_guid TYPE CRMT_OBJECT_GUID,
lt_return TYPE BAPIRET2_T.
ls_head-process_type = 'Z000'.
ls_head-description = 'My description'.
INSERT ls_head INTO TABLE lt_head.
ls_headx-process_type = 'X'.
ls_headx-description = 'X'.
INSERT ls_headx INTO TABLE lt_headx.
CALL FUNCTION 'BAPI_ACTIVITYCRM_CREATEMULTI'
  TABLES
    HEADER                = lt_head
    HEADERX               = lt_headx
    CREATED_PROCESS       = lt_created
    RETURN                = lt_return
READ TABLE lt_created INTO ls_created INDEX 1.
lv_guid = ls_created-guid.
INSERT lv_guid INTO TABLE lt_save.
CALL FUNCTION 'CRM_ORDER_SAVE'
  EXPORTING
    IT_OBJECTS_TO_SAVE         = lt_save
  IMPORTING
    ET_SAVED_OBJECTS           = lt_saved
CHANGING
  CV_LOG_HANDLE              =
EXCEPTIONS
  DOCUMENT_NOT_SAVED         = 1
  OTHERS                     = 2
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
In lt_saved you'll find the object_id and guid of the created activity. The Z000 transaction type is a copy of the most basic business activity '0000'. This code will generate an empty bus.act with description 'My Description'. If this works you can add your data to the structures.
P.S. This is a quick and dirty code with no error handling!
<b>Reward points if useful!!</b>
Regards,
Joost

Similar Messages

  • I recently updated my primary email address associated with my Apple ID account. When I go to App store on my iPad it still tries to login to the App store using the old email address I had associated with the account, and naturally my password doesn

    I recently updated my primary email address associated with my Apple ID account.
    Now when I go to App store on my iPad it still tries to login to the App store using the old email address I had associated with the account, and naturally my password doesn't work. I can't figure out how to tell my iPad to login using the updated email address.
    So in effect I'm locked out of the app store and I currently have 26 updates waiting.
    I've tried disconnecting and reconnecting my IPad to iCloud with no luck.. However I cloud happens to show the correct/updated email address.
    Does anyone know how to resolve this?
    Thanks

    Did you change the email for the Apple ID or did you create a new Apple ID? A new Apple ID cannot be used with content that was bought using a different Apple ID.
    Changing the email address you use for your Apple ID -
    http://support.apple.com/kb/HT5621

  • Decommissioned a file server, but every mobile account in the place is still trying to connect to it on login!

    A couple of months ago we decommissioned the 10.4.11 xserve that was serving as our LDAP server and home directory server for mobile accounts.  We migrated all of that to a newer 10.6.8 xserve.  It was a fairly rough migration, but we've pretty much sorted it out except for one last annoyance: when you look at System Preferences->Accounts->Login Items for all of our mobile accounts, every single client is still trying to mount an afp share on the old server.  Logging in takes FOREVER because the connection needs to time out, so now my users are no longer logging out/in as often as they should, and so their Home Sync's are getting old.
    When you go to the client's Preferences, the line referencing the old server share is still there, but the minus sign is greyed out so the item cannot be deleted.
    The Kind is listed as "unknown" and there is a grey warning triangle next to it.
    This is clearly some sort of template/Preference that is hardcoded to the old name, and whatever file this is got moved to the new server (which has a different name and different numeric IP address.)  Because even the BRAND NEW users that I have created since after "pdc04.hgbc.com" disappeared are trying to log in to the non-existent share on the non-existent server, too!
    I have tried running grep on the entire disk on one of the clients looking for the string "pdc04", and updated everything that I found using vi directly on the files.  I have tried running grep on select directory trees on the new file server looking for pdc04.  In my grep on the client, I found the string in
         /Library/Managed Preferences/user/loginwindow.plist
         /Library/Managed Preferences/user/complete.plist
    but searching all of the logingwindow.plist and complete.plist files on the new server comes up with nothing.
    Does anyone have any idea where the template or preference or plist is on the server so that I can delete or update the file with the new host name?

    I think that Grant is on the right track -- but the problem is that whatever file that pdc04's Server Manager wrote into is not available to pdc's Server Manager to edit or even display.
    We upgraded mostly by turning off the G5 10.4 xserve and unplugging the fiber-channel RAID (with user accounts on it) and plugging the RAID into a fiber-channel card on the new (to us) Nehalem 10.6 xserve, which we did after using Migration Assistant between the machines.  Then we had various and sundry problems, and we ended up moving all of the mobile account directories to the internal RAID on the new server.
    Clearly there is a file somewhere that acts as a template for mobile accounts and it refers to the old machine but its been moved to the new machine.
    Only two of the mobile accounts have directories in the /Library/Managed Preferences folder.  One of them, ironically, is mine, and my account hasn't worked right since we went to the new server.

  • I rented a movie off of iTunes for my iPhone 5. My 24 hours are up but it is still trying to download the movie in my store downloads. It will finish downloading and say error and start over. How do I fix this?

    I rented a movie off of iTunes for my iPhone 5. My 24 hours are up but it is still trying to download the movie in my store downloads. It will finish downloading and say error and start over. How do I fix this?

    if u unplug then that could put ur device into recovery mode. i would wait

  • Lumia 920: Still trying to figure out what the pro...

    Aside from being very upset about Nokia's not allowing updates for the unbranded 920s, I'm still trying to figure out what the problem is with my camera...
    I had nearly a perfect working phone one and a half week ago. Even though the battery didn't last well and heated up somehow and there are gliches with some apps, the phone and its original apps worked without problem. Once the battery died in the middle of the night but I thought that it was because I didn't plug the charger well enough, it's a little loose anyway. I read about the freezes and restarts in different forums and was wondering what people were talking about, since I didn't have any such kind of problems. I felt myself being lucky.
    Then I got some app updates (Nokia drive+ and a few others), and ever since then my camera hasn't worked properly. When I open the camera app or click the camera button nine out of ten times it just goes back to the home screen or else it freeze the phone. I have tried soft resets and restarts but they mostly don't work, or they might work long enough to take a couple of photos and then stop working, or otherwise it freeze the phone and need to soft reset it. There is no pattens as to when it works and when it doesn't. I have also tried to uninstall some apps but it seemed to have no effect on the condition of the phone. Every app that utilizes the camera won't work ( camera won't work but other functions work), flashlight app won't work.
    Today I decided to hard reset the phone. It's surprisingly easy procedure that took less than 10 min. I did my first hard reset and chose to use my phone's backup files from Skydrive and it went fine, except it didn't do anything to the camera, i.e. it didn't work. My second hard reset I chose to "start from clean table" (or something of such) without any apps installed, and also disabled the automatic update but it didn't do anything either, no working camera. I did the same procedure once more just in case I did something wrong, but it didn't work. The fourth hard reset I restored from Skydrive to have (mostly) everything in order. No working camera either but almost everything else works now.
    It puzzles me. I'd though that if the reason of camera not working is some app updates then start from the clean table would have resloved it. Even after hard reset using camera at the very first possible chance didn't succeed: it worked for a very short moment before it froze the phone, just like before resetting. If I can keep myself from touching the camera the phone itself works (aside from maybe once or twice restartd itself, very rarely anyway). Now I have a phone with a camera I can't use and I don't have a clue what the problem is. I don't think that there are hardware problems because the camera *worked*, and I don't believe that software updates can break it hardware-wise. I have thought of changing it but who can promise that I'll get a phone that works better. Probably I should wait for Microsoft's/Nokia's updates, it just feels like they never come...

    hi mate,
    Sorry to hear you are having such a rough time with your 920. In this case, it might be best to take your phone back to your point of purchase and ask for a replacement, and if they are being less than helpful, to take it to your local Nokia Care point instead: http://nokia.com/support
    I can certainly empathise with you, as a lot of the issues you describe are apparently fixed by the Portico update by Microsoft that was released yesterday to AT&T and Rogers devices but not the rest of the Lumia Windows Phone 8 range unfortunately. Bit of a wait, but hopefully not too long until the update hits.

  • I have updated my phone to 4.3.3 and I was told there would be more bells and whistles. I haven't found more texting sounds. Have I updated my phone wrong or just not completed it all the way? Please help me. Still trying to figure this iphone 3G out.

    I have updated my phone to 4.3.3 and I was told there would be more bells and whistles. I haven't found more texting sounds. Have I updated my phone wrong or just not completed it all the way? Please help me. Still trying to figure this iphone 3G out.

    You have the iPhone 3GS, not the 3G. The last update to support the iPhone 3G is 4.2.1.
    iOS 4.3.3 includes bug fixes etc. There is nothing really special about this update that wasn't introduced in iOS 4.3. iOS 5 is the one to wait for - it will be released in the Autumn/Fall and includes over '200' new features/improvements.
    The additional text tines and ringtones were an iPhone 4-only feature.

  • I have an iPhone and when I got it, I had a Toshiba laptop.  Now I have a MacBook Pro, but when I try to wi-fi sync my iphone and new computer, it doesn't work because on my iphone it is still trying to sync with my old computer.  How I can fix this?

    I have an iPhone and when I got it, I had a Toshiba laptop.  Now I have a MacBook Pro, but when I try to wi-fi sync my iphone and new computer, it doesn't work because on my iphone it is still trying to sync with my old computer.  How I can fix this?

    Move the content from the old computer to the new computer.
    Sync the iPhone via cable to the new computer and enable Wi-Fi syncing.
    It should now be possible to sync via Wi-Fi to the new computer.

  • HT1725 I've followed the advice to re-commence downloading an interrupted video but I still keep getting an error message. I then deleted the video to start again but the original is still trying to download in the iTunes app. Any ideas what I can do? Tha

    I started downloading a video from iTunes last night on my ipad when my wifi dropped out. Once I'd reconnected my wifi I tried to recommence the download but it kept saying that download was not available at this time. I then tried the steps in iTunes help but got the same message. Finally, I deleted the video (the part that had downloaded) from my video section and tried to start the download again from the start. However, when I go to iTunes it's still trying to download the original and even this morning I'm still getting the error message. Any ideas what I could do to get the video downloaded? I currently only have access to my ipad. Thanks.

    I also have Jolly's problem. I found the iMovie 9.0.9 folder and tried to launch the older version of iMove. It would not launch. I removed all of the iMovie preferences from the Preferences folder, removed iMove 10 from the applications folder, and restarted my Mac. iMove 9.0.9 still won't launch and I can't access my videos created with the older version of iMovie. Is there a way to uninstall iMovie 10 and reinstall iMovie 9.0.9?
    I am running Yosemitie on a  iMac.
    Paul

  • Still trying to get unconfused about drives

    Coming from the Mac world and using a MBP and external storage, all this talk of drives, raids, etc. is making my head spin!
    I know that I will be backing up extensively and can handle the downtime/risk of losing a days data (I'm compulsive about syncing my work on backups as I make progress), so I'm probably going to be avoiding raid since I will likely have 4 drives to start with.
    I'm going to have 1 x Crucial M4 256gb SSD for OS/Programs and most likely (3x) seagate barracuda xt 2tb drives in addition.
    So my first question is, should I be looking at also getting a small SSD for media cache/page files, or am I fine putting this onto a regular harddrive? If I do the latter, should the harddrive have a partition for the page files/cache to help with speed? How big are these files typically? Should I reserve the entire 2tb drive for them?
    I've read through the disk guide, but being a newb to a lot of this I'm still trying to get my head around it.
    So far I think I want:
    1. SSD for os/programs
    2. Drive for page files/media cache (what else goes on here?)
    3. Drive for media/input
    4. Drive for export
    Which drive should my project files go on again?
    Any help clarifying this is much appreciated! When everybody starts taking the math of throughput my head begins spinning still. I'm starting to gain a tiny bit of understanding, but I'm trying to still keep it really simple for myself right now, as I'm building my first workstation and this is only one of many technical concerns I'm currently wrapping my head around!

    should the harddrive have a partition for the page files/cache to help with speed?
    Partitions do not help speed. On the contrary, it reduces speed but increases wear and tear. Compare it to a large loft you have to store your stuff. You can easily walk around your loft and get the stuff you need. That is comparable to a non-partitioned disk. Now imagine that same loft, but partioned into two or more parts with a wall and a door to separate the parts. You have stuff stacked against the wall you need, so you get it, but instead of getting the other stuff you need just  1 foot behind it, you have to walk 12 feet over to the door, open it, walk 12 feet to the other stuff you need, return 12 feet to the door, close it and then go about your thing.  You have just walked 36 feet, where without those partitions 1 foot would have sufficed. Not very efficient, right? Same with partitioning your disk.
    The basic thought on where to put what, is to distribute disk accesses across as many disks as you have. If you have a workflow where you export only a few times, or once when finished, then put your projects and exports together. Remember that SATA is half duplex, so you can only read at one time and write at another time. You can't do both at the same time. When exporting the project is already loaded, the media need to be read and written to the export disk.

  • When i connect my iphone to my pc i get "itunes could not connect to this iphone. An unknown error occurred (0xE8000012) i have the correct itunes i also tried to reset my phone, i did this before i went to bed and it was still trying to reset when i woke

    when i connect my iphone to my pc i get "itunes could not connect to this iphone. An unknown error occurred (0xE8000012) i have the correct itunes i also tried to reset my phone, i did this before i went to bed and it was still trying to reset when i woke the next day should it take this long?

    http://support.apple.com/kb/TS3221

  • Help, still trying to get the basics of Java

    OK, I'm still trying to figure out the basics and on this program decided to write small amounts of code at a time and compile them so I could learn where I was making the mistakes. I keep getting stuck I am getting 5 cannot find symbols on the following code. I've made sure I have imported the Scanner class, checked my brackets, but can't figure out why it is still giving these errors. Can you please help? Why will it not recognize "input"?
    import java.util.Scanner;
    public class Inventory
         public static void main( String args[] )
         String productNum = "";
         String name = "";
         int units = 0;
         double amount = 0;
         Scanner scan = new Scanner( System.in );
         System.out.println ( "Please enter product #" );
         productNum = input.next();
         System.out.println ( "Please enter color name" );
         name = input.next();
         System.out.println ( "Please enter units on hand" );
         units = input.nextInt();
         System.out.println ( "Please enter dollar amount for each unit" );
         amount = input.nextDouble();
         System.out.println (productNum, name, units, amount);
    }

    Doesn't it not mean that your AlbumInventory class does not define a constructor that takes zero arguments?
    e.g
    public class AlbumInventory {
         public static void main(String [] args) {
             AlbumInventory brokenInventory  = new AlbumInventory(); // This will produce compile error
             AlbumInventory workingInventory = new AlbumInventory(5098) // This will compile
         private int id;
         public AlbumInventory (int id) {
              this.id = id;
    }

  • Iphone 3gs vs 4s ... still trying to decide?!

    i'm still trying to decide whether or not i want to upgrade my iphone from 3gs to 4s.  i mean outside of the advertised differences (siri, better camera, front facing camera, flash, better hardware/speed/battery life/etc), are there any other differences?
    i'm still pretty happy with my good 'ol 3gs iphone and since it was eligible to upgrade to ios5, i don't necessarily feel like i'm missing out on much...yet.
    i've read rumors that the NEXT iphone will be even more dramatically different, but i don't know when that may come out and what new features there may be.  i'm a little wary of getting locked into another 2 year contract just to miss out for another year or two on something else more spectacular.
    anyone have any thoughts or find other features that i may be missing out on?

    The iPhone 4S has no more new features than the jump between the 3GS and the 4. The only difference is that the 4 was a complete redesign which made it seem like it was radically different. All it had was upgraded internal specs, front facing camera, retina display, led flash, and gyro. This has upgraded internal specs, highly improved camera, world phone, 1080p video recording, siri. From the 3G to 3GS there was a compas, video recording, upgraded internal specs, etc. So the "feature" jump isn't any different between iPhone devices. If your phone is still working and you are happy, then you don't need an upgrade. Just be prepared to compromise some features. For example, I had an iPhone 3G which I just upgraded to a 4S. My 3G was maxed out at iOS 4.1. So don't assume your 3GS will receive all features and all updates to iOS 5. The real question you have to access yourself is do you want a new phone now or do you want to wait a year give or take a month or two for a even newer phone. Keep in mind that when you buy that phone it will be only about a year until the NEXT iPhone comes out so if you keep waiting you'll never get a phone. I hope this information helps you in your decision.

  • HT201269 Still trying to get old saved voicemail from deceased mom. Doesn't go back far enough....what to do?

    Still trying to get old saved voicemail from deceased mom. Doesn't go back far enough....what to do?

    Still trying to get old saved voicemail from deceased mom. Doesn't go back far enough....what to do?

  • Build application with conditional disabled VI's still tries to load them ...

    Hi,
    we have a big LV-project with some "conditional disabled" or with a "switch" unused VI's. But LabVIEW still tries to load them when building an application (even when they are not used). Is there a setting to prevent this behavior? Something like "ignore unused/missing VI's during built"?
    Thanks
    Peter

    The difference is disable structure and Conditional disable structure.  unconditionally disabled code can be broken as it cannot run.  Compare that to a case driven by a constant- the unreachable code is removed by the optomizer in certain conditions (We won't guess what conditions prohibit this optomization and it has been changeing a lot since 8.6 to 2013 I imagine it will continue to evolve) however, Because the optomization is not garanteed to occurr the unreachable code cannot be broken.  This is simillar to the conditional disable symbols- they are not evaluated untill runtime and the condition may depend on variables external to LabVIEW.  So, all cases must be compilable.
    @ Mike- Yup, I believe those symbols values CAN be manipulated external to the app instance (Certainly App.Kind comes to mind).  I don't have any experience doing that. 
    Jeff

  • SunMC still trying to contact an object after delete

    Hi Everybody,
    we're using Sun MC 3.6.1 and we have a host dans we don't want to monitor anymore. I've deleted the object in the Sun MC console but when we snoop the network interface of the host, we see that SunMC is still trying to contact the host at regular interval on the port 1161 (the port that the agent was) and also for ping requests.
    Does anybody have an idea of what's wrong? The hosts object is not present anymore in the console.
    Thanks
    Daniel

    HI Friend,
    Try to sign your device out from iTunes Store and iCloud. Then, Sign in again.
    It also looks like you turn Restricions on. So, check Settings >> General >> Restricions and turn Restricions off. You probably restrict your phone ( or it restriced by itself) to update/download apps.
    Hope it will be helpfull.

Maybe you are looking for

  • Confused how to set-up a PC & laptop with Cisco WRVS4400N VPN for home use

    Just bought a new PC and laptop and was recommended by (CDW) to use a Cisco WRVS4400N to set up the VPN. For home use, only the PC and laptop, both running Windows 7.  I use Comcast as my ISP. The mountains of docs confuses me to no end, can anyone s

  • I am really disappointed in the software

    I have a generation 1 ipod touch and most of the apps I wish to purchase say I must have to have software version 4.0 or more. I only have software 3.1.3 and I would like to get 4.0. I have restored my device multiple times hoping i would get the upd

  • Panic Kernel MacBook Pro 10.6.8

    Dear All, I kept having panic kernel at my 2010 MacBook Pro. I have upgrade the OS from 10.6.4 to 10.6.8, yet the problem is still there. the message of panic kernel as shown below. Can somebody shed a light on my lovely MacBook Pro---what is going o

  • Unable to install downloaded driver on my Mac OS X 10.6; therefore printer useless!

    I downloaded the HP Deskjet Ink Advantage 2645 driver from the site:  http://h10025.www1.hp.com/ewfrf/wc/softwareCategory? cc=gr&dlc=en&lc=en&os=4082&product=5357280&softwareitem=mp-120070-4&sw_lang=&  but, when attempting to install the downloaded d

  • Importing from word - Headings not spliting like in RB7

    I used RH7 to import a Word document user manual. RH7 was able to split the large documents into useable pieces at the headings. In RH 8, I can only get it to import the whole document. The requirments are for the table of contents to link to specifi