05-25-2009 10:50 AM
Hi Experts,
I want to incude bapi ZBAPI_PO_TRACKING_RPT_AIR into Z program.As this is knew for me as i use
INCLUDE ZBAPI_PO_TRACKING_RPT_AIR.
But it does not work and i get a syntex following error.....
Each ABAP program can contain only one "REPORT", "PROGRAM",
"FUNCTION-POOL" statement.
Please Suggest me the solution.
thanks
babbal
05-25-2009 10:52 AM
Hi,
You can't include BAPI in a program, you need to call it like u call function module.
Regards,
Nikhil
05-25-2009 10:52 AM
Hi,
You can't include BAPI in a program, you need to call it like u call function module.
Regards,
Nikhil
05-25-2009 10:55 AM
Hi,
If you have created any custom BAPI in the ABAP, You need to call using Pattern in the toolbar (SE38 T.code) or Ctrl+F6 and give ur custom BAPI name in the popup screen. So that it won't show you any error. Try like above...If have any issues let me know.
Regards
Thiru
05-25-2009 10:57 AM
hai babbal ,
from ur report u click the pattern button and give ur zbapi
and then pass the input and output paramters
regards
afzal
05-25-2009 11:00 AM
Hi,
You can not include BAPI in your report. You should call the BAPI in your report.
Go to pattern and enter the BAPI name
Eg: CALL FUNCTION 'ZBAPI.....'
Regards,
Jyothi CH.