Skip to Content
0
Former Member
Feb 26, 2010 at 08:16 PM

SUBMIT Report EXPORTING LIST TO MEMORY

35 Views

Hi,

I am using Submit to run transaction TPM13 with program RTPM_TRL_SHOW_FLOWS and getting limited fields in to my internal table and adding additional but in my custom program selection if I give so_bukrs only then it returns data related to that company code but when I give portfolio in so_portf, report brings data for all portfolios for that company code. But I want only for that portfolio given in selection screen, my code is like this,

SUBMIT RTPM_TRL_SHOW_FLOWS

WITH P_DEA EQ 'X'

WITH PA_VAR EQ '/TRM'

WITH pa_del EQ 'X'

WITH pa_rev EQ 'X'

WITH pa_tof EQ 'X'

WITH so_bukrs IN so_bukrs

with so_portf IN so_portf

WITH so_pt IN so_pt

WITH so_dat IN so_dat

WITH so_ttype IN so_ttype

WITH so_kontr IN so_kontr

with SO_OTCNR IN SO_OTCNR

EXPORTING LIST TO MEMORY

AND RETURN.

Thanks everybody.