Sequential number

Hi All,
What is the importance of  Sequential number for condition exclusion in Pricing Proce. where we assign one exclusion grp to other? How should i arrange the sequence of assignements of different exclusion groups?
Can a exclusion group  contains more than one conditon type for comparision?
Thanks,
Pramod

Hi madhu aaryaa,
I think that you have some problem with you.
You had posted similar question for the past 2 or 3 times and I had replied for them. You have not even rewarded points or closed them.
Check these threads for your reference...
logic generation
number generation
batch number
batch number
I have even posted the code for this. Hoping that you will do the needy...
PARAMETERS p_i TYPE i.
DATA d_i1 TYPE i.
DATA d_i2 TYPE i.
DATA d_i3 TYPE i.
DATA d_i4 TYPE i.
DATA code(4).
DATA num(36) VALUE '0123456798ABCDEFGHIJKLMNOPQRSTUVWXYZ'.
   d_i4 = p_i MOD 36.
   p_i = p_i DIV 36.
   d_i3 = p_i MOD 36.
   p_i = p_i DIV 36.
   d_i2 = p_i MOD 36.
   p_i = p_i DIV 36.
   d_i1 = p_i MOD 36.
   code+0(1) = num+d_i1(1).
   code+1(1) = num+d_i2(1).
   code+2(1) = num+d_i3(1).
   code+3(1) = num+d_i4(1).
   WRITE code.
Message was edited by: Wenceslaus G

