How to continue the batch process?

Hi,  I would like to continue the BATCH process even there has error. Does it work if I change the message from 'E' to 'W'? Or should I change the 'E' to 'I'?
If SY-BATCH = 'X',
    LOOP AT gi_messages.
          IF gi_messages-zzmsgty = 'W'.
            g_message = gi_messages-zzmessage.
            MESSAGE <b>e000</b>(z1) WITH gi_vbap-vbeln '-' g_message.
          ENDIF.
        ENDLOOP.
What is the 'e000'? Is this for 'error'? Do I need to change to other for 'Warning'?
Thank you very much!
Helen

Hi,
If you want to continue...use the success message..
MESSAGE S000(Z1) WITH gi_vbap-vbeln.
Thanks,
Naren

Similar Messages

  • How to continue the running process behind the model dialogue box options ?

    How to continue the running process behind the model dialogue box options like this
    In Updation of K7 user press the Cancel Button
    New dialogue box appear with Yes/No options.
    But the backend updation is going on... not Pause the updation.
    Like this how to do ?
    Please provide me code.

    I don't know, if you mean you have done your form or you have solved the problem.
    It's visible your code is only partly reflecting your screenshot, and that's okay to demonstrate the problem you have given a fine example.
    As you marked my suggestion as solution this may not be needed anymore, but here's how I modified your code and used a self made QuestionBox instead of messagebox.
    The essential part is defining a callback method and letting the QuestionBox call back there. It's not essential I used RAISEEVENT, but it's fine as it has all the behaviour and parameters needed to call back.
    Public oTestFrm
    oTestFrm=Createobject("MyForm_Model_to_NonModel")
    oTestFrm.Show
    Define Class MyForm_Model_to_NonModel As Form
    onxx = 0
    Add Object lbl_DispValue As Label With Top=90, Left = 120, Width = 50, Height=30, Caption=''
    Add Object cmd_Start As CommandButton With Top=120, Left = 120, Width = 50, Height=30, Caption='Start'
    Add Object cmd_Stop As CommandButton With Top=120, Left = 190, Width = 50, Height=30, Caption='Stop', Enabled =.F.
    Procedure cmd_Start.Click
    This.Enabled =.F.
    Thisform.cmd_Stop.Enabled =.T.
    Thisform.onxx = 0
    Do While Thisform.onxx < 90000000
    DoEvents
    Thisform.onxx = Thisform.onxx +1
    Thisform.lbl_DispValue.Caption = Transform(Thisform.onxx)
    Enddo
    This.Enabled =.T.
    Thisform.cmd_Stop.Enabled =.F.
    Thisform.lbl_DispValue.Caption = ''
    Procedure cmd_Stop.Click
    * Here, I want NO PAUSE -- (Show running numbers continuously...)
    * how to control Model to NonModel in Messagebox.
    QuestionBox('Really stop the process', Thisform, 'handleanswer')
    Endproc
    Procedure handleanswer
    Lparameters tlYes
    If tlYes && means Stop
    Thisform.onxx = 99999999999999999
    Endif
    Endproc
    Enddefine
    Procedure QuestionBox()
    Lparameters tcMessage, toCaller, tcCallback
    If Not Pemstatus(_Screen,"oForms",5)
    _Screen.AddObject("oForms","Collection")
    Endif
    oMsgBox = Createobject("QuestionBoxForm", tcMessage, toCaller, tcCallback)
    _Screen.oForms.Add(oMsgBox)
    oMsgBox.Show(2)
    Endproc
    Define Class QuestionBoxForm As Form
    Autocenter = .T.
    AlwaysonTop = .T.
    Minwidth = 200
    Add Object label1 As Label With AutoSize=.T., WordWrap =.T.
    Add Object cmdYes As CommandButton With Caption = "Yes", Width=40
    Add Object cmdNo As CommandButton With Caption = "No", Width=40
    Procedure Init()
    Lparameters tcQuestion, toCaller, tcCallback
    Thisform.label1.Caption = tcQuestion+" ?"
    This.AddProperty("oCaller",toCaller)
    This.AddProperty("cCallback",tcCallback)
    This.Width = Max(This.Minwidth, Thisform.label1.Width)
    Thisform.label1.Left = (This.Width-Thisform.label1.Width)/2
    This.Height = Thisform.label1.Height+48
    This.cmdYes.Left = This.Width/2 - 10 - This.cmdYes.Width
    This.cmdNo.Left = This.Width/2 + 10
    This.cmdYes.top = Thisform.label1.Height+24
    This.cmdNo.top = This.cmdYes.top
    Endproc
    Procedure cmdYes.Click
    #Define clYes .T.
    Raiseevent(Thisform.oCaller,Thisform.cCallback,clYes)
    Thisform.Release()
    Endproc
    Procedure cmdNo.Click
    #Define clNo .F.
    Raiseevent(Thisform.oCaller,Thisform.cCallback,clNo)
    Thisform.Release()
    Endproc
    Enddefine
    I didn't yet introduced a timer for counter display updates. As you see the counter hangs a bit, if you mouse over your form, but it is a way of multithreading without using a separate thread and instead keep the rest of the application active by DOEVENTS
    in the long running loop code.
    Bye, Olaf.
    Olaf Doschke - TMN Systemberatung GmbH http://www.tmn-systemberatung.de

  • How to : only one user in a branch can do the batch process at a time ?

    dear gurus,
    In ADF web application, accessed by multiple branch (20), there is a
    batch process to create invoices from orders. There are 3-5 users in a
    branch. one user can process about 30 - 50 orders to become
    invoices.
    Business rule is : In one batch process, each users must produce
    invoices with gapless invoice number. e.g : user_1 create 30 invoices
    no.001 - 030, user_2 create 40 invoices no.031-070 ... and so on...
    So we want to protect that at a time, in one branch, only one user can
    do the batch process. User_2 must wait until user_1 is done to start
    the process.
    We use the table below to maintain the latest invoice number created :
    CREATE TABLE doc_number
    DOC_TYPE VARCHAR2(6 BYTE) NOT NULL,
    BRANCH_CODE VARCHAR2(6 BYTE) NOT NULL,
    DOC_NBR NUMBER(12) DEFAULT 0,
    CONSTRAINT "DOC_NUMBER_PK" PRIMARY KEY (DOC_TYPE, BRANCH_CODE)
    The question is :
    I think of locking a spicific row of the doc_number table (select ...
    for update wait 10) at the beginning of the batch process stored
    procedure.
    But what if the session/connection left orphan and the row is lockde
    forever before the dba kill it ?
    So is there a better approach to limit the user execution of the
    process ?
    Thank you very much for your help,
    Krist

    Forget it. See http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4343369880986.
    However, if you are dead set on doing this old fashioned thing of trying to emulate paper invoices from a numbered tablet, you could always just let everyone generate all of their invoices with no invoice number whenever they want, then at some time ( say 21:00 every day), take a lock on the table and apply invoice numbers to all of the records with a null invoice number -- which will take only a few centiseconds at most. And let the users/system print only invoices that have numbers assigned. This way, you pretty much eliminate the concurrency issue of various branches generating invoices only in their time window -- yuk, what an awful way to have to do business.
    And completely forget about users or branches having their own range of numbers. That is completely nuts. Your database already knows which branch owns which invoice, right??

  • How to get the all process orders and outbound deliveries based on material

    Hi Team ,
    I need one help from you regarding the MB 56 transaction.
    My doubt is : How to get the all process orders and outbound deliveries based on material, plant and batch?
    Please help me regarding this.
    Thanks & Regards,
    Srikanth.

    Hi,
    You can use ST05,to trace the program and find out,
    hope it will help you...
    thanks and regards,
    veera.

  • Tried upgrading to new OS 5, and now itunes won't continue the activation process, what do I do?

    I recently tried upgrading my iphone 4 to the new OS 5, and now itunes won't continue the activation process. It keeps say that an unexpected error has occured, Error 310. I am very frustrated and now have no phone to call apple, and there website is no help. What do I do?

    Hi seth fromhollywood,
    I found this in internet, I hope it helps:
    Error
    -310
    Name
    SmFHBlockRdErr
    OS
    Mac OS
    Error Title
    smFHBlockRdErr
    Message
    Error occurred during _sGetFHeader.
    Risk Level
    9
    for resolution look here ...

  • How to stop the running process chain

    How to stop the running process chains or infopackges...just qm status change is enought?

    BI - SM 37 - Kill the Job
    ECC - SM 50 - Kill the job

  • How to stop the backup process....

    How to stop the backup process....
    Okay, so it happens nearly everytime you synch your iPhone with your iTunes? Easy. As soon as it starts, hit the "X" in the bar where the backup process is being shown, this does NOT STOP the synching process, ONLY the backup process.
    HOWEVER, keep in mind that a few times during the week (depends how often you synch ur iPhone) it will be good to let the backup process let run fully.
    There we go. Problem solved...

    i agree its what i do i backup whenever i add a new app, or take more pics etc its exactly what i do its what ive been saying on all these threads talking about backups etc, im hoping in 2.0.1 will be bug fixes about this sort of thing...

  • Where is the batch process command in Bridge CS6?

    Where is the batch process command in Bridge CS6?  I want to convert to Tiffs.

    Found it. Woohoo!

  • How to determine the Parent process information in Oracle BPMS 10g

    Hi ,
    I am trying to retrieve the parent process information given the instanceId and Process Id of an instance of a process from a different process.
    I am getting the instanceId of the instance in workspace using the Fuego.Papi.ProcessService and by creating the Filter.
    I tried using the ProcessInstance.parent but it needs to be instantiated using the instance details of my referred instance, which i am not able to do.
    Can some one shed some light on how to get the parent process details from the referred instance.
    Thanks,
    shravan.

    Hi,
    If you mean to increase the request timeout i.e the time when a request is submitted to the server and the response is sent by the server it can be done in httpd.conf file located in $OracleHome/Apache/Apache/conf directory.
    The attribute to be used for setting timeout is "Timeout". By default teh value is 600 seconds i.e 5 minutes.
    After making these changes , run command dcmctl updateConfig -ct OHS and restart the HTTP Server. Please note these commands need to be run only if the httpd.conf changes are done through text editor.
    Hope this helps.
    Smita

  • How to continue the screen in Screen -painter?

    Hi friends can anybody help me out in knowing how to continue the fields in screen painter. For clear explanation i have got 20 fields to be entered in my form, but when i am going to layout of screen painter i have been able to accomadate only 12 the rest 8 i want to be in continuation.
    hope you can under stand.
    suppose if this is the layout
                                     Registration
    01. ......
    02. ,,,,,,
    12. ,,,,,,,,
    i have accomadated in one single screen
    i want to accomadate the rest 8 in continuation can i know how?
    please its urgent for me.

    hi
    increase the window size.
    regards
    sreelatha gullapalli

  • How to restart the Successfully processed messages

    Hi,
    I have IDOC to File Scenario
    we posted the idoc from R/3 and it has processed successfully.
    Now again i want to process that idoc again with out going to R/3.
    How to restart the Successfully processed message from MONI.
    we have one option in MONI Restart. this is not working for Successfully processed messages.
    How to achieve this
    Regards
    Suman

    Hello Suman..
    XI: Restarting successfully processed messages..
    Go through this : Michal Krawczyk Blog This will really helpful to you..
    /people/michal.krawczyk2/blog/2005/11/09/xi-restarting-successfully-processed-messages
    Reward Points If it is Helpful...
    Thanks,
    Satya Kumar..

  • How to synchronise the job processing from the program.

    How to synbchronize the job processing when we are creating jobs from the program.
    Thanks,
    Ramana.

    hi,
    yes you can do this..
    try this
    create a two screen suppose 9000 and 9001..
    then right click on your program name...
    create a TCODE say TONE..
    in this give the screen number 9000..
    now again right click on the program name
    create a TCODE say Tsecond
    in this give the screen number 9001...
    hope this will help you..
    Regards
    Ritesh J

  • How to reverse the Batch number which was enter wrongly during GRN posting

    Hi Folk,
    How to reverse the Batch number which was enter wrongly during GRN posting .
    Please revert.
    Thank you.

    You can either do a transfer posting and move quantity from this batch to another batch e.g. in MB1B with movement 311, or you cancel the entire material document using MBST transaction and redo your receipt correctly.
    Then you can flag the wrong batch for deletion in MSC2N.
    The batch itself gets deleted physically with the archiving transaction SARA object MM_SPSTOCK

  • How to run the batch files

    Hi Experts,
    I am trying to implement automatic cache purging every day at specified time and i created txt file with SApurge All cache() and created bat file with nqcmd -q Analyticsweb -u username -p password -s (txt file location).
    Now i want to run this bat file daily at specified time with out executing manually may i know how to run the batch file at specified time .
    Thanks,

    There is task type as command in workflow manager if you want you can go for that during the load
    nqcmd -d "AnalyticsWeb" -u Administrator -p Administrator -s "D:\PowerCenter8.1.1\server\infa_shared\SrcFiles\1_BIPurgeCache.txt"
    Check these urls
    http://docs.oracle.com/cd/E12103_01/books/AnySched/AnySched_Scripts3.html
    http://deliverbi.blogspot.com/2011/12/purge-all-cache-from-dashboard.html

  • How to learn the Business Process and how it is related to BI?

    Dear Experts,
    How to learn the Business Process? for example the business process from finance to sales. As I am more involved in technical development of BI; I dont know or having very hard time to understand what the business process. And how the Business Process is related to BI?
    I think if I don't understand the business process than it is very hard to satisfy the User requirements. If you have any documentation please feel free to forward it to [email protected]
    I wish you happy new year. Thank you in advance.
    Aslam.

    If only plan data entered, try to delete the planning data before delete the object and then re-create it again. Otherwise you may have to leave it as is and change the description for the usage by the different company code.

Maybe you are looking for

  • Pleasse help me with this error in SQL statement

    Please tell me the error in this query: the Error given is java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement given : Databse is MS Access In the databse : account - text number - text date - date/t

  • DTW BP Catalog numbers many records

    Hi Experts, I have a business scenario where the client has around 500 customers and around 50 Vendors. Each vendor has its own item list with specific BP Catalog numbers and price associated with the items supplied by that vendor. In order to mainta

  • Parsing input stream into named value pairs

    Hi everyone. I figured I would post this scenario, and hope to get some 'expert' opinions on what the best way to handle this would be. I have an input stream being returned to me and I need to separate them into name/value pairs. I receive this as t

  • Installation of Presenter 10 after uninstalling previous versions

    I have a problem with the installation of Adobe Presenter 10 with a previous installation of presenter 7 as plugin of acrobat. I uninstalled presenter 7, clean cookie, system register with Norton, eliminated any other visible trace of Prsenter 7, but

  • Pass value from one layer to another.

    Hey, Is it possible to pass a value from one layer to another. I have a text that I'll get from layer 1 and I want to pass the value to a TextArea in layer 3. Is it possible, anyone? Thanks.