How to attach DynamicVo attribute to messageStyledText item

Hi all,
How to attach dynamic VO attribute to a messageStyledText item
i have used below code, but iam getting error as Definition of type 'meaning' not found
public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
super.processRequest(oapagecontext, oawebbean);
OAApplicationModule am = oapagecontext.getApplicationModule(oawebbean);
String sqlStr = "select meaning from FND_LOOKUP_VALUES where lookup_type='IRC_DOCUMENT_TYPE' AND meaning not like 'System Generated Resume'";
ViewObject cvo = am.createViewObjectFromQueryStmt("xxDocUploadVO18", sqlStr);
cvo.executeQuery();
cvo.first();
OAMessageStyledTextBean empno = (OAMessageStyledTextBean)createWebBean(oapagecontext, MESSAGE_STYLED_TEXT_BEAN, null, "xxAttachmentTypeID");
empno.setViewUsageName("xxDocUploadVO18");
empno.setViewAttributeName("meaning");
empno.setPrompt("Employee ID");
the query in the dynamicVO has only one column, so iam assigning it to a webBean .i dont know why the error was coming.
Regards

Hi,
Check below links:
http://anuj-oaframeworkblog.blogspot.in/2009/09/create-run-time-vo-in-oa-framework.html
http://mystuffoaf.blogspot.in/2012/01/idea-how-to-create-vo-and-vl.html?zx=162ece8ad09e81b1
--Sushant                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • How to attach documents to service order item

    Hello all,
    can anybody of you tell me how I can configure my system in such a way that I can attach a document in transaction IW32/IW31 to an operation of the order?
    Currently I can attach a document to the service order sm01 with
    System>Services for object>Create Attachement.
    But then the document is not related to any operation of the order.
    Thanks in advance for your help and regards,
    Rolf

    >
    Rolf Kasel wrote:
    > Hello Meylene,
    >
    > thanks for your hint. I think this is a good Idea. But if I have a ressource - where can I assign it to my operation?
    > And can I add the ressource in a maintenance plan also to the planned operations?
    >
    > Thanks in advance,
    > Rolf
    assigning it is easy -once you went through the setup process- there's a little icon in your service order (tabstrip 'operations') with a hammer and another tool in it - bottom right corner.
    i'm sorry i know next to nothing about maintenance plans but are they not created using general task lists?. then we would be back to my suggestion from earlier to attach them there. but i'm pretty sure you will find all the documentation on help.sap.com. it'll be worth your time, just you try it.
    i forgot a little piece of information in my last post: GOS is a tool that connects your backend (R/3 or whatever) to your frontend in some ways ... that's why you don't get it on item-level. if you are using production ressources it's a 'backend-only' feature. you see, you can use GOS to display the IDOC that created your service order but since an IDOC creates the complete order ... you have another viewpoint of hierachy with GOS ... and while we're at it: GOS is not available for users of type 'service'. check in SU01 for that setting. browse the SDN security forum - we discussed GOS more often lately.

  • How to attach Sales Person and add Items

    Hi all,
    Please Help.
    I am not able to attach Sales Person with my customer, this
    field is disabled at this level. If I try to attach it at ship
    to /bill to level only the default value is displayed. I have
    added many sales person.
    I want to add new item. what should i do?. I have added the
    items through AR but this is not displayed in the line level?
    What should i do?
    We have Multi-org setup.

    You will have to write an extensive customization that will work similar to planning engine.
    It will have to look at order quantity and then look at onhand, reserved onhand, min-max quantities, safety stocks, move orders etc etc and then create a job if necessary.
    Are you sure you want to do it this way?
    Hope this helps
    Sandeep Gandhi
    Omkar Technologies Inc.
    Independent Techno-functional Consultant
    513-325-9026

  • How to attach a PDF document to work item .---urgent

    Hi EXperts ,
      I am wanted to know how to attach a PDF document to my work item which i will be geneating . Pls let me the Method coding to be done so that I can send the attachment also when the work item is generated ..
    What is need to pass to Workflow container ...
    Regards
    Abhilash

    Ah ok,
    then the only way I know is to get hold of some one with skills in Smart Forms, and alley up with them. Or better yet, use it as an excuse to learn to do it your self
    With a Smart Form, you can parse data into it, create the file, and then use the GOS functionality to attatch it to your BO. All this in back ground!
    Kind regards
    Mikkel

  • How to display the Attachment(picture) on the list item page?

    I have attached a picture to the list item and then when I click the item, there is a link of the attachment but not the picture graphics! I want to display the picture on the list item page and how to do it?
    I am a beginner of SharePoint 2010 and my English is not very good! Thanks!

    Hi,
    Using few easy steps you can set image in your out of the box List View, Edit and View Item Page.
    1. Create one Picture type Column in your list.
    2. Just create one Event Handler with Item
    /// <summary>
    /// An attachment was added to the item.
    /// </summary>
    public override void ItemAttachmentAdded(SPItemEventProperties properties)
    base.ItemAttachmentAdded(properties);
    SPListItem item = properties.ListItem;
    //SPAttachmentCollection attach = item.Attachments;
    string attachmentUrl = item.Attachments.UrlPrefix + item.Attachments[0];
    item["PictureColumnName"] = attachmentUrl;
    item.Update();
    Now, just add item with attachment and you will see attached image in Picture Column field.
    Manoj | SharePoint

  • How to attach questionnaire to initiative/item against a specific field?

    Hi All,
    How to attach a questionnaire for a specific field for an intiative/item in contxt to xRPM
    Regards
    srikanth

    Hi,
      If you have completed the activity 'Define Questionnaires' under SAP xRPM -> Global Customizing -> Process and Service Settings, you should have the questionnaires displayed in the portal. If not, do the following.
    1) Check that you have attached the questionnaire for the correct object type in the 'Define Questionnaires' activity.
    2) In the previous activity, 'Define Services', check that the questionnaire service is linked to an object type correctly.
      If these 2 activities have the correct configuration, then you should be able to see the questionnaires in the drop down.
    Best Regards,
    Prashanth

  • How to attach F4 Help for a field in Items Overview in ME21n (PO Creation)

    Dear All,
    Can anyone pls suggest me how to attach F4 hlp for this (Field is BEDNR).
    Best Regards.

    Hello,
    I'm relatively new in ABAP, and i have the same problem with yours, only in a different field. My company wants to have a search help in Requirement Tracking No. (BEDNR) in table EKPO.
    Can you tell me what was your solution?
    I tried to attach the existing search help to field BEDNR, but i can't.
    Edited by: ellainne22 on Oct 4, 2011 4:34 AM

  • How to add a LOV to an item as new attribute

    Hello,
    Is there a way to add a List Of Values (LOV) as an attribute to an Item?. I want to have an attribute which only a list of possible values to choose. Any idea?
    Thanks in advance,
    Izzat Sabbagh
    ITC

    Izzat,
    Take a look at Inserting a LOV as an item attribute?.
    Peter

  • Item Attributes which control item coming to HTML quoting

    Please let me know which item attributes will control item availablity in quoting

    In Item Master Form, we have noticed Item field and description field. My questions are as follows:
    Q1) How to know the field is flex field or not? When we examine the field, we are not sure whether the field is flex or not.
    There are 2 types of flexfields. Key Flexfield (such as the item number itself) and descriptive flexfields. Descriptive Flexfields are the fields that pop up when you click on the beer mug next to the description.
    Q2) Is Item Field a flex field? If yes how to create Item field as segment base (with List of Values as my example mentioned above). If Item field is not flex field can we make it Flex field without customization
    Item # is a key flexfield. You define a value set and assign the value set to the Item KFF segment1. Typically, the value set would simply define how many characters can it have, if it will have numbers only etc.
    Q3) Is Description a flex field? It appear to us it is flex field. If yes how to change the segments of that, and make them as list of values as my example above.
    No.
    Q4) In Item catalog, we have seen “Catalog Group”, is this a flex field?
    No
    Q5) In the Item catalog form, on the Catalog Group. We have seen some descriptive elements. These are look like attributes of the Item, and we have seen these are link with Catalog Group. My question is, how can we make these Descriptive elements as List of Values? Which means we don’t want to each time type the values rather select the values. So this will solve our problems as example I mentioned above.
    There is no out of the box way to attach LOV to Catalog element values.
    It is good that you are trying on your own but I would suggest brining in a good consultant who can make this easier and faster for you.
    Sandeep Gandhi
    513-325-9026

  • How to display multiple attachments in UWL item in portal?

    HI,
    How to display multiple attachments in UWL item in portal?
    I want to display more than one attachment in UWL body,present its dispalying one attachment.
    Pls help on this
    Thanks,
    Bheem
    Edited by: v bheem on Aug 4, 2009 3:10 PM

    Hi,
    Are you able to manage this! Pls do let us know if you have done any configuration changes!

  • How to attach Task List in Notification

    Hi all
    How to attach Task List in Notification?
    Thanks.

    List item is forms is generally used when you have pre-defined set of values. you can define them property of list item.
    It seems you have dynamic list of values to be displayed on your form, instead go for a text item with a LOV. You can define your logic to get list of values in record group.
    Thanks
    Rishi

  • How to attached Two file in Email.

    Dear Friends,
    i have an email optoion in my Application .But right now it send mail with out attchment.i want to send meil with attachment .
    i have Two File browser item to attach file ,Please tell me how can i attach these two file with email
    My Code is
    DECLARE
    l_id number;
    to_add varchar2(1000):=:P1_TO;
    from_add varchar2(1000);
    l_body varchar2(4000):=:P1_DESCRIPTION;
    l_sub varchar2(1000):=:P1_SUBJECT;
    BEGIN
       select email_id into from_add from user_master where user_id=:app_user; 
       l_id:=APEX_MAIL.SEND(
            p_to        => to_add, -- change to your email address
            p_from      => from_add,
            p_body      => l_body,
            P_subj      => l_sub);
      COMMIT;
    apex_mail.push_queue(
    P_SMTP_HOSTNAME => '102.111.0.9',
    P_SMTP_PORTNO => 25);
    commit;
    END;How to attached two file in email .
    How can i do this.
    Thanks

    hI,
    thanks to reply me.
    It's REGARDS .
    eg.
    if i am sending any mail then in Bottom of Email Body My Name and Contact No Should be Display.
    Thanks

  • Visual attribute for current item

    How can i set the visual attribute of the current item in multi block form so that when user navigate through item in a form its background colour is changed and user can easily trace where the cursor is ?

    1- I have three list box on the form as well so whether post-text-item works over therei have no issues with this and it is working fine in my forms list box
    2- and i have 3 datablock among which 2nd and thid datablock is multirecord datablock where i set current record visual attribute so what is the behaviour @ run time either current record Visual attribute override current item VA or it works fine
    it is working perfectly in multi record also..you need to remember in post text trigger use the same visual attribute used for current record visual attribute

  • How to attach f4

    how to attach f4 value request for selection screen as subscreen. The values is not coming for selection screen field.
    looking for help
    Regards,
    Satya Vani

    Hi satya,
    You can use this syntax to implement the select-option:
    1. SELECT-OPTIONS sel FOR f.
    2. SELECT-OPTIONS sel FOR (f).
    Declaring a variable selection option
    Objects defined using this statement can have two purposes:
    In reports (programs with type 1 in the attributes):
    You can execute reports with the SUBMIT statement. The statements SELECT-OPTIONS and PARAMETERS determine the technical interface and the user interface. The parameters and selection options you specify are displayed on the selection screen for the user to enter values (see also the addition NO-DISPLAY or SUBMIT without the addition VIA SELECTION-SCREEN.
    In all programs (except subroutine pools, that is, programs with type S):
    Program-internal objects, that are filled at runtime by user input on selection screens. The SELECT-OPTIONS filled in this way can then be used in the WHERE clause of a SELECT statement for selecting data.
    Notes
    sel may be up to 8 characters long.
    <b>This statement defines an internal table sel with a fixed structure which consists of the fields sel-SIGN, sel-OPTION, sel-LOW and sel-HIGH. While sel-SIGN and sel-OPTION have a fixed format (type character, length 1 and 2 respectively), sel-LOW and sel-HIGH inherit the type and length of their reference field f in variant 1.</b>
    sample code :
    DATA SBOOK_WA TYPE SBOOK.
    SELECT-OPTIONS FL_DATE FOR SBOOK_WA-FLDATE.
    INITIALIZATION.
      MOVE: 'I'      TO FL_DATE-SIGN,
            'EQ'     TO FL_DATE-OPTION,
            SY-DATUM TO FL_DATE-LOW.
      APPEND FL_DATE.
      MOVE: 'BT'       TO FL_DATE-OPTION,
            '19960101' TO FL_DATE-LOW,
            '19960630' TO FL_DATE-HIGH.
      APPEND FL_DATE.
    Note :
    You can use this addtiton to your statement for your requirement :
    <b>... VALUE-REQUEST FOR LOW/HIGH</b>
    Effect
    This addition is allowed only for database-specific SELECT-OPTIONS in the include program DBxyzSEL (where xyz = logical database name). It allows you to implement self-programmed value help. (To implement self-programmed value help for report-specific SELECT-OPTIONS, you can use the event key word AT SELECTION-SCREEN ON VALUE-REQUEST FOR ....) If you specify only VALUE-REQUEST (without FOR ... ), the value help refers to both input/output fields of the SELECT-OPTION (i.e. to sel-LOW and sel-HIGH). Otherwise, it refers only to the specified field. The addition has two effects:
    The affected input/output fields are displayed on the selection screen with the pushbutton for F4 (possible entries).
    <b>When the user presses this button or F4</b>, this triggers the FORM routine sel-LOW_VAL or sel-HIGH_VAL in the database access program SAPDBxyz (if it exists). If this addition is specified - and even if the SELECT-OPTION with FOR points to a Dictionary field - this FORM routine is executed when the user presses F4 and the check table or the fixed values of the Dictionary field are not displayed. You can, for example, branch from the routine sel-LOW_VAL or sel-HIGH_VAL to a function module which offers a selection list of possible values. At the end of this FORM routine, the contents of the field sel-LOW or sel-HIGH are copied to the appropriate input/output field.
    Example
    INCLUDE DBXYZSEL
    SELECT-OPTIONS S_PTYPE FOR SAPLANE-PLANETYPE <b>VALUE-REQUEST FOR LOW.</b> ...
    REPORT SAPDBXYZ DEFINING DATABASE XYZ.
    TABLES SAPLANE.
    FORM S_PTYPE-LOW_VAL.
      CALL FUNCTION '...'.
    ENDFORM.
    Thanks and Regards,
    Kunal.
    Message was edited by: Kunal Kumar

  • Can any one tell me how to attach a pdf file to the mail through workflow

    I have a smart which i am able  to convert it to a pdf file...now.. can any one tell me how to attach a pdf file to the mail through workflow

    Hi,
    To create the task for attachment
    Use the BOR SELFITEM and method NOTES_APPEND.
    The out come of this task contain a link called attachment with a clip attached. Clisk on that icon and choose the type of attachment u want . RAW , EXCEL , TXT , PDF... Then using the import icon u can attach the document u like.
    But the TYPE : OBJ.
    Similarly using NOTE_DISPLAY method u can display the documents u like.
    In any work item u have the facility to attach any atttchment for further circulation .
    Attchment @ WORKITEM
    1.Click the workitem for which you want to create the attchment
    2.Press create attachment
    3. Add the attachment u like (PDF)
    Reward points for useful answer.
    Richard A

Maybe you are looking for

  • Multiple users under one itunes account

    I have multiple mac's (both desktops and laptops) as well as multiple iphones and ipads at home.  I am limited in itunes to only 5 devices - what should i do?  set-up a different itunes account for my kids (but then they will not be able to access th

  • Batch Sequences can't convert 10.000 pdf-files at one time

    I have Acrobat Professional 7.0 and I am running on Windows XP. To convert from PDF to EPS I am using Advanced - Batch processing - Batch Sequences. Every week I have around 5.000 PDF-files which have to convert to EPS without any problems. Sometimes

  • Progress bar question

    i am loading a .jpg into a holder movie clip. easy enough. but i want a progress bar that will show the progress then go away when it is complete. im trying to use an if statement to get it to disappear, but i dont know what i should put in the if pa

  • Windows Performance Monitor Counters

    There are no Windows Performance Monitor Counters for CF10? Thanks, Carl.

  • Ipod touch working with a computer using linux Ubuntu os

    I own an Ipod touch and I am thinking of buying a Dell laptop with a linux Ubuntu operating system. Does any know whether I can down load music off of a CD onto this type of computer and then load it onto my Ipod?