How to post a document in the future using DI API?

Hello friends
Please can someone help me find a clever way around this....
I am using SAP 2005 SP01 PL09. I am trying to add an invoice into SAP using a VB.Net application. I want to set the date for the invoice to a future date (e.g. 01/01/2008). The problem is that even though I have set the setting which "<b>Allows future Posting Date</b>" in SBO I still get a "<b>Date deviates from permissable range</b>" Error (-5002) when I try adding the invoice.
I know that when I try post the invoice through the SAP <i>front end</i> (i.e. still posting it in 01/01/2008) I get a confirmation screen which pops up and says "<b>Posting Date later that System Date</b>" and I can either click on "<i>OK</i>" or "<i>Cancel</i>". If i click on OK the Invoice goes through no problem.
This however does not work when i try use the DIAPI to do the same thing.
How can i bypass this error when i use the DIAPI??
Any help is much appreciated
Greeshma

Hello,
if you want to escalate to SAP, I think you upgrade your SAP B1 to  the latest PL i.e. PL 36. Let me know if the error still persists after upgrading.
Rgds,

Similar Messages

  • Ordered prints. Several were cut off at edges or were printed off center. How do I prevent this in the future?

    Ordered prints from my Mac library to Apple. Several came back cut off or printed off-center. How do I prevent this in the future?

    How do I prevent this in the future?
    Before ordering any print product proof it by creating a PDF file of it according to this Apple document:    iPhoto, Aperture: Previewing an order in iPhoto or Aperture.  Save the PDF file to compare with the printed copy when it arrives.
    For this book contact Apple via the 800-275-2273 phone number. Apple has been very good a correcting problems.  They gave me a refund so I could order again.

  • How do post Hold Document

    Hi Sap Experts,
    How do post Hold document and What is the T.code.
    After Posting the hold document i would like to see the hold document numbers .
    Thanks & Regards,
    Prabhakar

    Hi,
    To Post  a Hold document, enter T.code F-02 and in menu --> Document --> Get Held Document(F5).
    You can give document number and the user name, if you dont know document number than click document list in application menu, it will display all held documents.
    Regards,
    Raj

  • How do I save documents from the new Pages into a Word Document

    How do I save documents from the new Pages into a Word Document?

    Thank you so much - so simple!  I had been using the 'share' option (worked in old Pages) and only had icloud or email as options.  I have to attach word documents to emails to send to work. I don't want to use icloud because it's too public and I don't trust it.  Also, you have to be able to access the internet and I need word documents on my USB stick for work where there's no internet.
    I love my Mac but I do wish Apple would remember those of us living in less-than-perfect computer-land.
    Thanks again
    Lindsay

  • I have lost iTunes on my phone and sent it in for repair, how do I prevent this in the future?

    I needed to reactivate my iTunes on my phone, needed to send in for repair. How can I prevent this in the future?

    You may have transferred all your songs, but your iPad is seeing the library as a different entity.
    The following article(s) may help you.
    Moving your iTunes library to a new computer  

  • Can anyone tell me how to post videos taken on the iPhone that are now stored on the Air on Facebook?

    Can anyone tell me how to post videos taken on the iPhone that are now stored on the Air on Facebook?

    Hi
    Yeah got onto that but it won't load up anything readable. It just produces a little annimation of 35mm film strip and when you click on it - nothing. All you end up doing is clicking on the X in the top right hand corner of the annimation and deleting it. Really frustrating because uploading from the iPhone is simple, but I've deleted it off that and can't get it back from the Mac to the iPone either. Seem to be trapped no matter what i do.
    Thanks for your help though

  • How do i transfer documents from the cloud to the iPad for off line reading.?.

    How can I transfer documents from the cloud to my iPad for off line reading.?

    If you're using the mobile reader, you can use the technique mentioned in this infographic titled How to work with files on the go using Adobe Reader for mobile. Or, now you can access Acrobat.com from the iPad just using a browser as mentioned in this blog Acrobat.com on iOS is a beautiful thing.

  • How to create a table in the file using java code.?

    HI,
    I should export the data from the view objects to a word document. I have done that but I should
    display the data in the form of a table.
    Kindly come up with the necessary information on how to create a table in the file using java.
    Thanks,
    Phani

    Hi, Thank you for responding to my query.
    The below are the details of my code.
    DCBindingContainer dcBindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding StudentDetailsContent =
    (DCIteratorBinding)dcBindings.get("StudentView1Iterator");
    OutputStreamWriter w = new OutputStreamWriter(outputStream, "UTF-8");
    Row currentRow =
    StudentDetailsContent.getRowSetIterator().first();
    Object a[]= currentRow.getAttributeValues();
    int i;
    for(i=0 ;i<=a.length;i++){
    w.write(a.toString());
    w.write(" ");
    w.flush();
    I am usning this coding to achieve the task of exporting data to file.
    I need to display this information in the table that is where I need help from you people.
    Thanks,

  • How to get Folder or document service permissions  by using  KM API's

    Hi,
    Any help how to get Folder or document service permissions  by using  KM API's  
    Any help or hint is greatly appreciated.
    Thanks,
    Costa.

    Hi,
    I have tested it here and it works for me (this code lists the service permissions settings for folder /documents/temp/):
        RID rid = RID.getRID("/documents/temp");
        try {
          IUser user = (IUser) request.getUser().getUser();
          IResourceContext context = new ResourceContext(user);
          IResource res = ResourceFactory.getInstance().getResource(rid, context);
          IResourceFactory resourceFactory = ResourceFactory.getInstance();
          IRepositoryServiceFactory serviceFactory = resourceFactory.getServiceFactory();
          IAclService aclService = (IAclService) serviceFactory.getRepositoryService(res, IWcmConst.ACL_SERVICE);
          IResourceAclManager aclResourceManager = aclService.getAclManager();
          IResourceAcl resourceAcl = aclResourceManager.getAcl(res);
          boolean inheritedAcl = false;
          if (resourceAcl == null) {
            resourceAcl = aclResourceManager.getInheritedAcl(res);
            inheritedAcl = true;
          response.write("<strong>SERVICE PERMISSION OWNERS</strong><br>");
          IUMPrincipalList ownerList = resourceAcl.getOwners();
          IUMPrincipalListIterator ownerListIt = ownerList.iterator();
          while (ownerListIt.hasNext()) {
            IUMPrincipal ownerPrincipal = ownerListIt.next();
            String strPrincipal = ownerPrincipal.getId();
            response.write(strPrincipal + "<br/>");
          response.write("<br><strong>SERVICE PERMISSIONS</strong><br>");
          IResourceAclEntryList el = resourceAcl.getEntries();
          IResourceAclEntryListIterator it = el.iterator();
          while (it.hasNext()) {
            IResourceAclEntry entry = it.next();
            String strEntryPerm = entry.getPermission().getDescription();
            String strPrincipal = entry.getPrincipal().getId();
            response.write("<strong>" + strEntryPerm + "</strong> - principal: " + strPrincipal + "<br/>");
            IAclPermissionList plList = entry.getPermission().getMembers();
            IAclPermissionListIterator plListIterator = plList.iterator();
            while (plListIterator.hasNext()) {
              IAclPermission perm = plListIterator.next();
              response.write(perm.getDescription() + "<br/>");
        } catch (Exception e) {
          response.write(LogWriter.extractCallStack(e));
          LogWriter.traceSevere(LogWrapper.trace, e, LogWriter.extractCallStack(e), true);
    Romano

  • I just got my shipment and My Ipad mini is just shut down without reasons during upgrading. I'm doing restore it. Does it matter for the future use?

    I just got my shipment and My Ipad mini is just shut down without any reason during upgrading. I'm doing restore it. Does it matter for the future use?
    ACtually I really really don't want to use it anymore. I'm so disappointed.

    PolishAngel756 wrote:
    Some friends have told me that their phone can last up to 2 days without charging??
    If they are getting 2 days without charging, it's unlikely they use their device very much.
    A full day is pretty good....and if I'm careful, I can easily get a full day of usage.
    For me, normal is charging the iPhone mid afternoon at work, but I use it a lot.
    My typical usage is 35 mins of listening to podcasts, checking email, checking my RSS feed, and checking a few apps while I ride my bike when I first get up.  Then listening to several podcasts at work.
    I typically stream music while working out during my lunch hour and use the Men's Health Fitness app to track my progress.
    By about 2pm I'm ready to charge the device as it's getting low (somewhere between 20% and 50%).
    I leave bluetooth, Wi-FI, and location services turned on all the time.
    Personally, I just do not see the point in going into settings to turn on the feature when I need it... just too much hassle.  All of my listening to podcasts and music is via Bluetooth.
    I know I'm not the heaviest user, but I just do not see how anyone can realistically make it two days on a single charge, it makes me think they simply do not use the features of the device and would be just as well served with a basic or feature phone.

  • How to under complete document to configure prerequisite using fields both

    Hi,
       When I configure prerequisite under complete document for one substitution but fialed withe syntax error when I tried use the following prerequisite:
    BKPF-BUKRS = 'XXXX' AND
    BSEG-HKONT IN SET1
      But I input this prerequisite under line item it is ok . I am wondering if there is no permit for BSEG table field under prerequisite under complete document. Pls give me some advice on how to under complete document to configure prerequisite using fields both in BKPF and BSEG. Thanks.

    Hi Mohan,
       I did active it at call point3(complete document) but my question is when I configure prerequest I am confused that only BKPF data fields can be used in prerequest. Why field in BSEG can not be used in prerequisite?  Once I input BSEG field in prerequisite there will be syntax error message shown up.

  • How to download a file from the internet using terminal

    how to download a file from the internet using terminal
    does any one know how to download afile from the internet using the Terminal application?

    Use curl. Something like this:
    curl -O http://www.example.com/filename.zip
    For more info, type +man curl+.

  • How do I get rid of the Not Using SoftArtisan File UP notice that is slowing down my uploads to class where I teach?

    How do I get rid of the Not Using SoftArtisan File UP notice that is slowing down my uploads to class where I teach? A notice now appears every time I upload an image to class as an attachment that says, Not Using SoftArtisan File UP, and this appears to be slowing down my uploads tremendously. I want to get rid of this. I never used it before and don't need it and don't want it. I just want the uploads to work like they did before this idiotic notice started slowing things down.

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • How to fetch what are all the tables used in this TR no and Package name of

    Hi Friends,
    I have input of Transport Request no (E070-TRKORR).
    How to fetch what are all the tables used in this TR no and Package name of this Table.

    HI,
    FYI
    SELECT E071OBJECT_NAME, E070MDEVCLASS
    FROM E071, E070M
    WHERE TRKORR = YOU REQUEST NO.

  • How do you on board loop the memory using pci 6534 implementi​ng LabVIEW. Which VI do you use?

    How do you on board loop the memory using pci 6534 implementing LabVIEW. Which VI do you use?

    Hello,
    You will need to set the Pattern Generation Loop Enable attribute to ON in the DIO Parameter VI. This is
    specified on page 2-22 of the 653x User Manual (Jan 2001)
    Hope this helps,
    LA

Maybe you are looking for