ACE 4710 Active/Active using virtual partitions

Hi
I am completely new to the Cisco ACE devices but have been asked to look at deploying them.  I have read the ACE virtual partioning paper which covers the ACE module, and it mentions the following;
"In an active/active high-availability design, both the primary and backup Cisco ACE modules are active simultaneously. The active virtual partitions are distributed across both modules, such that approximately half are active on the primary module and the remaining are active on the backup module."
My question is - does the same resilience model work the same using the Cisco 4710 appliances?  I.e. can we split virtual partions across two physical devices thereby having an active/active scenario.
Apologies if this seems a very basic question.
Cheers
TS

Hi Tony
Yes, you can do the same on Appliance. One point which can be important for A/A implementation is that it's a good practice to have shared-vlan-hostid configured on ACEs.
Briefly - When ACE boots it randomly picks up a one out of 16 pools of MAC addresses and use them on interfaces. So, if you have contexts which are sharing the same VLAN on different ACEs , there is a possibility that both of ACEs pick up the same pool and you will have duplicated MAC addresses.
So you should configure something like this in Admin context (only on ACE which has Admin context active, configuration starts working only after reload of both devices) :
shared-vlan-hostid 1
peer shared-vlan-hostid 2
More detailed abou this quesiton you can see here :
http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/vA4_2_0/configuration/administration/guide/redundcy.html#wp1076704

