2005 Mar 09 3:01 PM
hello friends,
i am having a field for position with basic f4 help which lists all the positions in the form of a list in my selection screen.instead of this how to incorporate advanced search help for the field position.please give solution for this.
thanks.
hello friends,
i am having a field for position with basic f4 help which lists all the positions in the form of a list in my selection screen.instead of this how to incorporate advanced search help for the field position.please give solution for this.
thanks.
2005 Mar 09 3:25 PM
Hi Sundar,
Look at the option 'AT SELECTION-SCREEN ON VALUE-REQUEST FOR <PARAM>'. In this event you can build your own F4 and present it to the user.
Srinivas
2005 Mar 10 3:54 AM
hi srinivas,
i don't want to create new search help.i want to use the standard advance search provided by sap.how to do this.
2005 Mar 11 5:48 PM
Hi Sundar,
Here is a sample code for getting the full search capability for the positions.
PARAMETERS: p_otype LIKE objec-otype DEFAULT 'S', " for position
p_realo LIKE objec-realo,
p_begda LIKE sy-datum DEFAULT sy-datum,
p_endda LIKE sy-datum DEFAULT '99991231'.
DATA: v_subrc LIKE sy-subrc,
s_objec LIKE objec.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_realo.
s_objec-plvar = '01'. " Your planning version
s_objec-otype = p_otype.
PERFORM otype_get(rhstrpf0) CHANGING p_otype
v_subrc.
IF v_subrc = 0.
PERFORM objid_f4(rhstrpf0) USING p_begda
p_endda
CHANGING s_objec.
ENDIF.
Hope this is what you are looking for.
Srinivas
2005 Mar 14 5:58 PM
Hi Sundar,
Did you find the solutions provided helpful. If so, reward and close the thread.
Srinivas
2005 Mar 14 8:09 PM
2005 Mar 09 3:28 PM
Create a data element, or reference an existing one in the dictionary, and you can attach search help to the data element. It will then be available when you use the data element to TYPE your selection screen parameter.
2005 Mar 10 3:53 AM
2005 Mar 10 3:14 PM
In SE11, go to or create a data element. In 4.7, the tab 'Further Characteristics' has the search help option. In 4.6C, this tab did not exist, but it is on one of the other tabs that come up. You can attach an existing SAP search help or one of your own.
Then use this data element to TYPE your parameter.
2005 Mar 11 4:23 AM
Hello Murthy,
SAP has not provided a collective search-help for <b>position</b>. You only have an elementary Search Help for that field.
The positions and their texts are stored in the tables T528B and T528T. These are customizing tables and would normally be populated by the SPRO transaction. I personally don't think it makes too much sense to ahve a collective search-help for this field.
Now, given this fact, what kind of an advanced search help do you actually require ? What are the criteria based on which you want to be able to determine a position? Based on your answers to these questions, you would have to design a new search help of your own for this purpose.
Regards,
Anand Mandalika.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |