Need to restrict 1 value in standard F4 Help for vbrk-fkart
Hi Friends,
The requirement is that in the selection screen ,when we are pressing F4 for the field billing type , one value should not appear i.e. if 24 billing types are coming then we want only 23 billing type. The billing type that we donu2019t want is ZFBL ( Which isclient business specific and we donu2019t require now ). Is there any way to handle in any event before displaying the values other than deleting the value from the master table.
SELECT-OPTIONS:
so_fkart FOR vbrk-fkart no intervals OBLIGATORY.
Your help is highly appreiciated.
With Regards,
Ajit Prasad.
Hi Bro,
copy the data into an internal table .. delete the required entry and pass it to the F4 help Function module (F4IF_INT_TABLE_VALUE_REQUEST) under the event AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_fkart-low..
cheers,
jacks.
Similar Messages
-
Need to restrict KFF values on Charge Account Screen in Oracle Apps 11i
Hi,
I have a requirement to restrict KFF values based on certain criteria in the charge account screen in Oracle Apps 11i..
Could you pls advise on how this can be achieved.
Thanks,
Shashank
Edited by: Shashank Senan on May 23, 2012 2:53 PMCan you please mark my answers correct......if they were helpful to you.....
That would be so nice of you....:-)
and regarding your next requirement, You should create a new table which will contain Date, Worker Number and any other details that you want.
In the form, for every date for which you want to enter the data, you will select the max(date) before the current date and maximum worker number for that selected date and then from that number you can select next 15/20 workers or whatever your number is.
e.g. for the first time if you want to enter data for 01-jul-2010 and you have work for 15 workers, you will select max(date) where date<01-jul-2010, but you will not find any bcoz this is your first entry. So wat you will do is will start popupating your grid from number 1-15.
Next day you will select max(date) where date<02-jul-2010, you will find 01-jul-2010. Then you will select max(number) for 01-jul-2010, you will find 15. So populate your grid from number 16-30 (whatever your number is). and so on.
Hope it helps you...
Please mark my answer Helpful or correct and Please create a new thread for new question
Thanks
Nishu -
How to add Value Table or Search Help for a field which is on Standard SAP?
Hi All,
I have a field HERST (tcode IE01) which doesnt have any value table or search Help. I have the same field in a Z table which I should display for the standard screen field in tcode IE01. So Pls suggest me on this.
Thanks in advance.
Regards
Jaker.Hi, Tamas,
I found the reason. The function Z_WEBRFC_READ_DATA_SH had a string concatenation error.
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
The correct code is like:
CONCATENATE '{"results":[{"key": "shlpname", "value": "' l_shlp '"},{"key": "fieldname", "value": "' l_field '"}]}' INTO htmldoc-line.
Another question is, I can't get any words in Chinese from WebRFC. It returns error when I try it. How can I configure it?
Xin -
Need to show attributes value in the F4 help
Hello All
I am Having 0customer has a main characteristics and its attributes is 0city. In the selection screen of the report for 0customer i am able to view all the customer name. but as per the user requirement i need to display 0customer with city name so the user will select exact customer in the particular city.
Please tell me how to add 0city attributes value in the F4 help of 0customer.Hi Kamal,
Refer to Search help /BI0/OCUSTOMER , 0Customer uses it internally.
SE11 -> Select Search Help -> /BI0/OCUSTOMER -> Change .
Here you can delete / add more fields as per requirement .
Hope it helps.
Regards
Mr Kapadia -
Restricting the values in Drop Down list for ESS application
Hello Experts,
We are trying to restrict the values in the drop down list box for payment method field for direct deposit iview.
Here Payment is the Zlsch field.
here we are trying to have only 3 vlaues in the drop down. Do I have to do it from java code or can this be restricted on the ECC side?
Plese let me know.
Thanks,
James.James,
What you have to do is create a DropDown ByIndex element instead of by Key and create a context node PaymentMethodNode and a value attribute PaymentAttribute under it ....then write the following code in the wdDoInit() method as :
//Add whatever values you want in the DropDown
String[] priority_options= new String[]{"Payroll/Corp/Partner Check","Employee Payroll ACH(PPD)"};
List ListOfPriorities = new ArrayList();
for(int i=0;i<priority_options.length;i++)
IPrivateDetailView.IPayment_MethodNodeElement pr= wdContext.createPayment_MethodNodeElement();
pr.setPaymentAttribute(priority_options<i>);
ListOfPriorities.add(pr);
wdContext.nodePayment_MethodNode().bind(ListOfPriorities);
for(int e=0;e<wdContext.nodePayment_MethodNode().size();++e)
wdContext.nodePayment_MethodNode().setSelected(e,e>=0 && e<=1);
and then write the following code in wdDoModifyView() method:
IWDDropDownByIndex di =(IWDDropDownByIndex)view.getElement("DropDownByIndex");
di.bindTexts("Payment_MethodNode.PaymentAttribute");
then create an Action and bind it to the onselect property of the DropDown and write the following code in the onAction method :
if(wdContext.currentPayment_MethodNodeElement().getPaymentAttribute().equalsIgnoreCase("Payroll/Corp/Partner Check"))
wdContext.currentSelectedInfotypeElement().setZlsch("C");
else
wdContext.currentSelectedInfotypeElement().setZlsch("P");
I am sure it will work.. -
Why is there no standard search help for table-field T056U-VZSKZ?
Hi Experts,
A blessed day.
Table-Field T056U-VZSKZ (Control table for calculation of interest on arrears-Interest calculation indicator or account number) is being used to provide the entries for a screen-field of a standard transaction for Account Determination: Posting Specifications. However, this table-field T056U-VZSKZ does not have a standard search-help. I've looked for an OSS for this, but wasn't able to find one. Is there a reason why this T056U-VZSKZ does not have the standard search help when VZSKZ is it's key field?
Thanks.
Regards,
ianneHi Marco,
When you attach the search help make sure you also attach the export parameter of the search help to the name column. That is in the tab 'Further characteristics' we have to pass two value. The search help name should be typed in place of 'Parameters' and the export parameter of the search help should be typed in the place of 'Name'.
Please try this and post back the updations.
Thanking you,
Jerry -
Need to restrict Tasks to come to Task list for Leave Request approval.
Hi all,
Can anybody guide me to resticting the Task to come to Tak list For the Leave RequestApproval.
As soon as we create a Leave Request a task is generated and it is visible in task list.
Here the requiremnet is the task which are generated for this LEave Request functionality should not be seen in the task list.
I have removed the task from UWL Configuration in XML code.
Thanks and Regards,
AnandHi all,
Can anybody guide me to resticting the Task to come to Tak list For the Leave RequestApproval.
As soon as we create a Leave Request a task is generated and it is visible in task list.
Here the requiremnet is the task which are generated for this LEave Request functionality should not be seen in the task list.
I have removed the task from UWL Configuration in XML code.
Thanks and Regards,
Anand -
How to restrict the values in seach helps
Dear All,
I am new to the BSP concept.I have a requirement
where in the BSP i need to restrict the values of the search help.i.e. 2 values are coming in the help i need to display only 1 value.
can anybody please explain how to do it.
Cheers,
Deepthee Kasal
Edited by: Craig Cmehil on Sep 2, 2008 8:21 AMHi,
I assume that you read values for the search help with function 'F4IF_FIELD_VALUE_REQUEST' and in a later step you display values with <htmlb:tableview>. If that is true and the function is delivering too many records as you mention, you could then restrict the output table of values like this:
TABLES mara.
DATA: mytable TYPE TABLE OF ddshretval WITH HEADER LINE.
DATA l_repid TYPE syrepid.
PARAMETERS p_mtart LIKE mara-mtart.
AT SELECTION-SCREEN ON VALUE-REQUEST
FOR p_mtart.
l_repid = sy-repid.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
tabname = 'MARA'
fieldname = 'MTART'
dynpprog = l_repid
callback_program = l_repid
callback_form = 'F4CALLBACK'
TABLES
return_tab = mytable
EXCEPTIONS
field_not_found = 1
no_help_for_field = 2
inconsistent_help = 3
no_values_found = 4
OTHERS = 5.
START-OF-SELECTION.
blah, blah, blah
* Form F4_form
* Exclude all material types that start with F & H
FORM f4callback
TABLES record_tab STRUCTURE seahlpres
CHANGING shlp TYPE shlp_descr
callcontrol LIKE ddshf4ctrl.
DATA: aux_struc TYPE ddshselopt.
MOVE: 'H_T134' to aux_struc-shlpname,
'MTART' TO aux_struc-shlpfield,
'E' TO aux_struc-sign,
'CP' TO aux_struc-option,
'F*' TO aux_struc-low.
append aux_struc to SHLP-SELOPT.
MOVE: 'H_T134' to aux_struc-shlpname,
'MTART' TO aux_struc-shlpfield,
'E' TO aux_struc-sign,
'CP' TO aux_struc-option,
'H*' TO aux_struc-low.
append aux_struc to SHLP-SELOPT.
ENDFORM. "F4_form
Mark points if helpful -
Validate values while displaying search help records
Hi Experts,
I have created one serach help. This search help was using by so many programs.
Based on the material type I need to restrict some values while displaying search help.
Suppose search help contain three rows.
Material type --- Material --- Material Desc
A1 --- 12345 --- XXXXXXXXXXX
A2 --- 4586 --- XXXXXXXXXXX
A3 --- 2345 --- XXXXXXXXXXX
A1 --- 852 --- XXXXXXXXXXXX
In my module pool program, I need to display A2 and A3 material type records only.
How can we acheive this?
I checked search help exit by creating new. none of the table contains those records. What code I need to write in search help exit?.
Pls help me.
Thanks in advance
RaghuHi check[ My wiki|https://wiki.sdn.sap.com/wiki/x/du0] for the code
-
Restrict variable values in the pop-up selection screen
Hi,
I have a variable based on a caracteristic that has 0COMP_CODE as attribute in a Web Report (BW 3.1B).
This variable has to be accessible so that users can select a value.
I need to restrict the values that users can see on the selection screen according to their 0COMP_CODE value, even in the pop-up.
I have tryed authorization variable and user exit, but none worked.
The best I could do was a "several single values" variable that was preselected with the caracteristics of their 0COMP_CODE, but it didn't worked in the pop-up.
Does anybody knows how to handle this?As far as I could find out, it should be made through customer exit.
The point is : I have to use a customer exit variable that has been check as "ready for input".
I can't find a way to restrict the values displayed in the variable selection screen (in the help pop-up window for this variable).
The exit can pre-fill the selection fields with values, but whenever the user opens the window, he sees all the values.
I have tryed all the values for I_STEP (0,1,2 and 3) but none did it.
Does anybody knows how to limit those values? -
Restrict the values on variables screen
I've a variable on report screen which I want to restrict the values getting from master data. Variable is a authorization variable type. So I can't set default values. I need to restrict the values for example "00D*".
At result user should see the master data list values which starts with "00D".
Cheers,
YigitSELECT_OPTIONS_RESTRICT is not intended for this, only to restrect the kind of sign and options which are allowed in the select-options, you can restrict to single values, range or disable exclusion, this kind of restriction.
For your requirement, you have to restrict the dropdown values using FM VRM_SET_VALUES. (use the search tools in [forums|http://forums.sdn.sap.com/search.jspa?objID=c42&q=VRM_SET_VALUES] and [wiki|http://wiki.sdn.sap.com/wiki/dosearchsite.action?searchQuery.queryString=VRM_SET_VALUES&searchQuery.spaceKey=conf_global])
Regards,
Raymond -
Accessing the Value of Standard Hours in PPOME
Hi All,
I need to access the value of Standard Hours against a Position as displayed in transaction 'PPOME'.
What I have seen so far is that this value may or may not be present in HRP1011 depending on the type of assignment of Employee groups/sub groups etc.
I have come across a Fn. Mod. RH_POSITION_INFO which gives the correct values but it has a 'call screen routine' as such it displays the values on screen, I need the values to be used in a report/module program.
I can obviously clone this Fn.Mod and delete the call screen bit but I want to know if there is another way to get the standard hours? Any Fn. Module/Sub routine etc.
Many Thanks in Advance
SanjayHi Sanjay,
Use this FM <b>'RH_WORKTIME_GET'</b> to get the work schedule data from HRP1011.
Hope this will solve your problem.
Thanks,
Sarika. -
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. -
How can I restrict the values obtained in a search help?
Hi guys,
The thing is that there is a function module that according to the user name, and a material number, it tells wheter the user has permission to see the material or not.
It is possible to use that function module to restrict the values of the search help?
ThanksHello Raulie,
1. If the function module is not much complex then copy the same Functionmodule into your custom name ,...
Then you would have the control at your end,,,,
2. If the funciton module is very complex then fetch the data manually and create a custom f4 help ... to fetch the data use the similar logic of the function module so that data does not get deleted.
Thanks,
M.Naveen Kumar -
Value help for product category.
Hi ,
I need to restrict the values ,i mean should populate the cat id should come from custom table.
How can i create custom serach help
I have generated get v
data : lv_str_index TYPE string.
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.
lv_str_index = iv_index.
CONCATENATE 'table[' lv_str_index '].STRUCT.GET_PRODHIERARCHY ' INTO ls_map-context_attr.
ls_map-f4_attr = 'PRODHIERARCHY'.
APPEND ls_map TO: lt_outmap,lt_inmap.
lv_str_index = iv_index.
CREATE OBJECT RV_VALUEHELP_DESCRIPTOR
TYPE
CL_BSP_WD_VALUEHELP_F4DESCR
EXPORTING
IV_HELP_ID = 'ZKARFTCAT' --->search help having cat id and desc
IV_HELP_ID_KIND =
IF_BSP_WD_VALUEHELP_F4DESCR=>HELP_ID_KIND_NAME
IV_INPUT_MAPPING = LT_INMAP
IV_OUTPUT_MAPPING = LT_OUTMAP.
when i select the values i should fill the cat id and cat des respectively.CACS_SHLP_EXIT check this standard Search help in ECC
search help exit name : CACS_SHLP_EXIT its a functional module
RSBGUI_CONVEXIT check this standard Search help in CRM
search help exit name : RSB_GUI_SHLP_EXIT_CONVEXIT
in this search help when you click on the search help exit name it takes you to the function module .
you need to write code there as shown in the standard .
step 1 .
now you need to create a zsearch help and create a search help exit put your code in side that and bring what ever value you want . and use that seach help in the WEB UI .
step2.
in Method GET_V_
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 = 'TYPEID'. give the Context _ATTribute name .
ls_map-f4_attr = 'OBJTYPE'. gve the f4 attribute attribute name .
APPEND ls_map TO: lt_inmap,
lt_outmap.
CREATE OBJECT rv_valuehelp_descriptor
TYPE
cl_bsp_wd_valuehelp_f4descr
EXPORTING
iv_help_id = 'Z_search name ' " Know use the search help name
iv_help_id_kind = if_bsp_wd_valuehelp_f4descr=>help_id_kind_name
iv_input_mapping = lt_inmap
iv_output_mapping = lt_outmap.
Edited by: Anbu B on Aug 11, 2011 12:53 PM
Maybe you are looking for
-
How do I change the user color in a subscribed ical?
I subscibed to the same ical, but different calendars for my 2 son's sports practices and games.(Same rink, but they are different teams.) Because the calendar is not in their color, it's very confusing to me since I use my ical 98% of the time for
-
Pavilion DV4 : After upgrade to Windows 7, fingerprint doesnt work
Hi, I upgraded to windows 7 yesterday using HP Windows upgrade kit. Everything is working fine except for Digital Persona. It say reader not connected. I had downloaded it from HP site. http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwar
-
Setting composite key in Container Managed Entity Bean
In my database table i set primary key to two columns making them as composite key. how do i set that in my container managed entity bean home interface findByPrimaryKey() method and in deployment descriptor file.
-
10.5.5 sets external volume to read-only
Bizarre. I have 4 external volumes (2 FW800, 2 USB 2.0) and one of the volumes suddenly shifted to read-only status after updating to 10.5.5 this afternoon. At least, that's the error message I get when I try to touch a file anywhere on the volume. P
-
How do I add my signature using Signature Capture?
I know it was added in Lion, but I cannot seem to find it anywhere.