How to stop the posting of documents when there is an error in record

Hi,
I have one issue with respect to posting of documents.
In my Exl sheet there are 1900 records which would split into 950 records during run time.
For each 950 records a document to be created.  Here the issue, during test run thers is no error where all the validations are done and records in xl sheet are correct.
However when  posting, i am submitting to to standard program rfbibl01, where it is creating the session and output of the program is not showing any errors - report.
During execution of  session, it is creating document for 1 set of 950 records and for 2 set it is finding some error and not creating any document.
Now my requirment is as follows: since there is an error in second set, i don't want to post any record starting from the begining. No document should be created.
In my program  once i have submitted to standard document i don't have any control over the progam in stopping the creation of session or document creation.
Any solutions are most welcome.
Thanks in advance.
Regards
Harikrishna
Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:45 AM
Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:48 AM
Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:50 AM

Hi ,
Use the FirstVisibleRow property of the table , bind with some attribute containing the index of the selected row...
Regards
Yash

Similar Messages

  • How to stop tposting of documents when there is an error in record

    Hi,
    I have one issue with respect to posting of documents.
    In my Exl sheet there are 1900 records which would split into 950 records during run time.
    For each 950 records a document to be created.  Here the issue, during test run thers is no error where all the validations are done and records in xl sheet are correct.
    However when  posting, i am submitting to to standard program rfbibl01, where it is creating the session and output of the program is not showing any errors - report.
    During execution of  session, it is creating document for 1 set of 950 records and for 2 set it is finding some error and not creating any document.
    Now my requirment is as follows: since there is an error in second set, i don't want to post any record starting from the begining. No document should be created.
    In my program  once i have submitted to standard document i don't have any control over the progam in stopping the creation of session or document creation.
    Any solutions are most welcome.
    Thanks in advance.
    Regards
    Harikrishna
    Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:46 AM
    Edited by: Harikrishna yoganarasimhaiah on Feb 1, 2008 7:49 AM

    Hi ,
    Use the FirstVisibleRow property of the table , bind with some attribute containing the index of the selected row...
    Regards
    Yash

  • 10133 ADF: How to stop search button to execute when there is an error

    Hi,
    I have two dropdownlists in a search criteria on a search page. The search result is at the bottom of the same page. The two values in the dropdownlists need to be validated when the search button is clicked. The validation logic is put in the searchBtn_action method binded to the search button. In the logic, when an invalid combination happens, I am able to post some error message on top of the page. But how can I stop the application to execute the sql statement? I mean if there is any method I can call to exit if there is an error? Thank you very much.
    Regards,
    Annie

    This is most likely an optimization problem. I know such behaviour existed in the past with some functions and NI usually fixed it in some later release, but the recent changes in the LabVIEW compiler to use LLVM and various optimization improvements may have added this "feature" back in. The default value behaviour is certainly correct and consistent but the behaviour without default value feels not right to me for LabVIEW. In C I would say ok this is simply undefined behaviour and that means the produced code is entitled to even format your harddisk, since C explicitedly says all undefined behaviour is subject to choices by the implementor and is allowed to do whatever the implementor sees fit, including changing behavior between any version of the compiler.
    But LabVIEW as a high level language has explicitedly so called default default data, which in this case should be used. Just having read a bit about LLVM I know they are wrestling with C undefined behaviour as well and LLVM being used a backend by several C compilers already has to deal with them. The reason that C explicitedly has many undefined behaviours is to allow various and sometimes significant optimizations, that could not be done, if the C standard would explicitedly require specific behaviour in certain cases (for instance uninitialized variables).
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • How to stop the prodution order creating when the product is not valued?

    Hi guyes:
    How to stop the prodution order creating when the product is not valued using CO01?
    I hope that when i create the production order,the system will check the product is valued or not,if not
    the system will show an error or warning message!
    How to config for this?
    Thank you!

    Dear Zhao Gang,
    Check with this user Exits mentioned in this link,
    Prevent Production Order from "Release" if there is no Cost Estimate
    Re: User Exit at Production Order Release
    Check and revert back.
    Regards
    Mangalraj.S

  • Can't stop the dock icon bouncing when there is an "alert" from Thunderbird

    I posted this question on the MozillaZine forum, but no-one there answered so I thought I'd try here.
    I'm using Thunderbird 2.0.0.14 for my email. Is there a way to stop the dock icon bouncing when there is an "alert"? These happen relatively frequently in connection with my Yahoo account, and every time the icon bounces until I go to Thunderbird and click "ok" on the alert box. This is slowly driving me nuts. I have disabled the "animate dock icon" setting for new mail, and for my whole system when programs start or open, but it hasn't had any effect on the behaviour of the icon with regards to alerts.
    Thanks.
    C

    Sorry, I am not trying to be difficult. I'm just lost.
    Hey, no problem, really... we're here trying to help & just need to find out what is needed to help!
    You really should right click on the whole Thubderbird folder and Archive it first, so we can go back if need be.
    Then, it appears that if you just recreate the account, with the name, email, server, and smtp, then everything comes back for that account... at least for global accounts.
    If you wish to hold off on this then just move the original .js back and start T-Bird again, then I can search for a way to edit the existing .js file, because for some reason, when you change your prefs back, it's not changing that file like it should.

  • How to stop the executable from starting when opened

    Hi Guys,
    I am building an exe with the application builder. I am not able to find a way to stop the exe from running when opened. I dont need the exe to run. I know I m missing a very basic step here but I m not able to do that.
    Could anyone explain me how to do this.
    Regards,
    Nitin

    Hello,
    This is Dominic L. from Applications Engineering at National Instruments. This was reported to R&D (CAR#41DAPUQU) and was fixed in LabVIEW 8.2.1. Here is a link to the current evaluation software download for LabVIEW:
    http://digital.ni.com/demo.nsf/websearch/14f9ce475127ade786256ac60070926c?opendocument
    This particular bug actually renders all the build options for source file settings unusable. While the other options can be set manually in the source VI properties, the start-up VI will always run when an executable is opened.
    Here are three different workarounds to this:
    Option 1 - Upgrade to 8.2.1. 
    Option 2 - Check "Enable debugging" and "Wait for debugger on launch" in the Advanced page of the build specification. One side effect is this will include the block diagrams of the VIs and extra code for debug tool support. Note that if you don't protect the source code (block diagram), it kind of defeats the purpose of creating an executable.
    Option 3 - Use a dummy startup VI to launch the desired startup VI.
    For the third workaround, the attached "Dummy Startup VI.vi" uses VI server to open the desired startup VI's front panel and then closes.  To use the Dummy Startup VI follow these steps:
    Add the Dummy Startup VI to the project.
    Open the Dummy Startup VI and change "Main VI.vi" to the VI you would like to open but not run in the project and save.
    In the source files page of the build, select the Dummy Startup VI as a startup VI and the VI you would like to open but not run as a support VI.
    Build and run.
    I hope this helps.
    Have a great evening!
    Best Regards,
    Dominic L.
    Attachments:
    Dummy Startup VI.vi ‏12 KB

  • File adapter can I avoid that the file is  deleted when there's an error

    Hello,
    my bpel process reads files with records and deletes them from the source directory after successful retrieval (using file polling) and then updates the status of that records in a database.
    The problem is that it seems like the file is deleted as soon as it is picked up by the BPEL process so if there's an error with the database connection the file was already deleted from the source directory.
    How can I avoid this? The file should only be deleted at the end of the bpel process.
    Regards,
    Lara Fernandes.

    Hi Lara Fernandes,
    In this case of database being not available after you have picked up the file by polling, rather than allowing the process to fault and close, you can put the process into manual recovery and then the process can be retried from there, without any loss of data.
    This would ensure that it would not matter that the file was deleted from the polling directory as soon as the process was initiated.
    Hope this helps,
    Regards,
    Shanmu.
    http://www.prshanmu.com/articles/

  • How to stop the searching on dashboard when one opens the dashboard...

    HI all,
    once user enters the dashboard the reports should not run immediately...
    is there any way to stop it?? the report should rather show some Default value....
    Actuall the req we are having is to call a procedure thru a function via report & i am displaying the return value column on screen as it indicate the running on of the procedure in backend....& on its click we are showing the updated report..having updated results for DB.
    Thanks..
    Pankaj
    Edited by: Pankaj Nakil on Feb 6, 2009 6:35 AM

    Thanks lot friends,,,
    As we have a requirement we need to call a backend procedure from the report...
    what i have done is.. i have placed a return value column of the procedure on the dashboaard...
    when the user gvies parameters & hits GO it starts searchign and only when the procedure finishes it stops & gives a link to see the result in new tab.
    This way we ensure the lnk is seen only when the procedure is completed & the user sees updated results only...
    Is there any way it should only start running when the user hits the go button till then it show the link as it is..
    THanks a lot
    Pankaj

  • How to 'Stop the Clock' for SLA when in customer action?

    Hi
    Does anyone know if the functionality exists so that when a support message goes into 'customer action' or 'solution proposed' status the SLA stops counting down until the message is put back into 'in process'?
    The SLA is out of your control when it is waiting for an action from the user so it should be possible for the clock to stop on the SLA automatically when this is the case and the SLA should re-start and re-calculate the new 'completion by' date.
    I know that this is standard in many other types of Helpdesk software but can't find the way to do this with Service Desk.  Can anyone help?
    We are on SM7 SP22. 
    Thanks very much for your help.
    Regards
    Ashley

    Hello Ashley,
    Have you seen this document [Advanced Quick Guide for VARs Service Desk (Jan 2010)|https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000722612&_OBJECT=011000358700000122472008E]   ?
    You might want to reference section 5. Service Level Agreements.
    Regards,
    Paul

  • Hi, How to stop the open new view when i click button in OnClick event

    Hi,
    I have the popup window[window.showodelDialog] with one button called confirm.and table control values
    Actual requirement: when i click confirm button it saves the tablecontrol value in the internal table. it is fine.It saves.
    Currently working is : When i click the confirm button in the onClick event ,the new view is opening with empty tablecontrol popupin the new window.I don't want that one.
    my requirement is: When i click the confirm button through onclick event ,i want to close the currently showing popupwindow and it should come to main page.How to do that?
    view1.htm
    =======
       <htmlb:button id            = "sub1"
            onClick =""
            text          = "Confirm" />
    Do_handle_data
    ============
      LOOP AT lt_form_fields INTO lw_form_field WHERE name CS
                                              't_confirm' .
        CALL METHOD /ds1/cl_mdm_tablecontrol=>populate_table(
                       EXPORTING
                         im_id      = 't_confirm'
                         im_request = me->request
                       CHANGING
                       ch_table   = me->r_asset_data->t_maintain ).
        EXIT.
        ENDLOOP.
    t_maintain it stores the changed values.. It is fine..

    Hi raja,
    1.I have a main page like req_asset_create.htm. In this page one button called maintain. If i click the maintain button the popup window is opening using window.showModelDialog. 
    2. In this popup i have a Editable tableview and one button called confirm. User can edit the values. After editing he is clicking the confirm button.
    3.when he click the confirm button two things should happen a)Popup should vanish and it should go to main page ie req_asset_create.htm.The editrd values should store in to the internal table (t_maintain).it is in model class.
    What heppenings for me using this code
    =============================
    <%----
    confirm -
    --%>
        <htmlb:button id            = "con"
            onClientClick = "self.close();"
            text          = "confirm"
            onClick       = "confirm"/>
    When i click the confirm button ->popup is closing ->thats 100% fine and again one new view is coming with popupdisplay values.This should not happen.
    a)The server event is not happening.It should happen.
    b) The edited values are not stored in the internal table..
    Do_handle_data : for storing the edited tableview values
    ===========   
    confirm
      LOOP AT lt_form_fields INTO lw_form_field WHERE name CS
                                              'con' .
        CALL METHOD /ds1/cl_mdm_tablecontrol=>populate_table(
                       EXPORTING
                         im_id      = 'tv1'
                         im_request = me->request
                       CHANGING
                       ch_table   = me->r_asset_data->t_maintain ).
        EXIT.
        ENDLOOP.
    What should i do to happen for the server event to update the edited records.
    How can i achieve? ow to control the new opening view?

  • How to stop the keyboard from showing when checkbox is selected

    Whenever a user checks off a checkbox, the keyboard appears.
    How do I turn off this feature?

    This is likely a web-site-specific issue.  Can you share a link to the web page that behaves this way?

  • How to Stop the preview from jumping when  using .avi's??

    Hi
    Ive been having aproblem where the .avi file I have imported will just jump forward , making it impossible to edit.. I have try reconverting th.avi's to lower bitrate, and still it jumps ,, the avi files iam using having been converted from SUPER to .avi with h.264/AVC Video Codec, at 1280 * 720 and 29.97 Fps -> Bitrate 2208 kbs,, if anyone has any suggestions,,??

    DV won't handle John's frame size. He may be better off using Desktop mode with something like the Lagarith codec, though Premiere may not edit perfectly smooth with that one either.

  • Error when Updating the posted AR Document

    Hi all
    When i try to update the due date in the Posted AR Document it gives me an error stating that "This entry already exists in ADO1 Table(ODBC)"...
    But i can update the same in the super user login... I thought it was an authorization problem... But the user updated few documents... for the rest he gets this error...
    Marikannan

    Hello Marikannan,
    Please run the checking query:
    Select  T0.docentry, T0.objtype, T1.docentry
    from ADO1 T0 Left join ADOC T1 on
    T0.Docentry = T1.docentry and T0.objtype = T1.objtype and
    T0.loginstanc = T1.loginstanc
    where  T1.docentry is null
    If there is any result from this query, I think you should create a support ticke and send it
    to the SAP Support Center.
    Regards
    Helen

  • How to reprint a posted GR document

    hello guys:
    During execute GR by MIGO, normally we tick the Print option to let the document printed after posting. But in same cases, the user forgets to choose the option, then of cource no document is printed.
    The question is: in such case, how to reprint the posted GR document? I can not find a standard transaction to do so.
    Regards.
    Andy

    Hi Andy,
    The only way I know of doing this is to go to the Messages screen for the first item on the document via MB02, and manually add the output type details to the document.
    You will need to look at a document that printed successfully to get the appropriate output type, medium, partner, and communication method.
    Regards,
    Monika

  • Calling a subpanel, pops up in own window instead of sub panel when there is an error

    Hi all. I am working on my first real LV project for my company, and I am having some problems. The main one right now happens when I am trying to call a subVI into a subpanel. It shows up in the subpanel just fine when the program starts, but when there is an error in the error handler it skips over the invoke method and pops my subVI in its own window. Anyone have an idea on what I am doing wrong? I have included a picture of how I am trying to populate the subpanel.
    Attachments:
    subpanel.jpg ‏59 KB

    robot_mower_guy wrote:
    but when there is an error in the error handler it skips over the invoke method and pops my subVI in its own window.
    I assume you have an error handling case in your state machine.  So if an error happens in your error handler, you will have be passing that error around the shift register.  Yes, that will mean that the invoke node ot insert the VI will not run due  to the error.  You need to handle your error from the error handling state.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines

Maybe you are looking for

  • The page total amount is not correct on discoverer plus 10.1.1.48.18

    on my discoverer report, there is sunnary field based on a column. for example, I have a salesrep expense discoverer report. the salesrep name is the page item, each page has one salesrep, under the page item there are many line which show the expens

  • Symbols jumping in the dock

    Hi When I open a program like Pages I'm asked to choose a template. If I'm using another program while Pages is opening the Pages symbols starts to jump in the dock. This is a bit annoying when you are using GarageBand for instance cause it disturbs

  • Adding a webmail account

    I have a webmail account. It used to appear in my mail as its own separate mail box location (like 'on my mac' or 'icloud') I had a whole set of folders set up for my emails in relation to that account. I had trouble with that account last week and h

  • JSF Link PArameter get null

    I have a page with link http://localhost:8080/Test/Page.faces?id=asdasdasd The page got 2 text field and one button, after user key in the details and click submit, it works well when you first time click the submit button, the id will return me the

  • Does the Distribution download have the correct version of the Plugin?

    I am downloading the MSI package for the 'Adobe Flash ActiveX and Plugin' (link below), like I do every month. The ActiveX download appears to be fine. However, the Plugin download does not appear to be correct, looks different. In Program and Featur