Our requirement is to display R3 sales order(VA03) through IC webclient. The BP no of the confirmed business partner should be shown as default in the Sold to party field of VA03 transactn screen.
Steps followed -
1. Created a BOR transaction launcher with 'BUS2032', method - display.
Selected the Import parameter name - ICWEBCLIENTBORKEYPARAMETER.
I could not find any Import parameter value corresp to BP number, so left the Import Parameter value as blank.
2. In the trans launcher generated class, method 'PREPARE_DATA_FLOW' added the following code -
CALL METHOD __gdc->get_entity_attribute_as_value
path = '//currentCustomer/BP_NUMBER'
value = lv_bpid.
PASS PARAMETERS TO THE BOR OBJECT FOR PROCESSING IN THE ECC
iv_name = 'RV45S-KUNNR'
iv_value = lv_bpid ).
It launches the VA03 screen but the BP no is not passed to the sold to party field.
Please provide your inputs. Anything helpful would be rewarded.