Delete or discard an outbound container programmatically

Is It possible to delete or discard an outbound container programmatically?
My problem is when the Synchronization process fails and I try to sync again, the information is sent twice in two different outbound cointers. What I want to do is always delete all the containers before i proceed with the synchronization process in order to avoid the duplicity.
Edited by: Gerardo Silva on Jul 21, 2010 8:16 PM

Hello Rohith,
Thank you for your response. My application is an AWT-based application, I'm using Generic Synchronization and it runs in handheld devices. My MI version is 7.00 SP14
The problem occurs when I try to sync my device and the device loses the network connection in middle of processing.
When I sync again, the container created in the first synchronization and the new one created in the second synchronization are sent to SAP causing the duplicity.
As I have already mentioned the closest solution that I have found so far is to verify the existence of previous containers. If there is a pending one I avoid the creation of new containers
if(!InboundProcessorRegistry.getInstance().isAlreadyInOutboundQueue(R3_METHOD_GET_PICKING_INFO,VisibilityType.SEPARATED))
     OutboundContainer out = outfactory.createOutboundContainer(VisibilityType.SEPARATED,METHOD_NAME,OutboundContainer.TYPE_REQUEST);
out.close();
It covers my need but I´m just wondering If there is other solution.
I hope this clarifies my question
Best Regards

