Hi Ravichand,
Use the below query to get default date type.
SELECT SINGLE name_event FROM crmc_dp_groups INTO lv_date_type where CONTEXT = '000000000001' and DISPL_ORDER = ( SELECT min( DISPL_ORDER ) FROM crmc_dp_groups where CONTEXT = '000000000001' ). "" Context is the date profile value
If you want to change the default date type then go to:
spro->Customer Relationship Management->Transactions->Basic Settings->Define Transaction Types.
Now double click on your transaction type->double click on Date Profile parameter value i.e. 000000000001 for standard appointment.
See Date Types of that date profile.
Select date type (eg. ORDERPLANNED) and click on Screen Areas: Dates.
Give Display Position parameter as 1.
Now Orderplanned date will always be your default date type.