Modify Char in BPS

Hi,
I would like to modify chars in Cube using BPS.
Wrote a user exit to achieve it. Hash table has been used.
I am able to modify the key figure. when I modify the char, "overright is not allowed" error is showing.
Please suggest some other mechanisam to achieve it.
Thanks
Billy

Hello Billy,
cubes will be filled only with delta records, thus you can not simply change characteristic values in BPS. What you want to do is a repost; there exist a standard planning function to do that.
Regards,
Gregor

Similar Messages

  • Index not usable in my simple query

    Hi,
    I have created index for INC_ID coloumn but when I use it in queries, it is not working. Verified the index it is on valid stat only, eventhough its not using in queries.
    can you please suggest why it is not using. what I have to do for this. I am going to use this query in procedures. My DBA will not allow to use hints in queries.
    Thanks in advance
    select * from TAB_FLNDAT t where t.INC_ID = 2055Explain plan
    SELECT STATEMENT, GOAL = ALL_ROWS               339682     19174     7631252
    TABLE ACCESS FULL     AIMS_OWNR     ONT_T_FLNDATASTATUS_AGNT     339682     19174     7631252Total no of records in TAB_FLNDAT table -- 21427155
    Table DDL
    -- Create table
    create table TAB_FLNDAT
      INC_ID                VARCHAR2(25),
      INC_PERIOD            NUMBER,
      AREA_DEF_ID           NUMBER,
      DEAL_CODE             VARCHAR2(50),
      FLNMTH                DATE,
      DOCNUM                NUMBER(10),
      CPNNUM                NUMBER(3),
      CTRY_ISO_CODE         VARCHAR2(2),
      FLNLOCCOD             VARCHAR2(7),
      FLNCTYCOD             VARCHAR2(3),
      FLNDATAKEY            NUMBER,
      MAIN_CLASS            VARCHAR2(17),
      BOKCLSCOD             VARCHAR2(1),
      ORIGIN                VARCHAR2(6),
      DESTINATION           VARCHAR2(3),
      FINAL_ST          NUMBER(1),
      SALE_ST           NUMBER(1),
      AGENT_ST          NUMBER(1),
      EKOAL_ST          NUMBER(1),
      FARE_ST           NUMBER(1),
      PAPERTKT_ST       NUMBER(1),
      OND_ST            NUMBER(1),
      RBD_ST            NUMBER(1),
      FLIGHT_ST         NUMBER(1),
      FBC_ST            NUMBER(1),
      DEAL_ST           NUMBER(1),
      DEAL_ST_CODE      VARCHAR2(50),
      ONDRBD_ST         NUMBER(1),
      DATE_ST           NUMBER(1),
      CODESHARE_ST      NUMBER(1),
      HPMCO_ST          NUMBER(1),
      CTRY_ST           NUMBER(1),
      LC_REVENUE            NUMBER(18,3),
      CURCOD                VARCHAR2(3),
      LC_NET_NET            NUMBER(21,3),
      REPORTING_CURRENCY    VARCHAR2(3),
      CARDSGCOD             VARCHAR2(2),
      CARNUMCOD             VARCHAR2(3),
      DOCTYP                VARCHAR2(3),
      FLNDAT                DATE,
      FLTNUM                VARCHAR2(4),
      FLNSEC                VARCHAR2(6),
      FLNITN                VARCHAR2(200),
      SALMTH                DATE,
      SALCTYCOD             VARCHAR2(3),
      SALLOCCOD             VARCHAR2(10),
      FABCOD                VARCHAR2(50),
      IATA_FABCOD           VARCHAR2(50),
      TOTPAX                NUMBER(9),
      CPNCNT                NUMBER(6),
      PAXCNT                NUMBER(6),
      CBKGRSAMT             NUMBER(15,3),
      CBKNETAMT             NUMBER(15,3),
      CBKCOMAMT             NUMBER(15,3),
      CBKORCAMT             NUMBER(15,3),
      COSGRSAMT             NUMBER(15,3),
      COSNETAMT             NUMBER(15,3),
      COSCOMAMT             NUMBER(15,3),
      COSORCAMT             NUMBER(15,3),
      COUCOD                VARCHAR2(7),
      TOUCOD                VARCHAR2(20),
      OLD_DOCNUM            NUMBER(10),
      ON_OFFLINE            CHAR(1),
      ENTFABCOD             VARCHAR2(50),
      EKOALIND              CHAR(1),
      ONL_INTL_INDICATOR    VARCHAR2(1),
      FULL_ITINERARY        VARCHAR2(500),
      RPD_COSGRSAMT         NUMBER(15,3),
      RPD_COSNETAMT         NUMBER(15,3),
      RPD_COSCOMAMT         NUMBER(15,3),
      RPD_COSORCAMT         NUMBER(15,3),
      SALDAT                DATE,
      REPENDDAT             DATE,
      ETKIND                VARCHAR2(1),
      MKTFLTNUM             VARCHAR2(8),
      CODSHRIND             VARCHAR2(1),
      FARE_TYPE             VARCHAR2(50),
      CMM_CUSTOMER_ID       VARCHAR2(25),
      OPERATING_COST        NUMBER(18,3),
      ACM_AMOUNT            NUMBER(18,3),
      GDS_COST              NUMBER(18,3),
      OCCURRENCE            NUMBER(3),
      PROCESS_MONTH         DATE,
      ONTRACK_FBC           VARCHAR2(100),
      EKHMCOIND             CHAR(1),
      RPT_FLNITN            VARCHAR2(200),
      CORPORATE_ID          VARCHAR2(25),
      CORP_DEAL_CODE        VARCHAR2(50),
      OSI_DATA              VARCHAR2(100),
      PAX_NAME              VARCHAR2(1000),
      PAX_TYPE              VARCHAR2(1),
      BOOKING_DATE          DATE,
      SKYWARDS_NO           VARCHAR2(11),
      PROCESSED             CHAR(1),
      FLTFULROU             VARCHAR2(30),
      FLTROUFLNLEG          VARCHAR2(30),
      FLNACFTYP             VARCHAR2(10),
      SEQNO                 NUMBER(3),
      FORM_OF_PAYMENT       VARCHAR2(9),
      TRPTYP                VARCHAR2(1),
      FOPDTL                VARCHAR2(300),
      PNR_ID                NUMBER(15),
      VALUE_ADDED_COST      NUMBER(18,3),
      LINK_OD               VARCHAR2(45),
      TEMP                  VARCHAR2(50),
      ONT_FBC_TEMP          VARCHAR2(100),
      ONT_FBC_TYPE_TEMP     VARCHAR2(20),
      ONT_FBC_ST_TEMP   NUMBER(1),
      INC_FINAL_ST_TEMP NUMBER(1),
      TEMP_FLAG             VARCHAR2(1),
      MODIFIED              CHAR(1),
      MATCH_FLAG            CHAR(2)
    tablespace A_DAT
      pctfree 10
      initrans 1
      maxtrans 255
      storage
        initial 64K
        next 1M
        minextents 1
        maxextents unlimited
    -- Create/Recreate indexes
    create index IND_FLNST_AGNT_DOC on TAB_FLNDAT (DOCNUM)
      tablespace A_IDX
      pctfree 10
      initrans 2
      maxtrans 255
      storage
        initial 64K
        next 1M
        minextents 1
        maxextents unlimited
    create index IND_FLNST_AGNT_FLNMTH on TAB_FLNDAT (FLNMTH)
      tablespace A_IDX
      pctfree 10
      initrans 2
      maxtrans 255
      storage
        initial 64K
        next 1M
        minextents 1
        maxextents unlimited
    create bitmap index IND_FLNST_AREDEF on TAB_FLNDAT (AREA_DEF_ID)
      tablespace A_IDX
      pctfree 10
      initrans 2
      maxtrans 255
      storage
        initial 64K
        next 1M
        minextents 1
        maxextents unlimited
    create index IND_FLNST_FLNDATAKEY on TAB_FLNDAT (FLNDATAKEY)
      tablespace A_IDX
      pctfree 10
      initrans 2
      maxtrans 255
      storage
        initial 64K
        next 1M
        minextents 1
        maxextents unlimited
    create bitmap index IND_FLNST_INCPERIOD on TAB_FLNDAT (INC_PERIOD)
      tablespace A_IDX
      pctfree 10
      initrans 2
      maxtrans 255
      storage
        initial 64K
        next 1M
        minextents 1
        maxextents unlimited
    create index IND_FLNST_INC_ID on TAB_FLNDAT (INC_ID)
      tablespace A_IDX
      pctfree 10
      initrans 2
      maxtrans 255
      storage
        initial 64K
        next 1M
        minextents 1
        maxextents unlimited
      );Edited by: venkatraman.L on Mar 18, 2012 12:51 PM
    Edited by: venkatraman.L on Mar 18, 2012 12:52 PM

    venkatraman.L wrote:
    yes if I use Quotes it is using index. It should be a numeric field.
    Thanks Etbin. I was a little surprised by that. i thought oracle will always implicitly convert to the type of the column. But that happens only for insert/updates.
    From the docs (http://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements002.htm):
    The following rules govern the direction in which Oracle Database makes implicit datatype conversions:
    <li>During INSERT and UPDATE operations, Oracle converts the value to the datatype of the affected column.
    <li>During SELECT FROM operations, Oracle converts the data from the column to the type of the target variable.
    <li>When manipulating numeric values, Oracle usually adjusts precision and scale to allow for maximum capacity. In such cases, the numeric datatype resulting from such operations can differ from the numeric datatype found in the underlying tables.
    <li>When comparing a character value with a numeric value, Oracle converts the character data to a numeric value.
    <li>Conversions between character values or NUMBER values and floating-point number values can be inexact, because the character types and NUMBER use decimal precision to represent the numeric value, and the floating-point numbers use binary precision.
    Rule 4 is what happened in your case.

  • How to create caracter set with reference(or create it anyhow)on 5.0

    I have difficulty (only on version 5.0 and 4.7) to create caracter set with reference(or create it anyhow). On version 4.6 there is no problem (I can do that like described in course BC305).
    Transaction "spad"->Full administation-> character set->change-> character
    set-> character set->create using template(or just create)
    I have intention to modify char set afterwards
    How could I do that in version 5.0 ECC?

    and therefore in this forum with minor chances to get an answer.
    regards
    Peter

  • To create caracter set with reference(or create it anyhow) on 5.0ECC

    I have difficulty (only on version 5.0 and 4.7) to create caracter set with reference(or create it anyhow). On version 4.6 there is no problem (I can do that like described in course BC305).
    Transaction "spad"->Full administation-> character set->change-> character
    set-> character set->create using template(or just create)
    I have intention to modify char set afterwards
    How could I do that in version 5.0 ECC?

    and therefore in this forum with minor chances to get an answer.
    regards
    Peter

  • Ideal column type for Binary Data ??

    Hi there,
    I must store binary data of fixed length (e.g. IP address of 4/16 bytes) into a table and manipulate that table over C++ / OCI.
    The database server is running on either SUN/SPARC or LINUX/i86. The clients are running on a broad range of systems (NT/i86, LINUX/x86, SUN/SPARC, ..).
    I am worried about the OCI layer modifying char/varchar values while transmission ...
    Whats the best approach ??
    Use CHAR/VARCHAR or use the variable length RAW even for fixed length binary data ??
    Any help would be greatly appreciated,
    Tobias
    null

    I guess RAW is the best approach

  • How to create caracter set on version 5.0 ECC

    I have difficulty (only on version 5.0 and 4.7) to create caracter set with reference(or create it anyhow).
    On version 4.6 there is no problem (I can do that like described in course BC305).
    Transaction "spad"->Full administation-> character set->change-> character
    set-> character set->create using template(or just create)
    How could I do that in version 5.0 ECC?
    I have intention to modify char set afterwards as some character are printed incorrecty on a printer device (Digital LG14)after upgrade.
    This device is defined on unix acess type "L" with a custom made device type using a custom made character set
    9452.
    Otherwise(on other printers) I have no problem with characters using acess type "S" with a device type "I2SWIN"(using character set 1406).
    Do you have any idea(tomorrow I will visit customer facing this problem first time). I plan to try the custom made device type with character set 1406.
    Do you have any idea if I do not succeed?

    Hi Tina,
    See
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/d9/4a963651ea11d189570000e829fbbd/frameset.htm">Maintaining Character Sets</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/d9/4a967751ea11d189570000e829fbbd/frameset.htm">Defining Character Sets</a>
    Hope this help!
    Juan
    Please reward with points if helpful

  • CHAR RELATIONSHIP error in SEM BPS planning sequence

    Hi,
    I'm executing a planning sequence with 2 planning functions.
    1st being "Exit  funciton" & 2nd being "Repost funciton".
    I've a "characteristic relationship of type attribute"  defined at the planning area level.
    Am getting CHAR RELATIONSHIP check error when am executing this sequence.
    EXIT function gives blank values for a characteristic that is used in "characteristic relationship".
    But, REPOST function adjusts this blank characteristic value to actual value which will be correct when "CHARACTERISTIC RELATIONSHIP" is checked.
    When I execute sequence, EXIT function gets executed & CHAR RELATIONSHIP errors are being displayed before "REPOST" function is being executed.
    Is there any other approach to deal this scenario? like checking CHAR RELATIONSHIP after REPOST funciton execution?
    I can execute REPOST funciton from "EXIT FUNCTION" using API_SEMBPS_FUNCTION_EXECUTE, but this doesn't suit my needs.
    Please note that I've a need to use 2nd planning function rather deriving characteristic relationship from the EXIT function.
    Appreciate any ideas/thoughts.

    Hari,
    each function must produce results that adhere to the rules specified as characteristic relationships. BPS will always execute the char.relationships after the exit function. You might be able to avoid this by adjusting the characteristics in your planning level.
    Calling another function (like REPOST) from within an exit is not possible since BPS needs to finish processing the exit first, before it can run the repost.
    Regards
    Marc
    SAP NetWeaver RIG

  • Modify number of char in LGPLA

    Hi all,
    I'm working with WM module, and I need to have 12 chars for the template of my storage bins(the standard is 10).
    I'd like to know if the modify could compromise something, and what are the conseguences of this change.
    Thank you in advance.
    Best reguards.
    Viviana

    As a thumb rule: never modify the definition of SAP standard fields, you will most likely corrupt your installation, either append your own fields and maintain them via enhancements or exits, or change your design to fit the given restriction.
    Thomas

  • How to modify master data with BPS

    Hi experts,
    Our customer would like have the posibility to enable/disable the materials they are using for planning.
    Disabled materials should not be available for planning.
    To do that we are thinking in adding another characteristic into the cube as a flag to determinate which material is enable or disable, and later use that infoobject to filter the planning layout.
    We wonder how can we change the values for a characteristic using BPS. Is that possible? So far, we are only able to modify keyfigures.
    Thanks in advance,
    Pablo

    To disable a material from getting planned, proceed as follows:
    1. Have material in the area and also in level and package.
    2. Create a data slice on material and set the material that you wish not to be planned by the planners and save the model.
    This configuration will meet your requirements.
    Ravi Thothadri

  • Strange Chars after modify reports.sh NLS_LANG

    I had a problem when I modify NLS_LANG in reports.sh in linux. If i put NLS_LANG=PORTUGUESE_PORTUGAL.WE8MSWIN1252 my reports comes with strange some like greek characters. My database charset is WE8MSWIN1252.
    My database v$NLS_PARAMETERS are:
    NLS_DATE_LANGUAGE
    PORTUGUESE
    NLS_CHARACTERSET
    WE8MSWIN1252
    Anyone with same problem too?
    Thanks
    Joao

    Sorry,
    I forgot to mention that, I have already added 3of9 font in PPD files, by oversight i missed in my question.
    Even after adding I cannot print a report Arabic + Barcode + English character.
    I am able to print report either Arabic+English or Barcode + English and all three together NO.
    Please suggest..

  • BPS: how to restore modified standard planning level into orignal content l

    Hi Expert,
    Can you plz explain how to restore modified standard planning level into orignal content level.
    Thanks
    Ajay Kumar

    Hi,
    Please check the link. It miht help..
    [Unable to View Standard Planning Functions]
    Thanks
    Pratyush

  • Adding/Modifying BPs, Data Defintions

    I've got Unifier 9.12 installed on my system to play around with at the moment. I'm logged on as ottbadmin and when I go to Company Workspace > Admin Mode > uDesigner > Business Processes I cant do anything with them. The new button is greyed out so I cant create a new one, I cant modify the existing ones as the status button is greyed out.
    Same issue with trying to add any new Cost Codes under Company Workspace > Admin Mode > Data Structure Setup > Data Definitions. Have I completely missed something here? I even created a new user with access to everything which I titled God Mode and still couldn't do any of the above.

    Most likely you have your server set up in Production mode, not Staging Mode.
    In Unifier Configurator, general tab, you must have the server set up to "Staging".  If set to Production, then uDesigner functionality will be disabled, even with God rights.
    Typically, you would have two separate servers, one in Staging Mode and one in Production Mode.  All work in uDesigner would be done in the Staging server and then Imported into the Production Server.

  • Obtain a value of the  char ( In a FOX formula) when CHAR is Modifiable

    Hi ,
      We are doing Integrated planning in NW04S BI.
      Assume we have a Agg level field1, field2, field3, field4 and Amount field.
    we defined a filter with Field1 and Field2.
    We have defined Field3 and Field4 as changeable in the Planning function ( FOX)
    In the planning function, we can use OBJ() to obtain values for Fiield1 and Field2 BUT not Field3 and Field4.
    We have processing logic where we need to know the field value of Field4 and Field5 for the data object.
    Is there a way to obtain Charteristic value, when the chartestics are actually defined as' To be changed' in the FOX planning function?
    Appreciate your help.
    BPSIP

    Shyam,
    While your answer is helpful, I would request you to provide a little detail of the exact syntax. For example, I have provided the logic below. Please let me know if I get the correct syntax of the FOREACH .
    Thanks
    assume field1, field2, field3, field4 all are info object in BI and are part of the Aggregation level.
    field3 and field4 are configured as 'To be changed' in the planning function.
    Here is the FOX CODE
    data   v_field1 type field1.
    data   v_field2 type field2.
    data   v_field3 type field3.
    data   v_field4 type field4.
    v_field1 = obj().
    v_field2 = obj().
    foreach v_field3.
    if v_field3 is initial.
    I like to do some complex processing here. for some
    reason, looks like it's not working, PLEASE HELP WITH *THE CORRECT SYNTAX for reading and comparing the value *of v_field1 for this data block.
    endif.
    endfor.
    end of  FOX CODE

  • The "write key" configurat​ion file vi use of "trim string" prior to writing the data can modify any string data written.

    I tried to use the config VIs to record some front-panel settings for later restoration, one of which could be a single space character (part of a string parsing system).
    I soon discovered that whenever I tried to save that single-space value to an INI file, only a null string was saved.
    After doing some digging I discovered that buried in the Write Key vi is a worker vi called Config Data Modify that uses Trim String on the string data before it is written to the file and that's what was eating my string character. I don't know whether this is a bug or a feature but there are at least three ways to fix it.
    1) Assuming you want to leave the library VIs alone, you can pre-process any stings sent to "write key" to replace all spaces with "\20" and then post-process all strings read using "read key" to replace all instances of \20 with spaces.
      and if you don't mind modifying the library VIs, either to save/use under a different name or to stick back into the library in a modified state (caution - can cause problems when you move code to another machine with an un-modified library) then...
    2) You can yank the trim-string out of the Config Data Modify vi and hope that it does not have any undesirable side effects with regards to the other routines that use Config Data Modify (so far I have not found any in my limited testing)
    or
    3)  You can modify the string pre-processing vi, Remove Unprintable Chars, to add the space character to the list of characters that get swapped out automatically.
    Note that both option #1 (as suggested above) and option #3 will produce an INI file data entry that looks like    key="\20Hello\20World\20"   while option #2 produces an entry that looks like   key=" Hello World "
    The attached PDF contains screenshots of all this.
    Attachments:
    Binder1.pdf ‏2507 KB

    Hi Warren,
    there's a 4th option:
    Simply set the "write raw string" input of the write key function to TRUE
    This option only appears when a string is wired to that function!
    Just re-checked:
    I think it's a limitation of the config file format. It's text based and (leading) spaces in the value are "overseen" as whitespaces. So your next option would be to use quotes around your string with spaces...
    Message Edited by GerdW on 05-02-2009 08:32 PM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Receiving "Invalid char in text." error from file adapter

    I'm testing a file adapter and am receiving the following error:
    Invalid char in text.
    The invalid character seems to be the ascii Record Separator character, Hex 1E, HTML &#xa;
    Is it possible for me to modify the file adapter schema to handle this character?

    The HTML description should have been this (minus space characters)
    & # x a ;

Maybe you are looking for