04-29-2009 7:33 PM
Hi,
In IP10 transaction, while scheduling calls, after the call has been released and we click on SAVE, we get a popup to select the payer from the multiple payers (but different account groups) we might have for the customer.
User wants us to not have this pop up displayed but have the logic in a way to select the payer belonging to account group 003. How and where can this be accomplished?
04-29-2009 7:44 PM
Hi,
check in Include 'MIOLXF14' they are passing the table name with list of parametrs to selct the payers to select ..
insetead of passing the lsit you can pass one value ..
CALL FUNCTION 'REUSE_ALV_VARIANT_SELECT'
EXPORTING
i_dialog = ' '
i_user_specific = g_x
i_default = ' '
* I_TABNAME_HEADER =
* I_TABNAME_ITEM =
it_default_fieldcat = g_fieldcat_tab[]
i_layout = g_layout
IMPORTING
* E_EXIT =
et_fieldcat = g_fieldcat_tab[]
et_sort = g_sortfields_tab[]
et_filter = g_filter_tab[]
CHANGING
cs_variant = g_variant
EXCEPTIONS
wrong_input = 1
fc_not_complete = 2
not_found = 3
program_error = 4
OTHERS = 5.
IF sy-subrc IS INITIAL.
*--- create itab for dynamic select ----------------------------------
PERFORM create_g_selfields_tab_f14.
ENDIF.
or
call function 'REUSE_ALV_GRID_LAYOUT_INFO_GET'
importing
es_layout = g_layout
et_fieldcat = g_fieldcat_tab[]
exceptions
no_infos = 1
program_error = 2
others = 3.
checdk with user exits it will help..
Transaction Code - IP10 Schedule Maintenance Plan
Exit Name Description
IPRM0002 Determine planned date info for maintenance plan
IPRM0003 User field: Maintenance plan
IPRM0004 Maintenance plan / item: Customer check for time "SAVE"
IPRM0005 Determine Offset for Performance-Based Strategy Plans
Regards,
Prabhudas
04-29-2009 8:18 PM
Prabhu,
The ALV list cannot be changed because they are just a front end. If i change them to display only one line, it still is going to display a screen with only one value of the partner customer.
My requirement is that even before it gets ready to display, when it is trying to select data from KNVP or similar table, I need to change it so that the function group 003 values are only selected.
05-19-2009 3:59 PM
business change has made this question irrelevant.
Hence closing.