Appending data in ranges object

hi,
i have a ranges field i want to append the land data in
ranges object.

sort table itab by vbeln posnr.
read table itab index 1.
ranges-low = itab-vbeln.
clear itab.
describe table itab lines w_line.
read table itab index w_line.
ranges-high = itab-vbeln.
ranges-sign = 'I'.
ranges-option = 'BT'.
append ranges.
This is surely help u.
Re: Moving DATA from Internal Table to Ranges

Similar Messages

  • Number range object for characterstic DATE does not exist

    When I am trying to load data from ODS to cube getting below error message.
    "Number range object for characterstic ZEXTDATE(Source extract date) does not exist".
    In update rules we are trying to convert this date Infoobject(Char) into Key figure.
    If anyone had exp with similar issue please reply.
    Thanks in advance
    Vani

    Hi Vani,
    Is ZEXTDATE Characteristic have any data in it? Can you check once.
    Veerendra.

  • Appending Data to the MSWord Using java

    Hi,
         I need  to append data to the MSWord doc Using a java Program.The data contains both text and image.While appending data the size of the doc is increasing but the data is not Visible.
       I'm using Streams to read and write into the MSWord
    doc.
       Can anyone solve this problem and also tell me is there any alternative ie any external jar files are required?
    I'm working on Netweaver 2004s ide.
                                                  Thanks in Advance,
                                                   Venkat

    Hi Venkat ,
    Try This Code .....!!!!!!!!!!!!!!!!1
    import com.linar.jintegra.AuthInfo;
    import msword.*;
    public class WordExample {
      public static void main(java.lang.String[] args) {
        String oldfilestr = "c:
    temp
    test.doc";
        try {
          // DCOM authentication: Make sure Nt Domain, Nt User, Nt Password are valid credentials.
          // Uncomment this line if WordExample.java remotely accesses Word:
          // com.linar.jintegra.AuthInfo.setDefault("NT DOMAIN", "NT USER", "NT PASSWORD");
          // Specify host name or IP address of Word machine as parameter if
          // WordExample.java remotely accesses Word.
          // Application doc = new Application("123.456.789.0");
          Application app = new Application();
          java.lang.System.out.println("The version is: " + app.getVersion());
          java.lang.System.out.println("The path is: " + app.getPath());
          app.setVisible(true);   // Nice to see what is happening
          Documents docs = app.getDocuments();
          // For Word 2003, use:
          _Document document = docs.open(
            oldfilestr,
            null,
            null,
            null,
            null,
            null,
            null,
            null,
            null,
            null,
            null,
            null,
            null,
            null,
            null,
            null
          // For Word XP, use:
          // _Document document = docs.open(
          //   oldfilestr,
          //   null,
          //   null,
          //   null,
          //   null,
          //   null,
          //   null,
          //   null,
          //   null,
          //   null,
          //   null,
          //   null,
          //   null,
          //   null,
          //   null
          // For Word 2000, use:
          // _Document document = docs.open(
          //   oldfilestr, // FileName,
          //   null,       // ConfirmConversions
          //   null,       // ReadOnly
          //   null,       // AddToRecentFiles
          //   null,       // passwordDocument
          //   null,       // password template
          //   null,       // revert
          //   null,       // write password document
          //   null,       // write password template
          //   null        // format
          Range rg = document.getContent();
          Find fd = rg.getFind();
          Thread.sleep(2000);
          // Replace (default replaces 1 phrase at a time)
          // For Word XP or 2003, use:
          fd.execute(
            "ow",
            null,
            null,
            null,
            null,
            null,
            null,
            null,
            null,
            "igh",
            null,
            null,
            null,
            null,
            null
          // For Word 2000, use:
          // ff.execute(
          //   "ow", // FindText
          //   null,  // MatchCase
          //   null,  // MatchWholeWord
          //   null,  // MatchWildcards
          //   null,  // MatchSoundsLike
          //   null,  // MatchAllWordForms
          //   null,  // Forward
          //   null,  // Wrap
          //   null,  // Format
          //   "igh", // ReplaceWith
          //   null
          Thread.sleep(2000);
          app.quit(new Integer(WdSaveOptions.wdSaveChanges), null, null);
        } catch (Exception e) {
          e.printStackTrace();
        } finally {
          // Release all the COM objects:
          com.linar.jintegra.Cleaner.releaseAll();
    Thanks & Regards,
    Venkat

  • Transporting error!  While transporting Number Range Object

    Hi All,
    Thanks in Advance.
    I have created a Number Range Object(Not a interval range) in Development Box(SNUM). (We have 2 production box) I transported the Number Range object to 2 production box.
    Number Range Object Transported successfully for one box. But It is not getting transport into other box.
    Could you please help,  to solve this problem.
    is there any configuration?
    <b><u>Error Log Detail.</u></b>
    ADO import (12) Cancelled
    Log generation messages ....................................... (000-999)
    Log generation messages ....................................... (000-999)
    Ended with return code: ===> 12 <===
    Deleted from buffer ( Ended with errors )
    I don't know, how to resolve this error.
    Thanks Again!
    Regards
    Anand

    Hi,
    Please refer to the SAP note : 132020
    Symptom
    With the import of a transport request or the import of a patch with the SPAM, tp terminates during the ADO import with return code 12.
    In the ADO import log file of the request, cancelled jobs are refered to. With transaction SM37, you can find a cancelled job, suitable for the import RDDDIC1L, in the job log with one of the following messages:
    ABAP runtime error: ASSIGN_OFFSET+LENGTH_TOOLARGE
    ABAP runtime error: Exclusion criterion "RDDDR310_ERR02" initialized
    Additional key words
    Cause and prerequisites
    The ADO data file was not generated locally on a transport domain computer, rather it was, for example, transported with ftp and unpacked from out of an archive with CAR.
    Solution
    One cause could be that the data file for the ADO import was not transferred correctly. To check this, the following derivation steps are required:
    Start the operating system command 'R3trans -l <Datenfile>' and check whether the data file for the ADO import is corrupt.
    Assumed that a transport request is called C11K900123, the respective ADO data file D900123.C11 is also like this and stands in the subdirectory 'data', in the transport directory.
    Compare the size of the data file in the transport directory with that of the original file. The size must be identical.
    If a check shows that the data file is corrupt, transfer the data file again.
    Award points iff it helps.
    Regards,
    GSR.

  • How to find out the Number range object for Incident number

    How to find out the Number range object for Incident number ?
    CCIHT_IAL-IALID
    regards,
    lavanya

    HI, an example.
    data: vl_num type i,
          vl_char(6) type c,
          vl_qty type INRI-QUANTITY,
          vl_rc type INRI-RETURNCODE.
    CALL FUNCTION 'NUMBER_GET_NEXT'
      EXPORTING
        NR_RANGE_NR                   = '01'
        OBJECT                        = 'ZRG0000001'
       QUANTITY                       = '1'
      SUBOBJECT                     = ' '
      TOYEAR                        = '0000'
      IGNORE_BUFFER                 = ' '
    IMPORTING
       NUMBER                        = vl_num
       QUANTITY                      = vl_qty
       RETURNCODE                    = vl_rc
    EXCEPTIONS
       INTERVAL_NOT_FOUND            = 1
       NUMBER_RANGE_NOT_INTERN       = 2
       OBJECT_NOT_FOUND              = 3
       QUANTITY_IS_0                 = 4
       QUANTITY_IS_NOT_1             = 5
       INTERVAL_OVERFLOW             = 6
       BUFFER_OVERFLOW               = 7
       OTHERS                        = 8
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    vl_char = vl_num.
    write vl_char.
    Regard

  • Datapump : How to append data in an existing table

    Hello Everyone,
    We are new to Datapump.
    We try to extract data from one user/schema and to append it into another user/schema.
    First we tried Tt use the parameter table_exists_action=append during the importation but we receive this error (but the rows are appended):
    ORA-39152: Table "XXXXX"."YYYYY_ZZZ" exists. Data will be appended to existing table but all dependent metadata will be skipped due to table_exists_action of append
    Which I don't expect since the utility have been told to, indeed, append data.
    Next we tried to use CONTENT=DATA_ONLY on exportation and importation but the importation never end.
    How can we append data into a table's user/schema without having an error?
    Best regards.
    Carl

    IGNORE=Y during the import.it does the same operation. if the table already exists,it ignores and proceed with importing/appending data to the tables. same way, they do have indexes=n and constraints=n option.
    both export/import have equivalent options for fitering to our requirement and datapump has one step above classic import in which you can filter upto metadata object as well.

  • Error in MIGO :Number range object for object J_1IINTNUM, year 2010, excise

    Dear Experts,
                              While  posting  MIGO, System throws below error : 
    Mainintain number range object for object J_1IINTNUM, year 2010, excise
    Maiintain number range object for object J_1IRG23A1, year 2010, excise
    Maintain number range object for object J_1IRG23A2, year 2010, excise
    Actually we are posting the MIGO for the  fiscal year 2009, still i am getting error  why ?
    regards
    rajakarthik.

    check the posting date what u r puting , it should be on or  before 31/03/2010
    i think this is only the issue dont looks like any other issue
    or do one thing just o\go in SNRO and for J_1IINTNUM object put 9999 year and the number range
    and try to post your transaction in 2009
    hope this helps
    Edited by: Umakant Bhangale on Apr 1, 2010 10:22 AM

  • Number Range Object

    Hi
    During data extraction im getting the following error message
    "Error calling number range object ZMATNO for dimension D2"
    pls help me out.. how should i proceed from here...
    Thanks in advance,
    Sowdha.

    Hi Sowdha,
    First any way you have to correct the number range interval using RSRV. If it reports error with number range interval for this particular dimension.
    (RSRV should report error when you check the dimension)
    The reason(s) for the error could be:
    1. The number range interval for this dimension is "Buffered"
    2. There are not many "Dialog processes" available in the system
    To avoid such error:
    1. restrict the number of parallel processes while loading the data using the option
        "PSA and then into Target"
    2. or make sure that sufficient number of dialog processes available at the time of  
        loading
    Check the note "708297" for details why the error occurs though it is not directly pointing to Dimension ID number ranges, the explanation suits your problem also.
    Assign points if this helps.
    thanks
    sarma

  • Number range object missing NRIV and cant activate IOBJ during import

    Hi,
      We have a number object RS_OBJNUMG in BW used for many infoobjects.  However object doesnt exists in table NRIV and import for infoobjects are failing with error:
    Interval 01 of number range RS_OBJNUMG is missing
    message R7453
    I thought that as when infoobjects are created they get automatically assigned to number range....
    Can somebody help?
    thanks

    hi,
    check if the similar problem
    Error calling number range object 0MATERIAL for dimension D4 ( )
    try transaction rsrv ? >> all elementry tests >> master data >> compare number range and maximum sid >> choose the infoobjects>> execute. press button 'correct error' if any error exists.
    also try >> all combined tests >> master data >> check master data for characteristics.
    hope this helps

  • Gaps in vendor master data number range

    Hi, we have noticed there are sometimes gaps (missing numbers) in the internally issued vendor master data number range. Does anybody have any idea why this happens and how to avoid this?
    Many Thanks for your answers!
    Lucie

    Hi Lucie,
    This happens due to buffering of the number range in question. You can go to SNRO transaction (object KREDITOR) and change the buffering options (deactivate them, actually). Please, consult your ABAP team before doing this. For more info, see note 62077.
    Regards,
    Eli

  • No authorization for number range object type BTI and activity SHOW

    Hi All,
    When I try to execute
    SAP Easy Access screen - > Auto-ID Infrastructure -> Master data -> Number Ranges -> Number Range Administration
    on the next web window when I select the object type BTI , it comes up with the error
    Number range table not maintained for object BTI in customizing  
      No authorization for number range object type BTI and activity SHOW  
    I am using AIN 5.1 .  Is this an authorization issue ?. If so which all roles I should give to the user?  IF you have any idea about this please share some tips.

    Hi Sahad,
    Only few number range object types are available in the standard system:
    Follow the link for help .
    http://help.sap.com/saphelp_autoid2007/helpdata/EN/45/e2240c7abb56dde10000000a114a6b/frameset.htm
    Follow the for setting up the others.
    http://help.sap.com/saphelp_autoid2007/helpdata/EN/45/e2240c7abb56dde10000000a114a6b/frameset.htm

  • Error in Number range object  - URGENT

    I changed one attribute(let say X) of a characteristic(A)  from dis to nav and transported to QA. The transport failed saying that the intervals for the number range object for X does not exist.
    In DEV RSRV check on X, A shows no errors
    any suggestions how can I fix this prob

    try attribute change run first if dont work try this
    you can increase the number range buffering size... go to se37 use functional module rsd_cube_get and then click on the test/execute(f8) button, then put in your cube name , then for i_obj put in a and then for i_bypass put in x press the execute button. the click on the blue icon next to E_T_DIME. you se your dimensions there. you now need to increase the buffer size for the dimensions that are receiving high volumes of records. so on the same screen not the dimention tht you want to increase the size of, scroll to the right hand side extreme and note down the NOBJECT number starts with BID. then go to transaction SNRO, put in the number you noted down and click on the change icon.
    Now in the edit tab on top drop down set up buffering and select main memory.
    now under "No. of numbers in buffer type in 500
    save and click yes to continue
    setting the number range too low will not help in load performance significantly, whereas setting it too high will consume a lot of memory on the application server, which will effect other applications.monitor the memory usage during data loading to find an appropriate number.
    hope this helps

  • Problem in creating No. Range Object

    HI All,
    I have one ztable ZDESIGN having fields
    NFDESIGN
    DEPT
    MACH_TYPE
    MATNR
    CODE
    CUST_NM
    MACH_NO
    MAKTX
    NETWORK_NO
    QTY
    MOD_CODE
    STATUS
    DVER
    IMPL
    PART_ST
    RELBY
    RELDT
    i want to store the number in code field on save. but i want to add many records at one time.
    while creating number range object(SNRO) , foll error is coming
    Table ZDESIGN may have only the no.range el.field and the subobject as a key
    how create number range object.
    Thanks

    Hi Kushi,
    Number ranges are not meant for initialization.
    you need to use subobjects which allows you to create number range values for example based on the month.
    you need not to increase the number every time.
    the FM gives you increased number every time.
    as i said earlier create entries in SCARR table. carrid values like 01 02 03 04 -- 10 11 12 ETC.
    12 sub objects for 12 months.
    then go to SNRO tcode and create the values for each month.
    in the program
    data date type sy-datum.
    month(2)  type c.
    month = sy-datum+3(2) will give you the current month.
    pass this to the FM NUMBER_GET_NEXT
    along with other parameters.
    hope this is clear to you.
    regards
    Ramchander Rao.K

  • Master data number range, Free goods

    Hi All,
    Can any one tell me, what is the requirement of deletion of number range? normallly for number range deletion you have to initialize it,(I am writing about master data number range).
    What customization is required for free goods from MM prespective.
    Thanks
    sushanta

    Hi Lucie,
    This happens due to buffering of the number range in question. You can go to SNRO transaction (object KREDITOR) and change the buffering options (deactivate them, actually). Please, consult your ABAP team before doing this. For more info, see note 62077.
    Regards,
    Eli

  • Number  Range Objects

    Hi Experts,
    In which tables does the number range objects are stored and their current running number is stored in which table.
    Thanks in Advance.
    Regards,
    IFF

    tables NRIV, TNRO and TNROT hold the data for the number range objects and subobjects.
    Number range object read and maintain services :
    http://help.sap.com/saphelp_47x200/helpdata/en/2a/fa0365493111d182b70000e829fbfe/frameset.htm

Maybe you are looking for