Hi experts,
I am facing an issue when using Workflow triggering logic in Exit, SD_COND_SAVE_A.
My Purpose is to trigger the workflow when new pricing condition record will be created from VK11 transaction.
Its triggering well and getting saved when creating Pricing condition Manually, but when I am using BDC to create, its triggering but not getting saved.
Can anyone let me know the issue, below is the code sample.
CALL FUNCTION 'SAP_WAPI_START_WORKFLOW'
EXPORTING
task ='WS90000004'
* LANGUAGE = SY-LANGU
* do_commit = 'X'
* USER = SY-UNAME
* START_ASYNCHRONOUS = ' '
* DESIRED_START_DATE =
* DESIRED_START_TIME =
* DESIRED_START_ZONLO = SY-ZONLO
* IFS_XML_CONTAINER =
IMPORTING
return_code = lv_ret_code
workitem_id = lv_wi
new_status = lv_status
TABLES
input_container = lt_cont
message_lines = lt_message
message_struct = lt_struc
agents = lt_agent.