PDF417 on Zebra ZM400 group, record separators & eot

I have tried MANY suggestions to get the GS/ RS & EOT to come out correctly but cannot. Can anyone help me?
Standard text:
<BX>&headr&<030>&sixxc&<029>&lic&&splitc&&quaty2&&splitc&&part&_1D&lot&&split2&&pon&
&split2&&plt&&spl22&&eot2&</>
<BX> PDF417 system barcode
&headr& <030> &sixxc& <029> &lic& &splitc& &quaty2& &splitc& &part& _1D &lot& &split2& &pon&
&split2& &plt& &spl22& &eot2&
Smartform Global definitions:
spl22 type x '1E' constant
eot2 type x '04' constant
split2 type x  29 constant
sixxc type char2 '06' constant
splitc type char1
headr typr char3
Code before Standard Text is called:
strtc = cl_abap_conv_in_ce=>uccp( '005B' ).
str2c = cl_abap_conv_in_ce=>uccp( '0029' ).
str3c = cl_abap_conv_in_ce=>uccp( '003E' ).
splitc = cl_abap_conv_in_ce=>uccp( '001D' ).
eotc = cl_abap_conv_in_ce=>uccp( '0004' ).
spl2c = cl_abap_conv_in_ce=>uccp( '001E' ).
CONCATENATE strtc str2c str3c INTO headr.
Should be:
[)>[RS]06[GS]1J708010X10ZG2051[GS]Q700.000[GS]P2009514-AA[GS]1T10ZG2051[GS]K086827[GS]21L840[RS][EOT]
Scans as:
[)>061J708010X10ZG2051#Q700.000#P2009514-AA_1D1T10ZG20511DK0868271D21L8401E04
Various attempts come out as:
_1D = _1D suppose to work for Zebra
SAP Characters from table TCP01
<029> =
<030> =      
Variables defined in different manners
Split2 = 1D          
splitc = #
Spl22 = 1E     
Eot2 = 04     
On a seperate note:
When I concatentate all the variables into 1, converting the hex values, the hex comes out as #.
If I place all the variables & hex values side by side in a window they come out as multiple barcodes.

Hi Lakshmi,
use <b>\0x1D</b> for GS
      <b>\0x1E</b> for RS
      <b>\0x04</b> for EOT
you can use those separators directly in your smartform textbox
  [)>\0x1E06\0x1DP&kdmat&\0x1DQ&vemng&
Hope that helps
Klaus

