Help Needed in Input Value Help of Custom Set attribute

Hi All,
We have maintained value table for custom set type attribute. We generated UI configuration for this set type and brought it into the web UI. But, we did not get the value help on the UI.
We are trying to get the value help by implementing the BADI crm_prdgenset_valuehelp. This BADI returns object of type cl_bsp_wd_valuehelp_f4descr.
PFB the code that is showing up the Value help icon but it is not showing any values.
  DATA: lv_valuehelp_descriptor type ref to cl_bsp_wd_valuehelp_f4descr.
*    lv_fname_prefix = 'STRUCT'.
   ls_map-context_attr = component.  "ZCSDR_PRD_CLS
   ls_map-f4_attr = 'KEY'.
   INSERT ls_map INTO TABLE lt_outmap.
   INSERT ls_map INTO TABLE lt_inmap.
   CONCATENATE 'ZCSDR_CLS' 'ZZ0010' INTO lv_help_id SEPARATED BY '-'.
   CREATE OBJECT lv_valuehelp_descriptor
     TYPE
       cl_bsp_wd_valuehelp_f4descr
     EXPORTING
       iv_help_id                  = lv_help_id
       iv_help_id_kind             = if_bsp_wd_valuehelp_f4descr=>help_id_kind_comp
       iv_input_mapping            = lt_inmap
       iv_output_mapping           = lt_outmap
       iv_trigger_submit           = ABAP_TRUE.
   rv_valuehelp_descriptor = lv_valuehelp_descriptor.
Any pointers on this is really helpful.
Thanks,
Udaya

Hi Chand,
Sorry for the late response. As far as i recollect, i guess we have enhanced the setter getter methods and written logic in the get-v method.
Let me know if the issue is resolved.
regards,uday

