Retrieve item-descriptor name from SKU id ...?

Hi All,
i want to retrieve item-descriptor name for the given SKU id..? Could you pls tell..?
Thanks,
Vishnu

Hi,
With ATG 10, this method is replaced by getItem(String,String). If the second argument, i.e. the descriptor name is unknown, then use getItem(String,getDefaultViewName()).
So you can use,
repository.getItem(skuId,repository.getDefaultView()).getItemDescriptor().getItemDescriptorName();
Hope this helps.
Thanks,
Gopinath Ramasamy

Similar Messages

  • How to retrieve the parameter names from a JSP page ? Urgent Please

    Hello,
    Can anybody tell me how to retrieve the parameter names from the JSP
    page. (without using getParameterNames() method.)
    The problem with the getParameterNames() method is I get the Jumbled output.
    I need it very badly
    With regards
    Ananth R
    email:[email protected]
    [email protected]

    Dear duffymo,
    My primary intention is to convert the JSP form information into a XML file.
    If I do not get the Parameter names in the correct order how can I maintain
    tag order in XML file.
    For ex: (JSP PAGE VIEW)
    Name--
    FirstName
    MiddleName
    LastName
    Address--
    Street1
    Street2
    City
    Country
    &so on
    (XML File to be generated)
    <Name>
    <FirstName>Value</FirstName>
    </Name>
    <Address>
    <street1>value</street1>
    </Address>
    & so on
    If I use getParameterNames() to get all the parameter names(Which form the tag names in the XML file ) the Enumeration object it returns will not be in the same order as the text fields in JSP.From this I can not construct a meaningful XML file.
    order means: Order of entry on the page, from top to bottom
    That's it
    Waiting for your responses

  • "Automatically retrieve CD track names from internet" not working

    I'm about to begin re-ripping all my CDs (400+) which I haven't done since at least 14yrs ago in order to take advantage on newer/better formats. I was excited to see that iTunes can automate a lot of this process with the following two options:
    - When you insert a CD: (Import CD and Eject)
    - [ ] Automatically retrieve CD track names from internet
    Found in the "Playback" settings of iTunes 10.1.1
    However after inserting my first CD, I noticed it started to import without downloading the track names first. Obtaining track names manually is working for me because if I choose "Advanced -> Get track names" it accesses Gracenote DB and works fine.
    It's just the automatic operation after inserting a CD that is not working. This causes me to have to:
    1) Insert CD
    2) Choose "Advanced -> Get track names"
    3) Click "Import CD"
    4) Eject
    as opposed to the one supposedly promised step of "Insert CD" and have the other 3 things happen automatically.
    I've tried deleting my iTunes plists in my ~/Library/Preferences/ folder but it still works the same.
    Any suggestions?

    You can seach the Gracenote site directly. I don't know if that would help you decide which option you needed to use.
    http://www.gracenote.com/music/index_old.html

  • How to Retrieving Mandatory Filed name from Tcode.

    Hi,
    I need to retrieve mandatory field names from tcode like (mm01)  using abap programming..
    How to find that field name is mandatory?
    Thanks and Regards,
    Meena

    Hi Meena,
    I guess you need to manually find it out and make z-table which can be used for further logic.
    Once you have table for required fields, you can even add/remove any field depending on your requirement.
    I also faced the same issue and we maintained it in ztable as follows.
    MANDT  
    FIELDNAME   
    STATUS
    For STATUS , create fixed domain values as "REQUIRED", "HIDDEN", "GRAYED OUT".
    I hope this will help you.
    Regards,
    Rahul Mahajan

  • Retrieve authenticated user name from environment

    Hi All,
    I'm connecting to Oracle from C++ using OCCI API. At the same time, the database authentication is based on secure Oracle Wallet feature.
    conn = env->createConnection("","",connection_string);
    Now, after I've created connection can I retrieve user name from the environment or connection object without querying database?
    Thank you.

    Hi Patrick,
    I'm just trying your code example in Eclipse but it gives me plenty of errors so I guess I'm not importing the right libraries or so.
    My goal was to write just a simple response.write of the userID stored in the cookie...
    The first error appears in the "ticket.setCertificates(this.certificates);" line, saying that "certificates cannot be resolved"..
    Here's what I used :
    import com.sapportals.portal.prt.component.*;
    import com.sap.security.*;
    public class cookie extends AbstractPortalComponent
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
              try
              com.sap.security.core.ticket.imp.Ticket ticket = new com.sap.security.core.ticket.imp.Ticket();
              ticket.setCertificates(this.certificates);
              ticket.setTicket(base64Value);
              String vali = ticket.toString();
              ticket.verify();
              if (ticket.isValid())
              info = new SAPTicketInfo(ticket.getUser(),ticket.getSystemID(),ticket.getSystemClient(),ticket.getExpirationDate(),ticket.getCodepage());
              response.write (info);
              else
              throw new TicketVerifierException("Ticket is invalid ");
              catch (Exception ex)
              throw new TicketVerifierException("Error in verifying ticket "+ex.getMessage(),ex);
    What am I missing ?

  • How can we retrieve the Group name from oid?

    Hi:
    In following request object, we can get all the user related information from oid except group name where a particular user belongs to.
    For instance user id, first name, last name and email etc but we could not get the group name.
    PortletRenderRequest pReq = (PortletRenderRequest)
    request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    pReq.getUser()……
    Please advice, how I we get the hold of group name from orcldefaultprofilegroup (oid)?
    I would really appreciate your reply.
    Thank you.
    - Ali Raza.

    I am not sure about the PDK API to get the group name. But using LDAP API its easy to get the User Group.
    If you find the answer to get the group name using PDK API, Please update in forum. It will really help others.
    --Balaji S                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • How to retrieve various file names from a filepath of application server

    Hi All,
    I am using a FILEPATH  of application server which can have multiple file names i want to retrieve data from all the existing files.
    i am using FM "GET_NAME_FILE" but it is applicable only for file name.
    so my question is how to fetch various file names of particular filepath.
    Thanks in advance.

    Hello Mayank,
    You can use the below FM and code
    PARAMETERS: p_file TYPE rlgrap-filename.
    ***AT Selection-Screen*******
    AT SELECTION-SCREEN ON  VALUE-REQUEST FOR p_file.
    ***Function  module for F4 help from Application  server
      CALL FUNCTION '/SAPDMC/LSM_F4_SERVER_FILE'
    * EXPORTING
    *   DIRECTORY              = ' '
    *   FILEMASK               = ' '
       IMPORTING
       serverfile             =  p_file
       EXCEPTIONS
       canceled_by_user       = 1
       OTHERS                 = 2
      IF sy-subrc = 0.
        MESSAGE 'Successful'  type 'I'.
      ENDIF.
    Regards,
    Mithun Shetty

  • Retrieving multiple column names from a Primary/Export key ResultSet

    ALTER TABLE "APP"."FLIGHTAVAILABILITY" ADD CONSTRAINT "FLIGHTAVAIL_PK" PRIMARY KEY ("FLIGHT_ID", "SEGMENT_NUMBER", "FLIGHT_DATE");
    I am looking at the above statement and from the DDL statements of the database i am working with and the most information I can get out of the meta data is this
    APP FLIGHTAVAILABILITY FLIGHT_DATE 3 FLIGHTAVAIL_PK
    How important are the other two columns to this primary key
    same for the export key meta data
    FLIGHTAVAILABILITY FLIGHT_ID 1 3 3 FLIGHTS_FK2 FLIGHTS_PK 7
    yet
    ALTER TABLE "APP"."FLIGHTAVAILABILITY" ADD CONSTRAINT "FLIGHTS_FK2" FOREIGN KEY ("FLIGHT_ID", "SEGMENT_NUMBER") REFERENCES "APP"."FLIGHTS" ("FLIGHT_ID", "SEGMENT_NUMBER") ON DELETE NO ACTION ON UPDATE NO ACTION;
    there are 2 columns referenced for the Foreign key to be generated and I can only retrieve info for the one foreign key.

    Apologize above is duplicate post ignore this post

  • How can i retrieve Items and Dates from an specific Service Order in a Report?

    Hi Partners,
    i was debbuging a lot without a good solution,
    My team develop a new report (SE38 Report)  to list on the screen an specific Service Order (BTQSrvOrd) with their corresponding Items & Dates (BTHeaderDates)
    Here is my code (Attached on Message), i reach the data of the service order but i need to get the children information for Items & Dates but i saw thar those 2 types are in a 4 lower level and it's a little difficult to access througt code.
    Regards.

    Let me get this straight.....You lost your phone.  You never backed it up, either to your computer or to a cloud service.
    How in the world would you expect to get data back?

  • Retrieve file name from full file path

    I am trying to retrieve a file name from a path (ex. c:\temp\tes.txt) using the following code, but it is given me an error of "The method split(String) in the type String is not applicable for the arguments (char).
    {code}
    String filepath = item.getName();
    String[] buf = filepath.split('/');
    String filename = buf[buf.length-1];
    {code}
    I tried to use double quote instead of single quote, but it is not returning anything.
    {code}
    String[] buf = filepath.split("/");
    {code}
    Anyone knows why? Thanks.

    How is this related to JDBC?
    Anyway, is the path separator actually a forward slash? Isn't it a backward slash?
    If you're using Apache Commons FileUpload (which I guess, the 'item.getName()' is recognizeable), then just read their FAQ: [http://commons.apache.org/fileupload/faq.html#whole-path-from-IE].

  • Retrieve applications name from config.xml

    Hello everybody.
    Is there a way to retrieve all applications name from config.xml?
    Is there a HelperClass from BEA to do this task for me?
    Thanks.

    Please make reference to WebLogic MBean at
    http://e-docs.bea.com/wls/docs81/jmx/index.html
    <Denilson Marcos> wrote in message news:[email protected]..
    Hello everybody.
    Is there a way to retrieve all applications name from config.xml?
    Is there a HelperClass from BEA to do this task for me?
    Thanks.

  • Invalid Item Descriptor

    Hi All,
    My requirement is to add a configurable sku to another configurable Sku.For that,i've created a childSubSkuCommerceItem(which can hold child skus by implementing commerce item container) in order tools,commerceItemType map.
    It is giving me a invalid item descriptor name
    For eg:
    cim.createCommerceItem("-childSubsSkuCommerceItem-",other parameters)
    So, it is saying that childSubSkuCommerceItem is invalid item descriptor name.
    If anyone can help on this,kindly,tell me.
    Regards,
    K

    check for spelling mismatch - i see an extra "s" here
    cim.createCommerceItem("-*childSubsSkuCommerceItem*-",other parameters)

  • Can't automatically retrieve CD track names after upgrade to 9.0.2

    I can't automatically retrieve CD track names from Internet after upgrade itunes to 9.0.2. Is it a bug for this update or I did something worng. I am using macbook pro with 10.5.8. Thanks.

    I have exactly the same problem. The MP4 files are valid and I'm using the same application to create them as I always did. I drag the MP4 file to itunes and nothing happens. If I use "Add File" or "Add Folder" nothing happens. If you find a fix, let me know because this is a major impact to me as well!

  • Retrieve item level dates during service order creation before saving

    I have a requirement where I need to retrieve item level date (First Response i.e. APPT_TYPE as SRV_RFIRST) and modify the date and put it back to the same screen field when ever a line item is entered.
    To do this we found a BADI CRM_SERVICE_I_BADI which triggers when ever we enter line item. We tried many FM which retrieves item level dates from buffer CRM_DATES_READ_MULTIPLE_OB; CRM_DATES_READ_SINGLE_OB;
    CRM_DATES_READ_SINGLE_OW;
    Most of them are returning all the dates except first response. No configuration issues. Can anyone help me how to get the first response date during creation.
    Thanks
    Vamsee

    Hi Vamsee,
    Do you happen to know the solution? We have similar issue too as we can not retrieve the new entered dates and process it in BADI CRM_SERVICE_I_BADI.
    I would appreciate your reply if you have a solution.
    Thanks,
    Bin

  • How to Query the Summary Name from Custom Section Row Header Information

    I need a query that can help me retrieve the summary name from a custom section row header information.  We have a couple of Denorm tables that when the data is denormalized, the row_name field is only showing the denormalized alias name.  We would like to be able to pull the summary name from the row header information section?  How can we use the denorm alias name and join it to another table to find the associated summary name?

    The following query returns the row name as well as the denorm row name, for a given custom section, where we specify the custom section by the denorm table. You oculd do this in other ways, it just depends on how you want to retrieve the information. Is this what you are looking for?
    SELECT ml.Name [rowName], ml.langID, dr.NAME [denormRowName], dr.FKROWTEMPLATE, dt.GENERATED_TABLE_NAME
    FROM DENORM_CS_ROW dr
    inner join DENORM_CS_TABLE dt on dr.FK_DENORM_TABLE_ID = dt.ID
    inner join commonextendedattributeml ml on dr.FKROWTEMPLATE = ml.fkOwner
    where dt.NAME = 'myDenormTableName'

