Skip to Content

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

SUBMIT ...... SELECTION-TABLE <table>

Below is my sample program, i try to submit to another program using SELECTION-TABLE GT_RSPAR, but the selection screen is not populated with the value in the second program.

Could anyone please advice. Thank you.

tables: kna1, vfkk.

DATA: gt_rspar TYPE rsparams OCCURS 0 WITH HEADER LINE.

SELECT-OPTIONS: s_brand FOR kna1-kunnr,

s_opco FOR kna1-kunnr,

s_date FOR vfkk-erdat.

LOOP AT s_brand.

gT_rspar-selname = 's_brand'.

gT_rspar-kind = 'S'.

gT_rspar-sign = s_brand-sign.

gT_rspar-option = s_brand-option.

gT_rspar-low = s_brand-low.

gT_rspar-high = s_brand-high.

APPEND gT_rspaR.

ENDLOOP.

LOOP AT s_opco.

gT_rspar-selname = 's_opco'.

GT_rspar-kind = 'S'.

GT_rspar-sign = s_opco-sign.

GT_rspar-option = s_opco-option.

GT_rspar-low = s_opco-low.

GT_rspar-high = s_opco-high.

APPEND GT_rspar.

ENDLOOP.

LOOP AT s_date.

GT_rspar-selname = 's_date'.

GT_rspar-kind = 'S'.

GT_rspar-sign = s_date-sign.

GT_rspar-option = s_date-option.

GT_rspar-low = s_date-low.

GT_rspar-high = s_date-high.

APPEND GT_rspar.

ENDLOOP.

  • end-of-selection.

SUBMIT ZSD_TRANSPORT_RECHARGE

via SELECTION-SCREEN

WITH SELECTION-TABLE gt_rspar

AND RETURN.

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