Skip to Content
0
Former Member
Jan 12, 2008 at 11:07 AM

program RM06BL00

161 Views

I've created a program that calls program RM06BA00 and automatically populates the selection criteria of this program. Now this program also calls program SAPFM06B which then calls program RM06BL00 and prints out the output.

SUBMIT rm06ba00 AND RETURN EXPORTING LIST TO MEMORY

WITH ba_banfn IN r_banfn

WITH ba_ekgrp IN r_ekgrp

WITH ba_matnr IN r_matnr

WITH ba_matkl IN r_matkl

WITH s_werks IN r_werks

WITH s_lfdat IN r_lfdat

WITH s_frgdt IN r_frgdt

WITH s_flief IN r_flief

WITH p_afnam = preq_name

WITH p_txz01 = short_text

WITH p_zugba = open

WITH p_erblba = closed

WITH p_bstba = open

WITH p_freig = closed

WITH p_selgs = open

WITH p_selpo = open

WITH s_kostl IN r_kostl

WITH s_aufnr IN r_aufnr.

IMPORT BAN COM FROM MEMORY ID 'ZYX'.

In standard SAP Code:

Program RM06BA00 calls SAPMF06B

PERFORM SUBMIT(SAPFM06B) USING SUCOMM.

Then program SAPFM06B calls RM06BL00

SUBMIT RM06BL00 AND RETURN.

My problem is that I don't need program RM06BL00. This program prints out the output report. But all I need is to do an import as shown above and do some more filtering from there. How do I exclude this program?