Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Need to set default value in table EABL.

Former Member
0 Likes
1,605

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?

17 REPLIES 17
Read only

koolspy_ultimate
Active Contributor
0 Likes
1,482

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.

Read only

Former Member
0 Likes
1,482

Hi

This is specific to table 'EABL' and not tcode. Will the specified procdure work for my problem?

Read only

0 Likes
1,482

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

Read only

0 Likes
1,482

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.

Read only

0 Likes
1,482

please share what your have tried in detain here , so that i can help you out.

Read only

0 Likes
1,482

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.

Read only

0 Likes
1,482

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?

Read only

0 Likes
1,482

hi jazz,

i already told you that you must activate the transaction variant in shdo, otherwise it will not work.

Read only

0 Likes
1,482

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.

Read only

0 Likes
1,482

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.

Read only

0 Likes
1,482

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.

Read only

0 Likes
1,482

there you need to select when to display the variant, i.e you need to select the checkbox as per your requirement.

Read only

0 Likes
1,482

HI JAZZ,

please find this link to be usefull [click here|http://wiki.sdn.sap.com/wiki/display/Snippets/TransactionVariant-AStepbyStepGuidefor+Creation]

Read only

0 Likes
1,482

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.

Read only

0 Likes
1,482

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.

Read only

0 Likes
1,482

HI JAZZ,

Is your purpose solved?

Read only

Former Member
0 Likes
1,482

Hi,

You will require to go for Event Programming:

Please,refer the below link for the same.

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8129f164-0a01-0010-2a8e-87652872...

Hope this will helps you.

Regards

Kiran