Skip to Content
0
Former Member
Oct 02, 2009 at 07:08 PM

Constructing ABAP statement dynamically...

23 Views

Hello Gurus,

I have a custom report (ZREPTA) which calls another generic custom program (ZGENERIC) inside. This program is

used by many other custom reports. Now this generic custom program has as a perform routine. The form-endform for this perform is written in the custom report which is calling the generic custom program. Now its not necessary that all custom reports needs the peform routine of generic custom program (ZGENERIC).

My question is how do I build the following ABAP lines of dynamically so that even if other program

say ZREPTC calls ZGENERIC, it won't be a problem even if it does not have form routine defined

since the perform statement in ZGENERIC is build dynamically.

perform post_process tables doc_connect.

Regards,

Jainam.

Edited by: Jainam Shah on Oct 2, 2009 9:08 PM

Edited by: Jainam Shah on Oct 2, 2009 9:08 PM