ECATT: Recording "Restrict Value Range" screen for CO58
Hi,
I need to provide PI Sheet # for CO58 (Process a material). Here, I search the PI Sheet # from Process Order # when I perform this manually. But, when recording this via TCD Mode or SAPGUI mode, I am not able to record the part where PI Sheet # is searched through the "Restrict Value Range" screen through Process Order #.
How can I record this part?
OR
Is there any way to obtain PI Sheet number from PO # through some other transaction. I tried using CO60 but the values inside the table displayed there with PI Sheet # is also not getting recorded.
Any help would be highly appreciated.
Thanks,
Punit Sethi.
Hi,
I need to provide PI Sheet # for CO58 (Process a material). Here, I search the PI Sheet # from Process Order # when I perform this manually. But, when recording this via TCD Mode or SAPGUI mode, I am not able to record the part where PI Sheet # is searched through the "Restrict Value Range" screen through Process Order #.
How can I record this part?
OR
Is there any way to obtain PI Sheet number from PO # through some other transaction. I tried using CO60 but the values inside the table displayed there with PI Sheet # is also not getting recorded.
Any help would be highly appreciated.
Thanks,
Punit Sethi.
Similar Messages
-
F4 help:Restrict Value Range
Hello Experts,
I want to a search help for one field such that when user click on F4 help , it will again pop- up with one screen, in which I need to have 2- 4 fields to Restrict the values then user enter some values here then F4 help will appaer.
Like in standard tables mseg-lifnr F4 help Restrict Value Range screen , but i require only one tab
Plz suggest
AasthaHello,
Use the following piece of code.
Parameter : p_value type ......
TYPES : BEGIN OF y_value,
value TYPE text6,
END OF y_value.
DATA : t_value TYPE STANDARD TABLE OF y_value.
DATA: t_return TYPE STANDARD TABLE OF ddshretval.
Fill table t_value with the values which u require in the F4 help.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 't_value-value'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'p_email'
TABLES
value_tab = t_value
return_tab = i_return
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3. -
How to Restrict Master data in value help screen for a user???URGENT
Hello Gurus,
I have a requirement.When a authorized user logins to view the report, he should see only list of customers assigned to that user in the value help screen, instead of displaying whole master data.and the data is displayed perfectly fine for the authorized sales rep. By default, Value help screen displaying all the customer numbers.
How can I restrict in the value help screen?
Any help appreciated with points.
Regards,
PNKHi Chandran,
I got that Idea too. I created a authorized customer, I created a authorized Object and assigned to a role.But in the role, when I am changing the object to generate profile, it is asking to select list of customers from the customer table.If the customers are always constant then this would work, but in my scenario, customers for the sales rep changes over time and when I ever reps open the query, they should see updated list of customers assigned to them only, as we update the master data everyday from source system and that shud reflect in the value help.
I am trying User Exit to achieve this, but I am not getting proper ideas how to do this.
Any Help on this issue with user exit code???
Thanks in Advance
regards,
PNK -
Hi,
is it possible to set the values of Restrictions (F4) programmatically. How?
Thanks.
/ElvezHi Srinivas,
I would like to default the selection screen to something, however, dynamically and not be setting the default value in the search help. Here is the what I would like to achieve:
1) F4 help for an additional infotype field with competence category id.
2) The F4 uses molga, begda, endda to select data.
=> Problem: How to transfer the selection parameters to F4 when they are not fields on the screen?
/Elvez -
Prefill "Restrict value range" ?
Hello. My first posting, but after searching, I can't find any threads discussing this subject.
So:
My code is like this:
select-options: %%hyperi for ska1-saknr,
%%saknr for ska1-saknr.
When the users press F4 on these fields, they get the same search-help. I want to prefill this search-help so that correct "sub-sheet" is selected, and values are correct.
Is this possible?
I've tried to use
at selection-screen on value-request for %%hyperi-low
and so on..
after filling an internal table, but the funcionality isn't good enough I feel.Hi Helge,
It is not very clear whether you just want the user to get a different "tab" of the search help for each of these fields, or whether you (also) want to fill your own values into the search-help. I shall try to explain to you both these cases.
Case 1 : You just want to display a different tab for the user for each of these fields, when he presses F4.
The search help SAKO, which is being used in this case, has around 8 different tabs from which the user can select a value. This search-help is therefore called a "Collective search-help", becauses you are providing the suer with several ways of obtaining the input help through a single search-help.
Now, let us assume that you want the user to be able to select from "G/L account number in company code" for the first field. That is to say, when he presses F4 for the first field, he should be able to see only that tab of the actual search-help.
In your program, you will ahve to code something like this:
AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_HYPERI-LOW.
call function 'F4IF_FIELD_VALUE_REQUEST'
exporting
tabname = 'SKA1'
fieldname = 'SAKNR'
SEARCHHELP = 'GL_ACCT_CA_NO'
tables
return_tab = ITAB_RETVAL.
IF ITAB_RETVAL[] IS NOT INITIAL.
READ TABLE ITAB_RETVAL INDEX 1.
S_HYPERI-LOW = ITAB-RETVAL-FIELDVAL.
ENDIF.
Here ITAB_RETVAL is the return table which contains the entry the user has selected. It is of the type DDSHRETVAL.
2. If you want to use your own values in the F4 help of the user, it is generally recommended to use the search-help exit. However, you can always programmatically control that,too. The function Module F4IF_INT_TABLE_VALUE_REQUEST can be used for the same. Please go through the documentation for this Function Module - SAP has explained it better than I ever can :-).
In general, you should always try to search for the Function Modules beginning with F4IF* for any information on programming the input-help.
Hope this information has been useful.
Regards,
Anand Mandalika.
P.S: In case you did not get how I obtained the search-help GL_ACCT_CA_NO for use in the above example, just go to SE11, and display the search-help SAKO. you will find a tab called "Included search helps". Just dig a little deeper into it and at the end of it, you will understand how several elementary search-helps make up the different tabs of the collective search help. -
Dear Experts.
In VA05n(List Of Sales Order) T-Code, when i do press F4 for Sold-To-Party field in that i do want to add customer group for selection.
Regards
Bhavesh VegadHi Bhavesh,
It is quite simple,
1. Create an Elementary Search Help in that include all the fields you want to have in your search.
2. After doing this then Open Collective Search help DEBI from there goto tab Included Search Helps
goto in Change Mode and put a new entry there ( this is the append search help which is being created).
3. Next double click on the newly appended search help here u will find 3 tabs:
1. Attributes
2. Defination - In this you enter the following two rows
Search help paramater Data Element Default Value
KUNNR KUNNR
BUKRS BUKRS BUK
Tick both import and export parameters in here.
3. Included Search Helps - In this include the Elementary Search help that you have created.
In this Elementary Search help i Propose the following parameters:
Search help paramater Data Element Default Value
KUNNR 4 4 KUNNR
VKORG 1 1 VKORG VKO
VTWEG 2 2 VTWEG VTU
SPART 3 3 SPART SPA
NAME1 5 5 NAME1_GP
NAME2 6 6 NAME2_GP
KVGR1 7 7 KVGR1
KDGRP 8 8 KDGRP VKD
Also u need to you need to have a Help view created say ZKDGRP which is assigned in the Selection Method of the Elementary Search Help
Dialog Type - "C"
Hot Key - "G"
In the Help View join the two tables KNVV & KNA1 specifying the output fields in the View Fields Tab.
Hope this helps you, for more help you can refer the following link,
Link: [Search Help|http://help.sap.com/saphelp_wp/helpdata/en/1f/29ef5777df11d2959800a0c929b3c3/content.htm]
Regards,
Abhijit G. Borkar -
I'm fairly new to LiveCycle, I've used it to make forms for a bit, but am now hoping to make the forms much more advanced. I'd like to know the best way to set a value range/parameter for a numeric field? I want the filler to be restricted to a range of $300 to $10,000 and if they try to enter below or above that value they would receive an error message. I've looked at all the beginner material and am trying to get introduced to FormCalc and/or JavaScript but not fully comprehending the best/complete method (any guidance on where to start is also greatly appreciated).
Thanks, Edif (((300 < this.rawValue) && (this.rawValue < 10000)) || (this.rawValue == null)){
true
} else {
this.rawValue = null;
app.alert("Please enter a value between 300 and 10.000")
I changed some things though... ^^
If you want 300 / 10 000 to be true too then set <= instead of <.
You can also change the app.alert message as you want.
If you don't add the null in the beginning you might get an error message if it's on the validate event. If it's in the exit there shouldn't be a problem...
Though this is just a little different from Paul's original solution. -
SECATT not saving the screen for change of address in CAA2
Dear Secatt Experts
When recording the transaction CAA2 using TCD(Record) in SECATT, the
screen for change of address in the main screen of CAA2 is not getting
saved. Therefore I am unable to run the script for change of address
The address can be changed (Fix any address other than standard address)
by using F4 function in the address field in the main screen.
Please help
Best Regards
VenkatHi Venkat,
It should work fine with SAPGUI recording. So please try this.
Hope it helps.
Regards,
Ananth. -
Restrict values for F4 on field in Selection-screen
Hi,
For f4 on particular field I am getting list of values. These values are fixed in Value Range of DOMAIN of that field. There are 26 values fixed for that DOMAIN. Now what I need is I need to restrict 26th value from displaying on F4 for that field in selection screen.
I tried doing it in AT SELECTION SCREEN OUTPUT event using F4_ON_VALUE REQUEST FM, fetching data and deleting 26th entry , but before i delete it, It shows all values in selection-screen.
Please any one guide me.
Thanks,
Vanitha PYou have to use AT SELECTION-SCREEN ON VALUE-REQUEST event.
Tables:mara.
TYPES :BEGIN OF gty_mtart,
mtart TYPE mara-mtart,
END OF gty_mtart.
DATA: gt_mtart TYPE STANDARD TABLE OF gty_mtart,
gtt_mtart TYPE gty_mtart.
DATA: gt_return_tab TYPE TABLE OF ddshretval,
gwa_return_tab TYPE ddshretval.
SELECT-OPTIONS:so_mtart FOR mara-mtart.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_mtart-low.
REFRESH gt_mtart.
gtt_mtart-mtart = 'Z01'.
APPEND gtt_mtart TO gt_mtart.
gtt_mtart-mtart = 'Z02'.
APPEND gtt_mtart TO gt_mtart.
gtt_mtart-mtart = 'Z03'.
APPEND gtt_mtart TO gt_mtart.
gtt_mtart-mtart = 'Z04'.
APPEND gtt_mtart TO gt_mtart.
gtt_mtart-mtart = 'Z05'.
APPEND gtt_mtart TO gt_mtart.
gtt_mtart-mtart = 'Z06'.
APPEND gtt_mtart TO gt_mtart.
gtt_mtart-mtart = 'Z90'.
APPEND gtt_mtart TO gt_mtart.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
* DDIC_STRUCTURE = ' '
retfield = 'SO_MTART-LOW'
* PVALKEY = ' '
* DYNPPROG = ' '
* DYNPNR = ' '
* DYNPROFIELD = ' '
value_org = 'S'
* MULTIPLE_CHOICE = ' '
* IMPORTING
* USER_RESET =
TABLES
value_tab = gt_mtart
* FIELD_TAB =
return_tab = gt_return_tab
* DYNPFLD_MAPPING =
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3
IF sy-subrc = 0 AND gt_return_tab IS NOT INITIAL.
CLEAR gwa_return_tab.
READ TABLE gt_return_tab INTO gwa_return_tab INDEX 1.
IF sy-subrc = 0 AND gwa_return_tab-fieldval IS NOT INITIAL.
so_mtart-low = gwa_return_tab-fieldval.
ENDIF.
ELSEIF sy-subrc <> 0.
REFRESH gt_return_tab. CLEAR: gwa_return_tab.
ENDIF. -
Validation for the select option value range of selection screen
Hi All.
if i wish to validate the selection screen parameter for a value range(select options),is it possible?
what should i write in code.Also,m using FM DD_DOMVALUES_GET to get the values for a specific domain name.
Please reply.Hiii,
Yes it is possible.... Can you give me the piece of code ... about the select option
and also the value range against which you want to validate the select option.
So that i can help you with the coding tips...
Thanks in advance.. -
Value range restrictions for Characterstics
Hi all,
I am not sure where should I post this message as it is related to characterstics in classification system and variant configuration, and I am aware that SD experts are the most knowledgable in those areas
My requirement is simple:
I have a characterstic (CT04) where it has values maintained in the values tab. After some time, some of the values manitained need to be either hidden or locked, so my question is
Is there such a way to do that? I have heard about (value range restrictions) functionality, but I really don't know how to use it or where to use it?
I really appreciate any help.
Regards,I appreciate if someone could share some experience.
Regards, -
Problem when define Value range for data element
Dear
When I define a new data element in ABAP Dictionary, for example, ZDATA_ELEMENT_TEST.
I use domain ZDOMAIN_TEST.
(Data type is DEC, the length is 10, and decimals is 2 with sign.)
Now, I want to restrict that, user can ONLY input the value from 10 to 100.
From ABAP course and the Internet, I switch to "Value Range" tab, and define 10 for Lower Limit, 100 for Upper Limit in Intervals section.
And write the simple program.
PARAMETERS test TYPE ZDATA_ELEMENT_TEST.
WRITE: test.
And run it.
Line: -
But, there is a problem.
When I input 200 for test, the program still run and display 200 to screen without any error report or notification. The ABAP runtime system doesn't check the input value.
I want to config for the domain that can satisfies, if the user input the wrong value (e.g: 200 in the previous case), the program will auto raise the error report, or exception, or sth like that.
Any help is welcome.Hi Hanni,
Welcome to forum.
Try to attach key word VALUE CHECK to your PARAMETER statement.
I.e:
PARAMETERS test TYPE ZDATA_ELEMENT_TEST VALUE CHECK.
Note: The addition VALUE CHECK cannot be used together with the additions AS CHECKBOX, RADIOBUTTON, or NO-DISPLAY.
Regards, -
How to define variable for value range in Bex Query?
Hi
How to define variable for Keyfig. value range on runtime like characteristic in Bex Query?
Example: On runtime user select one of the following condition:
1)User want to those records where amount is greater than $1000
2)User want to those records where amount is greater than $1000 and less than $5000
3)User want to those records where amount is greater than and equal to $1000Hi ,
Need to Use exceptions & conditions for this scenario's & need to create variable for exceptions based on condtions.
Below document provides steps how to make selections at run time for a kfg.
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60b33a28-dca2-2d10-f3b2-d2096b460b1e?QuickLink=index&overridelayout=true&48842368468641
Regards,
Seshu.P -
Restrict value list (F4) at variable selection screen
Hi,
we have a variable of type "manual input" so that it appears at the selection screen before executing the query.
The value-list (F4) for this variable provides every value of masterdata of the infoobject. But here is the problem: I want only those values that are used in the infocube. Is there a way to restrict this list? Customer-Exit??
Thanks for all hints!
Regards,
MathiasHi,
I tested both of the hints - in my system both settings had no impact.
Can it be a release problem? My BW is a 3.0B SP 15.
I changed the settings in the InfoObj and put a new variable in the query-def for this characteristic. In the variable-selector before executing the query I can select a value (via F4) for the characterisitc which is not used in the cube. This is my problem. Only used values should be selectable.
These are the settings in the InfoObj:
Display Text
BEx description Short description
Selection Unique for Every Cell
Q Def. Filter Val Sel Only Values in InfoProv
Q Exec Filter Val. Sel Only Posted Values for Navi
Can anyone help?
Thanks, Mathias -
How to restrict field range in selection screen in adhoc report
Hi Experts,
I have created one adhoc report in which i have to restrict region values range when i searched for particular company code.is it possible to restrict in adhoc report.
For example when i searched for particular company code US the values in region gets restricted automatically to US country itself.
Thanks&Regards,
narasimha.Hi,
how to restrict region list to particular company code in Adhoc report.Could you please explain it in brief .
Regards,
narasimha.
Maybe you are looking for
-
HP Officejet Pro 8000 -- keeps printing alignment page
I was having troubles with the black ink not printing correctly so after doing many cleanings I decieded to manually clean the print head. I took the printhead out of the printer then wipped the part where the ink comes out with a most paper towle. A
-
Tcode F.19 and program RFWERE00 - Analyze GRIR Clearing accounts
Friends, My client requirement is to include the field WBS Element in the report - Analyze GRIR Clearing accounts (F.19). Also how to capture the WBS Element assigned to a PO at the time of Goods receipt in the GRIR account. Please do the needful. Re
-
I tried recommendations that I understood in this forum to no avail. I tried resetting Firefox. Then I uninstalled and reinstalled. It still doesn't work. It used to work all the time. Now it works once in a great while. Instead of showing as an imag
-
Error 1067 : The process terminated unexpectedely
Hi Everyone, I'm getting the error when i am starting the Oracle BI Server services. The error is as below : Error 1067 : The process terminated unexpectedly. On my machine OBI EE was installed and it was running successfully till today. But now it i
-
Can I share between my Maverick Macbook and my iPhone 5 using AirDrop
Can I share between my Maverick Macbook Pro and my iPhone 5 using AirDrop