How can I detect the posting of a sales document?

Hi all,
I have written an ABAP program which creates automatically a number of sales documents following the sequence: sales order, delivery, goods issue, billing, sales order, delivery, goods issue, billing, ... and so on.
My problem is that although I get the number of the created sales document when my program proceeds to create the next document in the sequence sometimes this is not possible because the previous document has not been actually posted yet.
For the creation of the documents I use either recorded transactions or BAPIs and COMMIT WORK AND WAIT.
At the moment I query the relevant SAP tables in a loop to find out whether a document has been posted.
Is there any other way to find out when a document gets actually posted?
Regards,
GB

Hi!
sales order - VBAK
delivery    - LIKP
goods issue - MKPF
billing     - VBRK
What is infinitely? In really bad situations I have already seen 20 minutes and more (stress test or general update problems (table overflow with subsequent stop of update tasks)).
Also selecting entries of update tables (e.g. VBHDR / see above) is as good - it's not a big difference if you go for this or the document table. I prefer the document tables: then case the update task is gone, but hasn't finished correct I can only discover with document table checks.
Regards,
Christian

Similar Messages

  • How can i see the posts that i answered?

    How can i see the posts that i answered?
    Actually i some others post for a VLAN.. now i need that post ... but i'm unable to find it...
    Can someone please help me in this ?
    Regards,
    Chandu

    I probably do not fully understand your question. Based on what I think I understand I offer these suggestions:
    - if you click on your profile, or using the account link on a forum page select profile, then at the bottom of the information of your profile is a list of the responses that you have made. But it displays a limited number of responses.
    - if you use the search feature of the community you might find it by searching on your name, or better to search for some term that was used in the response.
    HTH
    Rick

  • How can i detect the windows version

    Hi,
    How can I detect the windows version from Forms 6i?
    I was used get_application_property(operating_system); But it only return MSWINDOWS, MSWINDOWS32, WIN32COMMON.
    Any function or way can return the exact windows version(98/ME/NT/XP)?
    Regards, Wing

    You may use Win_Api_Environment API call to get windows version.
    I have sample code on my home PC if you need code send mail at [email protected]

  • How can I detect the lable of CD or hard drive?

    hi all
    How can I detect the lable of CD or hard drive?
    thanx ;)

    Hi,
    Not to my knowmledge... you must use JNI to access the OS methods for that.
    JRG

  • How can I detect the PC show down event?

    I want to save a file to a certain destination once the PC shut down event happened.
    And the save process must be proceeded prior to the PC shutdown.
    How can I detect the PC shut down event?

    Hi there
    Try the "Application Instance Close?" Event.
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • How can I detect the vertices of a rectangle in my image ?

    I have applied a gradientMagnitude operator to my Image, and now I can see the shape of a rectangle with also other lines.
    How can I detect the vertices of the rectangle in my image?
    thank you

    Right mouse click the song and select "Get Info", go to option tab and check both Start Time and Stop Time.  Type in the Start and Stop time then click OK

  • How can i extend the customer  to other  sales area

    how can i extend the customer  to other  sales area

    Hello Harish,
      Once you have a customer (eg. 100002) in one sales area (eg. 0010/10/10), you open XD01 tcode, enter the same  customer number (100002) in customer field and enter sales area (say u want to create in 0020/10/10) in which you want to create the same customer. Now in Reference section, enter the customer number (100002) and sales area in which already the customer exists (0010/10/10). When you press enter, it allows you to modify the sales area data for the customer for new sales area.
    then save it.
    Hope it is clear...

  • How can I use the POST form in defining a SAMLCredentialMapperV2

    Hi,
    I am trying to configure the SAMLCredentialMapperV2 in our WebLogic Portal 10.3.2. There is a parameter called "POST form -
    The POST form used with this SAML Relying Party". Can anyone give me a hint of how I can use this form parameter, where I have to deploy this form
    and where can I find documentation about those parameters.
    Any help would be appreciated.
    Best Regards
    Edmund

    As far as i remember his parameter was optional
    http://www.oracle.com/technology/pub/articles/dev2arch/2006/12/sso-with-saml.html is probably a better article, dont know if has any updates since this was written for 9.2

  • How can I detect the Mac OS version in JavaScript?

    I know how to detect the OS (e.g. Mac or Win) using navigator.userAgent, but I need a way to know the OSX "version" that the user is running.

    You cannot detect the Mac OS X version directly through JavaScript; you can use this information to determine whether they're using a PowerPC or Intel Mac. If a visitor is using Safari, you can estimate the Mac OS X version by getting the browser's version and then using this table to translate that.
    (19662)

  • How can I find the posted data in XI

    Hi ,
    In my scenario Vendor data is posting into SAP from File Adapter. When I saw in Runtime workbench or sxmb_moni , i am not able to find the exat data according to Datatype created in XI. How to findout exact data we received from the FTP server.
    Regards,
    Anjaneya

    Hi,
    U can even find the message in the RWB.
    1. Select communication channel monitoring.
    2. Select the file adapter and click the use filter button.
    3. Click on the mesage id.
    4. In the new window click on the Message Content tab.
    5. Select the payload option in the Message part drop down menu.
    Regards
    San
    Remember to set the thread to solved when you have received a solution there is a Way.

  • How can i detect the version of the browser in applet

    i wanto detect the version of the browser in applet
    can you help me?

    Hi glovebx!
    Currently there isn't way via java applets since the nearest method is System.getProperty(String key)
    and there isn't a proper key allowed to browser version/name.
    Try to get this browser property via javascript then interact with applet using package netscape.javascript.JSObject.
    Best Regards.
    P.S.: Visit http://developer.netscape.com to read about this issue.

  • How can I reverse the posting generated by MF47 or COGI?

    Hi,
    Using transaction MF47 I have generated a posting document. But when I ran MF47 I did it with the wrong posting date, so the accounting document generated by transaction MF47 has the wrong posting date. I would like to reverse the document generated by MF47 in order to run MF47 afterwards with the correct posting date. Is it possible? I  have try to reverse it using MF41 but I do not see the document generated by MF47 in order to reverse it.
    Thank you very much,
    Ariana

    Hi,
    It is not possible to reverse the MF47 entry or COGI entry. Once it is cleared means that's all. May be you can try with cancelling the material document and once again you can try with the backflush. But this will not create any COGI entries reversal or MF47 entries reversal.
    Regards,
    V. Suresh

  • How can we automate the Post system refresh activities

    All,
    Just want to know if there is a way to automate most of the post system refresh activities that were done by Basis.
    Please note that i am talking about Post System refresh activities.
    Appreciate your responses.
    Thanks,
    Giri

    It all depends on what you would like to do: you keep the same SID or is it a rename?
    - you could plan 1 jobs on production after event 'Zafterrefresh" with following steps:
    that runs a BDLS
    that does a cleanup of the spools
    cleanup application logs
    Trigger the event after the refresh and that starts.
    Depending on your system you can run multiple jobs in //
    some actions will have to be done manually:
    user import
    TMS config
    etc

  • Hi, how can I eliminate the post stamps on pages of my iPhoto album? Thanks for your help - regards - Claire

    Hello everyone,
    In the subject, I believe I specify exactly my problem. I am using iPhoto but am a beginner. So lots of new things to learn.
    I thus would like to eliminate the post stamps which appear on almost every single page of my photo album.
    Can anyone help me?
    Many thanks
    Claire

    Hi Terrence,  you are quite right - looking further into the file, I notice now that I choose the wrong theme, one which has stamps on every single page. Thanks a lot for your help. I am now able to improve my work on my present iPhoto album. Regards - Claire

  • How can I get the POST data out of a quiz?

    Trying to get data out of a quiz with PHP or ASP. How? Do I
    have to set up the Quiz Output to something in particular? I want
    to get the $_POST['correct'] information out --or
    Request.Form("correct"). How do I do it?

    This thread is cross posted. Please review the
    Posting
    Guidelines for more information on why this is a bad thing.
    Click
    here to view the original thread

