Hi,
I am creating a function that generate one order in transaction KO01.
When i execute this function from SAP it works fine,
but when its call from BEA/SAP connector does not work,
i am using call transaction to generate a batch input mode.
How can i execute a batch input from rfc funtion module?
The function is :
**************************************************
CALL FUNCTION 'ABAP4_CALL_TRANSACTION'
STARTING NEW TASK 'TEST'
DESTINATION 'NONE'
PERFORMING return_info ON END OF TASK
EXPORTING
tcode = 'KO01'
mode_val = p_gs01vm
update_val = p_gs01um
TABLES
using_tab = gt_bdcdata
EXCEPTIONS
communication_failure = 1 MESSAGE msg_text
system_failure = 2 MESSAGE msg_text.
COMMIT WORK.
**************************************************
thanks,