Characteristic values in BAPI_SALESORDER_CHANGE

Hi,
I want to add new configurable item in existing sales order with charactersitic values.
Iam using bapi BAPI_SALESORDER_CHANGE.
Iam now able to insert configurable item in existing sales order.
But the characteristic values are not getting stored.
Latest code is attached. What else is missing for storing characteristic values ?
select maximum item number in sales order
SELECT MAX( POSNR ) FROM VBAP CLIENT SPECIFIED
INTO MAX_POSNR
WHERE MANDT = SY-MANDT AND
VBELN = I_SORDER.
TMP_POSNR = MAX_POSNR + 10.
WA_HDRX-UPDATEFLAG = 'U'.      "update
SALES_DOC = I_SORDER.
item data
WA_ITEM-ITM_NUMBER = TMP_POSNR.
WA_ITEM-MATERIAL   = 'LEFTEYE'.
WA_ITEM-PLANT      = I_STORE.
WA_ITEM-SHIP_POINT = I_STORE.
APPEND WA_ITEM TO IT_ITEM.
WA_ITEMX-ITM_NUMBER = TMP_POSNR.
WA_ITEMX-UPDATEFLAG = 'I'.      "add
WA_ITEMX-MATERIAL   = 'X'.
WA_ITEMX-PLANT      = 'X'.
WA_ITEMX-SHIP_POINT = 'X'.
APPEND WA_ITEMX TO IT_ITEMX.
Schedule lines
WA_SCHD-ITM_NUMBER = TMP_POSNR.
WA_SCHD-SCHED_LINE = TMP_POSNR.
WA_SCHD-REQ_DATE   = SY-DATUM.
WA_SCHD-REQ_QTY    = 1.
WA_SCHD-SCHED_TYPE = 'CN'.
APPEND WA_SCHD TO IT_SCHD.
WA_SCHDX-ITM_NUMBER = TMP_POSNR.
WA_SCHDX-SCHED_LINE = TMP_POSNR.
WA_SCHDX-REQ_DATE   = 'X'.
WA_SCHDX-REQ_QTY    = 'X'.
WA_SCHDX-SCHED_TYPE = 'X'.
APPEND WA_SCHDX TO IT_SCHDX.
config & characteristic values
WA_VALUE-CONFIG_ID = '000001'.
WA_VALUE-INST_ID   = '00000001'.
WA_VALUE-CHARC     = 'PRES_DIST_SPH'.
WA_VALUE-VALUE     = '3.2'.
APPEND WA_VALUE TO IT_VALUE.
WA_INST-CONFIG_ID  = '000001'.
WA_INST-INST_ID    = '00000001'.
WA_INST-OBJ_TYPE   = 'MARA'.
WA_INST-CLASS_TYPE = '300'.
WA_INST-OBJ_KEY    = 'LEFTEYE'.
WA_INST-QUANTITY   = 1.
WA_INST-QUANTITY_UNIT = 'NO'.
APPEND WA_INST TO IT_INST.
WA_REF-POSEX     = TMP_POSNR.
WA_REF-CONFIG_ID = '000001'.
WA_REF-ROOT_ID   = '00000001'.
APPEND WA_REF TO IT_REF.
WA_PART-CONFIG_ID  = '000001'.
WA_PART-PARENT_ID  = '00000001'.
WA_PART-INST_ID    = '00000001'.
WA_PART-OBJ_TYPE   = 'MARA'.
WA_PART-CLASS_TYPE = '300'.
WA_PART-OBJ_KEY    = 'LEFTEYE'.
APPEND WA_PART TO IT_PART.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
  SALESDOCUMENT      = SALES_DOC
  ORDER_HEADER_INX   = WA_HDRX
TABLES
  RETURN                         = IT_RET