Similar Messages

  • I should have said in my previous message that the iphoto program I am using is for an ipad 2.  I simply want to know how to delete an edited album which contains one photo that I do not want taking up space.

    I should have said in my previous message that the iphoto program I am using is for an ipad 2.  I simply want to know how to delete an edited album which contains one photo that I do not want taking up space.

    OK....I'm stumped.  The message you are seeing is typically there to protect someone from syncing with a different computer/iTunes account.  Is there any way anyone else has used your iPad and possibly connected it to their computer?

  • Vista x64, Dell Laptop Lately I have been getting audio ads from Lysol etc which I can stop by deleting the process plug-in container Iknow how to delete this process but why does the audio ad run despite the application of two well known antivirus progs?

    Vista x64, Dell Laptop Lately I have been getting audio ads from Lysol etc which I can stop by deleting the process plug-in container Iknow how to delete this process but why does the audio ad run despite the application of two well known antivirus progs?

    Oh, PLEASE IGNORE the line:
    deleted everything under HKLM\SYSTEM\CurrentControlSet\Enum\Root\SYSTEM (folders 0000 to 0004)
    That was left there inadvertedly. Can't seem to find the edit button here...

  • Query to delete row where column value contains alphabets

    Hi,
    Could anyone please help me to get this query work.
    Query to delete row where column value contains alphabets.
    DELETE  FROM BIN_ITEM WHERE order_nmb LIKE '%[A-Z]%' || LIKE '%[a-z]%'
    Thanks and Regards,
    Deekay.

    RaminHashimzadeh wrote:
    SELECT order_nmb FROM BIN_ITEM WHERE regexp_count(order_nmb,'[0-9]') = 0
    Ramin Hashimzade
    But that won't reject strings like 'gfgG%dgh' which aren't pure alphabetic.
    Try:
    with test_data as (
    select 'ghTYJYEhdfe' str from dual
    union
    select 'dfF5ssd' from dual
    union
    select 'rgth*dgheh' from dual
    union
    select 'ggf{' from dual
    union
    select 'rwhrhrh' from dual
    select  *
    from test_data
    where regexp_instr(str,'[^[:alpha:]]')=0;

  • In mail, what is difference between deleted and discarded mail

    In settings, mail, what is difference between deleted mail and discarded mail? My google account on iPad does not remove mail that I have deleted from account using other devices. My other devices and google accounts don't have this issue. I've checked settings for account and can not isolate the cause. I'm considering deleting account from iPad and then adding it back in to see if that removes the 1000+ emails that have accumulated. I don't usually use iPad for email which is why they are mostly unread on iPad.

    this might help to understand
    Collection Classes
    Often we have to deal with a set or group of objects, or values. Collection Classes are important structures that have a number of methods that allow objects to be added, retrieved, or removed from such collections.
    Objects can be grouped in a collection like sets, lists, stacks, or queues.
    A set is an unordered collection of elements, from which any item may be removed.
    A list is an ordered collection of elements, from which any item may be removed.
    A stack is a restrictive form of list that obeys a last-in-first-out (LIFO) rule.
    e.g.     a stack of plates stored after being washed, then used again.
    A queue is also a restrictive form of list that obeys a first-in-first-out (FIFO) rule.
    e.g.     a queue at a bus-stop, where the first bus to join the queue is the first one to leave.
    An important Java Collection class is the Vector class:
         java.util.Vector
    This vector class is a simple list of objects, which can be referenced by an index starting from 0 (similar to arrays). The components of a vector must be objects.
    i.e. Vector: object0 object1 object2�lastObject .. spare
    capacity                         ( size - 1)
    So, a vector can grow as more objects are added. The size of a vector is how many objects are in the vector. The capacity is how many objects can be stored in the vector before it needs to expand again. When it needs to expand it normally doubles its capacity. The default capacity is 10.
    e.g.     Vector v1;          // declare v1 as a Vector object
         v1 = new Vector();     // create a Vector instance

  • Deletion of release code from container of workflow

    Hi all,
       In t_code SWDD, i had created a container and wrongly assigned a release code to it,,, how to delete the wrongly assinged release code from a container.
    regards,
    urendra

    Is there a way to reorganize these generated sections? Netbeans seems to have its own plans on how to place these and they don't appear to be moveable.
    Idea: in the text editor right clicking on the blue sections could show some important options: (At least on member functions...)
    "move Up"
    "move Down"
    "Delete section"
    "Sort sections alphabetically"

  • I have cropped a clip and now want to take other clips from the remaining footage.  But the discarded footage which contains other desirable clips is not in Trash.  So, where did it go so I can access it?

    I have cropped a clip and now want to take other footage from the discarded remains of the clip.  But the discarded footage is not in my iMovie trash.  Where did it go?  And how do I rescue it so I can edit the other short clips from it that I need?

    I don't know how it did it (because I cannot duplicate the results) but one time the finder found a folder on my main hard drive called/Volumes Under that folder are folders called the names of previous external hard drives with numbers following them. /Volumes does not appear on my Mac hard drive. Obviously it is hidden somewhere. But it has content. Most of the time, the file names in that content don't show up in a search, but obviously I have found the content and deleted one huge folder of stuff it has saved. When I found the folder, I immediately opened it, where I found this stuff. But unfortunately when it opened in the search window I went directly to the "drive" folder and had no back arrow, so I couldn't get back to the search that found the content and the mystery /Volumes folder. The finder information window does show /Volumes directly off of the main drive (its not in any other folder). Anybody know where this stuff is hidden or how to get to it.

  • After viewing & closing an image, can delete it, but not its containing folder.

    I’m going through a bunch of old files to see what I can git rid of.
    When I view and then close an image in Photoshop CS6 I can delete the image file, but not its containing folder, which stays locked, even after closing Photoshop.  Restarting and closing Photoshop again usually enables me to delete the folder — but not always.  Sometimes I have to close everything and log out and back in to be able to delete the folder.  (BTW, Acrobat and Illustrator also share this problem.)
    When you have, as I do, hundreds of files to go through, this becomes a real hassle.

    I suspect Photoshop, as a part of the file open operation, has set its current "default directory" to the folder in which you're working.  You could prove that by opening  a file in another folder and seeing if the prior folder is still unable to be deleted.
    Are you using Bridge in any part of this process?  Seems to be a better match for what you're doing.
    If you'd rather not use Bridge, have you considered using Windows Explorer and a viewer application instead of Photoshop to look through these images?  IrfanView or possibly even Windows Photo Viewer with a codec pack come to mind.
    -Noel

  • Using SQL stored procedures How to get the list of .rar files from e:\Tempbackup directories from the different remote desktop windows server and delete the .rar files which contains the current month and date

    Concept:
    Every month i need to find the list of .rar files from the
    E:/TempBackup directory from the different environments (remote desktop servers) and i need to delete the current month
    .rar files alone from the respective (E:/TempBackup) directory. below is example files structure inside the
    E:/TempBackup.
    example:
    zDROP_2014_08_31_Backups.rar
    zDROP_2014_09_31_Backups.rar
    zDROP_2014_10_31_Backups.rar
    from the above list i need to delete the zDROP_2014_08_31_Backups.rar(current month) file alone and also logs should be capture for this deletion.
    key words for this are zDROP and Current month and date.
    i need a stored procedure for this concept. could you please help on this.

    Hello,
    You can schedule an operating system task (Control Panel -> Schedule task) to either call a batch file or a PowerShell script.
    Please read the following resources for examples:
    http://social.technet.microsoft.com/Forums/windowsserver/en-US/61373719-fffb-4d94-bdbe-7d8ed8620b44/delete-filesfolders-on-remote-servers-using-powershell?forum=winserverpowershell
    http://www.networknet.nl/apps/wp/archives/943
    http://jeffwouters.nl/index.php/2011/10/powershell-script-to-delete-files-older-that-a-week/
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • When I download Firefox 7 it is immedatly deleted by windows security as containing a virus!

    Running windows Vista home premium on my PC. Had previously downloaded Firefox 3 something some time ago and was running this to play Kingdom of Camelot. I could not use some of the scripts/bots suggested by other gamers and was told is was because my FF needed up dating. I deleted the old version and attempted to download V 7 only to find that it is then deleted as "a virus has been detected" so now I have no Firefox at all!
    Deleted anti virus software (AVG) and closed the Windows Firewall and reduced computer security to lowest level. Norton was hanging about in the background, pre installed by the vendor so I deleted that as well.
    Still no joy!

    You can check for problems with the <b>places.sqlite</b> database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file
    *Places Maintenance: https://addons.mozilla.org/firefox/addon/places-maintenance/

  • Deleted iPhoto library and folders containing photos but hard drive still show 32GB of photos?

    I have a new MacBook Pro Retina.  Was having all sorts of problems setting up with Time Machine/Time Capsule back-ups.  To cut a long story short I moved to trash a whole lot of photos I had imported, including the iphoto library. Have emptied trash - normal and within both iphoto and aperture - but About this Mac is still showing 32GB of photos.  Where are they? And if I wanted to reconnect them to iphoto, how do I do that?

    Open a Finder Window and go to your Username then to the Pictures folder. In there you will find a file, actually a folder but I won't get into that, called "iPhoto Library.photolibrary". It is that files (Folder listed as a Package) you need to Copy to your external drive.

  • Read this to find out how to add/update/delete users and change/reset passwords programmatically

    WebLogic 7.0
    I have read a number of questions on how to do these but not many answers, so
    after figuring it all out, I thought I would post a message describing all these
    tasts (It would be great if BEA would start something like 'HOW-TOs for Linux'
    for WebLogic)
    -1. Imports required :
    import weblogic.jndi.Environment;
    import weblogic.management.MBeanHome;
    import weblogic.management.WebLogicObjectName;
    import weblogic.management.configuration.DomainMBean;
    import weblogic.management.configuration.SecurityConfigurationMBean;
    import weblogic.management.security.RealmMBean;
    import weblogic.management.security.authentication.AuthenticationProviderMBean;
    import weblogic.management.security.authentication.GroupEditorMBean;
    import weblogic.management.security.authentication.UserEditorMBean;
    import weblogic.management.security.authentication.UserPasswordEditorMBean;
    import weblogic.security.providers.authentication.*;
    0. Code to retrieve DefaultAuthenticatorMBean (this code is running inside WebLogic
    server - I have it inside EJB):
    DefaultAuthenticatorMBean authBean;
    Context ctx = new InitialContext();
    MBeanHome mbeanHome = (MBeanHome) ctx.lookup(MBeanHome.ADMIN_JNDI_NAME);
    //Find UserEditorMBean
    DomainMBean dmb = mbeanHome.getActiveDomain();
    SecurityConfigurationMBean scmb = dmb.getSecurityConfiguration();
    RealmMBean rmb = scmb.findDefaultRealm();
    AuthenticationProviderMBean[] providers = rmb.getAuthenticationProviders();
    for (int i = 0; i < providers.length; i++) {
    if (providers[i] instanceof DefaultAuthenticatorMBean) {    
    authBean = (DefaultAuthenticatorMBean) providers;
    break;
    1. Create/Drop/Update users
    to perform these tasks, the user must be logged in into weblogic and be in Administrators
    group. Then, the code is as follows:
    create user: authBean.createUser(username, password, description);
    remove user: authBean.removeUser(username);
    change user's description: authBean.setUserDescription(username, newDescription);
    remove user from group: authBean.removeMemberFromGroup(groupname, username);
    add user to group: authBean.addMemberToGroup(groupname, username);
    2. Change other users' passwords (MUST BE ADMIN TO DO THIS - by Admin I mean be
    a member of Administrators group)
    authBean.resetUserPassword(username, newPassword);
    3. Change your own password:
    this is a bit trickier, because if you are not an admin, you can't change your
    own password!!!! This is a part that I personally don't understand - seems like
    a screw up on BEA's part. So, to allow users to change their own passwords, you
    must change security context in the middle of processing to that of Admin user
    and run this function as Admin user. Although a bit ackward, it's very easy to
    do. Suppose you have two EJBs - EJB A and EJB B. EJB A does normal processing
    for the user and always runs in logged in user's security context. Now, suppose
    you want to add a method to EJB A to change current password. The method may
    look like:
    public void changePassword(String logon, String oldpwd, String newpwd)
    throws some exceptions
    Now, there is no way to do it in EJB A, because for most users, it will run in
    a 'non-admin' security context. So, to get around it, you create another
    EJB - EJB B. This EJB has one method:
    public void changePassword(String logon, String oldpwd, String newpwd)
    throws some exceptions
    and one major difference - this EJB always runs in a secrity context of admin
    user. To get an EJB B running 'as admin user', all you have to do in EJB A is
    the following
    EJB A:
    public void changePassword(String logon, String oldpwd, String newpwd)
    Hashtable props = new Hashtable();
    props.put(Context.SECURITY_PRINCIPAL, "wlmanager");
    props.put(Context.SECURITY_CREDENTIALS, "password");
    // get context that with different credentials
    Context ctx = new InitialContext(props);
    EJBBHome home = (EJBBHome) ctx.lookup("EJBBHome");
    EJBBLocal adminEJB = home.create();
    adminEJB.changePassword(logon, oldpwd, newpwd);
    adminEJB.remove();
    of course, this poses a problem of hardcoding user id and password for admin user
    in your application - you can come up with your own ways to secure that.
    THAT's IT!!! You can use the method explained in part 3 to allow non-admin users
    to do pretty much everything, however for the sake of security, I would definetly
    vote against it and use part 3 to ONLY allow users change their own passwords
    Enjoy
    Andrey

    I have a similar question, I would like to edit the artwork for EACH episode in the podcast, as well as have one artwork for the entire podcast series. Any suggestions? This is a podcast that I've created -- I did the same thing for a TV Show where I was able to do custom artwork for each episode, but not one single artwork for the entire series. Does anyone have suggestions of how i should proceed?
    Recap:
    One image for entire Podcast Series (or TV show)
    Different Set of Images for each episode in Podcast. (Understand how to do this in TV show)
    Thanks!

  • Delete Outbound deliveries at a mass level

    Dear  Friend,
    Is there any transaction code where i can collectively delete 30 to 40  Outbound deliveries in
    one go.
    Best Regards,
    Gurpreet Singh Saini.

    Hi,
    Check the forum link
    [Mass Deletion of deliveries|Re: Collective deletion of Outbound deliveries (PGI not done)]
    Regards,

  • Delete folders that contain topics?

    Hello:
    Is it possible to delete folders that contain topics? I have been trying to do this with Project Manager but the delete option is dimmed.
    I can delete folders that do not contain topics. The project is on a network.  The Clear Project Cache (cpd) option is selected. I also cannot delete folders with topics from a sample project.
    Thanks for any advice.
    Juliette

    Never mind.
    I have discovered that I can delete multiple the topics in the Topic List to empty the folder, then delete the folder in Project Manager.
    I'm a new-ish user and still have a lot to learn :-)

  • FM to delete tables alongwith contained data

    Hi,
    My requirement is to find out FM and Dictionary objects used in program and to delete it, if not used in other programs.
    I am using FM 'RS_DD_DELETE_OBJ' to delete dictionary objects however it does not allow to delete the tables if it contains data (with no_ask = 'X' which prompt for user confirmation). Please provide me the FM/FMs which delete the tables alongwith the contained data without user interaction.
    PS: If anyone has program code which retrieve FMs/Dictionary objects used in it, it will be great.
    Thanks in Advance,
    Ni3

    Check FM DD_DELETE_TABLE
    Might help
    -RJ

Maybe you are looking for

  • Facing Black catridge problem within 2 months of purchase HP laserjet p1108 by printing 300 pages.

    Hullo sir,                 I'm Facing Black catridge problem within 2 months of purchase HP laserjet p1108 by printing 300 pages.The printer window shows you have to print pages < 50.what cani do?

  • Creation of index takes longer than deletion ?

    Hi, i deleted index from the cube was very quick just 7 mins. and it took 7 hrs. to create it back. why it took so long? i know if there are more data then it might take longer but how come deletion was that quick ? thanks, KS

  • Dynamic Columns in PLSQL Table

    All, Is it possible to build the columns of a PLSQL table dynamically at run time? I got a requirement wherein the number of columns are known only during the program execution. Thanks,

  • How do I locate the personal dictionary on CS6 MAC?

    I need to edit the personal dictionary on Dreamweaver CS6  on a MAC (OSX MAVERICK) .   I have seed several ways to find it on a PC and trawled though all the folders and done many searches but to ho avail. Any suggestions? Yes I did search the forum

  • How can i reduce the session length ?

    Hi,           I am using weblogic 5.10 . The session length is too long , i think it           defaults to (52 bytes).           Is there anyway the length can be reduced to 8 bytes.           There is a property "weblogic.httpd.session.sessionIDLeng