Skip to Content
1
Former Member
Aug 08, 2008 at 08:25 AM

Submit and Return in ABAP

30419 Views

Hi Guyz,

I created a program using submit and return..since it there is an existing program named ZFF_STA_VESSEL which wil generate a per cost center report, i will call it to my program ZF_SummarySOA which will create a multiple cost center report..so less coding of program.

My code looks like this :

SUBMIT zff_sta_vessel AND RETURN

WITH s_bukrs IN s_bukrs

WITH s_monat IN s_monat

WITH s_gjahr IN s_gjahr

WITH s_fblart = s_fblart

WITH s_tblart = s_tblart

WITH p_waers = p_waers

WITH p_fxrtr = p_fxrtr

WITH p_fxrte = p_fxrte

WITH gy_kostl = s_kostl

WITH gy_bbf = p_bbfwd.

at the left side are my fields in ZF_SummarySOA and at the right side the fields from ZFF_STA_VESSEL.

my main problem is i will pass values to the left fields..but no values found at the right field.

for example the value of gy_kostl = P_SUN so the value of s_kostl must be P_SUN also..it happens no value found in s_kostl.

how can I solve this?

Please give advise.

Thanks in advance,

aVaDuDz