Unable to add fields

hi
   I hav modified the standard HTML code for BP Search according to my requirement and hav uploaded.
  now when i go to IMG->customer relationship management->IC winclient -> customer-specific system modifications for IC -> define customer specific search control.
  here i select the fields needed and click new entries.
  it opens <maintainance for search components >
  now in HTML BP fiels i m giving zhtml.
         table -> table name
         field -> field name
         add   -> x
now problem is at bottom it shows "target key must be different from the source key ".what is it?

As far as I understand your message I think you are inserting new fields that are already existing in the HTMP BP. Pls check first if they are available... if so then activate the same instead of adding new fields..
Hope this solves your problem. Else pls list the new fields you are trying to add in the IMG.
Regards
Ramesh

Similar Messages

  • Unable to add field from structure maintanace opt for datasource(LBWE BI 7)

    Hi,
    while i try to add extra field (transaction:LBWE for data source(ex 2lis_02_itm)) from structure maintance option to add field from structure(MCEKKO) to res data source(MC02M_0ITM) , than it moves to left side but when make enter message comes that it will not populated in extrect structure(i.e in MC02M_0ITM OR RSA2),
    but when we try to add extra field other than with that structure maintanace form append structure option from that structure MC02M_0ITM than it comes in that structure MC02M_0ITM and also can see in RSA2.
    Than how can we use that structure maintanace option avialble for the res. data source in LBWE?
    Best regards,
    dushyant.

    It solved automaticaly,
    yes later i got that error entry still exit whic solved by deleting setup table and than try,
    thanks.
    one another problem: when i try to activate 0order_quan key figure for cube 0pur_c01 for data source 2lis_02_itm at update rulen by assignig source field for that key figure , i am unable to activate - its remain in warning symbol only and getting further message while check that Target unit and source unit for key figure Order quantity are different.
    Best Regards,
    dushyant.

  • Unable to add Counter to a field in Query Layout

    Hello experts,
    Requirement: Need to display the no:of records at the end of query output and the end of Sub-totals.
    Issue:I am unable to add Counter to a field in SAP Query.
    I followed the steps in the below specified link
    http://help.sap.com/erp2005_ehp_06/helpdata/EN/4e/56898907564f49e10000000a42189e/frameset.htm
    Please find the attached screen shot and help me to fix the issue.
    Thanks in Advance,
    Manasa Veena P.

    Hi Manasa,
    You can know the number of records of your table with this sentence:
    DATA: l_contador TYPE i.
    DESCRIBE TABLE it_table LINES l_contador.
    In my opinion, if you're using an ALV, the best option would be to add an additional field to your ALV. This new field should be TYPE i.
    The layout of these new field has to be like this:
          L_FIELDCAT-do_sum = 'X'.
    Then you have to sort the internal table that is used by the ALV. You have to sort by the field you want to get the subtotal:
    DATA: WA_SORT TYPE SLIS_SORTINFO_ALV.
    WA_SORT-SPOS = 1.
    WA_SORT-FIELDNAME = 'NAME_OF_YOUR_FIELD'.
    WA_SORT-TABNAME = 'TI_ALV'.
    WA_SORT-UP = 'X'.                         " Sentido ascendente
    WA_SORT-SUBTOT = 'X'.
    APPEND WA_SORT TO I_SORT.
    Best Regards

  • Unable to read field value from main table - unexpected socket read error

    Hi Friends,
    While executing the below code, I am able to get the value of the field 'id' but i am unable to get the value for the 'materialnumber' field. i am getting the below exception
    +com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ProtocolException: java.io.IOException: Unexpected socket read.  Result is -1.
         at com.sap.mdm.data.commands.AbstractRetrieveLimitedRecordsCommand.execute(AbstractRetrieveLimitedRecordsCommand.java:158)
         at com.sap.mdm.data.commands.RetrieveLimitedRecordsCommand.execute(RetrieveLimitedRecordsCommand.java:157)
         at updaterecords.main(updaterecords.java:126)
    Caused by: com.sap.mdm.internal.protocol.manual.ProtocolException: java.io.IOException: Unexpected socket read.  Result is -1.
         at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:100)
         at com.sap.mdm.data.commands.AbstractRetrieveLimitedRecordsCommand.execute(AbstractRetrieveLimitedRecordsCommand.java:146)
         ... 2 more
    Caused by: java.io.IOException: Unexpected socket read.  Result is -1.
         at com.sap.mdm.internal.net.DataSocket.receiveData(DataSocket.java:59)
         at com.sap.mdm.internal.net.ConnectionImpl.readInt(ConnectionImpl.java:417)
         at com.sap.mdm.internal.net.ConnectionImpl.nextMessage(ConnectionImpl.java:501)
         at com.sap.mdm.internal.net.ConnectionImpl.receiveMessage(ConnectionImpl.java:472)
         at com.sap.mdm.internal.net.ConnectionImpl.send(ConnectionImpl.java:209)
         at com.sap.mdm.internal.net.ReservedConnection.send(ReservedConnection.java:105)
         at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:97)
         ... 3 more+
    import com.sap.mdm.commands.AuthenticateUserSessionCommand;
    import com.sap.mdm.commands.CommandException;
    import com.sap.mdm.commands.CreateUserSessionCommand;
    import com.sap.mdm.commands.DestroySessionCommand;
    import com.sap.mdm.commands.GetRepositoryRegionListCommand;
    import com.sap.mdm.data.Record;
    import com.sap.mdm.data.RegionProperties;
    import com.sap.mdm.data.ResultDefinition;
    import com.sap.mdm.data.commands.RetrieveLimitedRecordsCommand;
    import com.sap.mdm.ids.TableId;
    import com.sap.mdm.net.ConnectionException;
    import com.sap.mdm.net.ConnectionPool;
    import com.sap.mdm.net.ConnectionPoolFactory;
    import com.sap.mdm.schema.FieldProperties;
    import com.sap.mdm.schema.RepositorySchema;
    import com.sap.mdm.schema.commands.GetFieldListCommand;
    import com.sap.mdm.schema.commands.GetRepositorySchemaCommand;
    import com.sap.mdm.search.Search;
    import com.sap.mdm.server.DBMSType;
    import com.sap.mdm.server.RepositoryIdentifier;
    public class updaterecords {
         public static void main(String[] args) {
              try {               
                    String serverName = "159.112.6.26";
                    ConnectionPool connections = null;
                    try {
                         connections = ConnectionPoolFactory.getInstance(serverName);
                    } catch (ConnectionException e) {
                         e.printStackTrace();
                         return;
                   // specify the repository to use
                   // alternatively, a repository identifier can be obtain from the GetMountedRepositoryListCommand
                   String repositoryName = "DEMO";
                   String dbmsName = "MDMD";
                   RepositoryIdentifier reposId = new RepositoryIdentifier(repositoryName, dbmsName, DBMSType.ORACLE);
                   // get list of available regions for the repository
                   GetRepositoryRegionListCommand regionListCommand = new GetRepositoryRegionListCommand(connections);
                   regionListCommand.setRepositoryIdentifier(reposId);
                   try {
                        regionListCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
                        return;
                   RegionProperties[] regions = regionListCommand.getRegions();
                   // create a user session
                   CreateUserSessionCommand sessionCommand = new CreateUserSessionCommand(connections);
                   sessionCommand.setRepositoryIdentifier(reposId);
                   sessionCommand.setDataRegion(regions[0]); // use the first region
                   try {
                        sessionCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
                        return;
                   String sessionId = sessionCommand.getUserSession();
                   // authenticate the user session
                   String userName = "meter1";
                   String userPassword = "meter1";
                   AuthenticateUserSessionCommand authCommand = new AuthenticateUserSessionCommand(connections);
                   authCommand.setSession(sessionId);
                   authCommand.setUserName(userName);
                   authCommand.setUserPassword(userPassword);
                   try {
                        authCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
                        return;
                   GetRepositorySchemaCommand cmd=new GetRepositorySchemaCommand(connections);
                   cmd.setSession(sessionId);
                   try{
                        cmd.execute();               
                   }catch(CommandException e){
                        System.out.println(e.getLocalizedMessage());
                   RepositorySchema repsch=cmd.getRepositorySchema();
                   // the main table, hard-coded
                   TableId mainTableId = new TableId(1);     
                   // specify the result definition (what to retrieve); in this example, nothing
                   ResultDefinition rd = new ResultDefinition(mainTableId);
                   // select all records
                   Search search = new com.sap.mdm.search.Search(mainTableId);
                   //get fields
                   GetFieldListCommand getFieldListCommand = new GetFieldListCommand(connections);
                   getFieldListCommand.setSession(sessionCommand.getUserSession());
                   getFieldListCommand.setTableId(mainTableId);
                   try {
                        getFieldListCommand.execute();
                   } catch (CommandException e) {
                        System.out.println(e);
                   FieldProperties[] lookupFields = getFieldListCommand.getFields();
                   // add fields to records to retrieve
                   rd.addSelectField(repsch.getFieldId("Products","Id"));
                   rd.addSelectField(repsch.getFieldId("Products","MaterialNumber"));                              
                   // retrieve the records
                   RetrieveLimitedRecordsCommand limitingCommand = new RetrieveLimitedRecordsCommand(connections);
                   limitingCommand.setSession(sessionId);
                   limitingCommand.setResultDefinition(rd);
                   limitingCommand.setSearch(search);
                   //limitingCommand.setPageSize(2000);
                   try {
                        limitingCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
                        return;
                   System.out.println("Record count is " + limitingCommand.getRecords().getCount()+"\n");
                   Record[] records=limitingCommand.getRecords().getRecords();
    System.out.println(records[0].getFieldValue(repsch.getFieldId("Products","Id"))+ " \n");
    System.out.println(records[0].getFieldValue(repsch.getFieldId("Products","MaterialNumber"))+ " \n");
                   // finally destroy the session
                   DestroySessionCommand destroySessionCommand = new DestroySessionCommand(connections);
                   destroySessionCommand.setSession(sessionId);
                   try {
                        destroySessionCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
                        return;
              } catch (Exception e) {
                   System.out.println(e.getLocalizedMessage());
                   e.printStackTrace();
    Kindly let me know where i am going wrong. MaterialNumber field is a TEXT not a lookup table field.  Above fields are from the main table.
    Thanks,
    Raags

    Hi Friends,
    I got the solution. It was the error because of not having a the below statement.
    limitingCommand.setPageSize(1);
    As i havent used that statement, it was trying to get 1000 records, and i dont know exactly what makes this to get that error. Anyhow., As i want to use for updation, i cn live with one record.
    Thanks,
    Raags

  • Add field from structure maintanace option for datasource in LBWE (BI 7)

    Hi,
    while i try to add extra field (transaction:LBWE for data source(ex 2lis_02_itm)) from structure maintance option to add field from structure(MCEKKO) to res data source(MC02M_0ITM) , than it moves to left side but when make enter message comes that it will not populated in extrect structure(i.e in MC02M_0ITM OR RSA2),
    but when we try to add extra field not by structure maintanace option in LBWE but form append structure option from that structure MC02M_0ITM ( that field is not in that maintanace option in LBWE) than it comes in that structure MC02M_0ITM and also can see in RSA2.
    Than how can we use that structure maintanace option avialble for the res. data source in LBWE?
    Best regards,
    dushyant.

    It solved automaticaly,
    yes later i got that error entry still exit whic solved by deleting setup table and than try,
    thanks.
    one another problem: when i try to activate 0order_quan key figure for cube 0pur_c01 for data source 2lis_02_itm at update rulen by assignig source field for that key figure , i am unable to activate - its remain in warning symbol only and getting further message while check that Target unit and source unit for key figure Order quantity are different.
    Best Regards,
    dushyant.

  • Unable to add aspx file to document library using REST and JSOM in SharePoint Hosted App

    Hi,
    I am unable to add an aspx file to document library.  I was actually trying to create a WIKI page and upload to Pages library but that wasn't working so I tried simple document library.  It keeps failing with Access Denied error.  I have checked
    the blocked types and aspx is not included.  I can upload it directly from the browser so that shouldn't be the case.  I have read that it can be achieved with CSOM but I need this to work with a SharePoint Hosted App.  Here is my JSOM:
    factory = new SP.ProxyWebRequestExecutorFactory(appweburl);
        context.set_webRequestExecutorFactory(factory);
        appContextSite = new SP.AppContextSite(context, hostweburl);
        oWeb = appContextSite.get_web();
        oList = oWeb.get_lists().getByTitle('Documents');
        fileCreateInfo = new SP.FileCreationInformation();
        fileCreateInfo.set_url("mywiki.aspx");
        fileCreateInfo.set_content(new SP.Base64EncodedByteArray());
        fileContent = "<%@ Page Inherits=\"Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c\" %> <%@ Reference VirtualPath=\"~TemplatePageUrl\"
    %> <%@ Reference VirtualPath=\"~masterurl/custom.master\" %>";
        for (var i = 0; i < fileContent.length; i++) {
            fileCreateInfo.get_content().append(fileContent.charCodeAt(i));
        newFile = oList.get_rootFolder().get_files().add(fileCreateInfo);
        context.load(newFile);
        context.executeQueryAsync(function () {
            alert('yo');
        }, function (sender, args) {
            alert(args.get_message() + '\n' + args.get_stackTrace());
    If I change the file extension to "txt", it works.  Same with REST implementation, it works with "txt" but fails with "aspx".  Maybe what I am trying to do will not work using JSOM or REST.  Any suggestions?  Your
    help is always appreciated.
    Regards,
    kashif

    Your code works fine in both my on-premises and SharePoint Online. I have given the app full control, so I suspect this is a permissions issue. I would check your permissions on your appmanifest. Must be something to do with publishing permissions. Try
    giving full control and work the permissions down.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • ADF Query Panel with Tree Table -- Add Fields

    I created ADF Query Panel with Tree Table using JDeveloper 11G. Under Advance Search, Add Fields pull down only list the fields in the master table. My questions are,
    1) Can I search fields in detail table? If yes, how can I do it?
    2) How can I customized this pull down list? Currently it just show the entire view of master table with unnecessary id type data.
    Thanks in advance.
    Edited by: kxc on Nov 9, 2009 9:21 AM

    1) Can I search fields in detail table? If yes, how can I do it?
    Are there anyway to search the second level node?You can. But you need to evaluate if the arrangement works for you.
    I assume you have a view link from the master to detail VO.
    To do so, in your master view criteria (the one which you use in the query panel), shuttle the attributes of your detail VO (in master attributes list, you'l see the detail view link accessor - on selecting this, the detail atteributes are available to you)
    In the Add Fields, it shows as student_id AND student_name. I was unable to delete the student_id field in the view since it is PKYou can set its 'display' UI hint to 'hide' in your VO.

  • Add field in 'Subsequent Outbound Delivery Split' subscreen in VT01N tcode

    Hi,
    My Requirement:
    Add field STFAK in the report in  'Subsequent Outbound Delivery Split' subscreen in VT01N transaction. This field is to be added in Structure LEDSPD_LIST_ITEM, and value in it is to be mapped from MARA-STFAK.
    Steps to the Subscreen 'Subsequent Outbound Delivery Split' :
    1. Transaction:VT01N. Enter TransportPlanningPt and Shipment type
    2. Click on 'Deliveries' button. A subscreen for 'Select Outbound Deliveries' pops up
    3. Click on Execute. A list of deliveries is retrieved
    4. Select a delivery. Click on 'Split Deliveries' button. Subscreen 'Subsequent Outbound Delivery Split' pops up.
    Issue:
    I have added the field in the structure LEDSPD_LIST_ITEM. However, it is not displayed on the report generated in  'Subsequent Outbound Delivery Split' subscreen in VT01N transaction.
    Also, to map the value in this field, I need to make changes in the program/screen exit/BADI. I am unable to find the exact  program/screen exit/BADI where I can make the changes.
    Request to Experts:
    I have referred several posts on SDN, but have not found anything of relevance. I am debugging also since quite some time, but am yet to come to a relevant solution. Please guide me to a solution for this issue.
    Thanks in advance,
    Regards,
    Smruthi Acharya

    self resolved

  • Cant add field from structure maintanace option for  datasource(LBWE BI 7)

    Hi,
    while i try to add extra field (transaction:LBWE for data source(ex 2lis_02_itm)) from structure maintance option to add field from structure(MCEKKO) to res data source(MC02M_0ITM) , than it moves to left side but when make enter message comes that it will not populated in extrect structure(i.e in MC02M_0ITM OR RSA2),
    but when we try to add extra field other than with that structure maintanace form append structure option from that structure MC02M_0ITM than it comes in that structure MC02M_0ITM and also can see in RSA2.
    Than how can we use that structure maintanace option avialble for the res. data source in LBWE?
    Best regards,
    dushyant.

    It solved automaticaly,
    yes later i got that error entry still exit whic solved by deleting setup table and than try,
    thanks.
    one another problem: when i try to activate 0order_quan key figure for cube 0pur_c01 for data source 2lis_02_itm at update rulen by assignig source field for that key figure , i am unable to activate - its remain in warning symbol only and getting further message while check that Target unit and source unit for key figure Order quantity are different.
    Best Regards,
    dushyant.

  • Unable to add a system in ACC

    Hello,
    We are unable to add a new system in the ACC.Initially we addeed one system in the ACC and everything went fine but we are facing trouble while another system in the ACC.We are getting the following error " Hostname'loopback' is reported from host xxxxxxxx as well as from host xxxxxxx check your network setup! ".
    I checked and found that the loopback address is same for both the hosts.
    Is it necessary to have two seperate loop back adresses for adding in the ACC.
    Regards,
    Vamshi T

    Hi Vamshi,
    I am also getting same error, but i looked into the note and did the following:
    In the field "Hostnames/IP Addresses excluded from hostname" - I gave hostname/ip address.
    Is this same you gave or anything like loopback/ip address also you gave ?
    Thanks,
    Murali.

  • Unable to add supplying plant

    Hi,
    I am unable to add supplying plant for cross company STO in vendor Master. I go to XK02-Purchasing-Extras-Add purchasing data but no tab is coming where I can put the plant.The screen here shows just Data retention at VSR and data retention at plant allowed ticked but no space where I c

    Hi Indraneel,
    At first find out the account group of the Vendor in LFA1.
    Then goto the below path and check whether the field Plant is suppressed in Purchasing data ;
    Spro --Financial Accounting (New)Accounts Receivable and Accounts PayableVendor AccountsMaster DataPreparations for Creating Vendor Master DataDefine Account Groups with Screen Layout (Vendors)
    If Yes make it optional so that u can use it .
    Regards
    Ramesh Ch

  • Unable to add a signature and the fill ?

    I am unable to add a signature with acrobat pro for mac.  pushing the fill & sign button opens a completely blank window beside the document.
    not sure how to fix this problem.

    It's possible to set up your signature on the Desktop such that it can be simply dragged into the Camera icon's "From the Web" field...
    1. Right click on an already posted pic
    2. Choose "Open Link in New Tab"
    3. From the address bar of that new tab, drag the URL's favicon (little icon) to your Desktop whereupon an "@" icon will be created
    The above only has to be done once, and then to use that image in future posts...
    1. Click the Camera icon
    2. Click "From the Web"
    3. Drag the URL's "@" icon from your Desktop to the URL field and click Insert Image
    And if you want your signature instead of a generic "@" icon, that's possible too:

  • How to add fields to already loaded cube or dso and how to fill records in

    how to add fields to already loaded cube or dso and how to fill  it.can any one tell me the critical issues in data loading process..?

    This is sensitive task with regards to large volumes of data in infoproviders.
    The issue is to reload of data in case of adjusted structures of infoproviders.
    Indeed there are some tricks. See following:
    http://weblogs.sdn.sap.com/cs/blank/view/wlg/19300
    https://service.sap.com/sap/support/notes/1287382

  • Unable to find field which i added to FB03

    HI Experts,
    My requirement is to add field Amount and document line items field for particular document which i usually get by double clicking of document number in FB03
    Is it possibel to add field Amount,. document line items which should be available when i clicked change layout button
    I try to add field by following the below procedure
                         ""  Enhancing Selection Views in the dynamic selection of FB03, FBL3n, FBL5n and etc
    Related OSS Note: 188663 and 832997
    Requirement: The business requires the Doc. Header Text be added in the dynamic selection in FB03
      Solution:
    Execute Transaction code SE36. Click F4. Enter the table name wherein you think the field could be found. In this case the table is BKPF and the logical database is BRF
    From the initial screen of SE36, Choose from the path EXTRAS>> Selection Views
    Copy Selection View "SAP" to "CUS"
    Change the selection views "CUS"
    In the right corner, double click your table BKPF.
    In the right corner, check whether what functional groups does your field belong. If it is 01 then input it beside your field name.
    Then Save it afterwards.""
    By following the above procedure i selected table BSEG and Logical data base BRF .I created function group 02 called document segment  and mentioned 02 before  requiredfield names and selected check box after field names and clicked save.When i clicked Display contents i found the entries which i made but i closed and reopen it i didnt found any changes.
    Please let me know where i went wrong.Anything is Appreciable.
    Thanks&Regards,
    narasimha.

    Hi ,
    I can now able to see the fields that i added to BRF logical data base in se36  but how this enhancement is related to FB03 tcode
    Thanks&Regards,
    narasimha.

  • How to ADD field in iview ?

    hi,
    in portal-iview i want to add a field.
    when i go to 'portal-content -> open the iview with right click -> preview' and then
    do ctrl-alt-right-mouse click i got to the customizing of the fields.
    i know how to HIDE fields there, but i don't know how to add fields ? in the list
    of the fields the necessary fields are available, BUT i only have to options:
    hide -> YES or NOT PERSONALIZED
    any ideas ?
    reg, Martin

    Gopal,
    the root element of this fields does NOT have the option 'decorate'.
    it is the quoata overview of ESS : sap.com/ess~quotas
    the top of the tree has option 'decorate', but this is above the necessary table where
    i select the data.
    my adrl is 
    martin.svik(at)denzel.at
    maybe we can 'change' some screenshots where you can send me yours and i can
    send you mine to explain it in a better way
    reg, Martin

Maybe you are looking for

  • Network Store Interface Service - Memory Leak on Boot

    I wanted to compile and explain my solution to an issue in Windows 8.1 where NSI causes major RAM/Disk utilization in creating four files in C:\Windows\System32\networklist\icons Related Threads http://social.technet.microsoft.com/Forums/en-US/bebbd9

  • How Can i know the orders source. ?? IDOC or VA01

    Dear All, sometimes we create a new order with reference to the order which was created by using IDOC. How can I know the difference between .. 1) Order created with VA01. (Some of the fields may copied from order created by IDoc.) 2) orders created

  • Spaces 13-16 keyboard shortcut

    I moved from 12 to 16 Spaces, and for spaces 11-12 the control-option-1 and 2 work to jump to spaces 11 and 12, but when I try to go to spaces 13-16 (control-option-3, etc.) nothing happens. I tried rebooting but that didn't fix it. Does anyone know

  • Incase auto charger causes problems?

    I have had a series of "faulty" iPods (iPod--40 GB Click Wheel)--two rebooted after playing 5-10 secs of many songs, the other really locked up so that it didn't respond to the buttons. I have AppleCare, so I am on my 4th iPod. My 4th iPod which I go

  • Should i Buy one??

    hi everyone first post here, Im looking at a G4 PowerMac i am sure its the Digital audio model, 1.25gb memory, 128Gb HDD, 733 MHz processor. First of all i will be needing it for wireless internet access just normal surfing, maybe some downloading he