How to handle the error " Table passed to EDI_STATUS_ADD_BLOCK is empty"

Hi All,
We are generating idoc for any material changes using change pointers.  Our requirement is the idoc should not generate for few plants.
I have programed in the exit EXIT_SAPLBD11_001, in sucha a way that i am refreshing the table idoc_data for those few plants.
But while generating idoc, am getting an error saying -   * " Table passed to EDI_STATUS_ADD_BLOCK is empty" . *
Filtering at model view will not work( because I have 130 plants to be included and only 20 plants to be excluded ) .
Is there negative filtering that can be done ? or any other way to overcome this error ?
Please give your suggestions.
Thank you,
Kusuma

Hi,
You can achieve this by using the concept called BTE, BTE will help you to filter them. We have used that quiet successfully in my earlier project.
BTE means Business Transaction Event.
Thanks,
Mahesh.

Similar Messages

  • How to handle the #error in ssrs expression

    hi 
    Please any one help me to resolve this #error ,
    I have a calculated filed in that expression i given a if condition like below 
    data of column is coming like this 0 , 0.0 
    =IIF(Fields!Column1.Value=0,0,((Fields!Column2.Value - Fields!Column1.Value)/( Fields!Column1.Value)))
    how to handle the #error 
    Please let me know any one 

    Hi deepuk23,
    According to your description, when you use the IIF() function in the report you got some error,right?
    The issue can be caused by the column1 and column2 have different datatype, I assumed that one is integer and another is float, when the Column1 is 0 or null,  because IIF() function always evaluates both the true part and the false part, even
    though it returns only one of them, it will throw out the error. 
    To resolve the issue, you should use a nested IIF() function to avoid the zero-divisor in any rate like below:
    =IIF(Fields!Column1.Value=0,0,((Fields!Column2.Value - Fields!Column1.Value)/(IIF(Fields!Column1.Value=0,1,Fields!Column1.Value))))
    For more information, please refer to this article:
    FAQ: Why does the “Attempted to divide by zero” error still happen?
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • How to handle the errors using RSRV tcode

    Hi all,
           Could any one give tell me how to handle the errors,(if possible give me some example errors)and correct the errors using RSRV tcode.
    Thanks & Regards,
    Aswini.

    Hello Aswini,
    For further details on RSRV go through the link:
    http://help.sap.com/saphelp_nw04/helpdata/en/92/1d733b73a8f706e10000000a11402f/frameset.htm
    Hope it helps
    Cheers
    SRS

  • How to handle the error handling..its urgent

    hi guys...
    how to handle the Exception using jsf. for example...in java program we try to connect the server...if server not connect then the exception occur like java.net.ConnectException.. i have to handle exception using jsf and display related error page...plz give me ur valuable words..its need is very urgent..
    advance thanx and with regards
    DJ

    Hi,
    1. create a new error bundle (myErrMsg) // copy from javax/faces/Messages.properties in jsf-impl.jar
    2. declare this bundle in your faces-config
    <application>
    <message-bundle>bundle.MyErrMsg</message-bundle>
    <locale-config>
    <default-locale>en</default-locale>
    <supported-locale>de</supported-locale>
    <supported-locale>fr</supported-locale>
    </locale-config>
    </application>
    3. handle the Exception in your backing bean
    ResourceBundle bdle = ResourceBundle.getBundle("bundle.MyErrMsg",this.getLocale());
    context.addMessage(clientId, new FacesMessage(severity, bdle.getString(key), null));
    4. add the tag messages in your jsp
    <h:messages layout="table" errorClass="TextError" infoClass="Text"/>

  • How to handle the date attribute,passing parameter from one page to another

    hi Friends,
    i want to pass data attribute from one page to another page-
    i am passing like below ,in jdev log window i am getting below error.
    String StatusUpdateDate = row.getAttribute("StatusUpdateDate");
    params.put("StatusUpdateDate",StatusUpdateDate)
    Error(121,50): incompatible types; found: java.lang.Object, required: java.lang.String
    Suppose i am passing like below , while moving one page to another i am getting below error in application
    String StatusUpdateDate = row.getAttribute("StatusUpdateDate").toString()
    Status Update Date - JBO-25009: Cannot create an object of type:oracle.jbo.domain.Date with value:26-MAR-2009
    please can any suggest me how to handle this error.
    Thanks and Regards,
    vamshi

    Hi Pratap, Thanks for your help
    it was my mistake that previously property it was varchar2, now i have changed as you suggested every thing. still i am getting error. this is my code-
    AM CODE-
    public void xxselection(String Name, String Email,String Product,String Region, DATE StatusUpdateDate)
    DetailVOImpl vo1=getDetailVO1();
    vo1.initQuery2(Name);
    Row detailRow = vo1.createRow();
    detailRow.setAttribute("Name", Name);
    detailRow.setAttribute("Email", Email);
    detailRow.setAttribute("Product", Product);
    detailRow.setAttribute("Region", Region);
    detailRow.setAttribute("StatusUpdateDate", StatusUpdateDate);
    vo1.last();
    vo1.next();
    vo1.insertRow(detailRow);
    detailRow.setNewRowState(Row.STATUS_INITIALIZED);
    Controller- Process Form Request- Source page
    if (pageContext.getParameter("Detail")!= null)
    String Name=row.getAttribute("Name").toString();
    String Email=row.getAttribute("Email").toString();
    String Product=row.getAttribute("Product").toString();
    String Region=row.getAttribute("Region").toString();
    DATE StatusUpdateDate =(DATE)row.getAttribute("StatusUpdateDate");
    HashMap params =new HashMap();
    params.put(" Name", Name);
    params.put("Email",Email);
    params.put("Product",Product);
    params.put("Region",Region);
    pageContext.putTransactionTransientValue("StatusUpdateDate",StatusUpdateDate); //As you suggested
    pageContext.forwardImmediately("OA.jsp?page=/xxm/oracle/apps/pos/stg/webui/DetailStagePG",
    null,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    params,
    true, // retain AM
    OAWebBeanConstants.ADD_BREAD_CRUMB_NO);
    another page Controller-Process request-Destination page-
    String Name = pageContext.getParameter("Name");
    String Email = pageContext.getParameter(" Email");
    String Product = pageContext.getParameter("Product");
    String Region = pageContext.getParameter("Region");
    DATE StatusUpdateDate=(DATE)pageContext.getTransactionTransientValue("StatusUpdateDate");
    Timestamp tstmpStatusDate=StatusUpdateDate.timestampValue();
    System.out.println("tstmpStatusDate"+tstmpStatusDate);
    Serializable[] parameters1 = {Name,Email,Product,Region,tstmpStatusDate};
    am.invokeMethod("xxselection", parameters1);
    Error - getting at while running the application page to page
    No method with signature - No method with signature - xxselection(class java.lang.String, class java.lang.String, class java.lang.String, class java.lang.String, class java.lang.String)
    every thing is getting passed except DATE Attribute, please check the code and update me
    Thanks in Advace-
    vamshi

  • How to handle the errors in transformations

    Hi
    I am using SOA, JDev 10.1.3.3.
    How to handle the exceptions in transformations.
    If any thing goes wrong in transformation then how to handle that situation.
    I am not getting any kind of instances like errored out..
    Please help me out
    Regards
    Pavankumar

    I think your issue is that your process is going into manual recovery.
    In the console click on the tab BPEL processes. There is a link on the left for manual recovery. Do you see your processes there?
    What happens if you put your transformation into a scope. The in that scope you have a catch All. In this catch All routine just do a terminate. This will error your process but you should see it appear in the console.
    cheers
    James

  • How to Handle the error message?

    Hi,
    Can any one help me in handling the error messages in application,
    In my application, I am having 2 buttons, one is display button, and the other is reset button. When we enter wrong inputs, it prompts an error message and again we I click on reset button the application goes back to its normal stage i.e. the error message will be disappears. These things will happen in the same page. I have tryed to know the any Id/Name of error message.
    So please help to handle error and skip that error then continue execute raming code.
    Thanks
    Buntty

    A few problems with this question that need clarification:
    You're using a GUI, but we have no way of knowing which one -- Swing? AWT? SWT? other?
    You ask how to fix your program flow and logic but don't show us the current state. Most of us can't read minds so a bit of code would be nice here.
    You mention "Page". What context is this in?
    A great resource that has helped me and will probably help you is an article entitled [How To Ask Questions The Smart Way|http://www.catb.org/~esr/faqs/smart-questions.html] . It will tell you how to formulate your questions so that the folks here will be better able to answer them. Good luck.

  • URGENT:how to get the error table populated in ODI

    Hello all,
    I am working on an interface of ODI where mapping is from a XML file to the database tables. I want, when there is any bad data (having length size greater than the target table's column length or data type mismatch) the bad data should get rejected or separated.
    I am using LKM, CKM, and IKM knowledge modules, but the erroneous record is not getting populated in even in the error table.
    when I try to insert lets say 4 records and 2nd record is erroneous then it is only inserting the 1st record. i want that the erroneous record should get inserted in the error table.
    Please suggest, if anybody is having any related information to get this done. That would be really helpful.
    Thanks in advance!

    Hello Phil,
    Thanks for your update.
    The option which you have mentioned having cloumn as char 4000, I can not do that as my target tables are seeded tables.
    I have also tried to get the data atleast in C$ tables having their length as varchar 4000. but it is not allowing to insert in C$ tables also.
    In my case I am getting data for ex: date_of_birth in VARCHAR datatype from the source XML and I have converted it ot DATE while mapping it to target column having DATE as the datatype.
    what if the DATE in xml source is invalid? its giving me the error while execution "Invalid datetime format". how would I identify that this error is for a particular record. If I can get this erroneous record atleast in C$ table I can find a work around for this correction then.
    I hope you have solution for this problem :)
    Thanks.

  • How to handle the error stag(error DTP)

    Hi Friends, i got some records in the error stag while loading data from Dayta source to Master data target and this is in the production. we didn't created the Error DTP in the production. How to delete the error reocrds from the error stag if we dont want to update it to the target.And the request is showing in yellow due to that iam not able to delete the dtp request from the target.
    any help...to proceed with this error.
    thanks in advance.

    HI
    You are not able to delete the DTP from target?
    Change the request to RED
    Double clicking on theTrafic signal... then manually change the request to RED and Then you will be able to delete it.
    Hope this help...
    Dev

  • How to handle the errors in BDC Session method

    Hi All,
    I am uploading Material Master (MM01) records using BDC Session Method.my problem is when i am running the program, all the error records are going to flat file.how can i correcting the error records and after correction how can i re-process the error records.tell me with example.
    i have around 70,000 records in my flat file.

    Hi,
    I am attaching few threads.Hope these will help you.
    If there are any error records in session, all those error records will get poulated in log .SM35 and after the session is completed , u can see error records which can be corrected and reprocessed again
    We have the structures BDCLD and BDCLM, which will capture the log details inthe session. Firstly, sesssion should be processed. After that log will be created. Then caputure the information into an internal table using BDCLM and BDCLD.
    and refer the link.
    error correction in bdc session
    regards
    Madhu

  • File not reached ftp : How to handle the error

    Hi,
    I am doing idoc-file scenario. I need to place file on ftp server. Now if i give incorrect ftp details, the error canot be seen in SXI_MONITOR but in Adapterframework i can see the error.
    Can someone please let me know how this exception can be handled. I need to send mail notification notifying such errors.
    Thanks & Regards
    Vani

    Hi Vani,
    XI has 2 basic engines, the Integration Engine and Adapter Engine running inside the J2EE engine.
    The reason that you can see the error in Adapter but not in SXMB_MONI is that the processing of your Integration Engine has no errors in it.
    But, when the Adapter is trying to post the file into the Destination System, it errors out and so, the error in the Adapter Framework.
    Errors in the Adapter Engine can also be used to trigger alerts and send email.
    To create Alerts, Alert Rule, just check this blog,
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    It will help you in doing your entire Alert Configuration.
    Next,from SP14 onwards, activation of end to end monitoring is not needed for Alerting. Refer to this note 870232 for this info.
    Next, to test if your Alerts have been defined correctly, go to SE38. In the program , type RSALERTTEST and then click on EXECUTE button ( F8 ). In the next window, it will ask you for your ALERTCATEGORY. Just give the name of your ALERT CATEGORY and click EXECUTE.
    If you have configured your alerts correctly, you will receive a message that tells ALERT IS GENERATED and will give the ALERT ID.
    Now, go to your Run TIme workbench and then select ALERT INBOX and see if you have got the ALERT message in your ALERT INBOX.
    If this is working fine, then the last step, implement the note 913858.
    If you are below SP14, also check this blog,
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    Regards,
    Bhavesh

  • How to handle the error ORA-04052

    We have two Oracle database servers Primary and Secondary, and a DBLINK from Primary to Secondary.
    We have a table EmployeeDetails in both the database.
    we have written a query to retreive data from both the database using DBLINK without any problem.
    When the SECONDARY database was shutdown,
    we get exception in the query.
    ORA-04052: error occurred when looking up remote object SYSTEM.EmployeeDetails@REMOTEDB
    ORA-00604: error occurred at recursive SQL level 1
    ORA-12505: TNS:listener could not resolve SID given in connect descriptor.

    What kind of query is this? How is the "erroring" statement called?
    ORA-04052: error occurred when looking up remote
    object SYSTEM.EmployeeDetails@REMOTEDB While designing, do not use the system schema - use a separate schema for your app's objects !

  • How to handle the error when using Connection.setAutoCommit()

    I use Jboss's datapool to realize the connection to Sybase
    Database.And after connected to the database I wrote "con.setAutoCommit(false)" then the error occured.
    The error is "java.sql.SQLException: JZ0SJ: Metadata accessor information was not found on this database. Please install the required tables as mention ed in the jConnect documentation."
    I think it is because there is something wrong with the
    configuration of the database but can not handle it .So please
    help me,thank you!

    I use Jboss's datapool to realize the connection to
    o Sybase
    Database.And after connected to the database I wrote
    "con.setAutoCommit(false)" then the error occured.
    The error is "java.sql.SQLException: JZ0SJ: Metadata
    a accessor information was not found on this database.
    Please install the required tables as mention ed in
    the jConnect documentation."
    I think it is because there is something wrong with
    th the
    configuration of the database but can not handle it
    .So please
    help me,thank you!Most likely it means that your either DB or JDBC driver doesn't
    support transactional approach, I mean: commit(), rollback() functions, so it reports setAutoCommit(false) as errorneous situation.
    Paul

  • How to find the error table

    If an error occured in the program while running, in which table  this error  is stored and how to get the message no.

    Hi,
    Doubleclick the error message and you get the message id and message number, then use transaction SE91 (or look in table T100T).
    Regards,
    John.

  • How to handle the error: GP_CAT:1235:ERROR:Could not initialize random algorithm?

    Hello,all,
    My tuxedo server is running on the Solaris 8 platform.Sometimes the application
    services could not be started and the GP_CAT:1235 message was found in the ULOGs.
    Once I restart the service or reboot the machine, the service is OK. I wonder
    whether the parameter in /etc/system is properly set:
    set shmsys:shminfo_shmmax=4294967295
    set shmsys:shminfo_shmmin=1
    set shmsys:shminfo_shmmni=100
    set shmsys:shminfo_shmseg=64
    set semsys:seminfo_semmap=1024
    set semsys:seminfo_semmni=1024
    set semsys:seminfo_semmns=1024
    set semsys:seminfo_semmnu=1024
    set semsys:seminfo_semmsl=1024
    set semsys:seminfo_semopm=128
    set semsys:seminfo_semume=256
    set semsys:seminfo_semvmx=32769
    set semsys:seminfo_semaem=16384
    set msgsys:msginfo_msgmap=800
    set msgsys:msginfo_msgmax=65536
    set msgsys:msginfo_msgmnb=84000
    set msgsys:msginfo_msgmni=10000
    set msgsys:msginfo_msgssz=64
    set msgsys:msginfo_msgtql=4096
    set msgsys:msginfo_msgseg=4096
    Any advice is wellcome.Thanks.
    Luo

    I haven't used VB with Illustrator, so I'm not sure what error is thrown. But, you need to put the On Error before the step that throws the error. Also, your file path should be in quotes.
    On Error GoTo ErrorHandler
    appRef.open("c:\test.eps")
    Exit Sub
    ErrorHandler:
    Msgbox "Error: " & Err.Description
    Note that you need to break before the ErrorHandler so that your error code doesn't run when there is no error (either exit the sub/function, or use another GoTo to break to another line. You can look at the 'Err' object for details on the error that occurred.

Maybe you are looking for