How can I get the default values (like date, company code)
in module pool programming before the screen is displayed??
I dont wanna use VARIENTS...
Answers were Sorted based on User's Feedback
Answer / guest
WE CAN DEFINE IN SCREEN FIELD ATTRIBUTES BY GIVING ID IN
SET & GET PARAMETER
Is This Answer Correct ? | 9 Yes | 1 No |
Answer / saravanan sr
Default values can be handled using the event INITIALIZATION.
Parameters: field_name = 'default value'
select-options: the field declared using select options is
similar to an internal table with 4 fields - sign, option, low
and high.
In the Initialization event, we can set field_name-low =
'default value1' and field_name-high = 'default value2' so as
to display the default values in the selection screen.
Is This Answer Correct ? | 6 Yes | 5 No |
Answer / nihar
In screen layout, -> Goto -> Secondary Window -> Dictionary/Program Fields -> Enter 'SYST' in Table name
-> Select DATUM field and place it in ur layout. If u want, u can change the text label for date also.
Save & activate.
It will contain today's date as default value.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / dattaraj.sabnis
we have to check with PSYST table and if IINIT indicator is
yes then we can default the value in PBO module.
Is This Answer Correct ? | 4 Yes | 5 No |
What is a variable in the sap abap?
What are the different types of parameters? How can you distinguish between different kinds of parameters?
what is enhancement and modification ? Explain clearly please
2) What is the difference between TYPE and DATA?
Suppose we are transfer data through BDC from legacy to SAP and their is some duplicate data in legacy system but we don’t want this in SAP system .So how can we check that this data is already exist ?
Structures can contain data only during the runtime of a program (t/f) : abap data dictionary
24) Can we create more than one main window in scripts?
difference between application, presentation servers in sap and servers or layers both are same or not
what are the similarities between internal tables and structures?
What are the system fields you have worked with? Explain?
What secondary index and use of it and how many secondary index we can create?
Which one of the following statements would occur in the PBO of a dialog program using table control? a) module user_command. b) set screen '0100'. c) loop at itab. d) loop at itab with control itab_tc.