Similar Messages

  • Problem with printing EMF to Zebra ZM400 printer

    I'm attempting to print multiple copies of an rdlc directly to a Zebra ZM400 printer.  Previewing the report in a report viewer, then printing, works as expected.  Printing directly to the printer, thereby bypassing the report viewer, does not
    work as expected.  Alignment of text is off and the font is wrong.  This is an older ZM400 with an updated driver.
    This is not a problem with a newer ZM400.  So I'm thinking it's the age of the printer and not anything to do with the programming code.  Unfortunately I cannot try the rdlc on the newer ZM400 due to the forms size expected by the printer.  I
    thought I'd check here to see if anyone else has had this problem and if they were able to get it resolved.  Otherwise, I think the user will have to upgrade their printer.
    Here's the code I'm using:
    If MyGlobals.strLabelRequested = "xxxx" Then
    deviceInfo = "<DeviceInfo>" & _
    "<OutputFormat>EMF</OutputFormat>" & _
    "<PageWidth>2.96in</PageWidth>" & _
    "<PageHeight>6.9583in</PageHeight>" & _
    "<MarginTop>0.0in</MarginTop>" & _
    "<MarginLeft>0.0in</MarginLeft>" & _
    "<MarginRight>0.0in</MarginRight>" & _
    "<MarginBottom>0.0in</MarginBottom>" & _
    "</DeviceInfo>"
    Else
    deviceInfo = "<DeviceInfo>" & _
    "<OutputFormat>EMF</OutputFormat>" & _
    "<PageWidth>4.427in</PageWidth>" & _
    "<PageHeight>8.25in</PageHeight>" & _
    "<MarginTop>0.161in</MarginTop>" & _
    "<MarginLeft>0.25in</MarginLeft>" & _
    "<MarginRight>0.161in</MarginRight>" & _
    "<MarginBottom>0.161in</MarginBottom>" & _
    "</DeviceInfo>"
    End If
    The "If..." part of the code is for the older ZM400.  The "Else.." is for the newer ZM400.
    Thanks.

    I don't know the answer.
    However I do have a question. If you can't try this on a newer ZM400 due to the forms size expected by the printer then how do you know it will work on a newer ZM400? Therefore how could you tell the customer they must upgrade or something? And how then
    would you know this is not a problem with a newer ZM400?
    Maybe the below links can help. Online C# to VB converters like
    Telerik are available.
    Walkthrough: Printing a Local Report without Preview
    Send Report directly to a printer from Report Viewer WITHOUT Print Dialog - code in
    link needs conversion from C# to VB.
    How to print using Microsoft ReportViewer without showing it - code in link needs conversion from C# to VB.
    Google search results for "print reportviewer without print dialog vb.net"
    La vida loca

  • Printing Japanese Characters on Zebra ZM400 from Smartform

    Hi Experts
    I am trying to configure a Zebra ZM400 printer to print a Japanese label from a smartform but get no Japanese characters on the output.
    The original language of the smartform is English, but I have maintained a translation in SE63 which uses the Andale_J font.
    The printer ZM400 has the ANDMJ.TTF font installed and the printer has been set up in SPAD to use the LZEBU2 device type (which is the Zebra Printer Driver for 200dpi) and the Berkeley protocol (U).
    When looking at the printer spool in graphical format I am getting the appropriate Japanese characters displayed, when looking in RAW format it appears to be using the correct font, FCANDALE_J, although the characters are represented as #'s.  On the printer output, I get numbers or English where no translation has been maintained, but nothing where the Japanese characters should be.
    Has anyone come across this problem before, or have any idea how to solve this issue?
    Thanks very much
    Andrew Beavan

    Hi Aidan
    Thanks for your swift response, as you may have guessed this is all very new to me and so I am struggling to make much progress.
    I have uploaded the andale_j font to the printer which creates a file called anmdj.TTF.  I have also uploaded a JIS.DAT file which should convert any TTF to unicode and a printer configuration file which should effectively set this font as the default.
    I have tried to upload a TTF font in SAP using se73 and created a device type to go with this, however whenever I set the device type for the printer to this I get no print spool request generated.  Based on your reply, I have created a style using the TTF font I uploaded, but again when I reference this in a smartform I get no errors displayed, but I also don't get a print spool request generated so I'm not convinced that the font has been loaded correctly into SAP.
    I have just wiped the flash memory on the printer and am re-loading the font using a slightly different setting on the printer, so will try that, but welcome any further suggestions or clarifications if I have mis-understood your previous reply.
    Many thanks for your help.
    Andrew Beavan

  • How Journal Import groups records from GL_INTERFACE into Journal Headers

    Hello,
    Does anyone know how or using what criteria the Journal Import program groups records from the GL_INTERFACE into Journal Entries?
    The R12 User Guide says that :
    REFERENCE4 (Journal entry name): Enter a journal entry name for your journal entry.
    Journal Import creates a default journal entry name using the following format:
    (Category Name) (Currency) (Encumbrance Type ID, if applicable) (Currency
    Conversion Rate, if applicable) (Currency Conversion Date, if applicable) (Originating
    Balancing Segment Value), chopped to the first 100 characters. If the above results in
    multiple journals in the same batch with the same name, then additional characters are
    chopped off, and a 2, 3, 4, and so on, is added for the second, third, fourth, journals with
    the same name.
    Does it mean that for every unique combination of Category+Currency+CurrencyConversion Rate+Currency Conversion Date, a Journal Header would be created? I also found that although not mentioned in the user guide, if the Accounting Date within a group of records is different, the import program includes accounting date to the above criteria and tries to create separate Journal headers per Accounting Date.
    Also, is there a way to override this ( Category+Currency+CurrencyConversion Rate+Currency Conversion Date) criteria?
    Thanks,
    Manish

    any suggessions on the above query?
    Thanks & regards
    Aboo

  • Printing Latin-2 on Zebra ZM400

    hi,
    i don´t know if this is the correct category but we have problems printing latin-2 characters (polish) on one of our Zebra printers.
    Here´s the situation:
    - we have a Zebra ZM400 printer and want to print polish characters.
    - "Swis721BT" font is installed.
    - We are NOT using Smartforms. Only SAPscript and ABAP list.
    Our standard devicetype for printing on zm400 is "LB_ZEB". But this devicetype only supports latin-1 characters.
    It works but the polish characters are printed as hash sign.
    In some zebra documentations they recommend the devicetype "ZLB_ZBI2" for latin-2.
    But when i use this devicetype i get an error which is "Internal error when printing - request on hold".
    I don´t know what exactly it means. There are no more information.
    Does anyone of you have experience with zebra printers and latin-2 characters?
    Thanks
    Tobias

    Hi Mr. Nagel,
    we've  a similar problem.
    did you have now a solution ?
    Regards,
    Alessandro P.

  • Dynamically group records by date

    I am attempting to create a report that will dynamically group records into a set number of date buckets.  This is similar to grouping records by a date field and setting the days, weeks, months, etc property but instead of grouping by a set time span I want to a specific number of date groups regardless of date span.  So say i have records where the first date is today at 1am and the last record is today at 9 pm.  I want the data grouped into 10 groups and the time calculated for that group based on total time span / 10.  The first group would be 1AM to 3AM, the second would group 3AM to 5AM, etc..  The reason I am doing this is for a chart that displays record counts over time but the overall timespan will never be known until runtime.  Setting the chart for hourly or weekly doesn't work because if the user runs the report over a year the dates will be illegible.
    Thanks in advance!

    Well this SHOULD be easy. But leave it to CR make not...
    You can start by finding the minimum & maximum dates within your range:
    Local DateTimeVar MinDate;
    MinDate := Minimum({Table.DateField})
    and
    Local DateTimeVar MaxDate;
    MaxDate := Maximum({Person.ModifiedDate})
    Then figure out what the the interval would be if the span is broken down into 10 equal parts"
    DateDiff("n", {@MinDate}, {@MaxDate}) / 10
    From there just use a formula to segregate each records into the appropriate groups:
    EvaluateAfter({@Interval});
    IF {Table.DateField} >= {@MinDate}
        AND {Table.DateField} <= DateAdd("n",{@Interval}, {@MinDate}) THEN 1 ELSE
    IF {Table.DateField} > DateAdd("n",{@Interval}, {@MinDate})
        AND {Table.DateField} <= DateAdd("n",{@Interval} * 2, {@MinDate}) THEN 2 ELSE
    IF {Table.DateField} > DateAdd("n",{@Interval} * 2, {@MinDate})
        AND {Table.DateField} <= DateAdd("n",{@Interval} * 3, {@MinDate}) THEN 3 ELSE
    IF{Table.DateField} > DateAdd("n",{@Interval} * 3, {@MinDate})
        AND{Table.DateField} <= DateAdd("n",{@Interval} * 4, {@MinDate}) THEN 4 ELSE
    IF {Table.DateField} > DateAdd("n",{@Interval} * 4, {@MinDate})
        AND {Table.DateField} <= DateAdd("n",{@Interval} * 5, {@MinDate}) THEN 5 ELSE
    IF {Table.DateField} > DateAdd("n",{@Interval} * 5, {@MinDate})
        AND {Table.DateField} <= DateAdd("n",{@Interval} * 6, {@MinDate}) THEN 6 ELSE
    IF {Table.DateField} > DateAdd("n",{@Interval} * 6, {@MinDate})
        AND {Table.DateField} <= DateAdd("n",{@Interval} * 7, {@MinDate}) THEN 7 ELSE
    IF {Table.DateField} > DateAdd("n",{@Interval} * 7, {@MinDate})
        AND{Table.DateField} <= DateAdd("n",{@Interval} * 8, {@MinDate}) THEN 8 ELSE
    IF {Table.DateField} > DateAdd("n",{@Interval} * 8, {@MinDate})
        AND {Table.DateField} <= DateAdd("n",{@Interval} * 9, {@MinDate}) THEN 9 ELSE
    IF {Table.DateField} > DateAdd("n",{@Interval} * 9, {@MinDate})
        AND {Table.DateField}  <= {@MaxDate} THEN 10
    This is where CR drops the ball... IMHO... it WON'T allow you to to group by a formula field that uses an aggregate in the formula (in this case Minimum & Maximum)... It will however allow to to graph on it, which I assume is what you are actually trying to do.  If anyone knows a way to work around the grouping issue, I'd love to know it myself.
    HTH,
    Jason

  • Want to get sum/avg first 90% records  in each grouped record set.

    Hi Gurus,
    Need your help or example query which help me to achieve sum/avg first 90% records in each grouped record set. Let me show you the basic query and output and proposed output.
    select Pid, Sum(SalesAmt) TotalSaleAmt, Avg(SalesAmt) AvgSaleAmt, count(*) NoOfSales from ProductSales group by Pid;
    PID TotalSaleAmt AvgSaleAmt NoOfSales
    1 12000 100 120
    2 24000 50 480
    Now I need for PID =1 TotalSaleAmt of first 90% of NoOfSale i.e.120(this is basically nuber of rows found in PrdocutSales Table).
    I hope I am clear enough explain my requirement... I would appreciate if we have some Analytical function available..
    Gurus Pls help me asap..
    Thanks In adavance...
    Srichan.

    Now I need for PID =1 TotalSaleAmt of first 90% of NoOfSale i.e.120(this is basically nuber of rows found in PrdocutSales Table).
    first 90% should mean first 90% by some order, so in this case, which 108 rows (of the 120) do you want to take into consideration?
    with
    the_sample as
    (select 1 the_pid,10 the_sale,1 the_order from dual union all
    select 1 the_pid,20 the_sale,2 the_order from dual union all
    select 1 the_pid,15 the_sale,3 the_order from dual union all
    select 1 the_pid,12 the_sale,4 the_order from dual union all
    select 1 the_pid,12 the_sale,5 the_order from dual union all
    select 1 the_pid,13 the_sale,6 the_order from dual union all
    select 1 the_pid,19 the_sale,7 the_order from dual union all
    select 1 the_pid,11 the_sale,8 the_order from dual union all
    select 1 the_pid,15 the_sale,9 the_order from dual union all
    select 1 the_pid,12 the_sale,10 the_order from dual union all
    select 2 the_pid,25 the_sale,1 the_order from dual union all
    select 2 the_pid,22 the_sale,2 the_order from dual union all
    select 2 the_pid,22 the_sale,3 the_order from dual union all
    select 2 the_pid,23 the_sale,4 the_order from dual union all
    select 2 the_pid,29 the_sale,5 the_order from dual union all
    select 2 the_pid,21 the_sale,6 the_order from dual union all
    select 2 the_pid,25 the_sale,7 the_order from dual union all
    select 2 the_pid,22 the_sale,8 the_order from dual
    select the_pid,the_sum,the_avg
      from (select the_pid,
                   sum(the_sale) over (partition by the_pid order by the_order) the_sum,
                   round(avg(the_sale) over (partition by the_pid order by the_order),2) the_avg,
                   the_order,
                   floor((0.9 * max(the_order) over (partition by the_pid))) to_pick
              from the_sample
    where the_order = to_pickRegards
    Etbin

  • Dscl: unable to ad/delete/amend user/group records - eDSPermissionError

    hello,
    i am unable to add/delete/amend opendirectory user and group records. users are still connecting but when i try do any of the above if get the follow error within a dscl session:
    create Users qawsed
    <main> attribute status: eDSPermissionError
    <dscl_cmd> DS Error: -14120 (eDSPermissionError)
    on investigation i noticed the error in system.log indicating that /System/Library/LaunchDaemons/edu.mit.kadmind.plist was missing.
    so my questions are:-
    1 has anyone seen the above error condition when using dscl and
    2 can anyone explain how edu.mit.kadmind.plist is created or post an example of this file
    your assistance is appreciated
    regards
    john

    Post Unix queries to the Unix forum under OS X Technologies and server queries to the server forums.

  • Grouping records in an internal table

    Dear all,
    Pls follow the code and suggest me to get the specified format.
    Consider that  i have created a view to populate the reqd data and collect those in an internal table and do a calculation for one field and modify the internal table.
    when i pass this internal table to the function reuse_alv_grid , it throws out a report. But if i need to group the records of the internal table based on three fields, can i do that , if so , how should i do that, if not what method shud i adopt to get the grouped listing in ALV.
    kindly give your views.
    Code goes here..........
    select distinct edatu j_3akvgr6 mvgr4 matnr bismt vbeln auart bstkd bstkd_e ihrez_e
    bstdk_e bstdk bezei vrvez brgew ntgew volum werks kwmeng j_3asize posnr
    INTO CORRESPONDING FIELDS OF TABLE  itabdelshd
    from ZVDELISHED
    where J_3AKVGR6 IN CUSTOMER AND AUART IN ORDTYP
    AND BISMT IN STYLE  AND MATNR in FGMtrl AND bstdk_e IN PLNDATE
    AND J_3ASIZE IN GRIDVAL and werks in plant and mvgr4 in ppmon and
    bstkd in cpono and vbeln in Sales.
    LOOP AT itabdelshd INTO wadelshd.
          select sum( wmeng ) as tqty into wasumqty-tqty
          from vbep where edatu = wadelshd-edatu and vbeln = wadelshd-vbeln
          and j_3asize = wadelshd-j_3asize.
          select sum( lfimg ) as dqty into wasumqty-dqty
          from lips where vbelv = wadelshd-vbeln and j_3asize = wadelshd-j_3asize
          wadelshd-PLND_QTY = wasumqty-tqty - wasumqty-dqty.
          wadelshd-PLND_QTY = wadelshd-wmeng - wadelshd-lfimg.
          wadelshd-COLOR = wadelshd-j_3asize(4).
          MODIFY itabdelshd  FROM  wadelshd.
    ENDLOOP.
      PERFORM build_fieldcatalog.
      PERFORM build_layout.
      PERFORM display_alv_report.

    Dear Jorge,
    It is working out, But i need to do the sum for the grouped data, for instance , if the below data is grouped data seen in the alv,
    sales ord      | color    line.Item|  Ord.qty   | Pld.Qty     | Date          "
    | 0001000551  | 002V | 100       | 6,800.000 | 1,200.000 | 25.09.2006"
    | 0001000551  | 002V | 100       | 6,800.000 | 2,500.000 | 25.09.2006"
    | 0001000551  | 002V | 100       | 6,800.000 | 3,100.000 | 25.09.2006"
    | 0001000551  | 003K | 200       | 3,200.000 | 700.000    | 25.09.2006"
    | 0001000551  | 003K | 200       | 3,200.000 | 1,200.000 | 25.09.2006"
    | 0001000551  | 003K | 200       | 3,200.000  | 1,300.000 | 25.09.2006"
    and if want to sum the the planed qty based on the line.Item Grouping, meaning, can i get the report in the below form.
    sales ord      | color    line.Item|  Ord.qty   | Pld.Qty     | Date          "
    | 0001000551  | 002V | 100       | 6,800.000 | 6,800.000 | 25.09.2006"
    | 0001000551  | 003K | 200       | 6,800.000 | 3,200.000 | 25.09.2006"
    what should i do to get this form.

  • Grouping records based on and ID

    I am trying to build a report that will segment based on a free text field which is used as an identifier between multple records.
    For example I might have three records which each contrain the same id number however the record might have varying values in other fields. I want to build a report that will group all those 3 reports together under the heading of the ID and list the 3 reports. If I have other records that are linked by the ID to other records then I want them to group as well. This can be seen below
    ID 001
    Name     Country     ID
    xyz     USA     001
    ID 002
    abc     Canada     002
    Abc2     USA     002
    ID 003
    Efg1     USA     003
    Efg2     Mexico     
    Thanks

    Hi,
    Try using a pivot table and put the id column under sections. I think that should help.
    All the best.
    Garima

  • How to "group by" and use functions on grouped records

    I group rows and wantto select the max date row in date column. The other columns can include same data in its rows, thus i wantto select distinct data in the rows. I use the following query, but ir throws the message "ORA-00936: missing expression."
    select max(t2.tarih), distinct (t1.ihlkodu),distinct(t1.ihlaltktgkodu), distinct(t1.kuladi),distinct(t4.ad) from ihale_katilimcilar t1, ihale_hareket t2, ihale_sirket t4
    where t1.id_iliski=t2.id_iliski and t1.kuladi=t4.kullaniciadi and t1.ihlkodu=145 and t1.ihlaltktgkodu=135 and t1.aktif=1
    group by t2.tarih, t1.ihlkodu,t1.ihlaltktgkodu,t1.kuladi,t4.ad
    Here t2.tarih is a field of date and i wantto select the max of this.
    t1.ihlkodu has all the same data in its rows.
    t1.ihlaltktgkodu too has all the same data in its rows.
    t1.kuladi may have ,let me say, 5 rows of same data and 6 rows of another same data in this 6 but different then the first 5 rows of same data. That is, the content of the 6 and 5 is the same in 6 and 5 but different then each other.
    and finally[b] t4.ad too may have ,let me say, 5 rows of same data and 6 rows of another same data in this 6 but different then the first 5 rows of same data.(That is, the content of the 6 and 5 is the same in 6 and 5 but different then each other)
    How could i group them?

    Here is the script of tables:
    -- Create table
    create table IHALE_SIRKET
    SRKTKODU NUMBER not null,
    AD VARCHAR2(30) not null,
    ADRES VARCHAR2(50),
    TEL1 VARCHAR2(15),
    TEL2 VARCHAR2(15),
    FAX VARCHAR2(15),
    EMAIL VARCHAR2(20),
    KARALISTE NUMBER default -1,
    AKTIF NUMBER(1) default -1,
    SICILNO VARCHAR2(20) not null,
    VERGINO VARCHAR2(20) not null,
    TICSICILGAZSAYI VARCHAR2(10) not null,
    TICSICILGAZTARIH DATE not null,
    ODASICILNO VARCHAR2(20),
    TESCILTARIHI DATE,
    SERMAYE VARCHAR2(20),
    DERECE NUMBER(2),
    ODAKAYITTARIHI DATE,
    KULLANICIADI VARCHAR2(15)
    tablespace USERS
    pctfree 10
    initrans 1
    maxtrans 255
    storage
    initial 64K
    minextents 1
    maxextents unlimited
    -- Create/Recreate primary, unique and foreign key constraints
    alter table IHALE_SIRKET
    add constraint CONSTRAINT_SRKTKODUPK primary key (SRKTKODU);
    -- Create/Recreate indexes
    create unique index IHALE_SIRKET_SRKTKODU on IHALE_SIRKET (SRKTKODU)
    tablespace USERS
    pctfree 10
    initrans 2
    maxtrans 255
    storage
    initial 64K
    minextents 1
    maxextents unlimited
    -- Create table
    create table IHALE_KATILIMCILAR
    KULADI VARCHAR2(20),
    SONUC NUMBER(1),
    AKTIF NUMBER(1) default 1,
    SRKTKODU VARCHAR2(10) not null,
    SONBULUNMAZAMANI DATE default sysdate,
    SIRA NUMBER(1) default 0,
    EKSURETALEP VARCHAR2(50),
    ID NUMBER(6) not null,
    IHLKODU NUMBER not null,
    IHLALTKTGKODU VARCHAR2(10) not null,
    ID_ILISKI NUMBER
    tablespace USERS
    pctfree 10
    initrans 1
    maxtrans 255
    storage
    initial 64K
    minextents 1
    maxextents unlimited
    -- Create/Recreate primary, unique and foreign key constraints
    alter table IHALE_KATILIMCILAR
    add constraint CONSTRAINT_IHLKTLMIDPK primary key (ID)
    using index
    tablespace USERS
    pctfree 10
    initrans 2
    maxtrans 255
    storage
    initial 64K
    minextents 1
    maxextents unlimited
    -- -- -- Create table
    create table IHALE_HAREKET
    ID_ILISKI NUMBER not null,
    TEKLIF VARCHAR2(15) not null,
    TARIH DATE default sysdate,
    ID NUMBER not null
    tablespace USERS
    pctfree 10
    initrans 1
    maxtrans 255
    storage
    initial 64K
    minextents 1
    maxextents unlimited
    -- Create/Recreate primary, unique and foreign key constraints
    alter table IHALE_HAREKET
    add constraint CONSTRAINT_IHLHAREKETPK primary key (ID)
    using index
    tablespace USERS
    pctfree 10
    initrans 2
    maxtrans 255
    storage
    initial 64K
    minextents 1
    maxextents unlimited
    Here is the content of those tables:
    prompt Loading IHALE_HAREKET...
    insert into IHALE_HAREKET (ID_ILISKI, TEKLIF, TARIH, ID)
    values (189, '1400YTL', to_date('12-02-2008 14:35:07', 'dd-mm-yyyy hh24:mi:ss'), 1);
    insert into IHALE_HAREKET (ID_ILISKI, TEKLIF, TARIH, ID)
    values (203, '1200YTL', to_date('12-02-2008 16:03:16', 'dd-mm-yyyy hh24:mi:ss'), 2);
    insert into IHALE_HAREKET (ID_ILISKI, TEKLIF, TARIH, ID)
    values (203, '1100YTL', to_date('12-02-2008 16:03:16', 'dd-mm-yyyy hh24:mi:ss'), 3);
    insert into IHALE_HAREKET (ID_ILISKI, TEKLIF, TARIH, ID)
    values (189, '1500 YTL', to_date('12-02-2008 14:34:30', 'dd-mm-yyyy hh24:mi:ss'), 0);
    prompt 4 records loaded
    prompt Loading IHALE_KATILIMCILAR...
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values (null, null, 0, '42', to_date('12-02-2008 13:33:32', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 63, 141, '134', 191);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values (null, null, 0, '46', to_date('12-02-2008 13:33:32', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 64, 141, '134', 192);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values ('KEM.ESM', null, 1, '44', to_date('12-02-2008 11:00:41', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 61, 145, '135', 189);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values (null, null, 0, '45', to_date('12-02-2008 13:33:42', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 69, 141, '133', 197);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values (null, null, 0, '42', to_date('12-02-2008 13:33:36', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 65, 141, '132', 193);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values (null, null, 0, '45', to_date('12-02-2008 13:33:36', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 66, 141, '132', 194);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values (null, null, 0, '46', to_date('12-02-2008 13:33:36', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 67, 141, '132', 195);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values (null, null, 0, '42', to_date('12-02-2008 13:33:42', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 68, 141, '133', 196);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values (null, null, 0, '44', to_date('12-02-2008 13:34:23', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 70, 142, '252', 198);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values (null, null, 0, '45', to_date('12-02-2008 13:34:23', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 71, 142, '252', 199);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values (null, null, 0, '44', to_date('12-02-2008 13:34:40', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 72, 143, '253', 200);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values (null, null, 0, '46', to_date('12-02-2008 13:34:40', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 73, 143, '253', 201);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values (null, null, 0, '45', to_date('12-02-2008 11:00:38', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 60, 145, '136', 188);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values (null, null, 0, '44', to_date('12-02-2008 15:59:21', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 74, 145, '136', 202);
    insert into IHALE_KATILIMCILAR (KULADI, SONUC, AKTIF, SRKTKODU, SONBULUNMAZAMANI, SIRA, EKSURETALEP, ID, IHLKODU, IHLALTKTGKODU, ID_ILISKI)
    values ('KE.ES', null, 1, '45', to_date('12-02-2008 15:59:25', 'dd-mm-yyyy hh24:mi:ss'), 0, null, 75, 145, '135', 203);
    commit;
    prompt 15 records loaded
    prompt Loading IHALE_SIRKET...
    insert into IHALE_SIRKET (SRKTKODU, AD, ADRES, TEL1, TEL2, FAX, EMAIL, KARALISTE, AKTIF, SICILNO, VERGINO, TICSICILGAZSAYI, TICSICILGAZTARIH, ODASICILNO, TESCILTARIHI, SERMAYE, DERECE, ODAKAYITTARIHI, KULLANICIADI)
    values (42, 'KEMMM', 'asddd', '03123456444', '03123456444', '03123456444', '[email protected]', 0, 1, '325999444', '234999444', '34599944', to_date('04-02-2008', 'dd-mm-yyyy'), '23/29444', to_date('04-02-2008', 'dd-mm-yyyy'), '4.000.000.11YTL', 1, to_date('04-02-2008', 'dd-mm-yyyy'), null);
    insert into IHALE_SIRKET (SRKTKODU, AD, ADRES, TEL1, TEL2, FAX, EMAIL, KARALISTE, AKTIF, SICILNO, VERGINO, TICSICILGAZSAYI, TICSICILGAZTARIH, ODASICILNO, TESCILTARIHI, SERMAYE, DERECE, ODAKAYITTARIHI, KULLANICIADI)
    values (46, 'MLK', 'fgh', '456', '456', '456', '[email protected]', 0, 1, '2346', '2346', '2346', to_date('27-01-2008', 'dd-mm-yyyy'), '2346', to_date('25-01-2008', 'dd-mm-yyyy'), '2346', 1, to_date('22-01-2008', 'dd-mm-yyyy'), null);
    insert into IHALE_SIRKET (SRKTKODU, AD, ADRES, TEL1, TEL2, FAX, EMAIL, KARALISTE, AKTIF, SICILNO, VERGINO, TICSICILGAZSAYI, TICSICILGAZTARIH, ODASICILNO, TESCILTARIHI, SERMAYE, DERECE, ODAKAYITTARIHI, KULLANICIADI)
    values (44, 'ASD', 'asd', '123', '123', '123', '[email protected]', 0, 1, '123', '123', '123', to_date('10-01-2008', 'dd-mm-yyyy'), '123', to_date('17-01-2008', 'dd-mm-yyyy'), '123', 1, to_date('11-01-2008', 'dd-mm-yyyy'), 'KEM.ESM');
    insert into IHALE_SIRKET (SRKTKODU, AD, ADRES, TEL1, TEL2, FAX, EMAIL, KARALISTE, AKTIF, SICILNO, VERGINO, TICSICILGAZSAYI, TICSICILGAZTARIH, ODASICILNO, TESCILTARIHI, SERMAYE, DERECE, ODAKAYITTARIHI, KULLANICIADI)
    values (45, 'JKL', 'jkl', '234', '234', '345', '[email protected]', 0, 1, '234', '234', '234', to_date('04-01-2008', 'dd-mm-yyyy'), '234', to_date('27-01-2008', 'dd-mm-yyyy'), '234', 2, to_date('19-01-2008', 'dd-mm-yyyy'), 'KE.ES');
    When i use the following sql:
    select t2.teklif, t2.tarih, t1.ihlkodu, t1.ihlaltktgkodu, t1.kuladi,t4.ad from ihale_katilimcilar t1, ihale_hareket t2, ihale_sirket t4
    where t1.id_iliski=t2.id_iliski and t1.kuladi=t4.kullaniciadi and t1.ihlkodu=145 and t1.ihlaltktgkodu=135 and t1.aktif=1
    group by t2.teklif, t2.tarih, t1.ihlkodu,t1.ihlaltktgkodu,t1.kuladi,t4.ad
    The result i get is:
    1100YTL 12.02.2008 16:08:16 145 135 KE.ES JKL ***
    1200YTL 12.02.2008 16:03:16 145 135 KE.ES JKL
    1400YTL 12.02.2008 14:35:07 145 135 KEM.ESM ASD ***
    1500 YTL 12.02.2008 14:34:30 145 135 KEM.ESM ASD
    The one i wantto get is the rows of the latest date in each group:
    1100YTL 12.02.2008 16:08:16 145 135 KE.ES JKL [b]***
    1400YTL 12.02.2008 14:35:07 145 135 KEM.ESM ASD ***
    max date -->latest date , most up to date
    Message was edited by:
    user611878
    Message was edited by:
    kem06.ora

  • Grouping records by month

    Hi,
    I have a group of records in the XML structure as below:
    <ListofIO>
    <ListOfBipReport1>
    <Report>
    <FirstName/>
    <LastName/>
    <Planned>04/12/2011</Planned>
    </Report>
    <Report>
    <FirstName/>
    <LastName/>
    <Planned>04/10/2011</Planned>
    </Report>
    <Report>
    <FirstName/>
    <LastName/>
    <Planned>05/08/2011</Planned>
    </Report>
    </ListOfBipReport1>
    </ListofIO>
    I would like to group the records by month based on the Planned date.
    I used the following code: <?for-each-group:Report;./Planned?><?sort:current-group()/Planned;'ascending';data-type='text'?>
    and I formatted the Planned date to display in the format mmm-yy
    I would like the report to display info as follows:
    Apr-11
    First Name
    Last Name
    First Name
    Last Name
    May -11
    First Name
    Last Name
    but when I run the report what I see is the following:
    Apr-11
    First Name
    Last Name
    Apr-11
    First Name
    Last Name
    May-11
    First Name
    Last Name
    i.e. The grouping is displaying for every record
    How do I group the Planned dates for each record together so that I see each month listed only once?
    thanks

    Your date needs to be in the canonical format to apply any formatting.
    You could use the substring function and concat function to extract the month and year and then use that to group by.. not the best way..
    Thanks,
    Bipuser

  • Repeating hearder on each group record?

    Hi guys.
    Currently my report consists of different products in 1 day, and each products have around 40 records. So I'm thinking to make the header appear at the top of each new product data, this is to improve the convenient to view the report,  because each
    data consists about 30 figures and make the report very long.
    Is there anyway to do this?
    Thanks in advance.

    Thank you Sanjeewan. Your comment helped to fix this (The tablix 'table1' has an invalid TablixMember. All TablixMember
    elements in a TablixColumnHierarchy must have the KeepWithGroup property set to "None")  issue. 
    Fix Which I made:
    1. inserted row outside of group .. to avoid repeated headers on each row . 
    2. After that can see row groups and column group on bottom of the report.. there is arrow mark click on that selected advanced mode. 
    3. In row group side: can see static and details. Click on static and set Repeat on NewPage to  True.  If we select on static column on column group side
    will get that error again (this was the mistake which I have done)
    ---------------- Hope this helps----------------
    Vishali

  • Sum group records in itab

    How can I sum up into one record the records in itab.
    ex.
    group amount
    0001    50
    0001    60
    0003    10
    0004    10
    0004    20
    should be:
    group amount
    0001   110
    0003    10
    0004    30

    Hi Adrian,
    Take another internal table <b>ITAB1</b> and use following code:
    <b>LOOP AT ITAB INTO ITAB1.
    COLLECT ITAB1.
    ENDLOOP.</b>
    Here at the end ITAB1 will be having your desired result.
    This will definitely help you.
    Regards,
    Pragya

  • Query to group records

    hi,
    i have records like this
    supplier,product, persons involved
    10,150,[email protected]
    30,200,[email protected]
    20,111,[email protected]
    40,211,[email protected]
    i want to write a query which displays values like this
    10,30,40,[email protected]
    for [email protected] if there are n number of suppliers all need to be concatenated as shown above.
    can any one help me on this

    Its a Typical String Aggregation Question.
    [String Aggregation Techniques|http://www.oracle-base.com/articles/10g/StringAggregationTechniques.php] might be an interesting read for you.
    SQL> With Test_Tab as
      2  (
      3  SELECT 10 supplier,150 product, '[email protected]' persons_involved FROM Dual
      4  UNION ALL
      5  SELECT 30,200,'[email protected]' FROM Dual
      6  UNION ALL
      7  SELECT 20,111,'[email protected]' FROM Dual
      8  UNION ALL
      9  SELECT 40,211,'[email protected]' FROM Dual
    10  )
    11  -- end of test data
    12      SELECT   persons_involved,
    13               LTRIM (
    14                  MAX (SYS_CONNECT_BY_PATH (supplier, ','))
    15                     KEEP (DENSE_RANK LAST ORDER BY curr),
    16                  ','
    17               )
    18                  AS suppliers_involved
    19        FROM   (SELECT   persons_involved,
    20                         supplier,
    21                         ROW_NUMBER ()
    22                            OVER (PARTITION BY persons_involved ORDER BY supplier)
    23                            AS curr,
    24                         ROW_NUMBER ()
    25                            OVER (PARTITION BY persons_involved ORDER BY supplier)
    26                         - 1
    27                            AS prev
    28                  FROM   test_tab)
    29    GROUP BY   persons_involved
    30  CONNECT BY   prev = PRIOR curr AND persons_involved = PRIOR persons_involved
    31  START WITH   curr = 1;
    PERSONS_INVOLVE  SUPPLIERS_INVOLVED
    [email protected]  20
    [email protected]   10,30,40
    2 rows selected.
    SQL>Hope this helps.
    Regards,
    Jo

Maybe you are looking for

  • Bulleted Lists in Text Boxes?

    Hi all, Apologies if this has been asked before - I've searched but to no avail. Can one, in a text document, have a bulleted list in a text box? I've tried, but when the text to be bulleted in the text box is selected, the toolbar and the 'Format' d

  • Getting error in expdp....

    Dear All, My database is 11gR2 on Linux. During mid of expdp process I am getting this error: ORA-31693: Table data object "ETISLBILLING"."SDR_TBLICPCDRSUMMARY" failed to load/unload and is being skipped due to error: ORA-29913: error in executing OD

  • Payment data from credit card to paypal

    i want to change my payment data from credit card to paypal. in the FAQ it sais that this is possible for europe. how do i do that?

  • No Title

    I am trying to create an LOV form in Designer 6i running on Windows 2000 using the HST 6.5.1 package. The form compiles fine, but I get the following error message when executing the form : FRM-40735 : PRE-BLOCK trigger raised unhandled exception ORA

  • Inbound Refinery and WebCenter Content link not convert doc into PDF

    hi I like to have possibility to convert uploaded document over web center space to PDF in order to have that I installed UCM and IBR and linked them when I upload doc in web space I see that document is shown in WC Content and it have been sent it t