Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Help creating a program to restrict Accounts(saknr) that are blocked(

helenayim
Discoverer
0 Kudos

I want to create a function module to connect to F4 search help that will restrict the search help from pulling accounts(saknr) that are marked blocked (XESPED). I only want the search help to pull up accounts that arent marked with an X once i click the F4 key on the parameter.

2 REPLIES 2

Andre_Fischer
Product and Topic Expert
Product and Topic Expert
0 Kudos

I replaced the tag SAP Cloud Platform, ABAP environment by ABAP Development since the question does not apply to SAP Cloud Platform, ABAP environment

ceterum censeo RAP esse utendam

FredericGirod
Active Contributor

The logic to do it yourself.

1. find the search help linked to the field (if it is on a screen, get technical information from here). Me I am taking the search help from the table SKA1 (SE11)

2. Check if it is a grouped search help (meaning you have a tab with several way to search), I have find SAKO on search help, I go in SE11, in search help I specify the SAKO. Last tab you will see the unitary search help included. If you take the first one you have a good example to copy

3 So copy or recreate an unitary search help, include in the parameters a default value for the field XES... and include you unitary search on the grouped search

and it is finished