OBN call to get value - help required !!!

Hi Friends,
The scenario is, upon click on the LinkToAction button, I am able invoke OBN operation service, which gives the list of values using below API function.
WDPortalNavigation.navigateToObjectWithSpecificOperation
Prior to thisLink to Action coded to call OBN service, Event created, Event subscribed (at wdInit), Event unsubscribed (wdExit) and Event Action handled.
Code to call OBN service as below
String system="XXX_LPT", businessObjType="", objValue="absence", objValueName="absence", operation="show_orgunit_three",
businessParameters="mode=dialog&location=no&menubar=no&titlebar=no&toolbar=no&ShowHeader=false";
  boolean forwardOBNMetaData=true, resolveForSourceRoleOnly=true;
  WDPortalNavigation.navigateToObjectWithSpecificOperation(system, objValue, objValueName, operation, businessParameters);
Issue is, the OBN service call happens in separate Tab on the browser and selecting an item just does the refresh on the same window.
Expected is, upon clicking on the LinkToAction button from the parent window, the OBN service should display in a separate window (not in browser Tab) and after selecting the value, window should close and the value should be available to the parent view to assign to an input box.
Can anybody help me on this?  I am really struck.
Thanks in advance,
Kantha

Hello Vaibhav,
Make sure that the field defined in your node in the context on the web dynpro view or if defined at the component controller level has the search help defined. Usually if the search help is tied to the database table's field name the 'Input Help Mode' of type automatic should display the determined search help.
If that setting is there then in the adobe form create an input field of the type Webdynpro native->"Value help drop down list". Then bind your database field to this input field.
When you do that the object type of the field changes to text_field change that back to a drop down field from the pick list provided for the objects and then activate it and test it out.
Hope this helps.
Thanks and best regards,
Leena