ORDER_ITEM_IN             = IT_ITEM
ORDER_ITEM_INX            = IT_ITEMX
ORDER_CFGS_REF         = IT_REF
ORDER_CFGS_PART_OF = IT_PART
ORDER_CFGS_INST        = IT_INST
ORDER_CFGS_VALUE    = IT_VALUE
SCHEDULE_LINES          = IT_SCHD
SCHEDULE_LINESX        = IT_SCHDX.
READ TABLE IT_RET INTO WA_RET WITH KEY TYPE = 'E'.
IF SY-SUBRC = 0.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
ENDIF.
I get the following messages from BAPI :
ORDER_HEADER_IN has been processed successfully.
ITEM_IN has been processed successfully
The sales document is not yet complete: Edit data
TIL-Direct Sales TINDC01372 has been saved
What else is missing ? Any help is appreciated.
thanks,
Nagarajan.J

Hello Nagarajan,
I have used this BAPI in my last task. You are passing the values correctly. I will tell you why it is giving like that message.
Whenever we will create a sales order in VA01 transaction, you will get a message like "The sales order is not complete, would you like to EDIT" while saving the sales order.... This is because of not providing complete data required for careation of sales order.
Try to implement the changes manually in VA02, if you get same errors, then you can find your code is correct.
Even I got same type of messages when changing a sales order to change the Rejection Reason for the items.
Best Regards,
Sasidhar Reddy Matli.
Edited by: Sasidhar Reddy Matli on Jul 31, 2008 2:20 PM

