Hi,
Yes , this possible.
There are two ways:-
1. You can use Partner determination Procedure and then assign it to your transaction type.
2. You can use below code to get the confirmed account and then default it to the corresponding fields GETTER method.
DATA: lr_alert_srv TYPE REF TO if_crm_ic_5x_ext_alert_srv,
lr_gdc TYPE REF TO if_crm_ui_data_context,
lr_bo_prop TYPE REF TO cl_crm_bol_entity,
lr_bo_cp TYPE REF TO cl_crm_bol_entity.
* -- get current customer from GDC
lr_gdc = cl_crm_ui_data_context_srv=>get_instance( ).
CHECK lr_gdc IS BOUND.
lr_bo_prop ?= lr_gdc->get_entity( name = 'CURRENTCUSTOMER' ).
CHECK lr_bo_prop IS BOUND.
****get guid, bp number , and account name ****
lv_guid = lr_bo_prop->get_property_as_string( iv_attr_name = 'BP_GUID' ).
lv_gpart = lr_bo_prop->get_property_as_string( iv_attr_name = 'BP_NUMBER' ).
lv_acc_name = lr_bo_prop->get_property_as_string( iv_attr_name = 'ACCOUNT_NAME' ).
Here in lv_acc_name you will get the confirmed account name and default sold-to-party fields by setting this value in Getter method.
Hope it helps
Thanks
Kumar Gaurav