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: 

F4 option in the selection screen

Former Member
0 Kudos
85

Hi All,

I have defined VBRK-VBELN as select-options with no range and no-extensoin in the selection screen.

The F4 option for this field displays all the Billing Documents (VBELN) from VBRK table.

Now i would like to modify the F4 option in such a way that the system should just display the Billing Documents (VBRK-VBELN) pertaining to a particular Distribution Channel (VBRK-VTWEG).

How to make the modifications for such requirement?

Kindly Help me.....

Regards

Pavan

3 REPLIES 3

former_member156446
Active Contributor
0 Kudos
46

Hi Pavan

you can create your own custom elementary search help thru se11 and assign it to the select-options. you can use a view to create this search help and in that view you need to restrict the vbeln based on ur distribution channel

select-option: so_vbeln for vbak-vbeln matchcode object <Elm serch help name>.

http://help.sap.com/saphelp_nw04/helpdata/en/cf/21ee5f446011d189700000e8322d00/content.htm

Award points if helpful

Former Member
0 Kudos
46

Hi Pavan,

Try this out.

At selection-screen on value-request for sel-low.

check <vtweg entered on screen> is not initial

Select vbrk-vbeln

from vbrk

into table itab

where vtweg = <field value entered on selection screen.>

Use FM

F4IF_INT_TABLE_VALUE_REQUEST to display internal table selected above.

Regards,

Mohaiyuddin

Former Member
0 Kudos
46

Thank You....