Similar Messages

  • No Toolbar buttons on OV page of serch result entity in Value Help PopUp

    Hello Friends,
    In Service Request, I  am calling a value help search of CRM_KNOWART_S/KA SearchView for the field of assignment block "Related Knowledge Articles" (component GSDOCFLOW/HdrDocFlowEF ) . I am getting value help AND RESULTS ARE COMING.
    Also, I am trying to call the overview page(CRM_KNOWART_H/KAGenDataFV) of results came to result list through a hyper link. I am able to navigate to Overview page of selected Knowledge Article. But I am NOT getting the TOOLBAR buttons which are already available in the Overviepage. Also, I can not see the Multi-select option in search result list of initial search result screen.
    Note: Since the Overview page is handled by Standard component, All toolbar buttons are already made available which we can see in our display. In Debugging,We can see all required parameters of buttons are getting passed while doing our navigation to the Overview page.
    I really appreciate any help from your end!!
    Many Thanks,
    Laxmi

    When implementing the code below, it only reads the first form, and then stops there. It doesn't execute the 2nd form.
    <form name='form_1' action='T2.jsp'>
    <input type=hidden name="user" value="Me">
    <input type=submit value='Button1'>
    <form name='form_2' action='T3.jsp'>
    <input type=submit value='Button2'>
    </form>
    </form>
    If I put each form separtely like below, then it returns nothing.
    <form name='form_1' action='T2.jsp'>
    <input type=hidden name="user" value="Me">
    <input type=submit value='Button1'>
    </FORM>
    <form name='form_2' action='T3.jsp'>
    <input type=submit value='Button2'>
    </FORM>
    What's my other alternative? I would appreciate any help.

  • Help on value help.

    Hi,
    I have 2 textbox with value help option. 1st text box has value help i successfully displayed the records as per your tips. In the second text box i hav another value help which displays the records based on the 1st text box. both retrieves records using different bapi's.
    both bapi has key fields to compare. that is the first textbox element. for example emp id in first textbox. and department in the second textbox. the second value help should show only the records relevant to particulare emp id which is selected in the emp id value help. i hav two different custom controller. Help me out in this Lohi. i could't able map the value help attribute field to custom controller value attribute.
    The only option is passing value of empid to second bapi. that can be done as follows.
    .......bind(new bapi's)
    //pass the parameter to bapi
    input.setDeptid( <get 1st textbox value which is
    selected from value help> ) remember the codes are in doInit(). i am unable to retrieve the value attribute of the view. the codes are done in second custom controller with respective to second textbox.
    awaiting for your reply,
    regards,
    Ganesh.D

    Hi,
    Let me know when first  BAPI executes the records will be displayed in value help.
    Here I am not getting "Value help"
    and the first BAPI is executed by using the first BAPI input( u said the first input field value )
    Am i Correct?
    and After displaying the records
    upon click the particular record in value help it return the key to the textbox
    In this case When you click the record in the value help then getting the what ever do u need. I mean to say to display the records using Output node.
    When you click the record get the value what ever do u need like this.
    String one= wdContext.current<outputNode()>.getkey value();
    And set to your attribute value.
    wdContext.currentContextElement().setEmpId(one);
    this attribute is not in your context declare it in Controller and map where ever you need.
    This might helps you.
    thanks
    Lohi.

  • Help required in retrieving the category1 & category2 values for CRM SR

    Hi Friends,
    We are currently working on a requirement where in we need to update the status of Service request having the external reference nbr that is coming from back end ECC System. This number is already stored in the CRM Service request document. The external reference field is added through AET Tool.
    The backend application calls our CRM RFC FM and passes the external reference nbr as input parameter. We are trying to query the CRMD_ORDERADM_H table with the external reference number  and get the list of all service requests having this number. Now we need to select only those service requests having the category1 as Order and category2 as block.
    We have found the table CRMD_SRV_SUBJECT but not able to find the link table that connects the GUID of service request with GUID of CRMD_SRV_SUBJECT.
    Any pointers on this would be of great help.
    Thanks,
    Udaya

    Hello Udaya,
    Welcome to Categories Search. I also faced this issue to retrieve all levels of categories for a Service Request.
    I am glad I can share with you how this was resolved.
    Use the following steps:
    1. Pass SR GUID in field GUID of table CRMV_REPORT_SUBJ and get KATALOGART, CODEGRUPPE and CODE field values in lv_catalog, lv_codegrp and lv_code.
    2. Now you need to concatenate these 3 fields values carefully like this:
    CONCATENATE lv_catelog lv_codegrp '    ' lv_code into lv_category1.
    *Remember there are 4 spaces between lv_codegrp and lv_code.*
    3. Now pass this lv_category1 in field OBJEXT in table CRMC_ERMS_CAT_OK and get OBJGUID in field lv_objguid.
    4. Pass this lv_objguid in field OBJ_GUID and *LNK_TYPE = 'IS_CODE'* in table CRMC_ERMS_CAT_LN and get value of CAT_GUID in lv_cat_guid.
    5. Pass this lv_cat_guid in field CAT_GUID in table CRMC_ERMS_CAT_CA and get value of CAT_ID in field lv_cat_text.
    Remember this lv_cat_text is the text value of your last level of category of SR.
    6. To get its upper  cateogry level value, simple use table CRMC_ERMS_CAT_HI and get parent guid value and pass this as CAT_GUID again in table CRMC_ERMS_CAT_CA to get its text.
    Alternatively, you can also use class method cl_crm_ml_category_util=>get_parse_all to get all levels of categories.
    I hope this helps.
    Thanks
    Vishal
    Edited by: Vishal Kesar on Jul 30, 2010 5:12 PM

  • ESS F4 Value Help to get States for selected country.

    Hi,
    I am a Web Dynpro Java developer working on ESS Self Service application. I have a requirement to display additional State and Country fields in Family/Dependent screen.
    I have displayed the State and Country fields by mapping the UI elements to SelectedInfoTypes node attributes -Land1 and State. And now I having problem to get a list of States based on the value selected in the Country field.
    I remembered I used to call a RFC in  non-ESS application by passing in the Country value to a GetStates RFC. But in ESS self service application, do we have a RFC I can call to get the list of States based on selected countries?
    I was looking at the sap.xss.per.helpers.F4TextHelper helper class, to see if the GetF4Text (IWDViewController controller, IWDNode selectedInfotype,IWDView view,TextFieldInfo[] fieldInfo) method can achieve my purpose. So far, I have no luck on this.
    Is there a method call/way I can use in FPM to achieve this?
    Can someone share your idea if you have done this before or know how to implement this?
    Thanks in advance,
    KC

    Class is used CL_HRPA_PERNR_INFTY_XSS. here you can check the methods

  • Possible to get application parameter in value help

    Hello colleagues,
    we developed a value help for business partner to use it in an wda-component . in this value help only those business partner should get supplied where the user has a relationship to . to make it really difficult we can not use the backend user (crm) but the portal user . in the component which uses the value help we achieve to get the user via application parameter from the containing iview but as soon as the user calls the value help this context is lost and we can no longer use the application parameter (which is in fact "out" of the iview) to retrieve the user of the application and therefore get a dump.
    Is there a possibility who to get application parameter of a component in a value help called by this component ?
    Thanks in advance
    Michael

    Hi,
    PLease refer to this link
    http://help.sap.com/saphelp_nw70/helpdata/en/88/266a3e54a2e946e10000000a114084/frameset.htm
    You can enter parameter values for certain screen fields for displaying a SAP transaction here.
    This field is optional.
    The parameter values are specified with the following syntax:
    <Screen_field1>=<Parameter1>
    &<Screen_field2>=<Parameter2>
    Thanks
    Pankaj

  • Not getting values for HR_READ_SUBTYPE while calling from Webdynpro appl

    Hello,
    When we pass infotype,begda,endda and other required parameters and run this FM in standalone we are
    getting values however when same FM is called through Webdynpro ABAP application it is not returning values.
    I tried debugging and i found out that some buffer issue is there.
    But still my problem is not sloved.
    can anyone tell me what can be the reason?
    Regards,
    Mayank

    Hi Mayank,
    Can you tell me how much entries you are getting in return when you run FM standalone.
    there may be possiblility of huge amount of data returnning.
    If u can give more details that will be great!!
    Thanks

  • How to get Value Table values in F4 help

    Hi.
    I am creating one custom field in ORDERADM_H.
    I created it based on my own data element name.
    In that data element domain contains Value Table.
    This value table is having one field with four records.
    Now i am adding the field in the Web Ui Screen.
    But it is not at all getting F4 help.
    How i will get F4 help.
    I want my value table records in that F4 help.
    I am selecting any one then that should be placed in the Input Field.
    When i save the record the data should be stored in the Data base tables also.
    Thank You.
    B. Krishna.

    This question has been asked and answered many times before.  Please read the following blog for a good start:
    /people/yohan.kariyawasan/blog/2009/03/18/ui-framework-news-f4-help
    Before posting further please do a search in this forum and also read the rules of engagement listed here:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/home/rulesofEngagement
    I'm now locking this thread as it is a duplicate of an already answered question.
    Thank you,
    Stephen
    CRM Forum Moderator

  • I have imported contacts from Outlook to Mail and they have synced via iCloud to my iPhone 3GS. I can't get my iPhone to make a call using these contacts but if I dial the number of any of the contacts on the keypad, the call DOES work! Help me please!?

    I have imported contacts from Outlook to Mail and they have synced via iCloud to my iPhone 3GS. I can't get my iPhone to make a call using these contacts (it tries but then says call ended) but if I dial the number of any of the contacts on the keypad, the call DOES work! Help me please - is there something I need to do to the contacts because tehy came from Outlook? Thanks

    Thank you for replying.    Yes I deleted the old email address..   

  • I am unable to sync my ipad..i get error message " required file cannot be found" can someone help?

    I am unable to sync my ipad..i get error message " required file cannot be found" Can you help me?

    Some things to try in this order:
    1) Make sure you designated the correct folders for music, etc.
    2) Press and Hold the Home and Power buttons on the iPad until the Apple Logo appears, about 10 seconds.
    3) Make sure all antivirus and firewalls are off.
    4) Delete and reinstall itunes. (Back up the itunes folder first.)
    Hope this helps...

  • Help required network configuration - Gateway route settings get erased on reboot.

    Oracle Linux 7
    Linux myhostname 3.8.13-35.3.1.el7uek.x86_64 #2 SMP Wed Jun 25 15:27:43 PDT 2014 x86_64 x86_64 x86_64 GNU/Linux
    #cat /etc/sysconfig/network-scripts/ifcfg-eno16780032
    TYPE="Ethernet"
    BOOTPROTO="none"
    DEFROUTE="yes"
    IPV4_FAILURE_FATAL="no"
    IPV6INIT="yes"
    IPV6_AUTOCONF="yes"
    IPV6_DEFROUTE="yes"
    IPV6_FAILURE_FATAL="no"
    NAME="eno16780032"
    UUID="2d1107e3-8bd9-49b1-b726-701c56dc368b"
    ONBOOT="yes"
    IPADDR0="34.36.140.86"
    PREFIX0="22"
    GATEWAY0="34.36.143.254"
    DNS1="34.36.132.1"
    DNS2="34.34.132.1"
    DOMAIN="corp.halliburton.com"
    HWADDR="00:50:56:AC:3F:F9"
    IPV6_PEERDNS="yes"
    IPV6_PEERROUTES="yes"
    NM_CONTROLLED="no"
    #route -n
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         34.36.143.254   0.0.0.0         UG    0      0        0 eno16780032
    34.36.140.0     0.0.0.0         255.255.252.0   U     0      0        0 eno16780032
    169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eno16780032
    When I reboot the machine, the first line in route table gets erased, I then run:
    #route add default gw 34.36.143.254
    After which network works fine.
    Help required. I don't want to use NetworkManager.

    The following might be useful:
    https://access.redhat.com/solutions/783533
    "When transitioning from NetworkManager to using the network initscript, the default gateway parameter in the interface's ifcfg file will be depicted as 'GATEWAY0'. In order for the ifcfg file to be compatible with the network initscript, this parameter must be renamed to 'GATEWAY'. This limitation will be addressed in an upcoming release of RHEL7."
    NetworkManager is now the default mechanism for RHEL 7. Personally I don't quite understand this, because as far as I can gather it is a program for systems to automatically detect and connect to known networks. I think such functionality can be useful when switching between wireless and wired networks, but for a server platform, I wonder.

  • Reg :getting values loaded in value help in runtime based on user input

    I have a table column named partners with a drop down.when i select a value from the drop down i need to load the values in value help in next column(partner fun) in the table based the the user selection made in the 1st column.plz help me.
    currently the coding used by me is
    try
        String partfn=wdContext.currentTablepartnersElement().getPartnerfn();
        if(partfn.equals("ShiptoParty"))
          wdComponentAPI.getMessageManager().reportSuccess("1");
         IWDAttributeInfo partattributeInfo = wdContext.getNodeInfo().getAttribute(IPrivateSalesdet.ITablepartnersElement.PARTNER);
         wdComponentAPI.getMessageManager().reportSuccess("2");
    //from this part its not working
         ISimpleTypeModifiable part = partattributeInfo.getModifiableSimpleType();
         //ISimpleType part=partattributeInfo.getSimpleType();
         wdComponentAPI.getMessageManager().reportSuccess("3");
    //     Set field label and populate valueset
        part.setFieldLabel("key");
         IModifiableSimpleValueSet partvalueSet =  part.getSVServices().getModifiableSimpleValueSet();     
         wdComponentAPI.getMessageManager().reportSuccess("4");     
         for (int i = 0; i < wdThis.wdGetSalescustomctrllerController().wdGetContext().nodeLt_Kna1().size();i++)
    wdComponentAPI.getMessageManager().reportSuccess("5");
    partvalueSet.put(wdThis.wdGetSalescustomctrllerController().wdGetContext().nodeLt_Kna1().getLt_Kna1ElementAt(i).getKunnr(),wdThis.wdGetSalescustomctrllerController().wdGetContext().nodeLt_Kna1().getLt_Kna1ElementAt(i).getName1());
                 wdComponentAPI.getMessageManager().reportSuccess("custid"+wdThis.wdGetSalescustomctrllerController().wdGetContext().nodeLt_Kna1().getLt_Kna1ElementAt(i).getKunnr());
        catch(Exception ex)
              wdComponentAPI.getMessageManager().reportSuccess("error in partfn table rfc"+ex);

    hai ayappa,
                  my context structure is
                        partnertable
    _subnode
    _Attribute1
    _Attribute2
                         |_attribute(attribute of partnertable node)
    when i set the singleton property of subnode to false i have another table in the same view wch is getting affected.also when i select the value from partners table attribute i need the subnode s attribute get populated.

  • Get values in dropdown field based on f4 help in another field

    Hi Experts,
    How to Get values in dropdown field based on another field which is F4 Help. If I select one value in f4 help field(ex: 1) I need to get values in dropdown field (ex:a, b, c),If I select another value in f4 help (ex:2) I need to populate different values (ex: d). Can any one please provide sample code that can help more.
    Thanks,
    Ashok.
    Moderation: Kindly search and find the solution, before you post.

    Dear Ashok,
    You can take help from this program in SAP named BCALV_EDIT_08.
    Thanks.
    With regards.

  • Help on stuttering video after FMS call Stream.get('liveBroadcastStream').play('liveFeedFromFMLE', -

    Hi,
    We recently encountered a very strange issue that we urgently need help:
    With FMS 3.5, we created a new live application according to relevant documentations. Within this application (main.asc), on periodically basis (e.g. 45 seconds), we use Stream.get('liveBroadcastStream').play('liveFeedFromFMLE', -1, -1, true) to (potentially) switch between different live feeds published by different FMLE. All work like charm except one annoying/important issue: sometimes (but not always), after a server-side call of Stream.play, we see severe stuttering/choppy video from flash client player.
    Any help that will lead to the resolution of the problem will be greatly appreciated!
    Some background information:
    1. All testing were done within LAN environment with just a few machines which mean loads were very low; so we can rule out bandwidth insufficiency issue. Also CPU usages were low across all computers involved.
    2. The stuttering and choppyness occurs with the 'liveBroadcastStream', not with the source stream which is 'liveFeedFromFMLE'. In other words, we used flash player to check out the source stream, and it looked fine.
    3. When the video was jerky, the accompanying audio sounded OK.
    4. We tried to set the flash client buffer length to be 15 seconds, and it did not help.
    5. The stuttering occurs immediately after the Stream.play function call.
    6. The described sympton occurs quite often, but not always. We were not able to identify the exact cause. It does not seem to show any easy clue.
    7. In the repro case, we called Stream.get('liveBroadcastStream').play('liveFeedFromFMLE', -1, -1, true)  every 45 seconds with no parameter changes.
    Again, we are urgently waiting for professional help!
    Regards.
    Xiaohai

    Thanks for your info. We are desparate for any help that we can get. We will do as you said, but it is a semi-production scenario and we are not allowed to set up debugging scenarios often.
    We have spent tremendous amount of time trying to flush out the issue with no luck. What really frustrated us is that our application scenario is really simple, and yet it won't work as expected. We have downgraded to FMS 3.0.1 and it performs a bit better than 3.5. We have issue with 3.0.1 too. The stuttering video is still there, but player recovers eventually. That is the best we can get so far. As we investigate more, we become more convinced that FMS's stability is not up to production quality (sorry).
    I simplified our application to the following and it is still problematic (pseudo codes):
    Prerequisite: stream 'liveStream1' and 'liveStream2' published from to FMLE
    FMS server side codes (pseudo codes):
    function onPeriodicalCall ()
            if (application.currentStream == 'liveStream1')
                 applicatin.currentStream = 'liveStream2')
            else
              application.currentStream = 'liveStream1'
            Stream.get('liveBroadCast').play(application.currentStream, -1, -1, true);
    application.onStart = function () {
         setInterval (120, onPeriodicalCall);
    With the above codes, the players shows stuttering video with each .play call. And sometimes, clients even could not play anything. When client can not play anything, we found it correlates to netstream not getting into data start mode (e.g. normally unpublish, stop, publish, start, but sometimes it only gives unpublish stop publish, thus lacking 'start').

  • Help on stuttering video after FMS call Stream.get('liveBroadcastStream').play('liveFeedFromFMLE', -1, -1, true)

    Hi,
    We recently encountered a very strange issue that we urgently need help:
    With FMS 3.5, we created a new live application according to relevant documentations. Within this application (main.asc), on periodically basis (e.g. 45 seconds), we use Stream.get('liveBroadcastStream').play('liveFeedFromFMLE', -1, -1, true) to (potentially) switch between different live feeds published by different FMLE. All work like charm except one annoying/important issue: sometimes (but not always), after a server-side call of Stream.play, we see severe stuttering/choppy video from flash client player.
    Any help that will lead to the resolution of the problem will be greatly appreciated!
    Some background information:
    1. All testing were done within LAN environment with just a few machines which mean loads were very low; so we can rule out bandwidth insufficiency issue. Also CPU usages were low across all computers involved.
    2. The stuttering and choppyness occurs with the 'liveBroadcastStream', not with the source stream which is 'liveFeedFromFMLE'. In other words, we used flash player to check out the source stream, and it looked fine.
    3. When the video was jerky, the accompanying audio sounded OK.
    4. We tried to set the flash client buffer length to be 15 seconds, and it did not help.
    5. The stuttering occurs immediately after the Stream.play function call.
    6. The described sympton occurs quite often, but not always. We were not able to identify the exact cause. It does not seem to show any easy clue.
    7. In the repro case, we called Stream.get('liveBroadcastStream').play('liveFeedFromFMLE', -1, -1, true)  every 45 seconds with no parameter changes.
    Again, we are urgently waiting for professional help!
    Regards.
    Xiaohai

    Thanks for your info. We are desparate for any help that we can get. We will do as you said, but it is a semi-production scenario and we are not allowed to set up debugging scenarios often.
    We have spent tremendous amount of time trying to flush out the issue with no luck. What really frustrated us is that our application scenario is really simple, and yet it won't work as expected. We have downgraded to FMS 3.0.1 and it performs a bit better than 3.5. We have issue with 3.0.1 too. The stuttering video is still there, but player recovers eventually. That is the best we can get so far. As we investigate more, we become more convinced that FMS's stability is not up to production quality (sorry).
    I simplified our application to the following and it is still problematic (pseudo codes):
    Prerequisite: stream 'liveStream1' and 'liveStream2' published from to FMLE
    FMS server side codes (pseudo codes):
    function onPeriodicalCall ()
            if (application.currentStream == 'liveStream1')
                 applicatin.currentStream = 'liveStream2')
            else
              application.currentStream = 'liveStream1'
            Stream.get('liveBroadCast').play(application.currentStream, -1, -1, true);
    application.onStart = function () {
         setInterval (120, onPeriodicalCall);
    With the above codes, the players shows stuttering video with each .play call. And sometimes, clients even could not play anything. When client can not play anything, we found it correlates to netstream not getting into data start mode (e.g. normally unpublish, stop, publish, start, but sometimes it only gives unpublish stop publish, thus lacking 'start').

Maybe you are looking for

  • How do we judge RMAN volumetrics?

    The following is my RMAN configuration: CONFIGURE RETENTION POLICY TO REDUNDANCY 1; # default CONFIGURE BACKUP OPTIMIZATION OFF; # default CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default CONFIGURE CONTROLFILE AUTOBACKUP OFF; CONFIGURE CONTROLFILE AU

  • Best practice in writing xmp metadata?

    I know to switch off the 'automatically write to xmp metadata' feature. But, after doing this, what is the best way to ensure the xmp metadata does actually stay up to date? My understanding is that by switching the automatic writing back on, LR goes

  • DBMS_RANDOM inconsistent behaviour ?

    Hi: I have an issue with DBMS_RANDOM on 9.2.0.6 #### TEST CASE ##### create table t1 (col1 number); insert into t1 values ('1'); insert into t1 values ('2'); insert into t1 values ('3'); -- ## QUERY1 select rnd1, rnd1, col1 from (select * from (selec

  • Use of grouped property nodes

    HI, I'd like to know if there is a way to use a  property node like  " value "  for a group of controls without doing right click /property node /value on each control. Thanks Olivier

  • What can I do if I press the home and sleep botton at the same time and it doesnt take a picture?

    What can I do if I press the home and sleep botton at the same time and it doesnt take a picture? I want to take a picture of something in the internet and I cant! I used to be able to do it but now, it doesnt work anymore? What can I do?