05-09-2007 5:35 AM
Hi gurus
data dec.
FORM fill_hd_adr_partadd_fin
USING is_bil_outp_dbdata TYPE lbbil_outp_dbdata
is_print_data_to_read TYPE lbbil_print_data_to_read
ls_vbrk LIKE LINE OF is_bil_outp_dbdata-vbrk
if_parvw LIKE nast-parvw
if_parnr LIKE nast-parnr
CHANGING es_bil_invoice TYPE lbbil_invoice.
local field symbol for the loop at IS_BIL_OUTP_DBDATA-VBPA.
FIELD-SYMBOLS <fs_vbpa> TYPE LINE OF lbbil_outp_dbdata-vbpa.
This code showing error
PERFORM fill_hd_adr USING <fs_vbpa>
ls_vbrk
tpar-nrart
CHANGING es_bil_invoice-hd_adr
error is
In PERFORM or CALL FUNCTION "FILL_HD_ADR", the actual parameter"<FS_VBPA>" is incompatible with the formal parameter "IS_VBPA".
05-09-2007 5:39 AM
Hi,
write CASTING at the end of the assignment.
then we can free this error
check this link
http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3930358411d1829f0000e829fbfe/content.htm
rgds,
bharat.
Message was edited by:
Bharat Kalagara
05-09-2007 5:44 AM
Hi Sandeep,
Make the type of <fs_vbpa> as lbbil_outp_dbdata.
U have to maintain the sequence while passing parameters.
check it out.
Reward points if helpful.
Regards,
Hemant