Similar Messages

  • Update item characteristic values using BAPI_SALESORDER_CHANGE

    Hi Experts,
    Could anyone give me sample code on how to update the characteristic values of a sales order item? Points will be awarded... Thanks!
    Regards,
    LM

    Just checked on OSS note 549563 regarding this. This is resolved. Thanks

  • BAPI_SALESORDER_CHANGE with characteristic values

    Hi everyone,
    I am dealing with BAPI_SALESORDER_CHANGE. I have tried to update an item by replacing a certain material for a configurable one, and everything worked fine.
    However, I cannot get the characteristic values are stored in the sales order line.
    I have filled in values in ORDER_CFGS_VALUE & ORDER_CFGS_INST tables this way:
    I guess I am dpig something wrong but I cannot fin the reason.
    3GAA100 is the name of my configurable material.
    Could someone please explain me the difference between the fields WA_VALUE-CONFIG_ID and WA_VALUE-INST_ID?
    Am I filling some field with a no suitable value?
    Characteristic values
    WA_VALUE-CONFIG_ID = '3GAA100'.
    WA_VALUE-INST_ID = '3GAA100'.
    WA_VALUE-CHARC = 'M_001'.
    WA_VALUE-VALUE = '1'.
    APPEND WA_VALUE TO IT_VALUE.
    WA_INST-CONFIG_ID = 'LEFT'.
    WA_INST-INST_ID = '3GAA100'.
    WA_INST-OBJ_TYPE = 'MARA'.
    WA_INST-CLASS_TYPE = '300'.
    WA_INST-OBJ_KEY = 'LEFTEYE'.
    WA_INST-QUANTITY = 1.
    APPEND WA_INST TO IT_INST.
    I would be very greateful if someone could help me.
    Thanks a lot in advance and best regards.
    Ben.

    Hi everyone,
    I am dealing with BAPI_SALESORDER_CHANGE. I have tried to update an item by replacing a certain material for a configurable one, and everything worked fine.
    However, I cannot get the characteristic values are stored in the sales order line.
    I have filled in values in ORDER_CFGS_VALUE & ORDER_CFGS_INST tables this way:
    I guess I am dpig something wrong but I cannot fin the reason.
    3GAA100 is the name of my configurable material.
    Could someone please explain me the difference between the fields WA_VALUE-CONFIG_ID and WA_VALUE-INST_ID?
    Am I filling some field with a no suitable value?
    Characteristic values
    WA_VALUE-CONFIG_ID = '3GAA100'.
    WA_VALUE-INST_ID = '3GAA100'.
    WA_VALUE-CHARC = 'M_001'.
    WA_VALUE-VALUE = '1'.
    APPEND WA_VALUE TO IT_VALUE.
    WA_INST-CONFIG_ID = 'LEFT'.
    WA_INST-INST_ID = '3GAA100'.
    WA_INST-OBJ_TYPE = 'MARA'.
    WA_INST-CLASS_TYPE = '300'.
    WA_INST-OBJ_KEY = 'LEFTEYE'.
    WA_INST-QUANTITY = 1.
    APPEND WA_INST TO IT_INST.
    I would be very greateful if someone could help me.
    Thanks a lot in advance and best regards.
    Ben.

  • New item addition with Characteristic Values - BAPI_SALESORDER_CHANGE

    Hi,
    I need to add new item in existing sales order. The new item to be added is a configurable material, with Characteristic values to be filled. Iam using 'BAPI_SALESORDER_CHANGE' to insert new item. Iam able to insert normal item. The problem is, iam not able to insert the configurable item. BAPI returns a message 'No changes made'.
    Code is attached.
      WA_HDRX-UPDATEFLAG = 'U'.
      SELECT MAX( POSNR ) FROM VBAP CLIENT SPECIFIED
      INTO MAX_POSNR
      WHERE MANDT = SY-MANDT AND
            VBELN = I_SORDER.
      TMP_POSNR = MAX_POSNR + 10.
      WA_ITEM-ITM_NUMBER = TMP_POSNR.
      WA_ITEM-MATERIAL   = 'LEFTEYE'.
      WA_ITEM-PLANT      = I_STORE.
      WA_ITEM-SHIP_POINT = I_STORE.
      WA_ITEM-CONFIG_ID  = 'LEFT'.
      WA_ITEM-INST_ID    = 'LEFTEYE'.
      APPEND WA_ITEM TO IT_ITEM.
      WA_ITEMX-ITM_NUMBER = TMP_POSNR.
      WA_ITEMX-UPDATEFLAG = 'I'.
      WA_ITEMX-MATERIAL   = 'X'.
      WA_ITEMX-PLANT      = 'X'.
      WA_ITEMX-SHIP_POINT = 'X'.
      WA_ITEMX-CONFIG_ID  = 'X'.
      WA_ITEMX-INST_ID    = 'X'.
      wa_itemx-ITEM_CATEG = 'X'.
      APPEND WA_ITEMX TO IT_ITEMX.
    Schedule lines
      WA_SCHD-ITM_NUMBER = TMP_POSNR.
      WA_SCHD-SCHED_LINE = TMP_POSNR.
      WA_SCHD-REQ_DATE   = SY-DATUM.
      WA_SCHD-REQ_QTY    = 1.
      WA_SCHD-SCHED_TYPE = 'CN'.
      APPEND WA_SCHD TO IT_SCHD.
      WA_SCHDX-ITM_NUMBER = TMP_POSNR.
      WA_SCHDX-SCHED_LINE = TMP_POSNR.
      WA_SCHDX-REQ_DATE   = 'X'.
      WA_SCHDX-REQ_QTY    = 'X'.
      WA_SCHDX-SCHED_TYPE = 'X'.
      APPEND WA_SCHDX TO IT_SCHDX.
    characteristic values
      WA_VALUE-CONFIG_ID = 'LEFT'.
      WA_VALUE-INST_ID   = 'LEFTEYE'.
      WA_VALUE-CHARC     = 'PRES_DIST_SPH'.
      WA_VALUE-VALUE     = '3.2'.
      APPEND WA_VALUE TO IT_VALUE.
      WA_INST-CONFIG_ID = 'LEFT'.
      WA_INST-INST_ID   = 'LEFTEYE'.
      WA_INST-OBJ_TYPE  = 'MARA'.
      WA_INST-CLASS_TYPE = '300'.
      WA_INST-OBJ_KEY   = 'LEFTEYE'.
      WA_INST-QUANTITY  = 1.
      APPEND WA_INST TO IT_INST.
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          SALESDOCUMENT    = SALES_DOC
          ORDER_HEADER_INX = WA_HDRX
          LOGIC_SWITCH     = LS_LOGIC
        TABLES
          RETURN           = IT_RET
          ORDER_ITEM_IN    = IT_ITEM
          ORDER_ITEM_INX   = IT_ITEMX
          SCHEDULE_LINES   = IT_SCHD
          SCHEDULE_LINESX  = IT_SCHDX
          ORDER_CFGS_INST  = IT_INST
          ORDER_CFGS_VALUE = IT_VALUE.
    Where iam missing ?
    Any input would be helpfull.
    regards,
    Nagarajan.J

    Hi,
    Iam now able to insert configurable item in existing sales order. But the characteristic values are not getting stored.
    Latest code is attached. What else is missing for storing characteristic values ?
    select maximum item number in sales order
      SELECT MAX( POSNR ) FROM VBAP CLIENT SPECIFIED
      INTO MAX_POSNR
      WHERE MANDT = SY-MANDT AND
            VBELN = I_SORDER.
    calc next item number
      TMP_POSNR = MAX_POSNR + 10.
    header data
      WA_HDRX-UPDATEFLAG = 'U'.          "update
      SALES_DOC          = I_SORDER.
    item data
      WA_ITEM-ITM_NUMBER = TMP_POSNR.
      WA_ITEM-MATERIAL   = 'LEFTEYE'.
      WA_ITEM-PLANT      = I_STORE.
      WA_ITEM-SHIP_POINT = I_STORE.
      APPEND WA_ITEM TO IT_ITEM.
      WA_ITEMX-ITM_NUMBER = TMP_POSNR.
      WA_ITEMX-UPDATEFLAG = 'I'.          "add
      WA_ITEMX-MATERIAL   = 'X'.
      WA_ITEMX-PLANT      = 'X'.
      WA_ITEMX-SHIP_POINT = 'X'.
      APPEND WA_ITEMX TO IT_ITEMX.
    Schedule lines
      WA_SCHD-ITM_NUMBER = TMP_POSNR.
      WA_SCHD-SCHED_LINE = TMP_POSNR.
      WA_SCHD-REQ_DATE   = SY-DATUM.
      WA_SCHD-REQ_QTY    = 1.
      WA_SCHD-SCHED_TYPE = 'CN'.
      APPEND WA_SCHD TO IT_SCHD.
      WA_SCHDX-ITM_NUMBER = TMP_POSNR.
      WA_SCHDX-SCHED_LINE = TMP_POSNR.
      WA_SCHDX-REQ_DATE   = 'X'.
      WA_SCHDX-REQ_QTY    = 'X'.
      WA_SCHDX-SCHED_TYPE = 'X'.
      APPEND WA_SCHDX TO IT_SCHDX.
    config & characteristic values
      WA_VALUE-CONFIG_ID = '000001'.
      WA_VALUE-INST_ID   = '00000001'.
      WA_VALUE-CHARC     = 'PRES_DIST_SPH'.
      WA_VALUE-VALUE     = '3.2'.
      APPEND WA_VALUE TO IT_VALUE.
      WA_INST-CONFIG_ID     = '000001'.
      WA_INST-INST_ID       = '00000001'.
      WA_INST-OBJ_TYPE      = 'MARA'.
      WA_INST-CLASS_TYPE    = '300'.
      WA_INST-OBJ_KEY       = 'LEFTEYE'.
      WA_INST-QUANTITY      = 1.
      WA_INST-QUANTITY_UNIT = 'NO'.
      APPEND WA_INST TO IT_INST.
      WA_REF-POSEX     = TMP_POSNR.
      WA_REF-CONFIG_ID = '000001'.
      WA_REF-ROOT_ID   = '00000001'.
      APPEND WA_REF TO IT_REF.
      WA_PART-CONFIG_ID  = '000001'.
      WA_PART-PARENT_ID  = '00000001'.
      WA_PART-INST_ID    = '00000001'.
      WA_PART-OBJ_TYPE   = 'MARA'.
      WA_PART-CLASS_TYPE = '300'.
      WA_PART-OBJ_KEY    = 'LEFTEYE'.
      APPEND WA_PART TO IT_PART.
      CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          SALESDOCUMENT      = SALES_DOC
          ORDER_HEADER_INX   = WA_HDRX
        TABLES
          RETURN             = IT_RET
          ORDER_ITEM_IN      = IT_ITEM
          ORDER_ITEM_INX     = IT_ITEMX
          ORDER_CFGS_REF     = IT_REF
          ORDER_CFGS_PART_OF = IT_PART
          ORDER_CFGS_INST    = IT_INST
          ORDER_CFGS_VALUE   = IT_VALUE
          SCHEDULE_LINES     = IT_SCHD
          SCHEDULE_LINESX    = IT_SCHDX.
      READ TABLE IT_RET INTO WA_RET WITH KEY TYPE = 'E'.
      IF SY-SUBRC = 0.
        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      ELSE.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
    I get the following messages from BAPI.
    ORDER_HEADER_IN has been processed successfully.
    ITEM_IN has been processed successfully
    The sales document is not yet complete: Edit data
    TIL-Direct Sales TINDC01372 has been saved
    What else is missing ?  Any help is appreciated.
    thanks,
    Nagarajan.J

  • How to change the characteristic value in a item of sales order by FM?

    Hi experts,
    I guess the FM BAPI_SALESORDER_CHANGE can implement my requirement. But I have made many testing program, that's all failed. I don't know which part is not correct. So could you give a very simple sample to me? Just change the characteristic value in a item of sales order, not do any change for other parts. Thanks in advanced.
    Regrads

    Hi Birendra,
    Thanks for you explain. I follow your guide to wirte abap program. But related characteristic value still not changed in SO main screen. could you give me some suggestion? Thanks a lot!
    type-pools: IBCO2,
                IBXX.
    data: l_CUOBJ type CUOBJ_VA,
          l_ibase type IBCO2_IBASE_REC,
          l_CONFIGURATION type IBCO2_INSTANCE_TAB2,
          w_CONFIGURATION type IBCO2_INSTANCE_REC2,
          l_ROOT_OBJECT type IBXX_BUSINESS_OBJECT.
    data: t_IBCO2_VALUE_TAB type IBCO2_VALUE_TAB,
          w_IBCO2_VALUE_REC type IBCO2_VALUE_REC.
    select single CUOBJ
      into l_CUOBJ
      from VBAP
      where VBELN = '0020030609'
        and POSNR = '000020'.
      CALL FUNCTION 'CUCB_GET_CONFIGURATION'
        EXPORTING
          INSTANCE                           = l_CUOBJ
        IS_BUSINESS_OBJECT                 =
        IV_MOMENT                          =
        IV_WITH_DB_INSTANCE                =
       IMPORTING
         IBASE                              = l_ibase
         CONFIGURATION                      = l_CONFIGURATION
        EO_CBASE_REF                       =
      EXCEPTIONS
        INVALID_INPUT                      = 1
        INVALID_INSTANCE                   = 2
        INSTANCE_IS_A_CLASSIFICATION       = 3
        OTHERS                             = 4
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    loop at l_CONFIGURATION into w_CONFIGURATION.
      l_ROOT_OBJECT = w_CONFIGURATION-OWNER.
    t_IBCO2_VALUE_TAB[] = w_CONFIGURATION-values[].
      read table w_CONFIGURATION-values into w_IBCO2_VALUE_REC with key ATINN = '0000000222'.
      w_IBCO2_VALUE_REC-ATWRT = 'TMP'.
      modify w_CONFIGURATION-values from w_IBCO2_VALUE_REC index sy-tabix.
      modify l_CONFIGURATION from w_CONFIGURATION index 1.
      clear: w_CONFIGURATION.
    endloop.
    CALL FUNCTION 'CUCB_SET_CONFIGURATION'
      EXPORTING
        ROOT_INSTANCE                      = l_CUOBJ
      IS_CBASE_HEADER                    =
      CHANGING
        CONFIGURATION                      = l_CONFIGURATION
    EXCEPTIONS
      INVALID_INPUT                      = 1
      INVALID_INSTANCE                   = 2
      INSTANCE_IS_A_CLASSIFICATION       = 3
      OTHERS                             = 4
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CUCB_CONFIGURATION_TO_DB'
      EXPORTING
        ROOT_INSTANCE                       = l_CUOBJ
        ROOT_OBJECT                         = l_ROOT_OBJECT
      FORCE_NEW_INSTANCE                  =
      IV_WITHOUT_COMMIT_UPDATE            = ' '
      IV_MATERIAL                         =
      IV_LOCATION                         =
      IV_TECHS                            =
    IMPORTING
      NEW_INSTANCE                        =
    TABLES
      EXP_NEW_NESTED_CUOBJS               =
    EXCEPTIONS
      INVALID_INSTANCE                    = 1
      INVALID_ROOT_INSTANCE               = 2
      NO_CHANGES                          = 3
      ALREADY_REGISTERED_FOR_UPDATE       = 4
      INSTANCE_IS_A_CLASSIFICATION        = 5
      OTHERS                              = 6
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Change characteristic values in SO via BAPI_SALESORDER_CHANGEBOS

    Hi Experts,
    Now, I would like to update the characteristic values of configuration in sales order via BAPI : BAPI_SALESORDER_CHANGEBOS. But, I can't find right way to execute this BAPI. I tried so many times and no data changed. I wonder that i didn't specify the correct import parameters.
    Is anyone can help me? Thanks for your kindly support in advance.
    Best Regards,
    Ryan

    Hi Ryan,
        I had a similar kind of requirment, to change the characteristic values in a sales contract, where I used, BAPISDORDER_GETDETAILEDLIST to get the details of the agreement line iteam and after sorting the necessary vales then used BAPI: BAPI_CUSTOMERCONTRACT_CHANGE to change the customer agreement line item.
    In your case as well you can use the BAPISDORDER_GETDETAILEDLIST to get the details, based on this you write logic to hold the necessary change value and finally, use BAPI: BAPI_SALESORDER_CHANGE to updated the changes in the sales order.
    Hope this helps.
    Regards
    Raj

  • Conversion of Characteristic Values to SIDs is taking long time

    Hi Experts,
        Cube load is taking more than 7 hrs to complete for 6 million records. Max time is at Conversion of Characteristic Values to SIDs. Cube consists of 500 fields. Load is from DSO to Cube. DSO has 10 fileds with no SID flag check for activation. Remaining fields in the CUBE are pouplated looking in to other DSO's. Start and End routines are executing very fast. How to fasten Conversion of Characteristic Values to SIDs step.  I need to load 15 million records daily as part of delta. any suggestions.
    Thanks
    Sunil

    Hi Sunil,
    Go through the below link, it will be useful
    http://aq33.com/business-warehouse/Articles-05269.html
    Regards,
    Marasa.

  • Get batch characteristic value

    Hi Experts,
    I need to get the characteristic value of a batch if I provide with batch number and characteristic name as parameters.
    Is there any standard function module for this?
    Regards
    Thanks in advance
    Prathib

    Dear,
    BAPI_CLASS_SELECT_OBJECTS gets objects for a class. If you want to retrieve the characteristics, try using BAPI_CLASS_GET_CHARACTERISTICS.
    or check FM CLFM_SELECT_AUSP
    Regards,
    R.Brahmankar

  • Populate Batch characteristic values in create sales order BAPI

    Can anybody help me in populating the batch characteristic values using BAPI_SALESORDER_CREATEFROMDAT2?
    I have checked the related notes provided by SAP, like, 567348 but it will be great if someone can send some code snippet on this.

      Subramanian, Brad and Raja.
      Thanks for your suggestions its were useful, with
      these i can resolve my problem.
       !!! Best Regards !!!
    Raja
      I used the se37 to test bapis, is more easy and fast !!
      and you can save data like variant, and you can simulate the real execution without write any code abap,
    and re-process the times that you need,
    when you know what fields you need you write your abap code faster.
       Thanks !!!
    Message was edited by: Noemi Huerta

  • Performance - Conversion of characteristic values to SID

    Greetings:
    Yesterday I load 556.000 record into an infocube.
    No transformations of any kind. Direct assign for every infoobject. Very simple
    It lasted 1 h 30m to complete the loading.
    It started loading  7 datapackage of 50.000 records each.
    I realized that 3 of those datapackage (#2, #4 and #7) lasted from 41:47min to 41:59min in the "Conversion of characteristic values to SID" task. The other 5 lasted ... seconds.
    Any idea of that could be going on during this conversion?
    I don't understant why some datapackages last so long and other don't.
    Does anybody has any idea about this?
    Thanks in regards.
    Guillermo

    Hi Daniel,
    The SID generation is based upon the Dimension Table and Master data.
    If you see the dimension table can be build with different types like:
    one to many
    many to one
    many to many
    one to one
    So, if the dimension's for that datapacket data is many to many then it has to get all the relations and then it has to assign an SID.
    If it is one to one then there will be no more work to be done by the system to assign the SID's
    Hope you understood the back-end process.
    With Regards,
    Ravi Kanth.

  • Slow dataload into Infocube- Conversion of Characteristic values to SIDs

    Hi All,
    we are facing a slow delta load issue when loading from a DSO into an InfoCube ( approx 150,000 recs).
    After checking the monitor found that
    - The Conversion of Characteristic values to SIDs is taking time
    - The Start Routine time is real quick ( in secs)
    The underlying DSO is hugh and there is no SIDs Generation upon Activation flag set for it
    Master data is loaded first and than we are loading the transaction data.
    i've tried refreshing the stats of the Cube, Reduce the size of the data package,
    Deletion of Indexes than Loading and recreation of Indexes, no joy at all.
    Any comments and recommendations are much appreciated.
    Thanks,
    Natalie

    Hi Natalie,
    The problem for your slow delta load from DSO to cube is because the SIDs Generation upon Activation flag is unchecked at DSO level .
    Becasue of which your activation is faster but your loading from DSO to cube will be slower as you only mentioned that SIDs are being generated .
    One recommendation will be to switch on the property of the DSO SIDs Generation upon Activation flag .
    Are there any secondary indexes also in DSO ?
    You can try deleting them also during loading the data from DSO to cube .
    I guess your change log table is also huge in this case . If possible we can think of deleting the log table also . Then for the new records let it get filled .
    Hope the above reply was helpful.
    Regards,
    Ashutosh Singh .
    Edited by: DEADLOCKS on Apr 21, 2011 5:08 PM

  • Conversion of Characteristic Values to SIDs. Load Very slow

    Hi Experts,
                     We have a slow load issue when loading from a Write-Optimized DSO into an InfoCube. 8 millon recs in 10 hours.
    We check the start, end, and rules routines and every is ok but for all the package the load was very slow in the Conversion of Characteristic Values to SIDs.
    Can any help me with this?
    Thanks a lot,
    Alejandro

    Hi,
    It is because the SIDs Generation upon Activation flag is unchecked at DSO level .
    One recommendation will be to switch on the property of the DSO SIDs Generation upon Activation flag .
    Are there any secondary indexes also in DSO ?
    You can try deleting them also during loading the data from DSO to cube .
    Also load your master data first and activate it before loading it to cube.
    Thanks,

  • BI-IP: Change of characteristic value in ABAP EXIT planning function

    Hi
    I have created a planning function of the type EXIT with reference data without blocks. In method IF_RSPLFA_SRVTYPE_IMP_EXEC_REF~EXECUTE I am going to implement my code.
    Now, one of the purposes is to update the VALIDTO of an existing record. Is it possible to modify the characteristic values directly in C_TH_DATA (thus allowing me to just update the date directly on the record) or can I only append records?
    Cheers!
    /Karsten

    Hi Larse,
    Yes you can change directly your value in a record withou appending a new one,but still it will create 2 records in the delta buffer ready to be save to the cube.
    Reagrds,
    Eitan.

  • BI-IP change characteristic value in FOX

    Hello Guys,
    i want to change the characteristic value in FOX.
    Therefore the FOX runs through all char combinations to identify the highest
    number for the char test.
    This step works fine, but i cant write the value for maxloop in the cube.
    If i try, only the old row is deleted, but i dont get a new row with the calculated value for maxloop.
    the code looks like this:
    DATA LOOP TYPE test.
    DATA MINLOOP TYPE test.
    DATA MAXLOOP TYPE test.
    MINLOOP = 00000.
    MAXLOOP = 00000.
    FOREACH LOOP.
    MINLOOP = LOOP.
    IF MINLOOP > MAXLOOP.
    MAXLOOP = MINLOOP.
    ENDIF.
    ENDFOR.
    MAXLOOP = MAXLOOP + 00001.
    {Amount, EUR, #, #, 00200, 00000000, #, 2007, #, #, #, #, #, #, #} =
    {Amount, EUR, #, #, maxloop, 00000000, #, 2007, #, #, #, #, #, #, #}.
    Any suggestions what is wrong here?
    Regards
    T. Mekler

    Hi,
    You have written
    {Amount, EUR, #, #, 00200, 00000000, #, 2007, #, #, #, #, #, #, #} =
    {Amount, EUR, #, #, maxloop, 00000000, #, 2007, #, #, #, #, #, #, #}.
    But as per the statement  MAXLOOP = MAXLOOP + 00001 the MAXLOOP conatins a new figure. Obviously there will not be any record in the cube for this value of MAXLOOP.
    You are assigning this to the record with MAXLOOP = 00200, so system is assigning zero to  0AMOUNT for the record that is having MAXLOOP=00200 value.
    Make the below corrections and test again:
    DATA NEWLOOP type test.
    NEWLOOP = MAXLOOP + 00001.
    {Amount, EUR, #, #, NEWLOOP, 00000000, #, 2007, #, #, #, #, #, #, #} =
    {Amount, EUR, #, #, MAXLOOP, 00000000, #, 2007, #, #, #, #, #, #, #}.
    Regards,
    Deepti

  • How To get Characteristic values for an Equipment in a particular Class ?

    Hi All,
    How i will get  Characteristic values for an Equipment in a particular Class ?
    Any table or FM ?
    Thanks in advance
    Srikanta Gope

    Hi,
    You can use the FM BAPI_OBJCL_GETDETAIL to fetch the characteristic values for an equipment from the table parameters ALLOCVALUESNUM; ALLOCVALUESCHAR; ALLOCVALUESCURR.
    Or u can use the tables EQUI, KLAH, KSSK, AUSP, CABN
    Regards,
    Aditya

Maybe you are looking for

  • Notes are not being Saved

    Recently upgraded to an iPhone 3G S from the first generation iPhone. Synced my phone and everything is fine, but when I use the Notes application the notes are not being saved. Anyone know of a way to fix this?

  • Sliders not doing anything

    After direct linking my video from Premiere Pro to Speed Grade to color grade I ran into the problem where I move the sliders in speed grade but nothing happens. Any ideas as to what I might be doing wrong?

  • Consignment Fill up vallid for accounting document

    Hello, I want to create accounting document during Goods issue in Consignmentt Fill up. Actually We want to bill customer at time of consignment fill up. Please suggest for required settings for the same. Regards Amit

  • OIM Email Notification

    I am Trying to do the Email Notification in OIM .I have specified an Instance of the mail Server,Server Name with User Login password in IT Resources Form and have Created the email definition in the Email definition form with a Request Related Type.

  • How do you get the 64-bit installer for Windows*?

    Attemping to upgrade iTunes from 11.05.5 to 11.1.o.126x64. During the Download, it's attemps an install, but unable to find the path the contains the folder or package itunes64.msi