Similar Messages

  • How to add 16 bit message sequential number to the byte array

    hi
    iam trying to implement socket programming over UDP. Iam writing for the server side now.I need to send an image file from server to a client via a gateway so basically ive to do hand-shaking with the gateway first and then ive to send image data in a sequence of small messages with a payload of 1 KB.The data message should also include a header of 16 bit sequential number and a bit to indicate end of file.
    Iam able to complete registration process(Iam not sure yet).I dnt know how to include sequential number and a bit to indicate end of file.
    I would like to have your valuable ideas about how to proceed further
    package udp;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class Sender  {
        protected BufferedReader in = null;
        protected FileInputStream image=null;
        protected static boolean end_of_file=true;
    /** pass arguments hostname,port,filename
    * @param args
    * @throws IOException
       public static void main(String[] args) throws IOException{
            DatagramSocket socket = new DatagramSocket(Integer.parseInt(args[1]));
            boolean more_messages = true;
              String str1=null;
                * gateway registration
                try{
                     //send string to emulator
                    String str="%%%GatewayRegistration SENDER test delay 10 drop 0 dupl 0 bandwidth 1000000";
                    byte[] buff=str.getBytes();
                    InetAddress emulator_address = InetAddress.getByName(args[0]);
                    DatagramPacket packet = new DatagramPacket(buff, buff.length,emulator_address,Integer.parseInt(args[0]));
                    socket.send(packet);
                        // figure out response
                    byte[] buf = new byte[1024];
                    DatagramPacket recpack=new DatagramPacket(buf,buf.length);
                    socket.receive(recpack);
                   // socket.setSoTimeout(10000);
                    String str2=str1.valueOf(new String(recpack.getData()));
                    if(socket.equals(null))
                         System.out.println("no acknowledgement from the emulator");
                        socket.close();
                    else if(str2=="%%%GatewayConfirmation")
                    //     String str1=null;
                         System.out.println("rec message"+str2);
                    else
                         System.out.println("not a valid message from emulator");
                         socket.close();
                catch (IOException e) {
                    e.printStackTrace();
                      end_of_file = false;
         /**create a packet with a payload of 1     KB and header of 16 bit sequential number and a bit to indicate end of file
      while(end_of_file!=false)
          String ack="y";
          String seqnum=
           File file = new File(args[2]);                               
                    InputStream is = new FileInputStream(file);                 
            socket.close();
      private byte[] byteArray(InputStream in) throws IOException {
             byte[] readBytes = new byte[1024]; // make a byte array with a length equal to the number of bytes in the stream
          try{
             in.read(readBytes);  // dump all the bytes in the stream into the array
            catch(IOException e)
                 e.printStackTrace();
            return readBytes;
      

    HI Rolf.k.
    Thank you for the small program it was helpfull.
    You got right about that proberly there  will be conflict with some spurios data, I can already detect that when writing the data to a spreadsheet file.
    I writes the data in such a way, that in each line there will be a date, a timestamp, a tab and a timestamp at the end. That means two columns.
    When i set given samplerate up, that controls the rate of the data outflow from the device, (1,56 Hz - 200 Hz),   the data file that i write to , looks unorderet.
     i get more than one timestamp and severel datavalues in every line and so on down the spreadsheet file.
    Now the question is: Could it be that the function that writes the data to the file,  can't handle the speed of the dataflow in such a way that the time stamp cant follow with the data flowspeed. so i'm trying to set the timestamp to be  with fractions of the seconds by adding the unit (<digit>) in the timestamp icon but its not working. Meaby when i take the fractions off a second within the timestamp i can get every timestamp with its right data value. Am i in deeb water or what do You mean!??
    AAttached Pics part of program and a logfile over data written to file
    regards
    Zamzam
    HFZ
    Attachments:
    DataFlowWR.JPG ‏159 KB
    Datalogfile.JPG ‏386 KB

  • Tax report for Spain - Sequential Number

    The layout that I have prepared for the Tax report (RFUMSV00, Tx: S_ALR_87100833) shows the column "Sequential number." Thus, I have a relationship without jumping straight to the numbering of all invoices with VAT.
    The system assigns a "Sequential number" for SAP document number. The "problem" arises when there is a bill, a SAP document, with more than one tax indicator of VAT. Then some lines appear in the Declaration of VAT with the Sequential number field in blank and that is because the number of the document (this bill) is already listed in the Declaration in another line with its own Sequential number .
    How do you work with it? Can I somehow avoid that remove this Sequential number blank?

    Hi (again)
    After reading the SAP note number 1628714 ( https://websmp107.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=1628714&_NLANG=E ), I think that there isn't an SAP-standard solution.
    Best regards.
    Paco M

  • How I can change sequential number in RFUMSV00 (Spanish declaration of VAT)

    Hi!
    How I can change sequential number of Output /Input Tax in RFUMSV00 transaction (Spanish declaration of VAT)?
    In input declaration I would like to have one sequential number for input tax and for output tax that appears on in.  Is possible with standard Sap or I need a Z-transaction?
    Thanks

    Dear friend,
    Please refer the below note.
    SAP Note 849459
    Reg
    Madhu M

  • Can Aperture Read the camera's sequential number metedata when naming files

    Before I started using Aperture I would use this naming convention in Bridge to batch rename files and It works great because it avoids duplicate file names and the files are in sequential order
    my last name(Blake)YYYYMMDDfour digit NON RESETTING sequential number, generated by my Nikon D2X. I don't have any duplicate file names unless I shoot more that 9999 images in one day.
    Has anybody found the option to use the camera's generated sequence number in Aperture's file naming scheme. I sure can't. I know that you can set a four digit sequence but that sequence doesn't start where the sequence leaves off in the previous import.
    Thanks
    John
    G4 Powerbook   Mac OS X (10.4.8)  

    I have two workarounds
    1. Rename the files in bridge after like I have always done and then import the folder as an Aperture project without changing the file names. I use photo mechanic to download the files from the card.
    2. Go to the library smart folders to see what was the last project I imported and check the four digit sequence before the file name extension. Set the sequential counter in Aperture to start at the next sequential number where the last file left off.
    I have to use the four digit sequence instead of using the date and Time sequence. It is very convenient for my clients to give me the four digit sequence when telling me what images they want prints from,etc. Avoids any confusion.
    I did request this feature of using the camera's generated file name in Apple's feedback link for future inhancements.
    thanks for your responses
    John
    G4 Powerbook   Mac OS X (10.4.8)  
    G4 Powerbook   Mac OS X (10.4.8)  

  • Sequential Number for Non-Approved Forms

    Hello-
    I'm building an InfoPath form that is submitted to a SharePoint library.  There is an approval workflow created in SP Designer.  Once the form is approved, it is moved to another document library and then deleted from the current one.  Our
    goal is to assign a sequential number (RQNumber) to each form.  In InfoPath I have created 2 fields:  One that looks in the initial form library and grabs the max RQNumber and another that looks in the other form library and grabs the max
    RQNumber.  Then I have a field that takes the max of those two numbers and adds 1.
    The issue I'm having is I can't get the formula to grab the max RQNumber from the first form library.  I'm guessing this is because the form hasn't been approved yet, so it doesn't pull from the form until it's approved.  Is that correct? 
    Is there any way around that?
    Thanks! 

    Hi Nivek,
    Question: At what stage is the RQNumber assigned to the form in the first form library? Is it during submission of the form or during approval? If you are deleting the document from the first form library, arent you getting the max RQNumber same everytime?
    If this number is assigned during form creation, you should be able to lookup in the form library from a data connection to the same form library. During Form load, set a field to have max of RQNumber. Hope it helps.
    Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

  • Sequential Number into Dimension BPC NW

    Hi expert
    i hope that you can help me, i need to create a sequential number as a Member into a one Dimension in order to identify any load data in our planning process, this number have to be create when the user send data to applitation by data input schedule.
    Please any idea to do that.
    Regards

    Thanks again,
    I have also created another property in order to group all the values I want to consider, but the script logic delivers an exception and it does not work.
    Example:
    Dimension: DIM
    ID       PROP1    GROUP
    A        10           Y
    B        13           Y
    C        17           Y
    If I need to multiply by 2 the value in the dimension PROP1, I have tried the following:
    *SELECT(%VAR%,"[PROP1]",DIM,"[GROUP]="Y"")
    *WHEN DIM
    *IS<>""
    REC(EXPRESSION=%VAR%2)
    *ENDWHEN
    However, the system delivers an exception error: UJK_VALIDATION_EXCEPTION: Unknown DImension Name in Keyword:¨3
    In the other hand the following gets saved and processed correctly:
    *SELECT(%VAR%,"[PROP1]",DIM,"[PROP1]="10"")
    *WHEN DIM
    *IS<>""
    REC(EXPRESSION=%VAR%2)
    *ENDWHEN
    I am using BPC NW 7.5 SP03 but I was not able to find an OSS Note regarding this.
    Many thanks in advance
    Regards
    Dani

  • O.T. Sequential Number Text Overlay On Photos In A Batch Process

    As ACDSee crops up on the forum from time to time, I thought this posting
    on Photo.net on using ACDSee to put a "sequential number" text overlay on photos in a batch process might be of interest.
    http://photo.net/bboard/q-and-a-fetch-msg?msg_id=00PRhf

    I don't think it's possible to manually add OCRd text, but you can add form
    fields with the text in them. And yes, it is possible to search the content
    of form fields, using a script.

  • Assigning sequential number from number range

    Hi All,
    My Zreport is updating Ztable with sequential number field assigned for each document numbers for each period. Below are the numbers assigned for period 5 in Ztable.
    00001000000000000000
    00001000000000000001
    00001000000000000002
    00001100000000000000
    00001200000000000000
    00001200000000000001
    00001200000000000002
    00001200000000000003
    When I ran for period 6 the sequence number is coming as below.
    00001000000000000003
    00001000000000000004
    00001100000000000001
    00001200000000000004
    00001200000000000005
    00001200000000000006
    It should give me the below.
    00001000000000000003
    00001000000000000004
    00001100000000000000
    00001200000000000004
    00001200000000000005
    00001200000000000006
    I am fetching the data from Ztable and sorting in descending order. Below is the data in my internal table in debugging.
    bukrs belnr           blart   monat   numkr      zsequence
    2700 |1700002431 |KA   |05         |03         |00001200000000000003
    2700 |5100000804 |RE   |05         |02         |00001100000000000000
    2700 |2200000004 |P2   |05          |01         |00001000000000000002
    Below is my code.
          loop at t_ztable.
            clear w_zsequence.
            unpack t_table-zsequence to t_ztable-zsequence.
            if (t_ztable-zsequence = '00001200000000000000' or
                 t_ztable-zsequence = '00001100000000000000' or
                 t_ztable-zsequence = '00001000000000000000' ).
            w_zsequence = t_ztable-zsequence
            else.
              w_zsequence = t_ztable-zsequence + 1.
              unpack w_zsequence to w_zsequence.
            endif.                                              "BK003
    *   shift w_zbelnr left deleting leading space.
            loop at t_bkpf
                  where bukrs = t_ztable-bukrs
                    and groupnumber = t_ztable-numkr.
              move-corresponding t_bkpf to t_ztable_load.
              t_ztable_load-zsequence = w_zsequence.
              t_ztable_load-numkr = t_ztable-numkr.
              append t_ztable_load.
              w_zsequence = w_zsequence + 1.
    *         shift w_zsequence left deleting leading space.
              unpack w_zsequence to w_zsequence.
            endloop.
          endloop.
    How to acheive this. Please help me.
    Thanks,
    VBK

    Hi Haritha,
    Can you show us the table t_bkpf dataon which you are looping?
    Regards,
    Sudeesh Soni

  • Oracle - SQL - update sequential number based on order by clause

    I have a procedure that inserts records in to a temporary table. After procedure execution, I want to update a field in the temp table (recno) with sequential number ordered by a field audit date which is a time stamp field
    For example, after updating the recno field, if I give a query like below,
    Select recno,audit_timestamp,<other fields> from audit_details
    order by audit_timestamp
    the output should display recno in the sequential order. Can any one guide me on how to achieve this using a SQL query?

    The audittime field is a timestamp field.
    If I give the below query, rownum is not in the sequential order, see below few records..
    SELECT rownum,to_char(audit_time_stamp,'dd-mon-yyyy HH24:MI:SS.FF') from audit_details ORDER BY audit_time_stamp
    ROWNUM     to_char(audit_time_stamp,'dd-mon-yyyy HH24:MI:SS.FF')
    16     18-apr-2007 14:30:52.551010
    17     18-apr-2007 16:33:21.900305
    18     18-apr-2007 17:49:44.061420
    19     18-apr-2007 17:49:44.134804
    20     19-apr-2007 16:40:15.775235
    21     22-apr-2007 23:31:01.818784
    ROWNUM     To_char(audit_time_stamp,'dd-mon-yyyy HH24:MI:SS.FF')
    1     01-may-2007 19:17:46.880342
    2     01-may-2007 19:24:04.952571
    3     01-may-2007 19:24:32.182110
    4     01-may-2007 19:25:49.464260
    5     01-may-2007 19:25:52.127018
    6     01-may-2007 19:27:34.099095
    7     01-may-2007 19:30:34.763481
    8     01-may-2007 19:31:06.226955
    9     01-may-2007 19:32:36.727196
    10     01-may-2007 19:40:44.061941

  • Min and Max of sequential number

    Hello
    I have a table called pins (lot number(4),
    sequence number ( 8)
    In the table I have data:
    lot sequence
    386 100
    386 101
    386 102
    386 800
    386 801
    387 1
    387 2
    I want to know by lot the low and high values for sequential number, the result I am looking for is
    lot min(sequnce), max(sequence)
    386 100 102
    386 800 801
    387 1 2
    Oracle 10g rel2
    Thanks

    Hi,
    You want something like this:
    WITH       got_grp     AS
         SELECT     lot
         ,     seq_num          -- SEQUENCE is not a good column name
         ,     seq_num - ROW_NUMBER () OVER ( PARTITION BY  lot
                                                      ORDER BY      seq_num
                                          ) AS grp
         FROM    pins
    --     WHERE     ...     -- any filtering goes here
    SELECT       lot
    ,       MIN (seq_num)          AS min_seq_num
    ,       MAX (seq_num)          AS max_seq_num
    FROM       got_grp
    GROUP BY  lot
    ,            grp
    ORDER BY  lot
    ,            min_seq_num
    ;As I understand the probem, you want to GROUP BY, but lot doesn't define the groups by itself: each contiguous set of seq_nums in a lot is a separate group. In each of those groups, the difference between seq_num and a counter reflecting the order of seq_num generated in the query (using ROW_NUMBER) will be constant.
    This assumes that seq_num is an integer, and that (lot, seq_num) is unique.
    If not, the query above will need a little adjustment.
    If you'd like to post INSERT statements for your sample data, then I could test this.

  • Sequentially number layer sets

    Great, apparently if I add Tags it wipes out my question and just posts the tags as the message body. Brilliant. Re-typing...
    I have a large and growing PSD with many layer sets (folders of layers.) I need to sequentially number the layer sets, but preserve their existing names. For example, layer set named "foo" should be renamed "001 foo",  the next layer set "bar" should be renamed "002 bar" and so on.
    Doing this manually would take a long time, but more importantly, as I add new layer sets and reorder them I don't want to have to do it all over again.
    I am not a programmer so I don't know where to begin writing this script. Google helped me find a few scripts that do something similar, but not exactly what I want. Most of the scripts I found will rename layers, but I need to rename the layer sets (folders.)
    If it helps, I'll explain what I'm ultimately trying to do. I want to export each of my layer sets to an image, and have those images numbered sequentially based on the order of the layer sets. I already found a script that will export all of my layer sets to JPG images, so if I can find the script described above, I should be able to do this in two steps (1. rename layer sets, 2. export images.) If there is an easier or better approach, let me know.
    I have Photoshop CS5 on Mac OSX Lion.
    Any help is appreciated! Thanks!

    Could you try this?
    // add sequential three places number to beginning of layersets’ names or change existing three places number;
    // 2012, use at your own risk;
    #target photoshop
    if (app.documents.length > 0) {
    var myDocument = app.activeDocument;
    var theSets = collectLayerSets(myDocument);
    for (var m = 0; m < theSets.length; m++) {
              var thisSet = theSets[m];
              var myRegExp = /^\d{3}/;
              var theNumber = theSets.length - m;
              if (thisSet.name.match(myRegExp) == null) {thisSet.name = bufferNumberWithZeros(theNumber, 3) + " " + thisSet.name}
              else {thisSet.name = thisSet.name.replace(myRegExp, bufferNumberWithZeros(theNumber, 3))}
    ////// function collect all layersets //////
    function collectLayerSets (theParent) {
              if (!allLayerSets) {var allLayerSets = new Array}
              else {};
              for (var m = theParent.layers.length - 1; m >= 0;m--) {
                        var theLayer = theParent.layers[m];
    // apply the function to layersets;
                        if (theLayer.typename == "LayerSet") {
                                  allLayerSets = allLayerSets.concat(collectLayerSets(theLayer))
                                  allLayerSets = allLayerSets.concat(theLayer);
              return allLayerSets
    ////// buffer number with zeros //////
    function bufferNumberWithZeros (number, places) {
              var theNumberString = String(number);
              for (var o = 0; o < (places - String(number).length); o++) {
                        theNumberString = String("0" + theNumberString)
              return theNumberString

  • Sequential number of account assignment(zekkn)

    hi experts,
                   can any one tell the inportance of zekkn(Sequential number of account assignment) field in ekbe table, is this related to the delivery costs, when this zekkn values are assigned

    hi,
    zekkn
    It is the number uniquely defining the account assignment of a purchase order item.
    account assignment
    A tool that specifies of which accounts to post to from a business transaction.

  • Create a Sequential number of RF menu

    Hi,
    where can I create a Sequential number of RF menu.
    I need it to define the menu management.
    thank.
    Dede

    Hi,
    If you see, the menu management, in mobile data entry.
    Copy the main menu option from that, there u can see the serial numbers also based on the no. of menu options
    Thanks
    Aktar

  • Is there a way to sequentially number repeating calendar events

    Is there a way to sequentially number repeating calendar events?
    For example: I have fitness training 3x a week, every Tue, Thu & Sat. I  set it up as a repeating event in calendar, but would like it to nimber each event. o if I looked at the last day on the calendar, there would have been noted somewhere that this was occurence #12 Currently, I would have to go ahead into each event & edit in what # it was. Any help or suggestions  would be appreciated. Thanks!

    I don't believe that there any automatic way to do this in the Calendar App.

Maybe you are looking for