Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

abap report-set parameter

Hi all,

I want to display values on to va03 tcode when we click on the list. Iam getting only vbeln value on to screen. I am not getting the kunnr field. Can anybody please rectify.

Thanks in advance.


*& Report Z_B2_RPT_04







tables : vbak, RV45S.

types : begin of ty_itab,

vbeln type vbak-vbeln,

erdat type vbak-erdat,

ernam type vbak-ernam,

kunnr type RV45S-KUNNR,

end of ty_itab.

data : it_itab type standard table of ty_itab.

data : wa_itab type ty_itab.


select vbeln erdat ernam kunnr from vbak into table it_itab.

loop at it_itab into wa_itab.

write : / wa_itab-vbeln hotspot on, 30 wa_itab-kunnr, 60

wa_itab-erdat, 120


HIDE : wa_itab-vbeln, wa_itab-kunnr.


at line-selection.

set parameter id : 'AUN' FIELD wa_itab-vbeln.

set parameter id : 'VAG' FIELD wa_itab-kunnr.

call transaction 'VA03'. "and skip first screen.

Not what you were looking for? View more on this topic or Ask a question