Define suitable labels and descriptions for an entry point.

Hi All,
      I have tried to define suitable labels and descriptions for an entry point. I am following the documentation:
http://help.sap.com/saphelp_nw04/helpdata/en/36/8b6b4066d9bf49e10000000a1550b0/content.htm
I have done all those steps as per the documentation. But it is not working. I am not getting any display change for my entry point folder.
Any idea of what to do?
Please help me out.
**Points will be rewarded for a suitable answer.
Regards,
Uttam.

Hi,
in side project folder src.api:
package: com.XXX (Created File Label.properties)
=_d=Description
package:  com.sap.netweaver.rf.wrapper
Class: IRFServiceWrapper.java
import com.sapportals.portal.prt.service.IService;
public interface IRFServiceWrapper extends IService{
    public static final String KEY = "com.XXX";
Class: RFServiceWrapper
package com.sap.netweaver.rf.wrapper;
import com.sapportals.portal.prt.service.IServiceConfiguration;
import com.sapportals.portal.prt.service.IServiceContext;
import com.sapportals.wcm.crt.CrtClassLoaderRegistry;
public class RFServiceWrapper implements IRFServiceWrapper{
private IServiceContext mm_serviceContext;
Generic init method of the service. Will be called by the portal runtime.
@param serviceContext
public void init(IServiceContext serviceContext){
  mm_serviceContext = serviceContext;
  // only NW04: CrtClassLoaderRegistry.addClassLoader(this.getKey(), this.getClass().getClassLoader());
  CrtClassLoaderRegistry.addClassLoader(this.getClass().getClassLoader());
This method is called after all services in the portal runtime have already been initialized.
public void afterInit(){
configure the service : @param configuration
public void configure(IServiceConfiguration configuration){
This method is called by the portal runtime when the service is destroyed.
public void destroy(){
This method is called by the portal runtime when the service is released.
public void release(){
@return the context of the service, which was previously set by the portal runtime
public IServiceContext getContext(){
  return mm_serviceContext;
This method should return a string that is unique to this service amongst all
other services deployed in the portal runtime.
@return a unique key of the service
public String getKey(){
  return KEY;
Config file portalpp.xml
Bundle File : com.XXX.Labels
I hope that it works to you
Greeting Toni Guzmá

Similar Messages

  • Projectname.exe' does not contain a static 'Main' method suitable for an entry point .

    Hi,
    I'm developing a blog reader for windows 8 store app. It was perfectly worked before. But because of some miss behave my coding i get below error. No other errors there.
    Error    1    Program 'c:\Users\.........\Desktop\Blog_Reader\Blog_Reader\obj\Release\intermediatexaml\Blog_Reader.exe' does not contain a static 'Main' method suitable for an entry point    C:\Users\..........\Desktop\Blog_Reader\Blog_Reader\CSC  
     Blog_Reader
    Please help me to figure this.
    Thank You!

    Go to your App.Xaml and R-Click Go to Properties
    Check whether the Build Action is ApplicationDefinition
    If not change it to ApplicationDefinition. Clean the code (solution ) and Deploy..
    Chears....

  • Solution for Windows Store app "projectname.exe" does not contain a static 'Main' method suitable for an entry point . Error.

    Hi,
    I'm developed a blog reader for windows 8 store app. It was perfectly worked before. But suddenly it started to miss behave and I got an
    error. No other errors were there other than that.
    Error 
    Program c:\Users\.........\Desktop\Blog_Reader\Blog_Reader\obj\Release\intermediatexaml\Blog_Reader.exe' does not contain a static 'Main'
    method suitable for an entry point. 
    C:\Users\..........\Desktop\Blog_Reader\Blog_Reader\CSC    Blog_Reader
    But I found the solution while I fixing it.
    Solution for that is like below.
    Go to your App.Xaml and Right-Click thenGo to Properties
    Check whether the Build Action is
    ApplicationDefinition
    If not change it to ApplicationDefinition.
    Clean the code (solution) and Deploy
    Now the error is fiexed.

    Hi Robana, 
    Good sharing on the Technet. 
    This will definitely benefit other who may encounter the same issue as yours.
    Thanks for your sharing again. 
    Kate Li
    TechNet Community Support

  • Bookmarks sync erase new tags, labels and description on former synchronized bookmarks

    hello,
    on firefox 32.0.3
    bookmarks synchronisation erase recent tags, labels and description during the sync.
    this happen on already sync bookmarks on which we add some tags, labels and description, but not on new ones.
    no error message when logging or unlogging.
    thanks in advance
    best regards

    Hi ebntv,
    Thank you for your question, I understand that after a recent sync to your sync account that there are Recent Tags, descriptions and labels missing. However it is only the older Bookmarks that are affected.
    I have attached two screenshots to clarify to make sure I understand the feature that is affected:
    # The first has the default recent tags and list of all tags.
    # the second is an older bookmark visited 32 times that has all of the details after a sync.(However it never had a description or keyword)
    Which information is missing exactly?

  • Performance on Select Single&Write  AND Select*(For All Entries)&Read&Write

    Hi Experts,
    I got a code review problem & we are in a argument.
    I need the best performance code out of this two codes. I have tested this both on 5 & 1000 & 3000 & 100,000 & 180,000 records.
    But still, I just need a second opinion of experts.
    TYPES : BEGIN OF ty_account,
            saknr   TYPE   skat-saknr,
            END OF ty_account.
    DATA : g_txt50      TYPE skat-txt50.
    DATA : g_it_skat    TYPE TABLE OF skat,       g_wa_skat    LIKE LINE OF g_it_skat.
    DATA : g_it_account TYPE TABLE OF ty_account, g_wa_account LIKE LINE OF g_it_account.
    Code 1.
    SELECT saknr INTO TABLE g_it_account FROM skat.
    LOOP AT g_it_account INTO g_wa_account.
      SELECT SINGLE txt50 INTO g_txt50 FROM skat
        WHERE spras = 'E'
          AND ktopl = 'XXXX'
          AND saknr = g_wa_account-saknr.
      WRITE :/ g_wa_account-saknr, g_txt50.
      CLEAR : g_wa_account, g_txt50.
    ENDLOOP.
    Code 2.
    SELECT saknr INTO TABLE g_it_account FROM skat.
    SELECT * INTO TABLE g_it_skat FROM skat
      FOR ALL ENTRIES IN g_it_account
          WHERE spras = 'E'
            AND ktopl = 'XXXX'
            AND saknr = g_it_account-saknr.
    LOOP AT g_it_account INTO g_wa_account.
      READ TABLE g_it_skat INTO g_wa_skat WITH KEY saknr = g_wa_account-saknr.
      WRITE :/ g_wa_account-saknr, g_wa_skat-txt50.
      CLEAR : g_wa_account, g_wa_skat.
    ENDLOOP.
    Thanks & Regards,
    Dileep .C

    Hi Dilip.
    from you both the code I have found that you are selecting 2 diffrent fields.
    In Code 1.
    you are selecting SAKNR and then for these SAKNR you are selecting TXT50 from the same table.
    and in Code 2 you are selecting all the fields from SAKT table for all the values of SAKNR.
    I don't know whats your requirement.
    Better you declare a select option on screen and then fetch required fields from SAKT table for the values entered on screen for SAKNR.
    you only need TXT50 and SAKNR fields.
    so declare two types one for SAKNR and another for TXT50.
    Points to be remember.
    1. while using for all entries always check the for all entries table should not be blank.
    2. you will have to fetch all the key fields in table while applying for all entries,
        you can compare key fields with a constant which is greater than initial value.
    3. while reading the table sort the table by the field on which you are going to read it.
    try this:
    TYPES : BEGIN OF ty_account,
    saknr TYPE skat-saknr,
    END OF ty_account.
    TYPES : begin of T_txt50,
          saknr type saknr,
          txt50 type txt50,
    end of t_txt50.
    DATA: i_account type table of t_account,
          w_account type t_account,
          i_txt50 type table t_txt50,
          w_txt50 type t_txt50.
    select SAKNR from SKAT into table i_account.
    if sy-subrc = 0.
    sort i_account by saknr.
    select saknr txt50 from SKAT into table i_txt50
    for all entries in i_account
    where SAKNR = i_account-SAKNR
    here mention al the primary keys and compare them with their constants.
    endif.     
    Note; here you need to take care that, you will have to fetch all the key fields in table i_txt50.
    and compare those fields with there constants which should be greater than initial values.
    they should be in proper sequence.
    now for writing.
    loop at i_account into w_account.
    clear w_txt50.
    sort i_txt50 by saknr.
    read table i_txt50 into w_txt50 with key SAKNR = w_account-saknr
    if sy-subrc = 0.
    write: w_txt50-saknr, w-txt50-txt50.
    clear w_txt50, w_account.
    endif.
    endloop.
    Hope it wil clear your doubts.
    Thanks
    Lalit

  • Park and Post for recuring entries

    Hi,
    Can anyone tell me is it possible to have SOD in park and post for recurring entries documents - f.14?
    For the purpose of segregation of duties, I need accountant A to allow to create/park recurring entries but not post. Acccountant B will be allow to post the recurring documents created by account A.
    Pls help.
    Thanks.

    Hi,
    Here's my thoughts on this.
    As it is Recurring entries is a two step transaction.
    Have "Segregation of Responsibilities" at the time of creation of the Recurring entires itself.
    and have the second person to post it. Of course you can prevent the second person from changing any thing in the recurring document.
    Rather than Parking the recurring documents.
    Regards,

  • Why do we need to define RFC destination and user for material replication

    Dear Experts,
    why do we need to define RFC destination and user for material replication? Here we use crm middleware only for material replication. Could you please help me to understand it?
    regards,
    Ranjan

    Hello,
    As far as I know, you can use the same RFC destination already available in ECC to SRM to replicate materials.
    You can refer to note 720819.
    Regards,
    Ricardo

  • Photoshop CS3 font size of "label" and "description" of printed file

    How do you change and manage the font size of the "label" and "description" ( "file" > "file info" > "description")that you can opt to have printed above and below your photo?
    After typing in the "description" via "file info", you click on "print" and check off the "label" and "description" options.
    I'm using a Dell PC and an Epson CX3810.
    My instructor says that he's not been able to find out how to manage the font option.
    Thanks

    As a messy workaround you could put a simple string indicator ("classic Controls") on every tab over the page labels and change the text style/size etc. to your liking. Trouble is - the bound of the string indicator resizes while increasing the size of the text. As "size to text" doesn't work here maybe you can get the appropriate size from somewhere else. Document Bounds is not it, as I just found out. Possibly you should just use a free label, but I don't know whether their text is settable at runtime and their background can be altered.
    However - I think, you get the idea. Maybe it's worth 30 min testing...
    Attachments:
    changeStringtextSize.vi ‏22 KB

  • Value category and description for maintenance costs

    Does anyone know how I can get the value category and description and tie it to our cost data coming from tables COSP & COSS?    I tried going to PMCO but there can be several entries say for labor, services and you have no way of knowing which entry belongs to what type of cost.
    thanks!

    Hi,
    the value categories + texts are in TPIR2 + TPIR2T. Since you are working with PM, you need to set APPL = PM. And you need to set the correct controlling area. To map the cost elements (COSP, COSS are based on cost elements) to value categories you need to analyze table TPIK3.
    Besides I think that the costs for PM orders are also saved to table PMCO. So reading this instead of COSP, COSS might be easier.
    Regards,
    Thorsten

  • Change the Data Elements Text (Label and Description)

    Hi,
    I need to change the data elements label and short description in Development and transpot it into quality and Production system.
    I could change the label and short description using the Menu Goto --> Translation. But the system does not prompt for the transport request. Can you please any one help me how to attach a transport request to the changes (Translations) done on the Data Elements? It would be a great help!.
    Thanks andn Regards,
    Kannan

    I'm not getting a transport request either.  Any I know it is not a local object and not already on a transport.  To attach it to a transport.   Now on the first screen of SE10, there is  a "tool" icon, click it.  In the next screen,  put your cursor on the "Include Objects in a Transport Request and click execute.  On this screen, select the radiobutton for "Selected Objects".  Now in the row for data element, check the check box on the left, and enter the name of the data element on the right.  click execute.  In the next screen, put your cursor on the data element  click save in request.  Here you can create a request.
    Regards,
    Rich Heilman

  • Help - Class name and descriptions for a function location.

    Hi Guys
    i have to write a report that displays the class and class descriptions for a function location. the user passes in either the function location(TPLNR) or the class name and  the report should display the the class characteristics and resp. values. Is there a FM that i coud use?
    please help.
    many thanks.
    seelan.

    sadiepu1 wrote:
    When I set up Words with Friends on my Fire it asked for my username and password which from a previous reply to my inquiry above stated that the S 3 doesn't store due to privacy issues. I have tried all my usual combinations of usernames and passwords and my Fire won't let me access the game as it keeps telling me that one or the other is not correct. I have deleted the app from my Fire and re-downloaded it but have the same error comes up. I have accessed the Words with Friends support both on my phone and their website but there is no live chat. I might have to take both to a Verizon store. Also, my Fire won't let me access the game without a correct username and password. To say that I am frustrated would be an understatement as well I have tried everything I can think of with no luck! Thanks for any help you can give!
    Did you use facebook to log in? 
    Verizon will not be able to help you retrieve any of the information you need.  You will have to contact Zynga.

  • Entering values in Web Services ID and Description, for External Catalog

    Hi,
    I am trying to connect to an external Vendor Catalog from ERP. Pl note that we just have ERP ECC 6.0 and no SRM. I went to SPRO and followed menu path 'Materials Management >> Purchasing >> Web Services: ID and Description'. I am not sure what to enter in 1) Seq. Number  2) Name of Parameter for Web Service and 3) Call Structure COLUMNS.
    I have URL from Vendor, User Name and Password. I need to know what values are mandatory here so I can successfully connect to external Catalog. If someone can give me sample values, I can try.
    Any help is appreciated,
    Niranjan

    Update on 08/23/2011.
    We are able to connect to Vendor Catalog, select items in Cart. When I press 'Place Order' button, I see all items populated in SAP PO ME21N screen. We can then add other information and create PO. This is working great. We have another question. Heard that with ERP ECC 6.0, we can only connect 1 vendor catalog. But with SRM, we can connect more than  1 vendor catalog. Is there a BAPI or change SAP code to connect more than 1 vendor catalog from ECC 6.0 ?

  • Title and description for lookup column

    Hopefully this can be simple.  I am working on development in SharePoint 2010 but I do NOT think that it is specific to 2013 or 2010, I am migrating to 2013 in a month or so (hopefully!)
    Requirement:
    Display lookup list for Server Name (Title) and Server Description (Description)
    Problem:
    I have a custom list with 2 columns, title and description, both text fields.  I am using that list as a lookup to my other custom list.
    The graphic below has 2 windows squished into it.  The middle window is the list pulling the data from, the lookup list.
    The graphic to the right is the issue that I am running into.  I create the column and hopefully I can use the lookup column with the title column AND THEN the additional fields for the Description!  It DOES appear, but AFTER I fill out the form. 
    The form is on the left part of the graphic below.
    I see the server names or "Title" but I can't even "hover" over it and see the description!  I don't know how to present the description lookup in the form when I do "new item."  Is this something that 2010 / 2013
    can do and OOTB or do I need designer? I don't code so I can't use VS.
    Thank you!
    Matt

    Thank you, I created a calculated column, using Microsoft's recommendations below, and Scott's!
    Calculated Field Formulas -
    http://msdn.microsoft.com/en-us/library/bb862071.aspx
    The result shows below.  the 3rd column is the Server and Description, with the calculated column, "merging" the two text into one, with a space and a dash in the middle to separate them.  The list is below and the "look up".  The black section
    is my new form or add new item, where I would select multiple servers based on their server name and their description.

  • Inner join and select for all entries with respect to performance

    Hi Friends,
    I just want to know which is more efficient with respect to performance the Inner join or select for all entries?which is more efficient? and how? can you explain me in detail ?
    Regards,
    Dinesh

    INNER JOIN->
    The data that can be selected with a view depends primarily on whether the view implements an inner join or an outer join. With an inner join, you only get the records of the cross-product for which there is an entry in all tables used in the view. With an outer join, records are also selected for which there is no entry in some of the tables used in the view.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21ec77446011d189700000e8322d00/content.htm
    FOR ALL ENTRIES->
    Outer join can be created using this addition to the where clause in a select statement. It speeds up the performance tremendously, but the cons of using this variation are listed below
    Duplicates are automatically removed from the resulting data set. Hence care should be taken that the unique key of the detail line items should be given in the select statement.
    If the table on which the For All Entries IN clause is based is empty, all rows are selected into the destination table. Hence it is advisable to check before-hand that the first table is not empty.
    If the table on which the For All Entries IN clause is based is very large, the performance will go down instead of improving. Hence attempt should be made to keep the table size to a moderate level.
    Not Recommended
    Loop at int_cntry.
    Select single * from zfligh into int_fligh
    where cntry = int_cntry-cntry.
    Append int_fligh.
    Endloop.
    Recommended
    Select * from zfligh appending table int_fligh
    For all entries in int_cntry
    Where cntry = int_cntry-cntry.

  • Joins and use FOR ALL ENTRIES

    Two questions :
    <b>(1) I use join with for all entries: the performance will go down?:</b>
    SELECT t1~MBLNR t1~MJAHR ZEILE BUDAT
    INTO TABLE gt_mseg
    FROM MSEG as T1 INNER JOIN MKPF AS T2
    ON T1~MBLNR = T2~MBLNR and
       T2~MJAHR = T2~MJAHR
    FOR ALL ENTRIES IN gt_coss
    WHERE  T1~MJAHR = gt_coss-GJAHR AND
           T1~AUFNR = gt_coss-aufnr AND
           ( BWART = '261' OR
             BWART = '262' ) AND
           T2~BUDAT IN r_budat.
    <b>(2)  With "For all entries", if itab is too long, performance will go down?. In affirmative case. What  can I do?</b>

    Hi Jose,
    You'll have to make sure your global table gt_coss isn't empty.
    A nasty little habit of the IN statement (for all entries is a kind of IN statement)
    is that when it is empty, the system selekts all records.
    You might know this when u use Select-Options in your statement (like r_budat).
    Also there is an OSS note on he for all entries (531337) problems on i-series database.
    Greetings Fred.

Maybe you are looking for

  • FtpAdapter deploy problem ORABPEL-09903

    Hi, What's wrong with my configuration of the FtpAdapter ??? I've configured the FTP Adapter in the following files : * $ORACLE_HOME/j2ee/OC4JINT/application-deployments/default/FtpAdapter/oc4j-ra.xml * $ORACLE_HOME /j2ee/OC4JINT/connectors/FtpAdapte

  • How can I reinstall Bluetooth drivers after loading windows 7 64 bit version on my 2010 iMac?

    I have just uninstalled windows 7 32 bit version which I have been using for ages and upgraded to the 64 bit version. I did this from the windows partition in my bootcamp divided hard drive. I then reinstalled the drivers using the application DVD wh

  • Photoshop CC (64 bit): Entry Point not found

    Hi, Just updated the Photoshop CC (64 bit) and after update the whole thing does not work anymore. When you try to start Photoshop CC you get an ugly message stating: Photoshop.exe - Entry Point Not Found The procedure entry point ?ProposeSearchBound

  • Safari upgrade will not give access to plug ins

    I did the most recent upgrade to safari, I play a couple facebook games and they all work except one.  It will not load the page since the upgrade.  I can not find "global settings" in my adobe flash to change any settings.  not sure what I am doing

  • Why is text2d and text3d so slow?

    Recently i started timing operations in a game I am writting to find out where the bottlenecks were. Most of the delays I found made sense but I was suprised to find that writting text (2d or 3d) to the screen took an unacceptably large amout of time