04-17-2006 5:24 PM
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.
04-17-2006 5:30 PM
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
04-17-2006 5:30 PM
Jak,
Just make sure that your PERIOD . after the function is given, its just syntax error coming because of a , or .
Regards,
Ravi
04-17-2006 5:34 PM
In SE37 try to mark all tables paramaters like "optional".
Regards
04-18-2006 7:59 AM
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
04-18-2006 8:07 AM
Hi,
Try giving <b>IT_ZADDFEATURE[ ]</b> instead of just the table name.
Thanks,
Rashmi.