WebDynpro for ABAP F4-help for KAGRU like PERFORM f4_groups in KSB1

Hello,
I must realize a search-help in a WebDynpro-Component which looks like the F4-help in the transaction KSB1 for field KAGRU.
In the report RKAEP000 it looks like this.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR koagr.
  PERFORM f4_groups USING    'KSTAR'
                             gs_tka01-ktopl
                    CHANGING koagr.
But in WebDynpro the Function   'K_GROUP_SELECT' wil generate a short dump.
Has anybody an idea, how to make this in WebDynpro?
Greetings

How are you trying to use the search help?  You can set up value help in the component itself.  Go to the component controller context of your web dynpro component.  Select the context node attribute for which you would like to have value help.  Now go down to the properties.  Next to "Input Help Mode" select "Automatic".  If your node attributes were brought in from a table (SAP or custom), then if there is an existing search help it will automatically be brought up now next to "Determined Input Help".  Save your changes and activate.
If a search help is not brought in when you change the input help mode to automatic, then you can still create your own method to provide the search help.  In this case you will need to create your method in the controller of the view where the user will be entering a value for the field.  The method type should be "Method".  Make sure to call your search help method within the method WDDOINIT of the view.  In the search help method you will need to navigate to your mode, select the values for the field, and then set the attribute value set using those values.  You will have to look into K_GROUP_SELECT to see where it is getting the values for KAGRU.  I don't think you can call K_GROUP_SELECT directly because it creates a pop-up.
A third option is to use an OVS (object value selector) component.  Please see this document for help with OVS:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/cf40cf90-0201-0010-4a85-e5a207b900d8
I hope this helps.
- April King

