Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Global variable declaration

Hi all,

can u please tel me hoe to declare the variable globally in abap report so that i can use it in any of my include program in that report.

thanx....

Former Member
Former Member replied

Make all Data Declarartions in TOP include.

like

REPORT  ZSDR_INV_INR.

include ZSDR_Di_TOP.
include ZSDR_DI_FORM.

START-OF-SELECTION.

PERFORM get_sales_data.
perform get_delivery_data.
perform process_data.
perform refresh_tables.
perform get_sales_data_ZIO2.
perform get_delivery_data_ZIO2.
perform process_data_ZIO2.
*Perform Filter_Fieldcat.
perform display_report_DI.

Here make all ur data declarartions in ZSDR_Di_TOP .

THEN U CAN USE ALL VARIABLES GLOBALLY.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question