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

regarding function module

Former Member
0 Likes
307

hi all, could u pls help me on my thread.

in my program

data:p_molga type molga.

select-options:s_molga for p_molga.

in function module source code

select

pernr

jobseq

docnum

molga

bukrs

jobname

jobcount

jobtype

jobdate

jobtime

inistat

from ztp_idoc_xref

into table idoc_table

where molga eq r_molga.

and in exporting iam exporting the data.

in the tables R_MOLGA TYPE ZTP_MOLGA_RANGE it is table type.

line type :inv_ranges .

in program

what is the parameter should i give for tables parameter.

and how can i restrict the molga values.

thank u in advance.

1 REPLY 1
Read only

Former Member
0 Likes
286

Hi,

use

CHANGING idoc_table. You will have to pass your idoc_table structure to the FM. You should not restrict on molga, but you can only do this by hard coding it:

if r_molga eq '07'.

run FM.

else.

do nothing

endif.

thanks.

jamie