2007 Dec 10 1:13 PM
Hi experts,
I have created one report with multiple selections screen. There i am using Layouts for each screen. The problem is whenever i press F4 in layout fields it is going to display all variants, bcoz the program name is same,so how can i segregate the variants for particular selection screen. Please suggest how to do. send the code if you have.
Thanks and regards,
Pavan.
2007 Dec 10 6:04 PM
check out the following documentation. use handle or logical group. you can provide any 4 char field to screen 1 and for screen 2 then fill the same when you press F4
A variant is identified uniquely by:
the program to which it is assigned (REPORT)
the handle if, e.g. several lists with various structures and data are called (HANDLE) in a program (I_CALLBACK_PROGRAM)
The handle is a unique user-assigned CHAR(4) field, which assigns the call to the current internal output table structure.
Example:
Various lists can be output in program x, depending on a user action.
Display variants are to be able to be defined for each of these lists.
This functionality is guaranteed by assigning a HANDLE for each list. If variants are saved for this program and handle, the handle must not change.
the logical group if, e.g. the same list is made with different settings (LOG_GROUP) via different transactions
The logical group is a unique user-assigned CHAR(4) field which determines the assignment.
Example:
The program x is called via the transactions T1 and T2. The field catalog fields offered to the user vary depending on the transaction code by assignment to logical groups.
If variants are saved for the program and logical group, the logical group must not change.
the user name, if variants are saved user-specifically (USERNAME)
This parameter is never entered manually as the variant name is unique.
the variant name (VARIANT).
This parameter is only to be entered if a particular variant is to be read and the list is to be output with this variant via this structure.