Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

test sequence for function module

Former Member
0 Likes
521

i want to perform a test sequence in which, what is the out put of the first funtion module i want to pass them to the second function module .

i want to know that whether i can do that or not if yes how?.

thanks in advance.

3 REPLIES 3
Read only

Former Member
0 Likes
482

In program u can put logic.

Call FM

export

import = itab.

if sy-sybrc eq 0.

call FM

export = itab.

emport.

endif.

regards

Prabhu

Read only

Former Member
0 Likes
482

Hi u can do that by doing like this.

Call 'function1'

exporting

var1 = var1

improting

var2 = var2

.

if var2 is not initial.

Call 'function2'

exporting

var3 = var2

importing

var4 = var4

endif.

Mark points if helpful.

Regs

Manas Ranjan Panda

Message was edited by: MANAS PANDA

Read only

Former Member
0 Likes
482

Yes hyou can do. You have to pass the return value of the FM as the Input for the Second FM.

Bye

Murthy.