‎2011 Jul 22 9:50 AM
Hi Experts,
How to set default value of field ATIM form 00:00 to 23:59 ion field selection screen for table EABL in transaction SE16?
‎2011 Jul 22 10:01 AM
in your select-options use keyword default '00:00' to '23:59'.
*or *
please follow these steps carefully.
use can save as variant by following this way,
go to tcode shd0
and enter tcode as your required tcode and also mention transaction variant,
and click f5 or create , then enter your table name and press enter and then click continue the choose you required field and
enter your required value and save it and activate that variant in shd0, a transport request will be generated and you can transport the same to your required server .
note you need to activate the transaction variant each and every time you transport the request
as a result of which you can assign the default values, as per your requirement.
‎2011 Jul 22 12:34 PM
Hi
This is specific to table 'EABL' and not tcode. Will the specified procdure work for my problem?
‎2011 Jul 25 5:01 AM
yes, it will work.
just open shd0 and give tcode as se11 and transaction variant as your r=desired varialt and follow the remaining procedure mentioned above
‎2011 Jul 27 8:40 AM
Hi,
I tried with to set the default value with transaction variant. But its not setting the default values in the Table field.
Would u please explain this one.
‎2011 Jul 27 8:50 AM
please share what your have tried in detain here , so that i can help you out.
‎2011 Jul 27 11:01 AM
Hi,
open SHD0
1.transaction = se16 and select the transaction variant tab and create atransaction variant .
2.now it open SE 16 with table eabl.now on enter it ask for a screen variant for that screen. so I save that
and then in selection screen fied set the default values of field ATIM to 23:59.
3. on saving it ask for the variant.so here i gave the name of my transaction variant which I used in SHD0.and a new screen variant for the current screen was created.As my field is on 6th place so i make the sixth field diplay with value and save it.
4. and then create dthe new transaction code for this transaction variant.
but the default values are still 00:00.
‎2011 Jul 27 12:57 PM
Hi,
Here in my case I think the problem occurs because we need to create two screen variants under on transaction variant.
So how to link 2nd screen variant to transaction varaint?
‎2011 Jul 28 4:12 AM
hi jazz,
i already told you that you must activate the transaction variant in shdo, otherwise it will not work.
‎2011 Jul 28 5:09 AM
Hi,
I am not getting how to activate a transaction variant. Actyally the activate option only comes in case of standard variant.
and If I try to activate it it gives the pop up "Standard variant also set at beginning of ransaction without variant". and also if i click on continue it ask for "Deactivate client-specific standard variant? ".
So This is the one problem to activate the transaction variant.
and other thing, It creates the screen variant if I call the newly created transaction then it displays the se16 selection screen for EAbl with old default value.Then if I choose the screen variant manually it shows the new default values.
Which is not required.It should choose all new values by default.
‎2011 Jul 28 6:55 AM
in shdo under standard variant tab enter the variant name your created in shd0 and beside that an activate button wil be there.
click it so that your variant will be activated.
‎2011 Jul 28 8:14 AM
Hi,
I did the all steps.And also activate it.
But now the first screen variant which is created for the se16 initial screen is working well
but still the second screen variant which we need to set the default value is not working and comes with old default values.
There is any specific check box or option for setting the value default during reation of 2nd screen variant.
‎2011 Jul 28 8:24 AM
there you need to select when to display the variant, i.e you need to select the checkbox as per your requirement.
‎2011 Jul 28 8:36 AM
HI JAZZ,
please find this link to be usefull [click here|http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation]
‎2011 Jul 28 9:50 AM
Hi
I got this one. Its working fine.But in my case of a default value in a selection screen is not poppulating.Bcoz I am not able to poppulate the default value in case of 2nd screen.still it need to choose manually.would u try to set default value in field ATIM in the table EABL in se16.and create a transaction code to display selection screen of Table EABL with new default values.
‎2011 Jul 28 12:39 PM
hi jazz try this way.
forget about every thing and come from beginning.
by now i think your are familiar with shd0.
firstly create a variant using shd0 for your table eabl with default value and save it and activate it.
next check whether it is working or not by opening se11 or 14 and enter table name and click display, the you can you see your default vale in your required field.
after it is done the come to second part i.e your se16.
now create another variant for this and save it and activate it.
(by this i mean to say you are creating two variants )
hope this will solve your problem.
if your purpose is not solved yet then please write to my mbox.
regards,
kool.
‎2011 Jul 29 10:56 AM
‎2011 Jul 23 3:18 PM
Hi,
You will require to go for Event Programming:
Please,refer the below link for the same.
Hope this will helps you.
Regards
Kiran