How to skip an entire data packet while data loading

Hi All,
We want to skip some records based on a condition while loading from PSA to the Cube, for which we have written a ABAP code in Start Routine .
This is working fine.
But there is a Data packet where all the records are supposed to be skipped and here it is giving Dump and Exception CX_RSROUT_SKIP_RECORD.
The ABAP Code written is
DELETE SOURCE_PACKAGE WHERE FIELD = 'ABC' .
And for a particular data packet all the records satisfy the condition and gets deleted.
Please advice how to skip the entire data packet if all the reocrs satisfy the condition to be deleted and handle the exception CX_RSROUT_SKIP_RECORD .
Edited by: Rahir on Mar 26, 2009 3:26 PM
Edited by: Rahir on Mar 26, 2009 3:40 PM

Hi All,
The Dump I am getting is :
The exception 'CX_RSROUT_SKIP_RECORD' was raised, but it was not caught
anywhere along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program 'GPD4PXLIP83MFQ273A2M8HU4ULN'
has to be terminated.
But this  comes only  when all the records in a particular Data Packet gets skipped.
For rest of the Data Packets it works fine.
I think if the Data Packet(with 0 records) itself can be skipped this will be resolved or the Exception will be taken care of.
Please advice how to resolve this and avoid 'CX_RSROUT_SKIP_RECORD'  at earliest .
Edited by: Rahir on Mar 27, 2009 6:25 AM
Edited by: Rahir on Mar 27, 2009 7:34 AM

