Skip to Content

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

SUBMIT PROGRAM

Hi all,

How can i trigger a standard program that has selection screen from my custom program. Please note that i have to pass the selection screen values also to the standard program from my customer program.

Also note that, the solution should not say i need to create a variant in standard program.

Thank you

Tags:
Former Member
Former Member replied

DATA: wa_rspar TYPE rsparams.

DATA: t_rspar LIKE TABLE OF wa_rspar.

(I loaded idoc info previously to it)

CLEAR wa_rspar.

wa_rspar-selname = 'P_IDOC'.

wa_rspar-kind = 'P'.

wa_rspar-sign = 'I'.

wa_rspar-option = 'EQ'.

wa_rspar-low = wa_docnum-docnum.

APPEND wa_rspar TO t_rspar.

SUBMIT PROGRAMNAME WITH SELECTION-TABLE t_rspar AND RETURN

EXPORTING LIST TO MEMORY.

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