Similar Messages

  • Help needed urgently--F4 value help

    Hi..
    I have a requirement to get the current partner function (attr PARTNER_FCT value) selected from the sales team list so that i could provide value help for the particular partner function.
    I had created a class and implemented the interface method RETRIEVE_CUSTOM_VALUES to achieve this.
    But i am facing  a problem to get the current partner function selected manually from combo.
    I am using an iterator to get the line items. But the variable is not reflecting the currently selected PARTNER_FCT value, but instead it has got the previous saved value.
    The global variable where i am storing teh attribute PARTNER_FCT value is of static type.
    Why is this happening?
    Any helpful pointers would be appreciated and rewarded...

    Hello,
    for F4 help implementation you can look at component IUICMD view SearchAccount.
    Open context node SEARCH Attribute Struct.City1.
    It has two method implementations:
    GET_V_CITY1 and GET_P_CITY1
    GET_V_CITY1 implements f4 search help like this:
    METHOD get_v_city1.
      DATA:
        ls_map    TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping,
        lt_inmap  TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab,
        lt_outmap TYPE if_bsp_wd_valuehelp_f4descr=>gtype_param_mapping_tab.
      ls_map-context_attr = 'struct.city1'.                     "#EC NOTEXT
      ls_map-f4_attr      = 'MC_CITY'.                          "#EC NOTEXT
      APPEND ls_map TO: lt_inmap.
      ls_map-context_attr = 'struct.city1'.                     "#EC NOTEXT
      ls_map-f4_attr      = 'CITY_NAME'.                        "#EC NOTEXT
      APPEND ls_map TO: lt_outmap.
      ls_map-context_attr = 'struct.region'.                    "#EC NOTEXT
      ls_map-f4_attr      = 'REGION'.                           "#EC NOTEXT
      APPEND ls_map TO: lt_inmap, lt_outmap.
      ls_map-context_attr = 'struct.country'.                   "#EC NOTEXT
      ls_map-f4_attr      = 'COUNTRY'.                          "#EC NOTEXT
      APPEND ls_map TO: lt_inmap, lt_outmap.
      CREATE OBJECT rv_valuehelp_descriptor TYPE cl_bsp_wd_valuehelp_f4descr
        EXPORTING
          iv_help_id        = 'CRM_ISU_ADDR_CITY_NAME'          "#EC NOTEXT
          iv_help_id_kind   = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
          iv_input_mapping  = lt_inmap
          iv_output_mapping = lt_outmap.
    ENDMETHOD.
    It first maps the fields to the search help and then calls the search help.
    You can create a standard search help, base it on a view and use this coding to display it.
    Hope that helps,
    Lutz Morrien

  • OTL (Additional Input Value) help greatly appreciated

    Hi there,
    I have a requirement where we wish to use OTL for a front end to a number of allowances which require the population of additional input values on the element. These could be for example miles travelled or the method of travel.
    Does anyone know how this can be done?
    I am envisaging creating an element with the following input values :-
    Hours
    Multiple
    Rate
    Rate Code
    Miles
    I need the additional field to be displayed on the timecard. Does this require custom timecard templates? How do I make the additional field on the timecard populate the Miles input value when the time entry is transferred from OTL to BEE.
    Any advice on this would be very greatly appreciated.
    Many Thanks and have a great week
    Kev

    You need to follow these steps:
    1. Add the input values to your Element, check element link, include the element to your element set, run "generate flexfield process" with the above element set.
    2. Create mapping components for each of the new fields which you want to show on the timecard to let system know which column these attributes will get mapped to.
    3. Add the mapping components to your receiving application's Retrieval and Deposit process.
    4. Now modify your timecard layouts to show the additional fields you want to show.
    For detailed information, please ,follow the Note:207333.1
    Oracle Time & Labor Implementation and User Guide, Release 11i, September 2006

  • Heirarchy input value help

    Hi,
    Have been referring to the sap documentation for Heirarchy variable input which uses a
    webtemplate with a button element which shows the heirarchy value help in a html view.
    This actually works fine.
    But I have a variable form with an input field and wish to pass the value selected by means of this heirarchy value help as the input in the input form.How could I possibly do that .
    Rgds

    Basheer,
      Appreciate your quck response,had referred this earlier.But my query input variable is a
    heirarchy enabled variable ,while this refers to normal variables only .
    The value help here in the VC model only retrieves values for leaf nodes into the input form while for root nodes it shows "no applicable data" in the output table.
    The query executes fine on the BW side with proper output.Also while testing query in
    "Define/test query" in VC the query fails to execute . What could possibly be the problem?
    Thank You
    Rgds

  • Help needed to find right settings on custom built PC tower

    Hey guys, this is my first ever post on here, so i dont know what to expect.
    Well just recently i decided to build my own PC tower, for a complete noob, id say i did a relatively good job, with this in mind i know nothing about building PC'S and matching voltages and so on.
    they PC works with no errors, but i feel I'm just not getting my moneys worth out of it in performance, and to be honest i wouldn't know what a standard setting is on any of the hardware.
    My idea is to post some details of my system for you to look at, and hopefully, you could give me some ideas on how to change my BIOS settings safely, (IM NOT TRYING TO OVER CLOCK) all i want to do is get my settings set to achieve the stated  power that a shop advertises the parts at without overclocking, just by having the corrects values for the parts set in the BIOS.
    I hope from my pics you have all the info you will need.
    --I made your HW monitor images clickable.
      Mike
      MSI HQ Forum

    Quote
    Now that I have done this, i would like to get the full benefits from my hardware, by setting up my BIOS settings to gain the full benefits of the CPU AND RAM without putting strain on them. (If my RAM IS 4GB i want 4GB) OR 1333MHz I want it to run at 1333MHz and so on. but i don't know how to achieve this???
    Looking at your CPU-Z screenshots above, it looks to me as if your memory is already configured correctly, its already running at 1333mhz.
    Quote
    I feel that i am not getting the stated elements from my hardware at the min, my RAM seem slow,
    I use alot of DAW (Digital audio workstations) to create music, when using these my RAM is not very good, and the program stutters and stops when more RAM is being used.
    Is your software 64bit?

  • Re: Help needed in passing values from workflow to Approve Forms

    Dear Experts,
    how do I pass values from a workflow to a step (Form) - approve form?
    I am using a customized table structure as my data source (FORMCONTAINERELEMENT) but am stuck on how to access the data when i get to to the screen painter's flow logic... What am i missing? Can you give me a step by step example. the ones i see on the net are input fields that update the screen... nothing that shows value being passed from the outside.
    I need to pass an exisitng value in the workflow into the form for approval of the the assigned agent.
    Please help!!
    Thank you.

    Hello !
             Create a method just before the form step.This method should populate the values for the fields maintained in the form.
             Pass the values populated from this method to your customized table structure (data source).In other words, you have to pass all the values to the workflow container.
            To the step, pass this workflow container by binding.In the control tab of form step, you have to do the binding.
    Regards,
    S.Suresh

  • Help needed in pre populating emailform with custom attributes

    Hi All,
    I have a requirement where in I am trying to pre-populate Service Request Information(Service Request Number, Priority, Emp responsible) on mail forms when the user selects Email workcenter and the relevant Mailform.
    Steps I have done:
    Created a custom Structure with Service Request Number, Priority, Emp responsible
    Added the structure under MAINTAIN ATTRIBUTE CONTEXTS FOR MAILFORMS
    This helped the newly added fields appear in the mailforms.
    Create a custom class( copy of CL_CRM_ERMS_STKT_SM_DS) and updated the structure details to the new custom structure and replaced serviceticket //currentserviceticket/ to //currentservicerequest).
    Also modified line-value to u2018parts/context/srv/number/text()u2019).
    Logged in to WEBUI using IC_MANAGER Role and created a mail form by selecting the attributes from the custom structure containing service request fields.
    Logged in as Agent and tried selecting an email form by navigating away from Service request page. The values(Service Request ID, etc) are not getting filled and even tried implementing the bad iIF_EX_CRM_IM_ADD_DATA_BADI .
    The control is not coming to the custom class and also to the BADI. I have placed explicit break statement also.
    Can someone help me on this issue at your convenient time please..
    Any pointers would be of great help.
    Regards,
    Eureka

    CRM_IM_ADD_DATA_BADI has been used by us for same purpose.
    In the badi did u assign the mail context as the filter and also used the attributes from the same mail context in mail form.
    It will work defintely and badi gets called when u click on insert on create email page on interaction center based on UTIL_IC
    Pratyasha

  • Help needed to merge values from two tables -

    We have these three test tables shown, which have a common ID; And amount fields; I want the -------
    test1.val = test2.val + test3.val
    when they have common ids in them;
    I have shown the test data below: And the expected output;
    NOTE: In database with real table values - each of them have millions of rows in them. So effeciency is very important here;
    SQL> desc test1;
    Name Null? Type
    ID NUMBER
    VAL NUMBER
    SQL> desc test2;
    Name Null? Type
    ID NUMBER
    VAL NUMBER
    SQL> desc test3;
    Name Null? Type
    ID NUMBER
    VAL NUMBER
    SQL> select * from test1;
    ID VAL
    1 50
    2 50
    3 55
    4 60
    5 20
    5 rows selected.
    SQL> select * from test2;
    ID VAL
    1 25
    1 25
    2 5
    2 5
    4 75
    5 rows selected.
    SQL> select * from test3;
    ID VAL
    1 25
    1 25
    2 5
    2 25
    2 25
    5 10
    6 rows selected.
    I EXPECT the output to be:
    SQL> select * from test1;
    ID VAL
    1 100
    2 65
    3 20
    4 75
    3 20
    5 10
    6 rows selected.

    Need help with the update queries - joining three tables -

  • Please - immediate help needed parsing csv values into multiple rows

    Hello, we have a very immediate need to be able to parse out a field of comma separated values into individual rows. The following is an example written in SQL Server syntax which does not work in Oracle.
    The tricky part is that each ROUTES can be a different length, and each CSV can have a different number of routes in it.
    Here is an example of the table ("Quotes") of CSV values I want to normalize:
    TPNUMBER ROUTES
    1001 1, 56W, 18
    1002 2, 16, 186, 28
    Here is an example of what I need it to look like:
    TPNUMBER ROUTES
    1001 1
    1001 56W
    1001 18
    1002 2
    1002 16
    1002 186
    1002 28
    Here is the "Tally" table for the query below:
    ID
    1
    2
    3
    4
    5
    6
    7
    And finally, here is the query which parses CSV values into multiple rows but which does not work in Oralce:
    SELECT TPNUMBER,
    NullIf(SubString(',' + ROUTES + ',' , ID , CharIndex(',' , ',' + ROUTES + ',' , ID) - ID) , '') AS ONEROUTE
    FROM Tally, Quotes
    WHERE ID <= Len(',' + ROUTES + ',') AND SubString(',' + Phrase + ',' , ID - 1, 1) = ','
    AND CharIndex(',' , ',' + ROUTES + ',' , ID) - ID > 0
    It may be necessary to use a cursor to loop through the CSV table and process each row (a loop within another loop...) but this is beyond my comprehesion of PL/SQL.
    Many thanks in advance for your advice/help.
    apk

    Not sure what you are trying to do with the last step, but this should work for the first part. I assume you would use sqlldr but I just did inserts instead. You might need more than 5 "routes" in the csv. You could put some reasonable max on that number of columns:
    SQL>create table t_csv
    2 (TPNUMBER varchar2(20),
    3 ROUTE_1 VARCHAR2(5),
    4 ROUTE_2 VARCHAR2(5),
    5 ROUTE_3 VARCHAR2(5),
    6 ROUTE_4 VARCHAR2(5),
    7 ROUTE_5 VARCHAR2(5),
    8 ROUTE_6 VARCHAR2(5) );
    Table created.
    SQL>INSERT INTO t_csv (TPNUMBER,ROUTE_1,ROUTE_2) values( '1001 1', '56W', '18' );
    1 row created.
    SQL>INSERT INTO t_csv (TPNUMBER,ROUTE_1,ROUTE_2,ROUTE_3) values( '1002 2', '16', '186', '28');
    1 row created.
    SQL>create table t_quotes(
    2 tpnumber NUMBER,
    3 routes VARCHAR2(5));
    Table created.
    SQL>DECLARE
    2 L_tpnumber NUMBER;
    3 L_route VARCHAR2(5);
    4 begin
    5 for rec in (select * from t_csv) loop
    6 L_tpnumber := SUBSTR(rec.tpnumber,1,INSTR(rec.tpnumber,' ')-1);
    7 L_route := SUBSTR(rec.tpnumber,INSTR(rec.tpnumber,' ')+1);
    8 insert into t_quotes values( L_tpnumber, l_route );
    9 if rec.route_1 is not null then
    10 insert into t_quotes values( L_tpnumber, rec.route_1 );
    11 end if;
    12 if rec.route_2 is not null then
    13 insert into t_quotes values( L_tpnumber, rec.route_2 );
    14 end if;
    15 if rec.route_3 is not null then
    16 insert into t_quotes values( L_tpnumber, rec.route_3 );
    17 end if;
    18 if rec.route_4 is not null then
    19 insert into t_quotes values( L_tpnumber, rec.route_4 );
    20 end if;
    21 if rec.route_5 is not null then
    22 insert into t_quotes values( L_tpnumber, rec.route_5 );
    23 end if;
    24 end loop;
    25 end;
    26 /
    PL/SQL procedure successfully completed.
    SQL> select tpnumber, routes from t_quotes;
    TPNUMBER ROUTE
    1001 1
    1001 56W
    1001 18
    1002 2
    1002 16
    1002 186
    1002 28
    7 rows selected.

  • Help needed in getting values from the dynamically created text boxes

    Hello,
    I am developing one jsp page using struts. In the page i m
    dynamically adding some rows with two text boxes in each row. and after entering data into
    those textboxes , user clicks on save button and page is submitted.
    I want to capture all this data of dynamically added
    rows so that i can enter those rows into DB.
    how can i acheive this using struts?.
    Have anyone had tried doing it?. Please help.
    Thanx in advance
    Deepali Naik

    Hi,
    1. If you give these textBoxes the same name, then in your action you can call request.getParameterValues(paramName) - it returns String[ ] of values.
    2. You can give form textBox names like "name"+index or something like this in <logic:iterate> tag
    Good luck!

  • Help needed in passing values

    Hi all,
    I'm new to jsp. So if possible pls help me. I have a page(say first.jsp) which has a link to another jsp(say sec.jsp). In sec.jsp i'm setting a value in session. When i'm clicking a use/done button in sec.jsp...I want to come back to first.jsp and use the values in session. How to do this?

    Hi,
    I'm doing what u've said. Now I don't have problem in retrieving the value which i set in sec.jsp.. The problem i'm facing is that.. I'm having a screen which has a label displaying the value i retrieved.. which is not showing the correct value even though it is set in session.. So when i'm coming back..I want first.jsp to be refreshed automatically.. Thanks a lot for both of you guys for helping me out..
    Could u give me a solution for this new problem? i.e how to refresh first.jsp automatically when i come back from sec.jsp...or is there any way to refresh the parent window..

  • Help needed to display Values one below the other

    Hi Experts,
    I am having three characteristics among eight others whose values are to be displayed in BEx Analyzer. These three characteristics values are line items whose values are being displayed side by side.
    Now, I want them to be displayed one below the other. I do not know how to do it.
    Can anyone guide me?
    Waiting for the reply,
    Thanks in advance,
    With Kind Regards,
    Shreeem

    Hi Shreem,
    As of my knowledge we have only one options for your requirement that is "Hierarchies'.
    You have to create hierarchy for all your line items but this not good pratice.
    Otherwise in reporting only you have to set the hierarchy :- Go to Rows in Rows tab -> Right click-> Select Hierarchy.
    Hope it helps you.
    Thanks and Regards,
    Venkat.

  • Help needed with Audigy Value! Please he

    I just bought the sound blaster audigy value sound card so after disabling the onboard sound, i installed the card and the softwares and drivers. What happened was that the speakers were only making sounds from the woofer and the front center speaker, the other 4 speakers were transmitting no noise at all. I checked the device manager to see if the audigy value card was to be shown as working properly, and it was.
    In a state of I-should-find-something-on-the-net-to-help-me state, I downloaded the new official drivers from this creative website, opened it but a message appeared that "it has not detected any audigy hardware". (there's sound but only from the woofer and the center speaker).
    I have a creative 5. inspire 5200 series. Do you guys think there's a problem with my sound card, my speakers or the configurations of the cables or some driver thing.
    Any help will be appreciated and thanked.

    Have you
    - connected cables properly?
    - set speakers to 5. (on speaker settings panel)?
    - disabled/enabled CMSS
    ---- (see http://forums.creative.com/creativelabs/board/message?board.id=soundblaster&message.id=2563)
    - set audio HW acceleration (Windows Audio settings)?
    - tried to install drivers by these instructions?
    jutapa

  • Urgent help needed in inserting data into a custom table in oracle WorkFlow

    Hi
    I am trying to get data from the WF and insert into a custom table..
    I read that workflow procedures WONT allow commits...
    Oracle Workflow will not support autonomous commits in any procedure it calls directly. If you need to perform commits, then embed your SQL in a subprocedure and declare it as an autonomous block. This subprocedure must be capable of being rerun. Additionally, note that Oracle Workflow handles errors by rolling back the entire procedure and setting its status to ERROR. Database updates performed by autonomous commits cannot be rolled back, so you will need to write your own compensatory logic for error handling
    Have anyone did this..
    Please give me some idea ...It is urgent
    I am getting data using getitemattribute..and try to insert it into a custom table
    thanks
    kp

    Pl do not post duplicate threads - insert dont work in Workflow
    Srini

  • Help needed in extracting values from XML

    SAMPLE XML:
    - <Form1>
    - <Name>
    <Ttl>MR</Ttl>
    <Fore>ABC1</Fore>
    <Sur>XYZ2</Sur>
    </Name>
    - <Address>
    <Line>ADD_LINE_1</Line>
    <Line>ADD_LINE_2</Line>
    <PostCode>PST CDE</PostCode>
    </Address>
    <BirthDate>0001-01-01</BirthDate>
    - <Details>
    <TotalEarnings>1234567.00</TotalEarnings>
    <TotalDeduction>12345.00</TotalDeduction>
    </Details>
    </Form1>
    - <Form1>
    - <Name>
    <Ttl>MR</Ttl>
    <Fore>ABC2</Fore>
    <Sur>XYZ2</Sur>
    </Name>
    - <Address>
    <Line>ADD_LINE_3</Line>
    <Line>ADD_LINE_4</Line>
    <PostCode>PST CDE</PostCode>
    </Address>
    <BirthDate>0002-02-02</BirthDate>
    <Gender>female</Gender>
    - <Details>
    <TotalEarnings>12345.00</TotalEarnings>
    <TotalDeduction>123.00</TotalDeduction>
    </Details>
    </Form1>
    There can be any 'n' number of <Form1>'s in one XML.But I want to get only the details of the person whose TotalEarnings>1million. Details include
    Name->Ttl,Fore,Sur
    which in this case would be MR,ABC1,XYZ1
    Address->Line,Line,Postcode
    which in this case would be ADD_LINE_1,ADD_LINE_2,PST CDE
    Birthdate
    which in this case would be 0001-01-01
    Gender
    which in this case would be "null" as there is no Gender tag present
    Details->TotalEarnings,TotalDeduction
    which in this case would be 1234567.00,12345.00
    The technique I was using is,
    1. Convert to clob
    2. User dbms_instr find the location of <Form1> in a loop
    3. For every occurence of <Form1> I find <TotalEarnings> value and check if this is greater than 1 million.
    4. If true, I use dbms_instr to get the values of all the tags inside <Form1>
    5. The drawback of using dbms_instr is that it gets the value of first occurence of whatever sting we supply.In this case dbms_instr(xml,'<Gender>',position of Form1) will not return null whereas it will return "Female" from the next form. This is wrong as it doesnt belong to the person who earns more than a million.
    Can anyone suggest a way to fetch the values that only belong to the form of the person who earns more than a million?

    There can be any 'n' number of <Form1>'s in one
    XML.Not if you want the XML to be valid there can't. You would need a root element around all the <Form1>'s to make it valid.
    The technique I was using is,
    1. Convert to clob
    2. User dbms_instr find the location of <Form1> in a
    loop
    3. For every occurence of <Form1> I find
    <TotalEarnings> value and check if this is greater
    than 1 million.
    4. If true, I use dbms_instr to get the values of all
    the tags inside <Form1>
    5. The drawback of using dbms_instr is that it gets
    the value of first occurence of whatever sting we
    supply.In this case
    dbms_instr(xml,'<Gender>',position of Form1) will not
    return null whereas it will return "Female" from the
    next form. This is wrong as it doesnt belong to the
    person who earns more than a million.
    Can anyone suggest a way to fetch the values that
    only belong to the form of the person who earns more
    than a million?Why on earth are you using dbms_instr for this? Oracle has built in XML functionality for use against XMLTYPE data, such as the ExtractValue method and the use of XPATH expressions.
    I'd suggest you start reading some of the manuals regarding XML functionality in Oracle rather than trying to manually parse it all.

Maybe you are looking for

  • ActionListener Problem - Event not triggering properly

    Hello, I have slight problem ith action listeners. Below is an exercise from a book on java i'm reading. I have constructed rectangle with 3 circles inside. When the button in one panel is pushed the colors of these cicles should change from green,bl

  • Vista won't install Ipod Mini - PLEASE HELP!!

    Latest version of Itunes 7.4.2 has been installed, Windows Vista has located Ipod mini in "other devices" in "Device Manager", but it won't install the Ipod. I've reinstalled Itunes three times and searched the Windows Vista disk and various internet

  • TS1967 after installing the latest version of itunes it will not recognise my ipod

    I installed the latest version of itunes to my computer but now when i connect my ipod to the computer, itunes does not recognise it and wont sync any new music to it.What can i do?

  • How to increase the max connections for business rules.

    How and where to increase the connection to EAS.currently we have max connection as 20.Also please let me know,what is the maximum connection we can increase. In our system totally,we have 350 users are present. when more that 20 users running the bu

  • Release work list

    Hi, i need to release work list create by me through T.Code AR31, the work list created through AR01. In transaction ar31, while release the worklist, i got this message, No administrator found for the task Message no. 5W141 i got this message. i req