Similar Messages

  • IDoc looks fine, but "Processing (data packet)" : No Data

    Hi dear all:
    we trying to loading data from R3 ECC 5.0 into BI 7.0. During the loading process, the status keeps "yellow".
    When we checked the Details in the extractor monitor, the message shows in "Transfer (IDocs and TRFC) is "Request IDOC and Info IDoc 1 : Application document posted".
    But the "Processing (data packet): No Data. We have checked on R3 in tcodes BD87 with IDoc number."IDoc entries in tRFC queues" shows red light under section of "IDoc in outbound processing".
    In IDoc entries in tRFC queues, there is not revenant record for this IDoc. Also we used tcode SM37 to check job execution based on the request number of data loading. The job is shown released.
    Can anyone give us some idea about what happened and how can we fix it.
    Thank you very much
    SF

    Geeta,
    Try this...heard there needs to be a setting made in T-code..SMWQR ..
    U have to register the csa*  queue...try getting more inputs on this...this is what I know abt this..
    Hope this helps..
    Regards.
    Nick.

  • Processing data packet (no data)

    Hi all,
    My issue is: I am trying to load data utilizing a custom datasource and a custom function module.  When the job loads it runs successfully but no records are pulled over.  However, I get records using the extractor checkor in the source system.  This is working fine in our production environment (R3) but does not work in our test environment (my sap.) 
    Has anyone encounter a similiar problem or can suggest a possible solution?
    Thank you.
    Rydell

    Hi Hari,
    Thank you!
    There are no start routines, but there is a date selection in the infopackage.  It uses an OLAP variable of the last 7 days.  Everything shows up green except the processing of data packet shows a warning of no data. 
    I am confused whether this is a problem on the bw side or the sap side.
    Regards,
    Rydell

  • How can we handle an invalid character while doing loading in bi7 ?

    means procedure and details
         issues:
                 i have taken an invalid character in my flatfile
                  and i want to solve this so that i can see these invalid characters in report correctly
    Please search the forum before posting a thread
    Edited by: Pravender on Feb 4, 2012 11:06 AM

    Hi Nihararanjan,
    This issue has been discussed many times, please search in SDN for more threads.
    You go to t.code RSKC and maintain the Invalid or Special characters and then you can load.
    Check the below doc for the same:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0cdc928-5e2d-2e10-e1bb-ec77bcb5cbfd?QuickLink=index&overridelayout=true
    Regards,
    Raghu

  • How to skip first records while reading a csv file

    Hi,
    How to skip the first 5 records while reading csv file.
    I have a file which contains first 5 records as dummy records, I want to skip those records and load the rest into RDBMS.
    How to achieve this?
    Thanks,
    Naveen Suram

    Hi Guru,
    Actually I have converted an excel to CSV format, which is generating first 4 rows as some dummy records. 5th row is my header record. But in hearder record, two column names are same. Thats why while reversing it is giving an error.
    With zero in number of columns in header, I am getting the column names as C1, C2...
    If not in reversing, can we reject the first records while loading into RDMBS table using an interface?
    Thanks,
    Naveen Suram

  • Raw TCP/IP data packets

    I have done a lot of client/server programming with Server and Client sockets in Java.
    However now I need to do raw TCP/IP programming. I would hate to go back to C/C++ to do this kind of programming. Is it possible to do raw tcp/ip programming in Java? Data packet by data packet, headers and the whole works in Java?
    Erik

    You can even white a sniffer with java (JNI helps a lot;)
    Look here -> http://www.goto.info.waseda.ac.jp/~fujii/jpcap/index.html

  • How to make column headers in table in PDF report appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp

    Hi my name is vishal
    For past 10 days i have been breaking my head on how to make column headers in table appear bold while datas in table appear regular from c# windows forms with sql server2008 using iTextSharp.
    Given below is my code in c# on how i export datas from different tables in sql server to PDF report using iTextSharp:
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Linq;
    using System.Text;
    using System.Threading.Tasks;
    using System.Windows.Forms;
    using System.Data.SqlClient;
    using iTextSharp.text;
    using iTextSharp.text.pdf;
    using System.Diagnostics;
    using System.IO;
    namespace DRRS_CSharp
    public partial class frmPDF : Form
    public frmPDF()
    InitializeComponent();
    private void button1_Click(object sender, EventArgs e)
    Document doc = new Document(PageSize.A4.Rotate());
    var writer = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    doc.SetMargins(50, 50, 50, 50);
    doc.SetPageSize(new iTextSharp.text.Rectangle(iTextSharp.text.PageSize.LETTER.Width, iTextSharp.text.PageSize.LETTER.Height));
    doc.Open();
    PdfPTable table = new PdfPTable(6);
    table.TotalWidth =530f;
    table.LockedWidth = true;
    PdfPCell cell = new PdfPCell(new Phrase("Institute/Hospital:AIIMS,NEW DELHI", FontFactory.GetFont("Arial", 14, iTextSharp.text.Font.BOLD, BaseColor.BLACK)));
    cell.Colspan = 6;
    cell.HorizontalAlignment = 0;
    table.AddCell(cell);
    Paragraph para=new Paragraph("DCS Clinical Record-Assigned Dialyzer",FontFactory.GetFont("Arial",16,iTextSharp.text.Font.BOLD,BaseColor.BLACK));
    para.Alignment = Element.ALIGN_CENTER;
    iTextSharp.text.Image png = iTextSharp.text.Image.GetInstance("logo5.png");
    png.ScaleToFit(105f, 105f);
    png.Alignment = Element.ALIGN_RIGHT;
    SqlConnection conn = new SqlConnection("Data Source=NPD-4\\SQLEXPRESS;Initial Catalog=DRRS;Integrated Security=true");
    SqlCommand cmd = new SqlCommand("Select d.dialyserID,r.errorCode,r.dialysis_date,pn.patient_first_name,pn.patient_last_name,d.manufacturer,d.dialyzer_size,r.start_date,r.end_date,d.packed_volume,r.bundle_vol,r.disinfectant,t.Technician_first_name,t.Technician_last_name from dialyser d,patient_name pn,reprocessor r,Techniciandetail t where pn.patient_id=d.patient_id and r.dialyzer_id=d.dialyserID and t.technician_id=r.technician_id and d.deleted_status=0 and d.closed_status=0 and pn.status=1 and r.errorCode<106 and r.reprocessor_id in (Select max(reprocessor_id) from reprocessor where dialyzer_id=d.dialyserID) order by pn.patient_first_name,pn.patient_last_name", conn);
    conn.Open();
    SqlDataReader dr;
    dr = cmd.ExecuteReader();
    table.AddCell("Reprocessing Date");
    table.AddCell("Patient Name");
    table.AddCell("Dialyzer(Manufacturer,Size)");
    table.AddCell("No.of Reuse");
    table.AddCell("Verification");
    table.AddCell("DialyzerID");
    while (dr.Read())
    table.AddCell(dr[2].ToString());
    table.AddCell(dr[3].ToString() +"_"+ dr[4].ToString());
    table.AddCell(dr[5].ToString() + "-" + dr[6].ToString());
    table.AddCell("@count".ToString());
    table.AddCell(dr[12].ToString() + "-" + dr[13].ToString());
    table.AddCell(dr[0].ToString());
    dr.Close();
    table.SpacingBefore = 15f;
    doc.Add(para);
    doc.Add(png);
    doc.Add(table);
    doc.Close();
    System.Diagnostics.Process.Start("AssignedDialyzer.pdf");
    if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.Yes)
    var writer2 = PdfWriter.GetInstance(doc, new FileStream("AssignedDialyzer.pdf", FileMode.Create));
    else if (MessageBox.Show("Do you want to save changes to AssignedDialyzer.pdf before closing?", "DRRS", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Exclamation) == DialogResult.No)
    this.Close();
    The above code executes well with no problem at all!
    As you can see the file to which i create and save and open my pdf report is
    AssignedDialyzer.pdf.
    The column headers of table in pdf report from c# windows forms using iTextSharp are
    "Reprocessing Date","Patient Name","Dialyzer(Manufacturer,Size)","No.of Reuse","Verification" and
    "DialyzerID".
    However the problem i am facing is after execution and opening of document is my
    column headers in table in pdf report from
    c# and datas in it all appear in bold.
    I have browsed through net regarding to solve this problem but with no success.
    What i want is my pdf report from c# should be similar to following format which i was able to accomplish in vb6,adodb with MS access using iTextSharp.:
    Given below is report which i have achieved from vb6,adodb with MS access using iTextSharp
    I know that there has to be another way to solve my problem.I have browsed many articles in net regarding exporting sql datas to above format but with no success!
    Is there is any another way to solve to my problem on exporting sql datas from c# windows forms using iTextSharp to above format given in the picture/image above?!
    If so Then Can anyone tell me what modifications must i do in my c# code given above so that my pdf report from c# windows forms using iTextSharp will look similar to image/picture(pdf report) which i was able to accomplish from
    vb6,adodb with ms access using iTextSharp?
    I have approached Sound Forge.Net for help but with no success.
    I hope anyone/someone truly understands what i am trying to ask!
    I know i have to do lot of modifications in my c# code to achieve this level of perfection but i dont know how to do it.
    Can anyone help me please! Any help/guidance in solving this problem would be greatly appreciated.
    I hope i get a reply in terms of solving this problem.
    vishal

    Hi,
    About iTextSharp component issue , I think this case is off-topic in here.
    I suggest you consulting to compenent provider.
    http://sourceforge.net/projects/itextsharp/
    Regards,
    Marvin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • I have an unlocked iphone 4s bought from apple. Will be in London and Paris and would like to know if how I can purchase a data plan while on vacaqtion

    I have an unlocked iphone 4s bought from apple. Will be in London and Paris and would like to know if how I can purchase a data plan while on vacaqtion

    Can I still use the phone in Boston when I move there?
    Only on a supported GSM carrier.
    Will there be networks I cant use?
    Yes. CDMA networks.
    As I understand it the 4S supports GSM and CDMA networks worldwide.
    No, you've misunderstood. The GSM iPhone you can buy in Ireland supports GSM networks only i.e. AT&T

  • How to set the data packet in order??

    we have 20 datapackets that is in sequence order how to set in order wise ?
    Example:- this is the scenario Data packets is in this order 20,1,10,5,9,13,4,8,13,2,15,19,14Like this
    I have to set in order wise how to doit??????

    HI
    I think you sjust should use a process chain.
    Call transaction RSPC and build it within the order needed.
    regards
    Tom

  • Need inputs how to extract data to BI in multiple Data packets from ECC

    HI Experts,
    would like to know how can i restrict  the data to be fetched in multiple data packets as of now all  the data is coming in to BI in a single data packet....
    I want to get this data in multiple data packets.
    I have checked the infopackage settings  in BI its as similar to any other Infopackage  which is fetching  in multiple data packets.
    Is there any posibility to restrict data with in ECC

    Hussein,
    Thank you for the helpfull information.
    That document gave me lot of information about ANSI extract for BENIFITS.
    Thanks
    Kumar.

  • How do I print to wifi printer while keeping data from cellular?

    How do I print to wifi printer while keeping data from cellular?

    If you print to a WiFi printer no Cellular Data will be used.

  • How to select more than one data packet?

    Hi,
    I have uploaded data using 3 different data packets. However, for each of these packets there are some errors.
    Using Monitor > PSA Maintenance, I want to display error data records for all three different data packets in one screen. These erratic data will be send to our users for their rectification. However, I can only select and disply erratic data records packet by packet. So this has to be done three time instead of once.
    Can u advise on how to display all erratic data records in one screen.

    Hello Fulham FC,
    How r u ?
    I feel it is possible to select all 2 or more requests at once. Provide
    ...No. of Records ---> count the total no of records in the packages u select.
    ...From Record -
    > 2147483647
    Then try CONTINUE. In our system its throwing Dump !!!
    I believe dude, in PSA Maintenence there is a button  SELECT ALL & even in the data package also it is allowing to select two or more. There should be some way to do this.
    Best Regards....
    Sankar Kumar
    +91 98403 47141

  • How to skip the date in breakdown maint order

    Dear PM Guru's,
    please suggest me how to skip the date inbetween the two working days. please check the below scenario: based on factory calendar (production ) saturday was holiday. one breakdown maintenance order was opened on friday afternoon and its closed on sunday afternoon. now user wants only breakdown hours of production running days/ hours. production was produced upto saturday earlymorning and its renewed sunday morning. where as saturday producion was not planned and its not produced , so user wants to skip that time from the breakdown duration calculation. please suggest me is it right practice? if its right how we have to do in SAP? please let me know it.
    thanks in advance to all the PM guru's
    regards
    Jalu

    Hi,
        check this link Equipment Downtime
    I believe u may have to recalculate the breakdown hrs using some FM in user exit QQMA0014 QM/PM/SM: Checks before saving a notification

  • In data packet level error like red and .......... like symbol  how  r?

    hi expert,
    in data packet level error like red and .......... like symbol  how  would i rectified
    this type error please expert give me solution  i will be give point  friends bye

    Hi
            If it is the delta update,make the status of that on as STATUS NOT OK and repeat the infopackage again.if it is full run the IP simply.check the data has came to PSA or not,if it has came u push it manually to targets

  • How to set a data packet to red status.

    I have a big load which ended mostly in green data packets except for two, which were red,  because of server / resources issues. I tried to update them manually and they turned yellow but all processes ended and they are still in yellow. I want to try a manual update again, but I can't because they have to be in red status. How can i change the status of a single packet? This was a pretty hard load, and I can't afford to loose what so far made it okay to the Infocube.

    Hi,
      You need to force the request to red and then ur datapacket will turn to red then update the two packets manually then force it to green.
    Regards,
    Malar

Maybe you are looking for