Maybe you are looking for

  • Sales Order cost estimate with variant config

    Hi I'm hoping for some advice on costing on a variant material. I have created a sales order for a variant material and ran a cost estimate to get costs for the sales order.  Should this populate a cost condition within the sales order pricing?  How

  • Can't connect to Mac Pro from Macbook Pro on finder

    Hi there was wondering if someone can help me out with this? I used to be able to connect through the side panel on the finder with my macbook to my mac pro and vice versa.  I had not used this function in a few months and tried the other day and it

  • Occasionally flickering iMac screen after installing Yosemite

    Occasionally flickering iMac ()intel) screen after installing Yosemite. Cannot yet specify when the flickering occurs, but it cover large sections of the screen. Absolutely annoying.

  • I've to extract the data based on the sysdate...like today dd is 11,

    BM_PERF is the table name and BM_PERF_YR,BM_PERF_MONTH,BM_NOP_CT_1........BM_NOP_CT_31 are the column names. I've to extract the data based on the sysdate...like today dd is 11 so i've to get data from BM_NOP_CT_11 and the column names changes dynami

  • Adobe acrobat 8 language issue

    Hi there by mistake i have installed the acrobat 8 in english to my user and she want to have it in french i try to uninstall it and reboot but when i start the install again i got no choice of changing the language to french is there a way to change