Application Development and Automation 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: 
Read only

Execute this fm in a program

Former Member
0 Likes
347

Hi Everyone,

I want to call this fm "BDL_SYSTEM_INFO" in a program and display the results. But unfortunately not at all able to do it. Since in the fm it refers to a structure "BDLSYSTINF" and tried to declare this in my prgram but stil get even get the results out of it.

Any help will be of great use to me.

Thanks,

Prashant.

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
313

Try this. Works good in my system.



REPORT zrich_0001.

DATA: system_info TYPE TABLE OF bdlsystinf.
DATA: wa LIKE LINE OF system_info.

CALL FUNCTION 'BDL_SYSTEM_INFO'
  TABLES
    system_info = system_info.
LOOP AT system_info INTO wa.
  WRITE:/ wa-key, wa-value.
ENDLOOP.

Regards,

Rich Heilman

1 REPLY 1
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
314

Try this. Works good in my system.



REPORT zrich_0001.

DATA: system_info TYPE TABLE OF bdlsystinf.
DATA: wa LIKE LINE OF system_info.

CALL FUNCTION 'BDL_SYSTEM_INFO'
  TABLES
    system_info = system_info.
LOOP AT system_info INTO wa.
  WRITE:/ wa-key, wa-value.
ENDLOOP.

Regards,

Rich Heilman