Maybe you are looking for

  • I am unable to convert certain files to pdf with Adobe Acrobat 8 Professional

    I am unable to convert Word & PowerPoint files to pdf.  (I am able to convert image files & excel) I have enable macros in Word and still cannot convert the file.  I am getting the error popup: Unable to open the document Please check to see if you h

  • Why can I only write the samples to read during continuous acquisition?

    I am acquiring analog voltage signals and attemting to write to a text file when condition is true, thus there is continuous acquisition. However, the written files only contain 100 samples (the size of my buffer).. I need my files to read samples un

  • How to Increase Spacing between characters in textfield

    Hi Guys, I need some kind of solution. I have a textField which I am using to getPassword( I don't want to use JPassword Field) because of older JVM. suppose TextField is 15 characters wide and number of charactes I want to allow is 5 so I want an "*

  • Enabling Firewall breaks Bonjour name resolution (and other problems)

    Hi there, I thought I had a simple setup but trying to enable VPN & Firewall has shown me there are some issues I need help with: Setup: MacOS X Server 10.5.8 on MacPro - Machine is Mobile Account Server for 5 other machines connected to network - DH

  • How ro create a new database ?

    hi friends i logged in to the oracle enterprise manager . using the Global database name and scott and tiger . How can i create a new databse using enterprise manager i am using ORACLE 9i thanks & regards