Offsetting the EAN number

Hello Experts,
           iam having the requirement where i need to extract the data from bw server using open hub destination in csv format and the data iam extracting consists of EAN number of a product  which is 13 digit number  and my requirement is if EAN number is 2 digit like 16 then i need to prefix the 0's before 16 .how should i acheive this?

Hi
you can achieve this by using aplha conversion routine for your characteristic and late you can incluse this under infoobjetcs list while creating infospoke
cheers,
Swapna.G

Similar Messages

  • Offset the page number

    I have Acrobat 9 Standard running on win7.  How do I offset the page count so the page count starts at page 1 instead of at the cover page. There is about 5 pages between the cover page and the start of the table of contents.
    Steve

    Use page labels.
    Be well...

  • Re: EAN number should be substituted by material number

    Hi all,
    I am having a r/3 ecommerce scenario.
    I have a requirement that when a customer enters EAN number for a material in frontend , the material should be determined automatically.
    I have mantained the material determination record accordingly in r/3 and when I am creating a order in r/3 and entering the EAN number in material field, it automatically substitutes the EAN with the material maintaied in  condition record.
    What settings do I do , so that the same works in frontend?
    Thanks and regards,
    Nilesh

    Like this?
    SELECT TO_CHAR(123456123.122234,'FM999,999,999.000009')  FROM DUAL;
    123,456,123.122234

  • EAN number missing leading zeroes

    Hi,
    I have configured two types of EAN/UPC numbers, one being 12 characters and one being 14.  In our business, we have a situation where a material has a case UPC number 00099999123456 and a package UPC of 099999123456.
    When these values are displayed on the material master I will see either
    099999123456  or
    00099999123456 
    but not both values with the correct number of leading zeroes.
    Is there a way to have the correct value with the right number leading zeros when the EAN number is the same except for the leading zeroes?
    The standard conversion routines i've looked at do not take into account there could be a different number of leading zeroes based on the EAN type assigned as the type is not a import parameter for  CONVERSION_EXIT_EAN11_OUTPUT.
    thanks!

    Hi,
    As per your query this is related to your configuration setting. Pls consult with SD/FI consultant and also consult with ABAPER. If configuration is ok then may be your have develop a programe and the programe may be wrong.
    Anil

  • How can i find out EAN number of my ipad

    Dear Apple experts
    I have a quite old ipad and would like to sell it. Is there any way to find out the EAN number so that I can get all specifications of this IPAD?
    Thanks

    Here's a list of all iPad specs.
    http://www.everymac.com/systems/apple/ipad/index-ipad-specs.html
     Cheers, Tom

  • System should calculate the UPC/EAN Number automatically

    Can we add the UPC calculator to SAP, MM01 so the system can calculate the ending checkdigit for us?  Currently when we need to calculate the ending checkdigit for upc codes we go to an online site, key the number, calculate the ending digit, copy and paste into MM01. Can this calculation be added to MM01, Basic Data 1, EAN/UPC field?
    If we key the 14 digit upc ending in 0, the system message can then tell us what the corrected digit should be or change it automatically for us. Currently the message says "the EAN xxx has an incorrect checkdigit"
    example temp upc-key 55000011564120 and the message should say "ending digit should be 6" or the system can change to 0 to a 6 for us.
    example real upc-00036000915450 and the message should say "ending digit should be 7" or the system can change to 7 for us.
    We have to key the zero on the end or the system adds a leading zero up front (to make the full 14 digits) and just accepts.
    Website we use to calculate the ending digits is http://www.gs1.org/barcodes/support/check_digit_calculator
    Please help me in solving this scenario.....
    Marc.

    Hi Mark,
                 For this scenario you will need to add custom code for automatic calculation of Check digit and thus modifying EAN/UPC no. entered by you to a correct EAN/UPC no.
    However as soon as we enter EAN/UPC( with wrong check digit) no in basic data 1 tab we get an error u201CThe EAN 36000915450 has an incorrect check digitu201D. And it seems that in between entry of EAN/UPC and error message there is no customer exit/BADI  is coming in which we could have written our custom code to generate check digit and correct EAN/UPC.
    So an option is that if you are uploading multiple materials you can use BDC to upload all such materials and there you will have the possibility to correct the EAN/UPC using ABAP custom code before submitting it to MM01 screen.
    Regards,
    Rajwin.

  • Standard program to fetch the article number from the EAN

    Hi all,
    Is there any standard report, that retrieves the article number from the EAN provided. I don't require a function module which satisfies this requirement.
    Kindly provide your valuable inputs.
    Thanks & Regards,
    Revathi.

    Here is code that can fetch any site.
    import java.net.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    public class fetchresult extends Frame implements ActionListener{
         TextField t1;
         TextArea ta;
         Button b1;
         public fetchresult(){
              super("Fetch Result");
              t1=new TextField("http://www.sitename.com",20);
              b1=new Button("Get");
              ta=new TextArea("",20,80);
              setLayout(new FlowLayout());
              add(t1);
              add(b1);
              b1.addActionListener(this);
              add(ta);
              setSize(200,200);
              setVisible(true);
         public void actionPerformed(ActionEvent e)
              try
              String s = t1.getText();
              URL u = new URL(s);
              URLConnection uc = u.openConnection();
              InputStream is = uc.getInputStream();
              BufferedReader rd = new BufferedReader(new InputStreamReader(is));
              String str;
              while((str = rd.readLine()) !=null){
                   ta.append(str);
                   ta.append("\n");
              rd.close();
              int available = is.available();
              int z;char c;
              for(int x=0;x<available;x++){
                   z=is.read();
                   c=(char)z;
                   ta.append(String.valueOf(c));
              catch(Exception ee){ta.append(ee.toString());}
         public static void main(String args[]){
              fetchresult obj = new fetchresult();
    Manu

  • How can I offset all elements of an array by the same number

    I'd like to know the quickest way to add a number to all elements of an array. In other word, offset the whole array by a number.

    You just use the normal add function. Wire the array to one input and the constant to the other input. After wiring the array, do not click on the other terminal and select Create>Constant because by default it will create an array. Just select a Numeric Constant from the Numeric palette or wire it to a control.
    Attachments:
    add_constant_to_array.jpg ‏3 KB

  • How can I display date+time and not the point number in excell?

    Hi everyone,
    Could anybody tell me how I can save date + time to a file, so that  I can display on a diagram(excel) : date+time in (ox) and data (oy)? :
    My program sets in (ox) the point number and not the date+time....( although  date and time are written correctly in the column...)
    Any help would be great,
    Thanks,
    regards,
    Marc

    hi there,
    excel uses 01.01.1900 00:00 as the time offset, LabVIEW uses 01.01.1904 02:00, so you can't display the correct datetime in excel when you write the time as a fractional number of seconds from LabVIEW. you must format the datetime in LabVIEW to a string and write that to the column. use the "Format Date/Time String" - function and for example "%d.%m.%Y %H:%M:%S%3u" as the format string (see the functions help for more examples). you also could format your data to a string using "Format Into String" - function and write the file as a 2D string array. the decimal point you have to use depends on your system and its settings, but you can specify the decimal point in the Format string like "%.;%f" (means fractional number with point as decimal point).
    best regards
    chris 
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • Updating the Line number on status bar.

    Hi all,
    I have developed an editor using swing, however I have used the JTextpane class to display the text. I had did of trouble with features such as go to line as this class does not support methods such as getLineCount in the JTextArea class. However I over came this by writing the method shown below.
    The problem is that I want to show the current line number on the status bar. When do I call this method? After every '\n'?
    The setLine Number method is below.
    Thanks for your help
    Ciara
    public void setLineNumber(int num) {
    int lineNum = 1;
    int lastNewline = 0;
    char text[] = editor.getText().toCharArray();
    if (num < 1)
    return;
    if (num == 1) {
    editor.setCaretPosition(0);
    return;
    int i;
    for (i = 0; i < text.length; i++) {
         if (text[i] == '\n') {
         lastNewline = i;
         lineNum++;
         if (num == lineNum) {
         editor.requestFocus();
         editor.setCaretPosition(lastNewline + 1);
         return;
    }     

    Perhaps extending a PlainDocument is better, if line
    numbers are meaningful for your application.
    About your method, mind that getText can be quite dear,
    so it is better not to call it if you don't need it.
    For a more efficient alternative, look at Document.getText(int offset, int length, Segment txt)It uses a Segment (un unguarded string) pointing directly
    into the document, which you can use much like a char
    array.
    As to your question, I would define a CaretListener
    so as to update the status bar when the caret moves.

  • How to return the week number starting from Sunday as the first day

    Hi Friends,
    My application needs to have a report for the weekly totals and must have the Sunday as the first day for the week. For example, January of 2005 should be in the report for having six weeks, Jan 1 is Saturday, this is week 1, Week 2 is from 2 to 8, and the last week , week 6 has 30 and 31. Days need not be displayed, only the week number as follows:
    Week Number Total Sales
    =========== =========
    Week 1 8,525
    Week 2 8,168
    Week 3
    Week 4
    Week 5
    Week 6
    The discoverer hierarchies function for week (eul_date_trunc(item_date, '"W"W')) seems to start the week from the first day of the month regardless of the day. Oracle function TO_CHAR(item_date, 'W') does the same thing, .As the result, the January of 2005 has only 5 weeks.
    Any help or advice for this issue will be greatly appreciated.
    Thank you very much,
    J.K

    Try this
    ---------------------------------------------actual formula---------------
    select ceil(
    ( to_number(to_char(to_date('1-'||to_char(sysdate,'MON-YYYY'),'DD-MON-YYYY'),'D')) -1
    + to_number(to_char(sysdate,'DD'))
    ) / 7
    week_number
    from dual
    e.g try different dates below by replacing 31-Jan-2005
    select ceil(
    ( to_number(to_char(to_date('1-'||to_char(to_date('31-JAN-2005'),'MON-YYYY'),'DD-MON-YYYY'),'D') ) -1
    + to_number(to_char(to_date('31-JAN-2005'),'DD'))
    ) / 7
    week_number
    from dual
    How does it work
    week number is calculated by dividing the current day number by number of days
    so in your case if the week starts at a different day , you just add the offset and divide by 7
    In the first part, i am finding the week day number for the 1st day of the current month and this is used as offset.
    Hope this helps
    -nj
    http://www.infocaptor.com

  • Updating EAN number for artcile within a sales order

    Hi Everyone,
    We are running SAP R/3 E, I have a situation where a sales order can be created using a material which does not have a EAN article number associated within MM.
    One particular partner gets their invoice by EDI and needs this field in the invoice, even if we update the material in MM02 with the EAN code its not copied through to the invoice, even if we cancel the invoice the same problem exists.  I can also look in the sales order and see that the EAN did not update in their either, it will do for new sales orders.
    Please can somebody advise how to get this though to my Invoice so it will appear in the IDOC?  If we have to cancel/re-invoice that's not a problem
    Many thanks

    Hi Arundel
    I am not sure whether the following links will be of helpful to you.  Anyway please go through that
    http://help.sap.com/saphelp_46c/helpdata/en/b9/738d4df73f11d2b442006094b9301e/frameset.htm
    http://help.sap.com/saphelp_46c/helpdata/en/54/998c9f66bf11d3955500a0c92f024a/frameset.htm
    Thanks
    G. Lakshmipathi

  • Any suggestions for the ITEM NUMBER field

    We sell DVDs, Books, CDs, etc. for which we have item groups setup.
    We are using the ISBN based EAN barcode for the bar code field.
    Any best practices for coming up with the ITEM NUMBER naming convention that people have for us.
    Currently we use the short form title of the DVD or book to denote the item number.
    Mike

    Hi Mike,
    There are always pros and cons for something like Item Code convention.
    In my experience, I would like to make them in the same length whenever possible.  Because they are internal codes, they should be easier to be used for both technical and non-technical users.  Sometimes you might not be able to make both parties happy.  In that case, you have to give up something to compromise.  The most important above all is to eliminate any duplicated codes.  You will find that could the most difficult job if you give more users the abilities to create Item Code.  If that is a must for your business, more training will be needed for all those users.
    Thanks,
    Gordon

  • MAIN EAN Number of artcile

    Hi
    I m creating a new EAN number for artcile through  BAPI_MATERIAL_MAINTAINDATA_RT but how to make that ean number as main EAN number.
    is there any other F.M or Bapi exsit to make a Ean as main ean.
    reagrds
    bunty

    Hi bunty,
    I am using BAPI_MATERIAL_MAINTAINDATA_RT to create new materials and also cannot find a way to flag an EAN as main. My problem is that I cannot even create the material since I always get this error:
    M3-535: First specify the main EAN for the unit PC
    Here's the thread I just started on this issue:
    BAPI_MATERIAL_MAINTAINDATA_RT for MARA 'Z' fields
    Did you solve your problem? If so please let me know how.
    Thanks,
    Nuno

  • EAN number and its Barcode

    I just test in smartform to print the barcode of article EAN number, the barcode is printed, but I'd like that EAN number is also printed just under the barcode with the same width as below:
    IIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIII
    1 2 3 4 5 6 7 8 9 0
    How can I implment this?! it's some option to make when I copy the new technolog barcode as Z*? I copied both the C128A and Interleaved 2of5.
    Thanks in advance

    Hello, i've the same problem. How have you solved it?
    Many thanks in advance for replying...
    Christian

Maybe you are looking for

  • Solman Integration with HP QC

    HI we have installed new Solman EhP1 7.0 SPS23, we already have HP QC 10. we have installed Enterprise Integration 2.5 in HP QC and ST-QCA in Solman I have completed all the steps provided in SPRO, except connecting link to QC project. from solman pr

  • Incomming Payment

    Hello to All, I have made A/R invoice of 10000/- now i want to make incomming payment but when i click on incomming payment form then it show me Link Primary sales accounts has not been completed what i do for same ? Thanks Dipak

  • Default access modifier in Interface

    public interface Inter      protected void print(); }Doesn't compile. Error Message is Modifier protected not allowed here. public interface Inter void print(); above code compiles fine. I was thinking since default access is more resctricted than pr

  • Config to use JPA 2.0 in eclipse for weblogic portal 10.3.2

    Hi, can anyone help me to config eclipse for WLP 10.3.2 for using JPA 2.0 Thanks!

  • Is it possible companies store a file on my mac to force their ads on pages opened with Safari?

    In the last weeks when surfing with safari on my mac I see the ads for "MacKeeper" appearing unusually often on the pages I visit, even on pages where they don't make much sense (Food or gardening pages for example). To doublecheck I opened the pages