ABAP query (Search help)
One Standard search help is giving resutlts perfectly ok in user's login having 'SAP ALL' profile but same is giving different results in user's loginwho do not have 'SAP ALL' profile. Kindly suggest.
Thanx and regards,
Rajesh Vasudeva
Hi Rajesh,
The reason for this may be that the user is not given the complete authorization for one or more firld in that query.For example user may have authorization for onle one plant PT01 and hence the o/p of query shows only relative data,where as in SAP_ALL there will be all the plants say PT01,PT02,PT03...
You may contact the Basis person for clarification.
Reward points if useful
Bhavin P Shah
Similar Messages
-
Hi,
after upgrading to Adobe Reader 9.1.0 my interactive forms have started acting strange. For example, when pressing search helps the "wait" pop-up appears but never reaches the search help. Anyone who has any idea what I should do?
By the way, everything was working fine with Adobe Reader 9.0.
Thanks.
Edited by: Elvez on Dec 1, 2009 11:16 AMHello,
you´re working with WD ABAP? If not, please provide some more tech info.
If yes, I would check the layout type you use (SAP and me both recommend ZCI = zero client installation) and check the WD script. Maybe there is a change between the support in the mentioned two versions.
Have a nice day, Otto -
Hi,
I am using PNP LDB in sq03 for HR.
now i want F4 help for selection-screen.
I am selection AT SELECTION-SCREEN but it's not selected.
in which event i'll use the function module F4.
Thanks & Regrds,
Valla muthu.MPlease see the below code is the best example of passing the table values as F4 help values in the selection screen through the even of the report .....
REPORT Ztest_HELP .
TABLES : MARA.
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS : P_MATNR(10) TYPE C.
SELECTION-SCREEN END OF BLOCK B1.
DATA : BEGIN OF ITAB OCCURS 0,
MATNR TYPE MATNR,
END OF ITAB.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_MATNR.
SELECT MATNR
FROM MARA
INTO TABLE ITAB
UP TO 10 ROWS.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'MATERIAL NUMBER'
DYNPPROG = SY-REPID
DYNPNR = SY-DYNNR
DYNPROFIELD = 'P_MATNR'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = ITAB
EXCEPTIONS
PARAMETER_ERROR = 1
NO_VALUES_FOUND = 2
OTHERS = 3.
<b>
There are number of function modules that can be used for the purpose, but these
can fullfill the task easily or combination of them.</b>
" DYNP_VALUE_READ
" F4IF_FIELD_VALUE_REQUEST
" F4IF_INT_TABLE_VALUE_REQUEST
" POPUP_WITH_TABLE_DISPLAY
" DYNP_VALUE_READ
This function module is used to read values in the screen fields. Use of this
FM causes forced transfer of data from screen fields to ABAP fields.
There are 3 exporting parameters
DYNAME = program name = SY-CPROG
DYNUMB = Screen number = SY-DYNNR
TRANSLATE_TO_UPPER = 'X'
and one importing TABLE parameter
DYNPFIELDS = Table of TYPE DYNPREAD
The DYNPFIELDS parameter is used to pass internal table of type DYNPREAD
to this FM and the values read from the screen will be stored in this table.This
table consists of two fields:
FIELDNAME : Used to pass the name of screen field for which the value is to
be read.
FIELDVALUE : Used to read the value of the field in the screen.
reward points if it is usefull ...
Girish -
How to create generic search help in wd abap
Hi experts,
How to create generic search help in wd abap.
Regards...
Arun.Hi Arun,
Following links have step by step procedures for creating search helps and other related topics.
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/3d/e53642e2a3ab04e10000000a1550b0/content.htm">ABAP Dictionary Search Help for WD</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/9b/c51c42735b5133e10000000a155106/content.htm">Input Help in WD ABAP</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee2b446011d189700000e8322d00/content.htm">Search Helps</a>
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm">Creating Elementary Search Help</a>
Regards,
Neha
<i><b>PS:Reward if helpful</b></i> -
hi all,
I am new to webdynpro abap.i want to implement search help for input feilds in my application,.can anyone give me step by step procedure to create search help
thanx in advance.
regards,
AnushaHi Anusha,
Web Dynpro provides two types of pre-implemented search helps :
1. ABAP Dictionary Search help
2. OVS
[Input Help for WDA|http://help.sap.com/saphelp_nw04s/helpdata/en/b3/4d3642eca5033be10000000a1550b0/frameset.htm]
I have created a blog on implementing OVS help in WDA. You can refer that for sample code.
[OVS help in WDA|/people/shruti.rathour/blog/2008/05/05/ovs-help-in-web-dynpro-abap]
In addition, you can also provide help through Drop Downs and Select options.
[Working with Select options in WDA|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09fec07-0dab-2a10-dbbe-c9a26bdff03e]
Plz reward if helpful.
Thanks.
Shruti -
Enhancing standard (single select)search help for Multiple value selection
Hi,
Standard search help for Business Partner (in cProjects) allows only single value selection for input fields. I want to make this multiple selection.
Is there a way to do it.
I used an OVS and built a similar search but its difficult to get the standard options like saving to personal value list etc in it.
It would be good if there is a way to modify the standard search help to allow multiple selection. Any ideas??
Appreciate your help,
Thanks,
Sri
Edited by: Sri on Sep 9, 2010 8:50 PM
Edited by: Sri on Sep 9, 2010 8:52 PMAs far as I know you can't make a standard ABAP dictionary search help return multiple entries - where you get this sort of functionality the searches don't use the standard Elementary search help framework (e.g. organisational structure searches)
Given that the WDA search help relies on these dictionary based searches, I'd think very much that you couldn't enhance it to return multiple. how you could even return multiple entries into a single UI element input field is also confusing to me.
I'd suggest creating a freely programmed value help, it would certainly take quite some effort to recreate those personal value lists etc, but it could be done - I don't like OVS, but that just me. -
Hi,
I am using OVS search help for an input field.
I want to know whether it is possible to use personal value list in OVS, Like one in dictionary search help.
If yes, then how to proceed for that and also suggest any dummy program if possible.
Regards
Pankaj AggarwalHi Pankaj,
I think, 'personal value list' in value help is only possible for Dictionary Search Helps, but not for OVS & Freely programmed. Check out the NOTE section of the [link|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/9ef8cc9b5e3c5ce10000000a421937/content.htm]. It says below.
Before programming your own input helps, see whether your input helps can be depicted using an ABAP Dictionary search help. If you consistently use the search help and thus the default input helps, your Web Dynpro application is more uniform. In addition, the ABAP Dictionary search help allows you to maintain a personal values list (favorites).
This clearly means that, PERSONAL VALUE LIST is only for dictionary helps.
Incase if you use mix of dictionary helps & OVS helps and to make your WD application uniform, its recommended to disable PERSONAL VALUE LIST for dictionary helps.
Hope it answers your question.
Regards,
Manne. -
Hi All,
I have a standard SAP ABAP dictionary Search help. I want to execute that search help programmatically and get the return values in a internal table. Please note that I dont want the pop-up's for the Selection screen of Search help. Also I dont want the return values to be displayed as pop-up. I want the return values in internal table. Any suggestions to do this?
Thanks & Regards,
Mayank AgarwalHi,
If u don't want search help pop up screen, then no need to go for search help.
Anyway search help also doing database retrieval only, it is fetching data from database.
so u can directly fetch the data from database and put it into an internal table.
The execution time also will be reduced.
What u have to do is , analyse that search help from which table it is fetching data at wat condition.
there will be a search help exit for that search help in the elementary search help . This exit is FM.
In this FM They might have done validation or check that elementary search help to get the fields displayed on the pop up and the table from it is fetching the data. -
hi sap gurus,
can i steps for creating abap query
plz help me on this.
regards,
balaji.t
09990019711Hi
Please check this link for a document on ABAP query. It explains the process step by step with screen shots..
http://www.auditware.co.uk/downloads/SAPQuery_step_thru.pdf
Thanks,
Ravi -
Search help for field in ABAP Query
Hi Experts,
For a particular field in standard table the search help(F4) is not maintained in the table level, which is used in a ABAP query.
Is there any possibilities for user-defined Search help using InfoSet or Query?
Please help me in this regard.
Thanks in advance,
Balaganesh.Hi Bala,
I understand your question better now. Since you mention standard selections I assume that your InfoSet is based on a logical database instead of a table join, direct read, or custom data retrieval program. You are correct that the AT SELECTION-SCREEN ON VALUE REQUEST logic I mentioned earlier will not work for the standard selections of a logical database. The system gives you an error when generating your InfoSet if you try to use the standard selection name (in ECC 5.0 at least). I've tried various tricks to attempt to get it to work, but so far no luck.
You could, of course, use a different logical database as your InfoSet basis (e.g. VAV has a matchcode on VBAK-VBELN) or create your own data retrieval program and change your InfoSet to use the custom program instead of a logical database. In the second case you wouldn't need to deal with standard selections at all. I understand that these solutions are probably not what you need and, in the case of the custom data retrieval program, would be more complex (it may not be worth it to write a custom program just to allow F4 help... or maybe it would be... just depends).
Please keep us updated if you find a way to do it. I'll also report back if I happen to discover a way.
Best Regards,
Jamie -
Web dynpro for abap how to create a customize search help in alv column
hi:
Web dynpro for abap how to create a customize search help in alv column and put search help value into alv column?
Are there specific examples ?
thanks!!HI:
I want to created a freely programed help which include date&time,and put help value to alv column.
I have created a freely programed help in web dynpro for abpa application,I refer:
**************** - WebDynpro for ABAP
but have a problem!
If you focus on the the input field in the first row, you get the value help
However if I go to the second row and focus on the same input field in this column, I don't get the value help:
What is a good way to solve similar problems?
thanks -
Search Help Error while Publishing Query in Explorer
Hi All,
We have upgraded BW from version 3.1 to BI 7.0. SP level is 15. When we publish query in Explorer, selection screen appears, we get error in selecting variable(Fiscal Year/Period) entries from search help. After selecting a value from a list of possible entries, the format is changed on the screen.
For example:
If we select 002.2002 for variable FiscalYear/Period, we get
002 02 i.e. it is truncating 20 from 2002.
Now, we have to manually enter the values.
While executing query in BEx analyser, no such error occurs.
What will be the solution?
Regards,887188 wrote:
Hi,
I have added the below query in the EBS dataset to retrieve only unique applications as APPLICATION_NAME column has some duplicate data. I imported data to DB.
select distinct(APPLICATION_NAME) as NAME from APPLICATIONIs there any table in OIM schema which you have named APPLICATION? AFAIK, applications from EBS are imported into Lookups in OIM and you will have to query lookup to get the Application name in OIM.
But, when I try to filter on application I get below error
Internal Exception: java.sql.SQLSyntaxErrorException: ORA-00936: missing expression
Error Code: 936
Call: select distinct(APPLICATION_NAME) as NAME from APPLICATION WHERE UPPER ( DISTINCT(APPLICATION_NAME) ) like UPPER('%%') The UPPER ( DISTINCT(APPLICATION_NAME) ) like UPPER('%%') clause here is wrong. What are you trying to achieve through this query?
>
>
-Bikash -
To get f4 search help in Abap Web dynpro
Hi web Dynpro Experts,
i want to achieve XK03 Tcode payment mode search help functionality in abap webdynpro,in clearly When i press f4 i payment mode input field a view should open with different payment modes like
a.ebanking payment method,
b.ebanking treasury pay method,
c.cheque ..etc..with check boxes when i select a and b methods types it should concatinate and shown as ab in payment methods field.
I checked for this there is no predefined search helpin data element level(dzwels),and domain level,i hope it is provided by programming.
if i want to achieve f4 search help through free programming?how to do that?
how to re use the same screen design which is in XK03?
please guide me to come out of this issue
Thanks in advance
Vijay
Edited by: vijay kumar on Apr 17, 2010 10:17 AMhi friends my question is answere...thanks for ur support
-
Hi Friends,
I am having issue in the ABAP query in the HR report, i can able to change the column Heading in the report, but the same header is not coming in the layout details fields(after executing the ALV report we have layout options where we could not see the same header as in the coulmn heading)
pls help me to solve this issue,
Regards,
boobalan.vHi,
Once you have made some changes to the infoset/query, You need to adjust the infoset(SQ02) and then regenerate the query(SQ01)
>Menu->Query/Infoset->More functions->Adjust/Generate program.
Letme know if this is still not reflecting..
Reward if useful
Regards
Shiva -
Select Options and Search Help in ABAP Dynpro
Hi Guys,
I am new to ABAP WD. We are workin on ABAP Stack of the Portal with no DB Tables n data. we have to fetch the data from R/3 and display it on the Dynpro screen.
But here the problem is the Standard Search Help attached to the data elements cannot fetch any data, as by default it searchs the ABAP stack for the data. Is there any work around for the same wherein i can fetch the data from R/3 and display it when user requests for the search help.?
Please let me know.
Thanks and Regards,
SagarHi,
You can also use freely programmed help here.......
Please check the following links for
OVS
http://help.sap.com/saphelp_nw04s/helpdata/en/47/9ef8c99b5e3c5ce10000000a421937/frameset.htm
OVS Help in Web Dynpro ABAP
Freely programmed
http://help.sap.com/saphelp_nw04s/helpdata/en/47/9ef8cc9b5e3c5ce10000000a421937/frameset.htm
regards
Pranav
Maybe you are looking for
-
Driver program for Pallet label or Handling unit
Hi Friends, Could any one give me The standard driver program for Pallet label for Handling unit
-
How to delete the data inside a internal table?
I got a internal table name g_itab1. currently my g_itab1 has a FNAME(50) component. Inside my component there is ADMINO, EYEAR, FIRSTNAME, LASTNAME and CONTACT. I want to clear away ADMINO, EYEAR, FIRSTNAME, LASTNAME and CONTACT inside my internal t
-
Weblogic Portal Administration Console - Workflow problem
Hi I began with WLP a week ago. When I try default workflow, I see that it doesn't work right When I download workflow file (default.xml) it like this: <pre class="jive-pre"> <transition> <from-status id="1"/> <to-status id="
-
Classic Environment for OS X Tiger
Hello Mac-users. Before I got my MacBook, I used to play Diablo. Well, I wanted to play Diablo on my Mac too, but as I was about to install it, a message popped up and said, that my system could not open it. Maybe I need Classic Environment for my OS
-
Black screen after the installation of the graphics driver
Hello, - Recently I bought a 'GT 610' graphics card to replace the old broken one, - after the assembly one short beep was audible during system reboot (=OK), - a default windows graphics driver was installed by Windows Vista, - screen resolution man