Similar Messages

  • Ace 4710 active/standby SNMP config

    We have 2 x Ace 4710 deployed in Active/Standby config. Since the configuration mode is disabled on the Standby unit, how can we configure the SNMP settings (such as location etc.) on the standby unit different from the active unit?
    The 2 devices are in physically separated data centers so the SNMP location settings need to be set differently on both units. The standby unit does not allow any configuration.

    Comments inline:
    Since this is the admin context,  we would better not do this. As i understand correctly, this will turn  off the config sync on the 2 units and we may end up with some issues.
    KM - Correct, you need to manually manage the configurations of both devices. 
    Also,  if at a later stage, we sync the configs again in the admin context, it  will overwrite the different config on the standby unit with that from  the active unit?
    KM - Correct, the device with the lower priority will be overwritten when config-sync is re-enabled.  This is one of the reasons you need to be careful in the Admin context.  For example: Ff the lower priority device has contexts defined that the primary does not, they would be removed when you re-enablethis command.
    Since  my requirement is just the SNMP location config, I do not think i  should go for this; rather i can have some descriptive location setting  identifying the 2 units in cluster mode...
    KM - This would be more ideal than disabling config sync.  You could also put both locations like this:
    snmp-server location "San Jose, CA & Seattle, WA"
    Regards
    Kris

  • ACE 4710 Connectivity help?

    I'm using an ACE 4710 in a new datacenter, with the following setup:
    2/4 physical ethernet interfaces port channeled into port-channel 1
    2/4 physical ethernet interfaces port channeled into port-channel 2
    I have the following vlans defined:
    1001 - admin     - interface ip: 10.53.136.70
    400 - client side - interface ip: 10.53.136.100
    500 - server side - interface ip: 192.168.128.1
    999 - fault tolerance - interface ip: 192.168.11.2
    My problem is I am trying to nat ssh and web server traffic from the client side, to the server side, but it's never getting to the server.  For example, if I ssh to 10.53.136.102, it times out.  (10.53.136.102 should get nat'd to 192.168.128.2)
    Also, I can connect to the ACE 4710 via telnet using 10.53.136.70, but cannot connect to 10.53.136.100.
    I'm thinking there is either something wrong with the port-channels, or the access lists.  On the other hand there could be something wrong with the nat'ing, but I had it working before switching over to the port-channels.
    Any thoughts?
    Thanks,
    Brent

    I've attached the two contexts which we are using.  The admin context is new_lb_config.txt and the second context where the loadbalancing occurs is in the new_lb_config_VC_WBPX.txt file.
    From the load balancer, I am able to ping the real server ips in the 192.168. ip range.  The 4710 recognizes that they are in service.
    I believe the ACL for the VLAN 400 is set to permit all traffic, but I don't know if the service policies are preventing something from happening.
    Right now, I have disconnected the two 4710s and I am only working on one of them to see if I can get the basic connectivity going.  Once I accomplish that, I will work on high availability.  I'll have to check whether it thinks it is in passive mode...not entirely sure how to do that, but I will check it out.
    Thanks,
    Brent

  • I activated secure virtual memory on snow leopard and now have lost everything

    Hi, wow I could use some help. I was curious and activated "secure virtual memory" in the security settings on my iMac 2.16 Ghz Intel core 2 duo and restarted. Now I can't access any of my files and the "users" folder won't open saying I don't have sufficient privileges even though I am not prompted for the administrator's password.  Every account seems to have reverted back to basic settings. When I try to open the finder I get a message saying:
    "The home folder for user "-------" isn't located in the usual place or can't be accessed. The home folder or Users folder may have been moved or deleted. If the home folder is located on the network, the server may be temporarily unavailable. If you continue to have problems, see your system administrator."
    I have backups on an external hard drive with time machine. How can I restore my computer?
    Any help would be greatly appreciated!
    Thanks!

    It appears I have resolved the issue on my own. I was able to change the permissions of the "Users" folder by right clicking and choosing "get info". I then was able to access the folder and saw that all of my information was still there. Whew!! And now that I've shut down and rebooted my desktop appears to be back to normal. I did hit the ? for information about the "secure virtual memory" option in security settings BEFORE I selected it and restarted, but the information about it was totally lacking so unfortunately this leads one to explore...

  • Upgrading ACE , redundant active-active context

    Hi,
    We have 2 ACE's running in our network, and we would like to upgrade the ACE software.
    To minimize any disruption to existing network traffic during a software upgrade or downgrade, deploy your ACE modules in a redundant configuration. For details about redundancy, see Chapter 7, Configuring Redundant ACE Modules. The following steps provide an overview on upgrading a redundant configuration used in conjunction with the procedures in this appendix:
    1. Upgrade the active module first.
    2. Reboot the active ACE after the software installation. When you reboot the active ACE, it fails over to the standby module and existing traffic continues without interruption.
    3. Upgrade the new active module.
    4. Reload the active ACE after the redundant module is up and the high availability (HA) state is hot. A similar failover occurs when you reboot this ACE and once again the existing traffic continues. The original active ACE is active once again.
    http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/ace/v3.00_A1/configuration/administration/guide/upgrade.html
    This section describes the methods and CLI commands that you can use to troubleshoot redundancy issues in your ACE.
    1. Ensure that the software versions and licenses installed in the two ACEs are identical. A software or license mismatch may generate the following syslog message:
                                  %ACE-1-727006:       HA: Peer is incompatible due to error str. Cannot be Redundant.
    http://docwiki.cisco.com/wiki/Cisco_Application_Control_Engine_(ACE)_Module_Troubleshooting_Guide,_Release_A2(x)_--_Troubleshooting_Redundancy
    Following those step, is there any problem would happen after step 2 , having a different software version on the first and second module?
    also on step 4 ' Reload the active ACE after the redundant module is up and the high availability (HA) state is hot. ' , is that possible with both module use a different software version ?

    Hi,
    When you upgrade or downgrade the ACE software in a redundant  configuration with different software versions, the STANDBY_WARM and  WARM_COMPATIBLE states allow the configuration and state synchronization  process between the peers to continue on a best-effort basis. This  basis allows the active ACE to synchronize configuration and state  information with the standby even though the standby may not recognize  or understand the CLI commands or state information.
    In the STANDBY_WARM state, as with the STANDBY_HOT state,  configuration mode is disabled on the standby ACE and configuration and  state synchronization continues. A failover from the active to the  standby based on priorities and preempt can still occur while the  standby is in the STANDBY_WARM state. However, while stateful failover  is possible for a WARM standby, it is not guaranteed. In general,  modules should be allowed to remain in this state only for a short  period of time.
    http://docwiki.cisco.com/wiki/Cisco_Application_Control_Engine_%28ACE%29_Module_Troubleshooting_Guide,_Release_A2%28x%29_--_Troubleshooting_Redundancy#About_WARM_COMPATIBLE_and_STANDBY_WARM
    Siva

  • How to create Incoming Email Activity using BAPI or Function module

    To create an Incoming Email Activity using BAPI 'BAPI_ACTIVITYCRM_CREATEMULTI' or using 'CRM_ORDER_MAINTAIN' . what parameters i need to pass to a bapi.
    Suggest me with a solution.
    Regards,
    Sanjani

    For activity you must fill the following structures of 'CRM_ORDER_MAINTAIN'...
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
        EXPORTING
          it_activity_h             = t_activity_h
          iv_collect_exceptions = ''
        CHANGING
          ct_orderadm_h         = t_orderadm_h
          ct_input_fields       = t_input_fields
        EXCEPTIONS
          error_occurred        = 1
          document_locked       = 2
          no_change_allowed     = 3
          no_authority          = 4
          OTHERS                = 5.
    And at the end you must use also 'CRM_ORDER_SAVE' to performe the save.
    Regards.

  • I cant activate my i phone 4s its showing one message u cant activating use this apple id what i do?

    i restore my i phone 4s after i switch onn the mobile asking apple id and password and i enter id and password  but i cant activating my i phone why? its showing one message u cant activating use this apple id i am original owner this phone  have id and password my IMEI:********
    <Edited by Host>

    FYI - not a wise idea to post your IMEI in a public forum. Perhaps the hosts will edit it for
    you.
    Take the proof that you were the original purchaser of that iPhone to Apple in the country
    where the original purchase was made and they may be able to assist you.

  • Can I get the participants of the role of some activity using PAPI?

    Hi all,
    Can I get all participants who have the role of one activity using PAPI? how?
    thanks and regards.

    Hello,
    I have the same problem, how to get the participants of specific role using PAPI ?
    Thanks

  • Can you activate an iphone with one sim, and than once it is activated use it with another sim?

    can you activate an iphone with one sim, and than once it is activated use it with another sim?

    It could be the activation server is unavailable right now, however have you or anyone else ever used that computer to jailbreak or hack another phone? That can have an affect on the hosts file. You can check this regarding information on the hosts file or security software problems.
    Error 1 or -1
    This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service.
    This device is not eligible for the requested build (Also sometimes displayed as an "error 3194")
    Update to the latest version of iTunes. Mac OS X 10.5.8 (Leopard) users may need to download iTunes 10.6.3.
    Third-party security software or router security settings can also cause this issue. To resolve this, follow Troubleshooting security software issues.
    Downgrading to a previous version of iOS is not supported. If you have installed software to perform unauthorized modifications to your iOS device, that software may have redirected connections to the update server (gs.apple.com) within the Hosts file. Uninstall the unauthorized modification software from the computer.
    Edit out the "gs.apple.com" redirect from your hosts file, and then restart the computer for the host file changes to take affect. For steps to edit the Hosts file and allow iTunes to communicate with the update server, see iTunes: Advanced iTunes Store troubleshooting—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store. If you do not uninstall the unauthorized modification software prior to editing the hosts file, that software may automatically modify the hosts file again on restart.
    Avoid using an older or modified .ipsw file. Try moving the current .ipsw file (see Advanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations), or try restoring in a new user to ensure that iTunes downloads a new .ipsw.
    Error 3014
    This error occurs when iTunes is unable to reach gs.apple.com in a timely fashion. Follow the steps below in Unable to contact the iOS software update server gs.apple.com.

  • Iphone 4 will not unlock but the same portion of the screen is active using SMS or any other feature.

    Iphone 4 will not unlock but the same portion of the screen is active using SMS or any other feature. What is the issue?

    It won't recognise it at all, but luckily I backed up very recently.
    I've booked an appointment with an Apple store who promise a working iPhone within 10 minutes of your appointment, whether fixed or a brand new iPhone.
    Thank you both for your suggestions. I'll leave the question unanswered incase people have any other suggestions or similar issues.
    Cheers.

  • Notebook hangs if there's an app actively using external USB disk

    ...right before going into sleep mode.
    I have this notebook and an external USB SATA drive hooked up to it. When I put the laptop into sleep mode, then resume its work, after a while I'll get a blank screen that essentially looks a lot like tty1, all black background and gray symbols all over the screen. Essentially, the message I get is the following:
    Dec 7 11:29:18 localhost kernel: [67351.155834] ESI: f6447e80 EDI: f46b05f0 EBP: f15a7e58 ESP: f15a7e40
    Dec 7 11:29:18 localhost kernel: [67351.155834] DS: 007b ES: 007b FS: 00d8 GS: 00e0 SS: 0068
    Dec 7 11:29:18 localhost kernel: [67351.155834] Process transmission-gt (pid: 2302, ti=f15a6000 task=f1255a40 task.ti=f15a6000)
    Dec 7 11:29:18 localhost kernel: [67351.155834] Stack:
    Dec 7 11:29:18 localhost kernel: [67351.155834] f15a7eac f46b05e0 f6447e80 f1255a40 f6447e80 f46b05f0 f15a7e6c c10d4f48
    Dec 7 11:29:18 localhost kernel: [67351.155834] 00000010 f6447e80 f46b05e0 f15a7e84 c113be2c 00000000 efa3b930 ef1f4400
    Dec 7 11:29:18 localhost kernel: [67351.155834] 00000000 f15a7e90 c113befa f1141600 f15a7eb4 f8046f1e f1141600 f804b3e4
    Dec 7 11:29:18 localhost kernel: [67351.155834] Call Trace:
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c10d4f48>] account_page_dirtied+0x68/0x90
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c113be2c>] __set_page_dirty+0x3c/0xb0
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c113befa>] mark_buffer_dirty+0x5a/0x90
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<f8046f1e>] ext2_sync_super+0x6e/0xd0 [ext2]
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<f8046fd1>] ext2_sync_fs+0x51/0x60 [ext2]
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c1157640>] ? dquot_get_dqblk+0x180/0x180
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c113a4ca>] __sync_filesystem+0x5a/0x80
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c113a539>] sync_filesystem+0x29/0x50
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c111656e>] generic_shutdown_super+0x2e/0xe0
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c1116649>] kill_block_super+0x29/0x70
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c111693d>] deactivate_locked_super+0x3d/0x60
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c11171f7>] deactivate_super+0x47/0x60
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c112ecd7>] mntput_no_expire+0x87/0xd0
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c112ed38>] mntput+0x18/0x30
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c1116154>] fput+0x134/0x1e0
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c1112d14>] filp_close+0x54/0x80
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c1112db4>] sys_close+0x74/0xc0
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c134c11f>] sysenter_do_call+0x12/0x28
    Dec 7 11:29:18 localhost kernel: [67351.155834] [<c1340000>] ? setup_local_APIC+0x2c9/0x3b8
    Dec 7 11:29:18 localhost kernel: [67351.155834] Code: eb ce 8d 76 00 8d bc 27 00 00 00 00 55 89 e5 83 ec 18 89 5d f4 89 c3 89 e0 25 00 e0 ff ff 89 75 f8 89 7d fc 83 40 14 01 8b 43 14
    Dec 7 11:29:18 localhost [67351.155834] 8b 30 89 f7 c1 ff 1f 01 d6 89 45 f0 8b 45 08 11 cf 89 c2 c1
    Dec 7 11:29:18 localhost kernel: [67351.155834] EIP: [<c11cf02f>] __percpu_counter_add+0x1f/0xe0 SS:ESP 0068:f15a7e40
    Dec 7 11:29:18 localhost kernel: [67351.155834] CR2: 00000000342da000
    Dec 7 11:29:18 localhost kernel: [67351.155834] ---[ end trace a7afafe94ef537f4 ]---
    Dec 7 11:29:18 localhost kernel: [67351.182781] note: transmission-gt[2302] exited with preempt_count 2
    By playing around I learned that if I kill transmission and any app that actively uses the USB disk prior to the sleep mode, and then start them after resume is finished and the disk is mounted (I use GNOME 3 in fallback mode, so it automounts the disk) everything works fine.
    Now, I could ignore those messages but it gets worse. Mostly laptop will hang at a random point in time after printing that wall of text on tty1. It might take hours, or even days before this happens. Sometimes I'll find transmission in a freezed state and I may survive a couple of sleep and resume cycles but I almost never will go as far as 4 days and more in a row. The laptop will hang eventually. And the only way to avoid this is to kill off apps that use external USB drive prior to going into sleep mode.
    Any ideas what's going on and how to fix this?
    % uname -a
    Linux host 2.6.39-ARCH #1 SMP PREEMPT Tue Jun 7 05:49:02 UTC 2011 i686 Intel(R) Core(TM) Duo CPU T2250 @ 1.73GHz GenuineIntel GNU/Linux

    karol wrote:https://bbs.archlinux.org/viewtopic.php?id=131527
    Thanks, however, my problem isn't speed, it's stability of the system.

  • Upload CRM activity using ALE IDOC

    Hi All,
        I am uploading the crm activity using ale idoc in lsmw , i mapped the partner information in to segments and passing value to the fields but it is not getting values , please give what may be th problem.
    Regards,
    Naveen

    answered

  • Date Issue while creating Activity using BAPI_ACTIVITYCRM_CREATEMULTI

    Hi,
    I'm creating an activity using BAPI BAPI_ACTIVITYCRM_CREATEMULTI and this is working fine. The only thing which is not reflecting in the activity is the date which I'm passing to this BAPI. The system  always puts the default date, which is system date.
    Below are the parameters I'm passing in DATE and DATEX parameters of BAPI_ACTIVITYCRM_CREATEMULTI. Let me know if I'm doing something wrong.
    Can someone help me? Any help in resolving this would be appreciated and rewarded with points. Thanks!
        lt_date-ref_handle = lt_header-handle. "handle for activity
        lt_date-ref_kind   = 'A'. "Adm header
        lt_date-appt_type  = 'ORDERACTUAL'. "Order actual date type
        lt_date-date_from  = '20060120'. "e.g.
        lt_date-time_from  = '1200000'. "e.g.
        lt_date-date_to    = '20060120'."e.g.
        lt_date-time_to    = '1200000'. "e.g.
        lt_date-show_local = 'X'.
        lt_date-mode       = 'A'."Create
        lt_datex-ref_handle = 'X'.
        lt_datex-ref_kind   = 'X'.
        lt_datex-appt_type  = 'X'.
        lt_datex-date_from  = 'X'.
        lt_datex-time_from  = 'X'.
        lt_datex-date_to    = 'X'.
        lt_datex-time_to    = 'X'.
        lt_datex-show_local = 'X'.
        lt_datex-mode      = 'X'.
        append: lt_date, lt_datex.
    Regards,
    Sandeep

    Hi,
    Here is a sample code for you.
    *& Report  YAM_TEST_CONT_END_DATE                                      *
    REPORT  yam_test_cont_end_date                  .
    DATA: lit_header_guid TYPE crmt_object_guid_tab,
          lit_appointment TYPE crmt_appointment_comt,
          lit_status_comt TYPE crmt_status_comt,
          wa_status_comt  LIKE LINE OF lit_status_comt.
    DATA : lit_ret          TYPE TABLE OF bapiret2,
           lit_obj_to_save  TYPE TABLE OF bapibus20001_guid_dis,
           lit_saved_obj    TYPE TABLE OF bapibus20001_object_id.
    DATA: lv_header_guid   TYPE crmt_object_guid,
          lv_item_guid     TYPE crmt_object_guid,
          lv_timestamp(15) TYPE c.
    DATA: lit_fname TYPE crmt_input_field_names_tab,
          wa_fname  TYPE crmt_input_field_names.
    DATA: lit_input TYPE crmt_input_field_tab,
          wa_input  TYPE crmt_input_field.
    DATA: wa_appointment      TYPE  crmt_appointment_com,
          wa_logical_date_key TYPE  crmt_date_logical_date_key.
    CONSTANTS: lc_end       TYPE crmt_apptype     VALUE 'CONTEND',
               lc_appt      TYPE crmt_fieldname   VALUE 'APPT_TYPE',
               lc_from      TYPE crmt_fieldname   VALUE 'TIMESTAMP_FROM',
               lc_to        TYPE crmt_fieldname   VALUE 'TIMESTAMP_TO',
               lc_obj       TYPE crmt_object_name VALUE 'APPOINTMENT',
               lc_tzone_from(13) TYPE c           VALUE 'TIMEZONE_FROM',
               lc_tzone_to(11)   TYPE c           VALUE 'TIMEZONE_TO'.
    PARAMETER: p_objid TYPE crmt_object_id.
    START-OF-SELECTION.
    * Get the HEADER GUID for the Contract Number
      SELECT SINGLE guid
        INTO lv_header_guid
        FROM crmd_orderadm_h
       WHERE object_id EQ p_objid.
      CHECK sy-subrc EQ 0.
    * Get the Item GUID for the HEADER GUID
      SELECT SINGLE guid
        INTO lv_item_guid
        FROM crmd_orderadm_i
       WHERE header EQ lv_header_guid.
      CHECK sy-subrc EQ 0.
      APPEND lv_header_guid TO lit_header_guid.
      APPEND lv_header_guid TO lit_obj_to_save.
    * Convert System date and time to timestamp
      CONCATENATE sy-datum sy-uzeit INTO lv_timestamp.
    * Setting Contract End Date
      MOVE: lv_item_guid          TO wa_appointment-ref_guid,
            'B'                   TO wa_appointment-ref_kind,
            'CONTEND'             TO wa_appointment-appt_type,
            lv_timestamp          TO wa_appointment-timestamp_from,
            lv_timestamp          TO wa_appointment-timestamp_to,
            sy-zonlo              TO wa_appointment-timezone_to,
            sy-zonlo              TO wa_appointment-timezone_from.
    * Filling the Input Fields for Appointment
      wa_fname-fieldname = lc_appt.
      INSERT wa_fname INTO TABLE lit_fname.
      CLEAR: wa_fname.
      wa_fname-fieldname = lc_from.
      INSERT wa_fname INTO TABLE lit_fname.
      CLEAR: wa_fname.
      wa_fname-fieldname = lc_to.
      INSERT wa_fname INTO TABLE lit_fname.
      CLEAR: wa_fname.
      wa_fname-fieldname = lc_tzone_from.
      INSERT wa_fname INTO TABLE lit_fname.
      CLEAR: wa_fname.
      wa_fname-fieldname = lc_tzone_to.
      INSERT wa_fname INTO TABLE lit_fname.
      CLEAR: wa_fname.
      wa_logical_date_key-appt_type = lc_end.
      MOVE: lv_item_guid          TO wa_input-ref_guid,
            'B'                   TO wa_input-ref_kind,
            lc_obj                TO wa_input-objectname,
            wa_logical_date_key   TO wa_input-logical_key,
            lit_fname             TO wa_input-field_names.
      APPEND wa_input TO lit_input.
      CLEAR: wa_input, wa_logical_date_key.
      APPEND wa_appointment TO lit_appointment.
      CALL FUNCTION 'CRM_ORDER_MAINTAIN'
        EXPORTING
          it_appointment    = lit_appointment
          it_status         = lit_status_comt
        CHANGING
          ct_input_fields   = lit_input
        EXCEPTIONS
          error_occurred    = 1
          document_locked   = 2
          no_change_allowed = 3
          no_authority      = 4
          OTHERS            = 5.
      CHECK sy-subrc EQ 0.
    * Saving the items alone
      CALL FUNCTION 'BAPI_BUSPROCESSND_SAVE'
        TABLES
          objects_to_save = lit_obj_to_save
          saved_objects   = lit_saved_obj
          return          = lit_ret.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          wait = 'X'.
    <b>Reward points if it helps.</b>
    Regards,
    Amit Mishra

  • How to confirm an activity using BAPI ?

    Hi,
    Does anyone know how to create a confirmation to an activity using a BAPI ?
    ( instead of CN25 )
    We have such a requirement and I tried to use FM BAPI_NETWORK_CONF_ADD.
    I get a message like "confirmation is saved"  but when I don't see the confirmation anywhere (in CN28) .
    Thanks,
    Ofer

    Hi,
    Hope you are either:
    1. Passing X in FIN_CONF
    (In case of complete confirmation ie 100%)
    OR
    2. Entering % of completion in PROCSS_DEG
    (In case of partial confirmation ie <100%)
    Regards

  • How to create a sales activity using BAPI_BPCONTACT_CREATEFROMDATA 170183

    Hello everyone ,
    Please help me to create a sales activity using this BAPI's  :
    BAPI_BPCONTACT_CREATEFROMDATA
    BAPI_BPCONTACT_SAVEFROMMEMORY
    BAPI_TRANSACTION_COMMIT
    Ref. OSS 170183
    advance thank for all
    Halley

    Here is an example.  Values and partners depend on your config of course.  I'm assuming you can define the local variables - the code is too long for me to post it.
    * BAPI field initialization
      LS_GENERALDATA-ACTIVITY_TYPE    = 'Your value'.
      LS_GENERALDATA-SALESORG         = 'Your value'.
      LS_GENERALDATA-DISTR_CHAN       = 'Your value'.
      LS_GENERALDATA-DIVISION         = 'Your value'.
      LS_GENERALDATA-FROM_DATE        =  SY-DATUM.
      LS_GENERALDATA-TO_DATE          =  SY-DATUM.
      LS_GENERALDATA-FROM_TIME        =  SY-UZEIT.
      LS_GENERALDATA-TO_TIME          =  SY-UZEIT.
      LS_GENERALDATA-REASON           = 'Your value'.
      LS_GENERALDATA-RESULT           = 'Your value'.
      LS_GENERALDATA-STATE            = '0'.
      LS_GENERALDATA-ACTIVITY_COMMENT = 'Your value'.
      LS_GENERALDATA-PARTN_ROLE       = 'AG'.
      LS_GENERALDATA-PARTN_ID         = 'Sold-to account number'.
      APPEND LS_GENERALDATA TO LT_GENERALDATA.
      LS_BUSINESSPARTNER-ITM_NUMBER   = '000000'.
      LS_BUSINESSPARTNER-PARTN_ROLE   = 'AG'.
      LS_BUSINESSPARTNER-PARTN_ID     =  'Sold-to Account'.
      APPEND LS_BUSINESSPARTNER TO LT_BUSINESSPARTNER.
    * MRL notes
      LS_NOTES-TDFORMAT = '*'.
      LS_NOTES-TDLINE = 'Your long comments text here'.
      LS_TEXT-TEXT_ID   = '0001'.
      LS_TEXT-FUNCTION  = '009'.
      LS_TEXT-LANGU     =  SY-LANGU.
      LS_TEXT-TEXT_LINE =  LS_NOTES.
      APPEND LS_TEXT TO LT_TEXT.
      CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
        IMPORTING
          OWN_LOGICAL_SYSTEM             = LV_SYS
        EXCEPTIONS
          OWN_LOGICAL_SYSTEM_NOT_DEFINED = 1
          OTHERS                         = 2.
    * Call BAPI
      CALL FUNCTION 'BAPI_BPCONTACT_CREATEFROMDATA'
        EXPORTING
          SENDER          = LV_SYS
        TABLES
          GENERALDATA     = LT_GENERALDATA
          BUSINESSPARTNER = LT_BUSINESSPARTNER
          TEXT            = LT_TEXT
          RETURN          = LT_RETURN.
    * Check for error
      LOOP AT LT_RETURN INTO LS_RETURN WHERE TYPE CA 'AEX'.
        EXIT.
      ENDLOOP.
      IF SY-SUBRC NE 0.
        REFRESH LT_RETURN.
        CALL FUNCTION 'BAPI_BPCONTACT_SAVEFROMMEMORY'
          TABLES
            SALESACTIVITYIDOUT = LT_SALESACTIVITYIDOUT
            RETURN             = LT_RETURN.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.

Maybe you are looking for

  • Installing Visual Studio runtimes on Build and Captures

    Greetings,   I was just wondering how many of you out there install all Visual Studio runtimes in your base OS builds as part of you build and capture process. This would be the following four: VC2005, VC2008, VC2010, VC2012 Update 4.   I'm thinking

  • 5s iOS 8 update: Messages

    I just updated to iOS 8 And it seems that my search bar in my Messages is not working well unlike before the update. When i try looking for an old conversation which i know is still saved there it doesn't come out anymore. What do I do? also, i have

  • Error in Career and Job= Skills Profile

    I have the following issue: In the application of Career and Job=>Skills Profile. When I want add a new qualification, the system display the following message of error: Root Cause The initial exception that caused the request to fail, was:    java.l

  • Flash 8 - zero point for x, y changes in slide screens

    When I begin building a slide presentation in Flash 8, the x and y zero point for the stage is at the top left where I would expect it to be. So I place a few things on the stage, add a slide or two and suddenly the zero point is in the center of the

  • Logic or Soundtrack Pro?

    Happy new year all. I was involved in making a film a while back and we were never too happy about about the overall sound mix of the soundtrack. I am in possession of 4 stereo audio stems: main dialogue, secondary dialogue, FX and music. The main fa