Skip to Content

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

I have made a ztabale 'zres_approval-pernr' and selection screen which is working fine . Now i want to call transection MB22 on parameter s_rsnum ..

MR Authorization Process Steps:

REPORT  zsat_project.

TABLES : zres_approval .

DATA: v_ecode LIKE zres_approval-pernr_d.

DATA: v_posid1 LIKE zres_approval-posid1,

       v_posid2 LIKE zres_approval-posid2,

       v_posid3 LIKE zres_approval-posid3,

       v_posid4 LIKE zres_approval-posid4,

       v_posid5 LIKE zres_approval-posid5,

       v_posid6 LIKE zres_approval-posid6,

       lv_kostl LIKE rkpf-kostl.

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001 .

SELECTION-SCREEN BEGIN OF LINE .

SELECTION-SCREEN COMMENT 1(15) text-007  .

PARAMETERS : s_rsnum TYPE rsnum OBLIGATORY " TABLE NAME - RESB

SELECTION-SCREEN END OF LINE .

SELECTION-SCREEN BEGIN OF LINE .

SELECTION-SCREEN COMMENT 1(15) text-002 .

PARAMETERSs_ecode TYPE pernr_d OBLIGATORY . " TABLE NAME -

SELECTION-SCREEN COMMENT 65(15) text-003 .

PARAMETERS: s_pwrd TYPE password OBLIGATORY .

SELECTION-SCREEN END OF LINE .

SELECTION-SCREEN END OF BLOCK b1 .

SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME TITLE text-004 .

SELECTION-SCREEN BEGIN OF LINE .

SELECTION-SCREEN COMMENT 1(15) text-005 .

PARAMETERS:s_opwrd TYPE password .

SELECTION-SCREEN COMMENT 65(15) text-006 .

PARAMETERS: s_npwrd TYPE password .

SELECTION-SCREEN END OF LINE .

SELECTION-SCREEN END OF BLOCK b2 .


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