Similar Messages

  • Webdynpro for ABAP vs WD for Java

    How different is WD for ABAP from WD for Java?
    I have a good knowledge of WD for Java and I know ABAP. But how good and efficient is WD for ABAP? Would it be better to use WD for ABAP or WD for Java for SAP based portal development?
    Thanks in advance,
    Reena

    <i>
    1. We can embedd the Web Dynpro for ABAP applications in SAP screens in ABAP environment. I don't think it is possible using java web dynpro.
    </i>
    Yes, you probably can, since the application can be fired simply by a URL, there is not reason that you couldn't have an HTML control in your dynpro and point to this URL. 
    To answer the original question,  the development model for each is pretty much the same, just two different flavors.  I think that some things make WDA better, one being that it is totally integrated into the ABAP development workbench and the Transport/change control system.  On the WDJ side, you development locally and "deploy" your changes using the DTR and CBS.  I'm not exactly comfortable with this quite yet, which is why I like WDA better..
    Another thing is that we have some built in stuff with WDA, like automatic search help functionality,  ALV Grid, and Select-option functionality.  I do believe that SAP is working on some of these for WDJ.
    Regards,
    Rich Heilman

  • How to create an editable table in webdynpro for ABAP? Help!

    Hi Experts,
            I have a requirement where I have to create a webdynpro for ABAP table for new row/rows entry, delete row/rows and update row/rows data. This is something like table control in normal ABAP.
    how can I achieve this? Is there any such feature in ALV component?
    Any code sample will be really helpfull.
    Please help!
    Thanks
    Gopal

    Hi,
    yes, the ALV is integrated into WDA, have a look at this: http://help.sap.com/saphelp_nw2004s/helpdata/en/74/fd4142646ab46be10000000a155106/frameset.htm
    Regards, Heidi
    PS: look at the WDA Knowledge Center under https://www.sdn.sap.com/irj/sdn/developerareas/abap?rid=/library/uuid/02e1fa45-0801-0010-10a0-f1cf47e8c943, there you can find several ALV tutorials
    Message was edited by: Heidi von Geisau

  • Webdynpro for ABAP - Popup apearing for userid and pwd

    Hi Experts,
    We have implemented ESS and gone live. Now we have created one custom application in webdynpro for ABAP and attached with portal.
    Initially there was a problem, the application was not getting executed because of system configuration, then I have configured the host name, port number correctly. Then the iView is getting loaded in the portal.
    The problem is, when I am trying to access the iView, the popup apearing for the user id and password. This is happening only the webdynpro abap application, this is not happening for all sap standard iViews.
    Could anyone help me with this issue?
    Thanks
    Jay

    Hi Jayanthi,
    as you had mentioned this is not happening for sap standard iViews(do you mean simple transaction iViews for which you have used a system alias, which was the same you had used for ABAP web dynpro iview)?
    Of courese ESS iViews works with their own JCOs which is no way helpful or connected with wd ABAP.
    So I believe if your SAP id and Portal id are different(or if they are same but SAP Logon ticket is not configured properly) then only it woudl ask for the authentication again- for Wd ABAP to work fine, only the connector property  and WAS to tbe configured in the system object(aka system alias) used for ABAP iview. Now once you enter the login credentials, it is working fine right, then could you please test the user mapping under the user you are logged in, select the alias that you had used while creating the abap wd iView and provide userid/password here, then run the wd ABAP application, it definitely would work.
    N.B: if you had provided the credentials once, then it woud be stored in the browser cache, so if you perform the user mapping in user admin, log off from portal, close all your browser windows, then clear cache,(cookies etc). then login to portal, run the wdABAP application, I am sure this would work(it worked for me!!!).
    Thanks,
    Jakes.

  • WD For ABAP : cl_wd_table  HELP?

    Hi:
       I have a problem to solve about web dynpro for abap.
       I create a table and the first column is a LINK_TO_BUTTON(Function LIKE BBS),if there are 6   rows  data ,when i click the link_to_button of 1 row in 6,I want to konw which row i have clicked ,
       so,how to do it? wish to give me some advice.
    Thanks in advance.
    Edited by: gmasfk on Apr 15, 2009 4:56 AM

    Hi,
    Use can put following code in the ONACTION of LINK_TO_BUTTON.
    method ONACTIONONLINKTOBUTTON .
      data: lr_element type ref to if_wd_context_element,
              lv_index type i.
      lr_element = wdevent->get_context_element( name = 'CONTEXT_ELEMENT'  ).
      lv_index = lr_element->get_index( ).
    Now lv_index will contain the table row number in which the button was triggered.
    I hope it helps.
    Regards,
    Rohit

  • Can Web Dynpro for ABAP supports Mobile devices as like web dynpro for java

    HI,
    Experts,
    Web dynpro for abap application supports mobile devices as like web dynpro java application supports the mobile devices.
    Thnaks
    shabeer ahmed.

    Hi Shabeer,
    if you are looking for Mobile Web Dynpro, this is only supported with Java: [Mobile Web Dynpro |http://help.sap.com/saphelp_nw04/helpdata/en/7d/28fa3e7cb1d861e10000000a114084/frameset.htm]
    If you are on NW 7.0, check out this documentation:
    [Mobile Web Dynpro Online|http://help.sap.com/saphelp_nw70/helpdata/en/42/c136cb0f241d66e10000000a1553f6/frameset.htm]
    Kind regards
    Stefanie

  • SAP Webdynpro for ABAP - IXOS Integration for storing documents

    Hi
    We have a requirement to attach documents to a web based SAP custom application and store as attachments simialr to GOS fucntionality in SAPGUI. SAP web based application is developed using web dynpro for ABAP. Atatched documents are to be stored externally in IXOS system. I am looking for fucntion modules or BAPI's that integrate SAP webdynpro for ABAP and IXOS. Requirement is below
    1)     From SAP Webdynpro for ABAP application read a file form desktop and store on external IXOS system.
    2)     Retrieve a file from IXOS system and display in SAP Web Dynpro for ABAP  application
    3)     Delete a file on IXOS system from Web Dynpro for ABAP application
    Thank You

    You are on right track thinking about enhancement framework.
    My approach is would be in the following order.
    Personalization/customization
    Enhancement
    Modification

  • ABAP Coding Help for Subtotal type output - SAP Query

    I've created a SAP Query to display a stock overview by storage type using the table LQUA.
    The output that I get is:
    Material
    Description
    Plant
    WHN
    SLOC
    Storage Type
    Batch
    GR Date
    Available stock
    2057 
    STRAWBERRIES
    BP01
    100
    0088
    200
    0001081766
    17.06.2014
    225
    2057
    STRAWBERRIES
    BP01
    100
    0088
    200
    0001081766
    17.06.2014
    720
    2061
    VOSTIZZA CURRANTS
    BP01
    100
    0088
    200
    0001081272
    17.06.2014
    1,000
    2061
    VOSTIZZA CURRANTS
    BP01
    100
    0088
    200
    0001081272
    17.06.2014
    1,000
    2061
    VOSTIZZA CURRANTS
    BP01
    100
    0088
    200
    0001081272
    17.06.2014
    1,000
    2061
    VOSTIZZA CURRANTS
    BP01
    100
    0088
    200
    0001081272
    17.06.2014
    1,000
    I can get a subtotal for each Material, batch and GR date combination by using the ALV grid functionality.
    This method adds too much clutter to my query and can't be easily manipulated in Excel afterwards for what I want. I want to condense the results down and just keep a cumulated available stock, e.g:
    Material
    Description
    Plant
    WHN
    SLOC
    Storage Type
    Batch
    GR Date
    Available stock
    2057 
    STRAWBERRIES     
    BP01
    100
    0088
    200
    0001081766
    17.06.2014
    945
    2061
    VOSTIZZA CURRANTS
    BP01
    100
    0088
    200
    0001081272
    17.06.2014
    4,000
    How can this be done?

    Hi,
    Please try to use STATISTICS in your SAP Query. you can sort and add your value based on condiiton then it will be show you collect value in SQ01.
    Please see the below documents for STATISTICS
    https://help.sap.com/saphelp_erp2004/helpdata/en/d2/cb4263455611d189710000e8322d00/content.htm
    Regards,
    Prasenjit Mishra

  • Shortcut keys or Hotkeys for ABAP UI Elements for Navigation

    Can we create shortcut keys or hotkeys for ABAP UI elements on an ABAP screen where the user can directly navigate to a particular UI element?
    E.g.: Screen containing 5 tabs where the user can directly navigate to a specific tab.

    Hi Margaret.,
    If u post this thread in web dynpro ABAP forum then u may get some use ful help..!! As per my concern., whatever u like go for tat, which will give u more work satisfaction.,  pls go through this link and post it there.,
    [Web DynPro ABAP Forum|Web Dynpro ABAP;
    Thanks & Regards
    Kiran

  • ABAP code Help for Customer Exit variable

    Hello All,
    Can anyone provide ABAP code for a customer exit variable please?
    Requirement:
    0CALYEAR(InfoObject) - ZCALCYR (Variable) <b>Calender year with default value actual year</b>.
    Proiperties of variable: single value,mandatory,ready for input,can'be changed in query navigation.
    i have read some docs on customet exit variables which i got from SDN but i found it's difficult for me to get this as i am not that good in ABAP.
    Thanks,
    Rakesh.

    Hi,
       Just check the below code. You just need to make slight changes I believe. Hope this helps you.
    In CMOD………..
    Sample code
      INCLUDE LXRSRF01                                                   *
    data: l_s_range type rsr_s_rangesid.
    case i_vnam.
      when 'ZCALCYR'.
        if i_step = 1.
         l_s_range-low = sy-datum+0(4).
            append l_s_range to e_t_range.
        Endif.
    Endcase.

  • ABAP code help for Bex broadcasting by event!

    Hello
    I'm trying to broadcast a report for a specific time period as per factory calendar. I tried using System Time Point :RSRD_BROADCAST_FOR_TIMEPOINT but its not showing when In the broadcaster when I put restriction of factory calendar so i followed below link: Broadcasting timepoint scheduled after an event and created a PC to start after event and created variant for RSRD_BROADCAST_STARTER setting ID as my Bes broadcast setting technical name.
    When I trigger the event its processed and report emailed to me as I expected. Now I want to run this (Trigger) this event every Wed day after fisc quarter close. I wrote the below logic in se38 PROGRAM. But Now I need little help on how to trigger /run only on wed days after fisc quarter close ? Please update the below code or guide me on how to achieve this.
        CALL FUNCTION 'BP_EVENT_RAISE'
          EXPORTING
            EVENTID = ZFISC
      endif.
    Thanks

    in your ABAP code try this,
    calculate whether current date falls after fiscal year quarter. If so then check whether its a Wednesday and call the event raise FM. You can schedule this program in background daily basis.
    Use this FM for day calculation DATE_TO_DAY.
    This FM for converting sy-datum to fiscal year/period - FI_PERIOD_DETERMINE,DATE_TO_PERIOD_CONVERT

  • ABAP code help for 2004s

    Hey All,
    Could any one suggest a replacement code for the below 3.5 code in 2004s.
    If Movetype = 101 or 102 I want to update the result else I dont want to update that field. I couldnt find raise exception for thid in 2004s. Any other way to do it.
    IF COMM_STRUCTURE-MOVETYPE = '101' or COMM_STRUCTURE-MOVETYPE = '102'.
      RESULT = 'F'.
    ELSE.
    if the returncode is not equal zero, the result will not be updated
      RETURNCODE = 1.
    ENDIF.
    in 2004s
    IF SOURCE_FIELDS-MOVETYPE = '101' or SOURCE_FIELDS-MOVETYPE = '102'.
         RESULT = 'F'.
    ELSE
    *--  fill table "MONITOR" with values of structure "MONITOR_REC"
    *-   to make monitor entries
    ... "to cancel the update process
       raise exception type CX_RSROUT_ABORT.
    ... "to skip a record
       raise exception type CX_RSROUT_SKIP_RECORD.
    ... "to clear target fields
       raise exception type CX_RSROUT_SKIP_VAL.
    ENDIF.
    raise exception type CX_RSROUT_SKIP_VAL. looks to be close but it doesnt work. Can anyone explain what exactly the raise exception type CX_RSROUT_SKIP_VAL. does.
    Thanks,
    KK

    KK,
    From the comment, it is obvious that CX_RSROUT_SKIP_VAL clears the contents of the field. If you want to keep the value that was sent by the source system, just don't do anything. Don't even raise an exception.
    IF SOURCE_FIELDS-MOVETYPE = '101' or SOURCE_FIELDS-MOVETYPE = '102'.
      RESULT = 'F'.
    ENDIF.
    If the above code doesn't work, then you might try saving the value temporarily and then reassigning it.
    l_var = result.
    IF SOURCE_FIELDS-MOVETYPE = '101' or SOURCE_FIELDS-MOVETYPE = '102'.
      RESULT = 'F'.
    ELSE
      result = l_var.
    endif.

  • Abap Code help for retreiving user ID

    Hi All,
    I have a field N_BPIID(this field contains User IDs of Users) and variable on this field Z_PIID(Customer exit)...........
    My requirement is
    When i execute the report -
    this variable Z_PIID should automatically  retrive his ID frm BI/BW system..............
    Please suggest
    Edited by: Raj on Jan 12, 2010 4:59 AM

    Hi,
    A user that is signed on - system will populate field sy-uname - Not sure of your logic.In STEP 3 of your CMOD you could say :
    Eg : If user is not user "USERABC" then dont allow them into queries.
    Hope this helps    Colin
    IF sy-uname+0(7) <> 'USERABC'.
          L_AUTH = 0.
          EXIT.
        ENDIF.
      if sy-subrc <> 0.
        CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
          EXPORTING
            I_CLASS  = 'RSBBS'
            I_TYPE   = 'E'
            I_NUMBER = '013'
            I_MSGV1  = 'Insufficient authorisation'.
        RAISE wrong_entry.
      endif.

  • ABAP code help for 0PROFIT_CTR  (in Update rules)

    Hi
    Can you please give me the update rules code that would do the following in BW 3.5:
    If Profit Center is 10 digits long, its ok but if Profit Center is 5 digits long, concatenate with 5 zeros.
    Thanks
    Jimi
    Edited by: jimi ogun on Dec 1, 2011 1:44 PM

    Hi Soorej
    I tried teh code in my transfer rules but the result was blank. I guess it was because i didnt insert anything in the RESULT line... This is what i tried to do but i get a syntax error:
    $$ begin of routine - insert your code only below this line        -
    DATA: l_s_errorlog TYPE rssm_s_errorlog_int.
    data : len type i,
          v1(10) TYPE c value 'abcde'.
    len = strlen( v1 ).
    if len = 5.
    CONCATENATE v1 '00000' into v1.
    endif.
      RESULT = /BI0/OIPROFIT_CTR.
    returncode <> 0 means skip this record
      RETURNCODE = 0.
    abort <> 0 means skip whole data package !!!
      ABORT = 0.
    The syntax error i get is below:
    E:Field "/BI0/OIPROFIT_CTR" is unknown. It is neither in one of the
    specified tables nor defined by a "DATA" statement. "DATA" statement.

  • Use Variant for abap in Sapgui for Java 7.00r2 (Mac)

    Hi,
    When i want to use a, already existing,  Variant for a program i get the error message 'Choose a valid entry'.
    This also happens whith a newly stored variant.
    The Mac version also has problems with the enter key in SE38.
    Seems to me the are new bugs in revision 2.
    John

    Hello,
    both bugs are fixed in rev 2.1, which I made available just few minutes ago. see ANN: SAP GUI for Java 7.00 rev 2.1 available for download
    Best regards
    Rolf-Martin

Maybe you are looking for

  • Music from old ipod to new itouch

    Hi, hope somebody can help me.. I had an old ipod with an old laptop, both are gone, now I have an itouch with some music from old ipod, which it was downloaded it from old pc itunes library'. now with the authorized itunes library, am very limited i

  • How to save file as "current date-current time"

    Hello, I'm trying to rename a file as from file.mov to "current date-current time"movie.mov, So the final product should be something along the lines of 08-18-08-12:59:08movie.mov (or whatever format the current date/time is in osx). Any ideas on how

  • Double click on email inbox doesn't open email in a new window

    When I double click on any message (inbox, other smart folders, etc), the email doesn't open inside a new window. I have to view the email in the preview screen below the little dot at the bottom of the inbox window. I can reply - when I click reply,

  • Working with SOAP and SSL in weblogic 5.1

    Hello! Any idea of using SOAP with SSL in weblogic 5.1.?? My webservice works properly when I use http, but it doesn't work with http. It's very important to me, to get a solution for this problem!! Many thanks. Best regards, Rafa.

  • Run Mailsmith as a service?

    I am running a Snow Leopard Server and was hoping to run my Mailsmith client as a service, so that it ran all the time regardless of who was logged in, if anybody, so I can process my mail at anytime. Currently I have to have a user logged in all the