2008 Jan 18 4:34 AM
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
2008 Jan 18 4:36 AM
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
2008 Jan 18 4:44 AM
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
2008 Jan 18 5:53 AM