Adding 0RT_OFFER (Offer No.) as attribute of 0RT_PROMO (Promotion No.)

Hi,
Please anyone can help me ?
I need to Add 0RT_OFFER (Offer No.) as attribute of 0RT_PROMO (Promotion No.). Then i need to enhance datasource whichever is applicable.
Please provide step by step solution,
Thanks,
Govind

you can see the following links for steps to be followed for datasource enhancement
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0af763b-066e-2910-a784-dc6731660f46?QuickLink=index&overridelayout=true
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/302d4b15-5847-2a10-93bb-9c45d9f06b16?QuickLink=index&overridelayout=true
Edited by: shyam agarwal on Feb 16, 2012 11:52 AM

Similar Messages

  • Adding field as a nevigation attribute

    Hello Experts,
    I have modified a DSO to add one field Trading Business Area (0PBUS_AREA)  in the key fields part.
    Q.1 Can 0PBUS_AREA be navigation attribute of 0BUS_Area.
    Q2. Adding 0PBUS_AREA in the navigation attribute of 0BUS_AREA and removing it from Key fields part will make any difference in the output?
    Regards,
    Nirav Shah

    Hi Allen/ Beekay,
    Thanx for your reply.
    In some of the line items loaded from R/3 to BI, 0PBUS_Area is maintained, so removing it from key field causes lose of some data.
    0Bus_Area is already a key field of that DSO. so if i make 0PBUS_Area as a navigation attribute, still it works like a key field as the corrosponding main field is still available in the key fields of DSO.
    Regards,
    Nirav
    Edited by: Nirav Shah on Aug 10, 2008 9:51 AM

  • Adding a constraint to an attributes of an existing object

    Hi ,
    I need to to add a CHECK constraint into a user defined object. This object exists already and used in a table , I cannot find the correct syntax to add the CHECK constraint to one of the attributes of the object.
    I have added the following, a NOT NULL constraint to it without any errors.
    ALTER TYPE USER_OBJ
    MODIFY ATTRIBUTE (ATTRB_A VARCHAR2(30) NOT NULL)
    CASCADE;
    But when I try and do the same with a CHECK (IN ) constraint I keep getting errors stating wrong syntax or expecting an operator.
    I have searched and just cannot find if what I am attempting is possible or not in Oracle 9i - Is it and if it is how does one do it ?
    Thanks for any assistance in this
    Regards
    Eoin

    If you read the documentation you will see that Oracle does not support constraints and defaults in type specifications. I think the fact that the ALTER TYPE statement works is a bug.
    Consider what happens when we try to create a type with a NOT NULL attribute...
    SQL> CREATE TYPE  user_obj AS OBJECT (attrb_a VARCHAR2(30) NOT NULL)
      2  /
    Warning: Type created with compilation errors.
    SQL> show error
    Errors for TYPE USER_OBJ:
    LINE/COL ERROR
    1/27     PLS-00218: a variable declared NOT NULL must have an
             initialization assignmentHmmm, can't do that. So let's go down the ALTER route...
    SQL> CREATE OR REPLACE TYPE  user_obj AS OBJECT (attrb_a VARCHAR2(30) )
      2  /
    Type created.
    SQL> ALTER  TYPE user_obj
      2     MODIFY ATTRIBUTE (ATTRB_A  NOT NULL)
      3  /
    ALTER  TYPE user_obj
    ERROR at line 1:
    ORA-06545: PL/SQL: compilation error - compilation aborted
    ORA-06550: line 3, column 31:
    PLS-00103: Encountered the symbol "NOT" when expecting one of the following:
    <an identifier> <a double-quoted delimited-identifier> LONG_
    double ref char time timestamp interval date binary national
    character nchar
    The symbol "<an identifier>" was substituted for "NOT" to continue.
    ORA-06550: line 0, column 0:
    PLS-00565: USER_OBJ must be completed as a potential REF target (object type)
    SQL>  ALTER  TYPE user_obj
      2      MODIFY ATTRIBUTE (ATTRB_A  VARCHAR2(30)  NOT NULL)
      3  /
    ALTER  TYPE user_obj
    ERROR at line 1:
    ORA-22324: altered type has compilation errors
    ORA-22328: object "APC"."USER_OBJ" has errors.
    PLS-00719: only widening of attribute 'ATTRB_A' constraints is allowed
    ORA-06550: line 0, column 0:
    PL/SQL: Compilation unit analysis terminated
    SQL>  ALTER  TYPE user_obj     MODIFY ATTRIBUTE (ATTRB_A  VARCHAR2(31)  NOT NULL)
      2  /
    Type altered.Anything with so wacky a syntax just cannot be correct. Was the effort worth while?
    SQL> declare
      2   u user_obj;
      3  begin
      4   u := USER_OBJ('APC');
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL> declare
      2   u user_obj;
      3  begin
      4   u := USER_OBJ(NULL);
      5  end;
      6  /
    PL/SQL procedure successfully completed.
    SQL> desc user_obj
    Name                                      Null?    Type
    ATTRB_A                                            VARCHAR2(31)
    SQL> That'll be a "No" then.
    Cheers, APC

  • Problem in adding a new element having attribute & many children for XML(jd

    I m creating a new element <row id="1" > & many childrens & similar new elements with increment id are created.
    And this is added to a tag 'data'
    But after creating when i m iterating thru' the elements of the node 'data', for the new elements which i have created, if i try to set a new value for any of the chidren of 'row' tag, the value is getting set for all other newly created elements

    Let's see how you're doing this... got any code?

  • Adding other languages in Marketing attributes

    Hi all,
    Im currently working with marketing attributes and would like to add different languages in the attribute. I guess that you add different languages in the description tab in transaction CRMM_ROUT_PROF_CHAR?
    But it doesnt seem to work on attributes that are in use? I can only add to attributes that are not in use. When I try to change one that are in use I get this message:
    "Attribute SAP_0000000190 already valuated within a profile"
    Does anyone know anything about this, and how to solve the solution about using different languages depending on what language you chose when you log in to WEB UI?
    Thanks!
    Margareta

    Hi,
    I believe the reason could be that the attribute set to which this
    attribute is associated is assigned to more than 100 BP's.
    This is been mentioned in note 772711.
    Also kindly use the WEBUI Marketing Attribute screen (from CRM 6.0 onwards).
    Regards,
    Anup
    Edited by: Anup Dattaraj Desai on Jul 9, 2011 11:45 AM

  • Adding an element with an attribute to destination schema that doesn't exist on source schema

    I have source schema which looks something like below:
    source schema
     name                    //attribute
     address1                //attribute
     address2                //attribute
     city                       //attribute
    I need to map it to a destination schema which looks like below:
    destination schema
    employee                  //record (repeating element)
      fieldname                //attribute
      type                       //attribute
    After mapping, the xml would look like below: 
    <employee fieldname= 'name' type='string'>
    <employee fieldname= 'address1' type ='string'>
    <employee fieldname= 'address2' type ='string'>
    <employee fieldname= 'city' type ='string'>
    (fieldname exists in source schema, but 'type'  doesn't. basing on the fieldname, I add it on the destination schema using ValueMapping functoid )And I am able to do it successfully, but my question is, I need to add a field called 'salary'
    of type 'double' to the destination schema similar to the other values
    <employee fieldname= 'salary' type ='double'>
    But salary doesn't exist in 'source' schema,  and it needs to be there in destination schema associated with the attribute 'type='dcouble''   How can I accomplish this? Appreciate any help. thanks!!

    Hi Anne,
    For your requirement, all you need is Table Looping functiod and Table Extractor functiod.
    In this example, I am not using the value mapping functiod (you can also use it, but I prefer to make this sample easier for you to understand) so using a “string” as constant.
    When you mean by you want
    <employee fieldname= 'name' type='string'>
    <employee fieldname= 'address1' type ='string'>
    <employee fieldname= 'address2' type ='string'> <employee fieldname= 'city' type ='string'>
    I assume you’re looking for something like this
    <employee fieldname= 'ValueOfName' type='string'>
    <employee fieldname= 'ValueOfAddress1' type ='string'>
    <employee fieldname= 'ValueOfAddress2' type ='string'>
    <employee fieldname= 'ValueOfCity' type ='string'>
    Or if you just need field names not the value of the fields, you can still do what you want with the way you do now but using Table Looping functiod and Table Extractor
    functiod.
    Let me explain this.
    Use Table Looping functiod with following parameters:
    5 = You need 5 records in output i.e. name, address1,address2,city and salary.
    2 = you need 2 columns. i.e. fieldname and type.
    Link from 'name' in source schema. Here I have just linked the 'name' from source schema, so this will have VALUE-of-Name element/attribute. Or if you can want just the
    field name, you can use the way you’re using to get the field name.
    Repeat the above step for all the rest of the fields. I have linked address1, address2 and city.
    7<sup>th</sup> parameter is “string” as constant, which I will be passing to “type” attribute in destination. Again you can use value mapping functiod as you
    do. If you use value mapping functiod, then rest of the parameter shall be value mapping functiod.
    Then I add last two paraters “salary” and “double” as constants, which I will be using to add the new record. Below image show the parameters for Table looping functiond:
    Now select the “Configure Table Looping grid” property and map as shown. Give a closer look to the way how this grid has been mapped. Last record in the grid shows the
    additional record which you want to add with “salary” and “double”
    Now add “Table Extractor functiod”, set its first parameter to “Table looping” and second parameter as “1”
    Now another “Table Extractor functiod”, set its first parameter to “Table looping” and second parameter as “2”. Below image show the Table Txtrator functiods parameters:
    Now link the Table Looping functiod to “employee” record in destination schema.
    Use the above you will get the output as you wanted. Following is the output, note: as mentioned in the fieldName attribute I have the value of the source fields/attributes
    since I have used the direct link from soruce in Table Looping functiod parameters, you can use the link which is producing the value for you now for fieldname:
    <employee fieldName="name_0" type="string"></employee>
    <employee fieldName="address1_1" type="string"></employee>
    <employee fieldName="address2_2" type="string"></employee>
    <employee fieldName="city_3" type="string"></employee>
    <employee fieldName="salary" type="double"></employee>
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Project Server 2013 - Adding Enterprise Resouce additonal Assignemt attributes with AD sync programatically

    I Have a project server 2013 environment (Sandbox right now but on its way to a production system.) and we have AD sync set up for our enterprise resource pool.
    We have 2 situations:
    1. AD only brings certain information over (Name, email etc) and leaves other information out: Which calendar to use, base cost rate, Resource departments, Time sheet approver (their manager)
    2. IN AD we store the employee number and would like to map it to the External ID field. (And several other things need to happen - outlook out of office sync, resource can be leveled etc)
    I have not seen a way "add" this  information programmatically. Everything I see says open the resource in Project pro and update.  when you have 10,000 resources manual updates and changes are not really practical. Ideally we would
    be able to have some logic that looks at a table and as resources are added/updated the various fields are filled in as part of the "ad Sync job"
    Question: Is this possible an has anyone done it? If so how?
    Thanks
    Tasks

    Hi Bob,
    Yes, you are right.  Any extention will have to be custom code.  PS operates the same in regards to what can be accessed via AD sync over the various versions.  That part has not changed, how MS processes what it reads has changed over the
    years.
    However, another point for you, be very careful if you are really planning to add 10K users to your ERP via AD.  This will be a very taxing endeavor for your systems.
    I'm not aware of any technical limits, but you will run into practical limits with more than about 5K users in your ERP.  You had better have a very large SQL server and lots of RAM in your SharePoint web and Project App servers.  You had better
    have more than 1 Project App server, etc...  You will want to consider the impact to users when various parts of the system are loaded up with 10K resources.  Design your Farm and PWA configuration accordingly or expect to wait a lot!
    Don't expect to do this during business hours or you will kill all your users processing.  AD sync jobs go in the project server Q and can take hours to process in large numbers like that, at least initially.  Don't make any security changes of
    any kind during business hours as these will trigger a "re-sync".  Etc...
    Please read everything here:  Active Directory Resource Pool Synchronization (Project Server 2013)
    http://technet.microsoft.com/en-us/library/jj819320(v=office.15).aspx
    Other postings (Hey Stowe!) have referenced this as a starter:
    http://ps2007adressync.codeplex.com/  I know this says 2007, but perhaps you can use this as a basis for understanding what's possible or how to approach.  As I mentioned, the underlying mechanics on this point are the same.
    Clearly you will want to use the PSI - which will give you access to almost everything you need.  You may need to hook into the Event handlers after the AD sync runs or just run a batch process of your own.
    Specifically, Outlook out of office can be accomplished by sync'ing with Exchange Server 2013.  See the TechNet on that topic (near the other articles).
    Resource can be leveled sounds like your custom job along with the EMP ID mapping.
    Hope this helps,
    Thanks, Eric S. Pcubed

  • Adding Time Dependency to an Attribute

    I have a requirement to report in BI based on the system status of a WBS element at any given point in time. For example, if i run the report with an end date of June 2010, I need to capture the status of any given WBS element (Open, TECO, etc) at that point in time.
    Now, I'm aware that I can set the "Time Dependent" flag on the 0STATUSSYS0 attribute of the WBS master data, but what else do I need to do to make this work? Do I need to enhance the extractor to account for this?
    Any information/documentation/how-to's would be extremely appreciated.
    Thanx in advance,
    er

    Hi,
    please search the forums, there is a lot of information about this issue. But in short, your extractor needs to deliver the information in time slices giving a from and a to date. In your queries you need to specify a key date to be able to access the appropriate time slice.
    regards
    Siggi

  • DPS 6.3.1 uid added as a search return attribute?

    When I do a search against the dps and state attributes to be returned, uid is appended to them. Why? Not sure what is causing this. Thanks.

    Standard ldapsearch both anon and authn with attributes set to be returned of "cn mail" for example
    ds access log:
    SRCH base="o=company" scope=2 filter="(cn=stan man)" attrs="cn mail uid"
    Note uid appended to the return attributes in ds access log. uid is not returned as a search result. This occurs only when search is done through dps, not in a search to the ds.
    However I do have a request filter that matches on uid for the connection handler. I am thinking that is what causes the uid to be appended as an attribute but not returned in the search. Either that or ds access log error.

  • Adding two certificates in the attribute userCertificate

    Hi,
    The attribute userCertificate (object class StrongAuthentication) is a binary attribute. I know how to store one certificate in this attribute. But, when one is already stored in, how can I store a second one in this attribute? I checked in the schema, the attribute userCertificate is not a single-value.
    Thanks for help

    add multivalued certificates sample:
    BasicAttribute attr = new BasicAttribute("userCertificate;binary");
    attr.add(cert);
    BasicAttribute attr2 = new BasicAttribute("userCertificate;binary");
    attr2.add(cert2);
    ModificationItem[] mods = new ModificationItem[2];
    mods[0] = new ModificationItem(DirContext.ADD_ATTRIBUTE , attr);
    mods[1] = new ModificationItem(DirContext.ADD_ATTRIBUTE , attr2);
    dircontext.modifyAttributes(DN, mods);
    Vincent

  • Adding NameSpace as Attribute of Element

    Hi all,
    I have an element called Batch which has the attributes BatchID="" NoOfEntries="" and what I have to do is add another attribute but this attribute needs to be:
    xmlns="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0"
    It doesnt seem to be adding this extra attribute, even if I add another simpler attribute such as Names="john" it wont add any more....
    Is there a limit to the number of attributes you can add to an element using the following code:
    elm.setAttribute("Name", "John");If there is no limit would I be able to add the above (xmlns) as an attribute as I know it has some strange characters in there?

    Hi thanks for the help but I am slightly confused on this matter now,
    Basically what I have is an element in an XML as in the following:
    <bat:Batch Name=xyz" Age="123"
    xmlns="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0"
    xmlns:bat="urn:x-commerceone:document:btsox:Batch.sox$1.0"
    xmlns:sro="urn:x-commerceone:document:telcoapisox:ServiceRequestOrder.sox$1.0"
    xmlns:dsl="urn:x-commerceone:document:btsox:DSL.sox$1.0"> I guess all these are definitions of namespaces. I cannot set the element name to bat:Batch as I think the colon isnt allowed and hance the use of the NSpace. The NSpace are as above,
    I have located the element that I want to add the above definition to, this is the element elm.
    Then using elm.setAttribute("", ""); I am adding the Name and Age attributes, but am having probs adding the namespace stuff and hence using the colon bat:Batch too,
    Please could you explain a bit further on this, I am looking around in the forums but not getting anywhere fast. Basically I need to have the above attributes as my header in the XML,
    Thanks again,

  • Urgent : Adding Compounding Attribute 0CO_AREA

    Hi,
    When I added 0CO_AREA as a COMPOUNDING attribute of 0WBS_ELEMT,
    Following is the error message :-
    <b> InfoObject 0WBS_ELEMT is referenced from 0CRM_MKTELE, compounding cannot be changed</b>
    Diagnosis
    The InfoObject 0WBS_ELEMT is referenced by InfoObject 0CRM_MKTELE. InfoObjects have been deleted or inserted from the compound of InfoObject 0WBS_ELEMT. The compounds of InfoObject and referenced InfoObject must, however, concur with each other.
    System response
    InfoObject 0WBS_ELEMT can only be activated if InfoObject 0CRM_MKTELE is activated at the same time.
    Procedure
    Include all the InfoObjects, that reference InfoObject 0WBS_ELEMT, together in the editing and activate them likewise.
    Otherwise, you can only change the compounding of InfoObject 0WBS_ELEMT if there are no more other InfoObjects that reference InfoObject 0WBS_ELEMT.

    Hi John,
    Please see OSS note 184948 (Compound Infoobjects to 0SOURSYSTEM). Though this takes the example of 0SOURSYSTEM added as a Compound InfoObject, but the same applies in your case too. The solution mentioned is:
    "In this case, characteristic 'XYZ' must also be compounded to 0SOURSYSTEM.Characteristic 'XYZ' must be activated together with characteristic 'ABC'.
    If you have to change dependent characteristics also, all characteristics must be activated together with characteristic 'ABC'.Otherwise, the consistency check uses the active version of the dependent characteristics and reports errors.In the initial screen of InfoObject maintenance select radio button 'Free selection of InfoObjects'.In the dialog box, select all characteristics you want to activate together.Select all characteristics on the following overview screen and press 'Activate'.If you are already on the detailed screen of InfoObject maintenance and include the other InfoObjects in the maintenance using pushbutton 'Other InfoObject' then for activation you must go back to the overview screen and select and activate all InfoObjects there.This procedure is necessary since activating on the detailed screen is for the currently selected InfoObject (and dependent objects) only but not for all InfoObjects visible in the overview list.If you want to activate several InfoObjects together, then you should always do this from the overview list."
    Hope this helps...

  • Unique ID Attribute

    I've include the a unique ID attribute:
    (Name: element_ID Unique ID Required Control flags: Read-only)
    and updated an xml instance. How do I get Frame to auto populate the attribute with a unique ID?

    Other than for cross-referencing purposes, Frame doesn't have a mechanism for adding a unique ID to attributes. There are plugins that provide this functionality, but for default FM, you have to enter the ID manually.
    ...scott

  • Adding new field to CIC

    OK, I've added a new field to attribute of the view BupaSearch.htm.  I enter a value and it looks like my SET routine saves it, but my GET routine that is executed in BupaCreate.htm(also contains the field in the attribute) doesn't pull my value. In method IF_BOL_BO_PROPERTY_ACCESS~GET_PROPERTY(CL_CRM_BOL_ENTITY) I can see that I don't have the data.  I've been following the cookbook closely, but I don't understand what's missing.  My field already exists on a different screen MIDDLENAME.  I'm basically moving it from one screen to the other.  I have a feeling I need to do something with CRMV_GENIL, but I don't know what.  Can someone help me complete this last part?
    Thank You

    Hi Cathy,
    You certainly didn't pick a simple example.
    You need to add the attribute the context node. To do this, use the workbench to add a new model attrubute to the the corresponding search object 'BuilHeaderSearch'. Before you do this, you need to add it to the underlying dictionary structure 'CRMST_HEADER_SEARCH_BUIL'.
    If you use the work-bench, all the relevant setter/getter methods should be generated  (not 100% sure about this; you may need to create them yourself).
    After this, you will need to redefine the method on_create in the handler class.
    Using this process explained above, you should be able to send the data from the search to the create at least.
    Note: If you want to use the middlename as a search parameter, then you will need to extend the bol to pass this attribute to the search API.
    Hope this helps.
    Regards
    Shiv

  • ACS v5.2 - Unable to update User integer attributes through File Operations

    Hi,
         I have created some internal users on ACS v5.2 and added some Unsigned Integer attributes for each user. I am trying to do a bulk update of these integer attributes using the File Operation facility. However no matter what number I put on the import template it doesn't get updated and displays a "0" in the user config.
    The import template is validated successfully with no errors and also the string attributes are updated correctly.
    There is a sort of work around of deleting the users and adding them back in with the updated values. But this is not feasible as it would reset their passwords. I have also tried saving the csv file in Open Ofifce instead of Excel
    Has any one else come across this problem?
    (I am unable to see this issue in the Release notes or Bug tool kit although there is a similar issue when updating devices in CSCth68051)

    Hi,
         Thanks for the reply. I have managed to recreate the problem to show you but it is a bit more complicated than I first thought. The problem only occurs when the integer attributes are added after the user is created.
    I created a dummy user. The MTL and TLS attributes were present before the user was added. I then added the XXX and ZZZ attributes afterwards and assigned them default values. The default values show up in the GUI config.
    However when I export the database to a csv file only the values of the MTL and TLS attributes show up in the export file:
    I then downloaded an import template and updated the integer values for TLS,MTL, XXX and ZZZ for the dummy user:
    The file imports successfully with no errors. However, when I display the user config only the MTL and TLS attributes have changed. The XXX and ZZZ attributes have stayed the same.
    I thought it might be because I was assigning a default value of 0 to the new attributes but I assigned ZZZ a default value of 1 and the same thing occurred.

Maybe you are looking for

  • OutOfMemoryError in 1.4.1, not in 1.3.1

    I'm having trouble diagnosing an OutOfMemoryError in my application and I would like to double-check my assumptions here, if I may. I apologize in advance for the length of this post... I figured the more information the better. The situation is this

  • New extensions on an existing Forms10g application

    Hello Form Guru's, My customer is considering upgrading a Forms6i (generated with Designer and Headstart) application to a new 10g environment. We consider to follow the Oracle strategy (Tools Statement of Direction) to upgrade to the latest version

  • Error in compiling an entity object

    I am new to OAF. I am trying to create a page. I created a new workspace, two projects, In one project an entity object and in the 2nd project created a view object based on the entity object and an application module. I am getting some error when I

  • Devices are not recognised.

    Hello I recently updated the latest iTunes 11.3.0.54 on my computer running windows 8 and now all my devices are not recognised or detected. I have de-authorized the computer and re-authorized again but it did not fix the problem. Previous to the upd

  • Tabs set to open on launch. Now showing all 'New Tabs'

    Launched Firefox, all tabs now just have the title 'New Tab', and show a plank page with nothing in the address bar. They aren't showing in closed tab history, there is no page to go back to on the tab, they are just blank, as if I had just opened on