cancel
Showing results for 
Search instead for 
Did you mean: 

Call Batch Input from RFC problem

Former Member
0 Kudos
384

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,

Accepted Solutions (0)

Answers (1)

Answers (1)

gregorw
Active Contributor
0 Kudos

Hello,

have you tried to record the Batch Input via Transaction SM35 and create a function module out of it?

Regards

Gregor