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

Function Mod

Former Member
0 Likes
699

Hi Friends,

Pls have a look to the following FM.

CALL FUNCTION 'Z_UPLOAD_VC_DATA'

EXPORTING

ZFLAG = 1

TABLES

IT_ZVARIANTLINK = I_ZVARIANTLINK

  • IT_ZVARIANT =

  • IT_ZADDFEATURE =

  • IT_ZCOLOR =

  • IT_ZDESIGN =

  • IT_ZFAMILY =

  • IT_ZDURABLENDURAB =

  • IT_ZFEATRUES =

  • IT_ZFOLDERPAPER =

  • IT_ZFORMNO =

  • IT_ZFORMTYPE =

  • IT_ZFORMAT =

  • IT_ZFUNCTIONTYPE =

  • IT_ZIMPRINT =

  • IT_ZINSERTPAPER =

  • IT_ZINSTITUTION =

  • IT_ZINSTRUCTIONS =

  • IT_ZINTEREST =

  • IT_ZLANGUAGE =

  • IT_ZLIEN =

  • IT_ZLOANACT =

  • IT_ZPADDED =

  • IT_ZMEDIUM =

  • IT_ZMICR =

  • IT_ZNUMBERED =

  • IT_ZOPENCLOSEDEND =

  • IT_ZPAPER =

  • IT_ZNOOFPARTS =

  • IT_ZPAYMENTDIVID =

  • IT_ZPERIOD =

  • IT_ZPURPOSE =

  • IT_ZVERSION =

  • IT_ZPAPERSIZE =

  • IT_ZSPECIAL =

  • IT_ZSPECIALFEATURE =

  • IT_ZSPECIALFEE =

  • IT_ZSPECIALRATFEA =

  • IT_ZTAB =

  • IT_ZTYPE =

  • IT_ZTYPEOFINS =

  • IT_ZTYPEINKCOLOR =

  • IT_ZCOMPONENTS =

  • IT_ZFLATFOLDED =

  • IT_ZSTYLEPREPRINT =

  • IT_ZTMMFORM =

  • IT_ZINSTITUTNAME =

  • IT_ZINDEXMETHOD =

  • IT_ZSTATE1 =

So this FM is working fine in SE37.

But when i call this FM from a ABAP program like above,

it is giving short dump like this:

When calling the FM "z_upload_vc_data", one of the parameters needing according to the interface description was not specified.

This Parameter was "IT_ZADDFEATURE".

But when i remove IT_ZADDFEATURE from FM and tables parameter of FM and when i call again FM into ABAP program

it is giving same short dump but this time with IT_zcolor.

can any body find error in calling above FM..Pls suugest what need to be done.

I highly appreciate your help.

I am sure of reward points.

Thanks in Advance.

5 REPLIES 5
Read only

vinod_gunaware2
Active Contributor
0 Likes
660

Try to reococde function module. Comment oringal contents then goto pattarn and put function module name.

it may happen that any one changed function module.

regards

vinod

Read only

Former Member
0 Likes
660

Jak,

Just make sure that your PERIOD . after the function is given, its just syntax error coming because of a , or .

Regards,

Ravi

Read only

LucianoBentiveg
Active Contributor
0 Likes
660

In SE37 try to mark all tables paramaters like "optional".

Regards

Read only

Former Member
0 Likes
660

Hai Jak

in Import Tab Check Optional check box for this parameter 'IT_ZADDFEATURE' & give some meaningful Description also.

activate & try again.

Thanks & Regards

Sreenivas P

Read only

0 Likes
660

Hi,

Try giving <b>IT_ZADDFEATURE[ ]</b> instead of just the table name.

Thanks,

Rashmi.