Application Development 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: 

Function Mod

Former Member
0 Kudos

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

vinod_gunaware2
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Jak,

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

Regards,

Ravi

LucianoBentiveg
Active Contributor
0 Kudos

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

Regards

Former Member
0 Kudos

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

0 Kudos

Hi,

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

Thanks,

Rashmi.