SUBMIT zreport with p_param1 = 'value' with p_param2 = 'value'. 4、其他情况 *Submit report and return to current program afterwards SUBMIT zreport AND RETURN. *Submit report via its own selection screen SUBMIT zreport VIA SELECTION-SCREEN. *Submit report using selection screen variant SUBMI...
SUBMIT{rep|(name)}[USING SELECTION-SCREENdynnr][VIA SELECTION-SCREEN][USING SELECTION-SETvariant][USING SELECTION-SETS OFPROGRAMprog][WITH SELECTION-TABLErspar]{[WITHsel1{{{EQ|NE|CP|NP|GE|LT|LE|GT}dobj[SIGNsign]}|{[NOT]BETWEEN dobj1 AND dobj2[SIGNsign]}|{IN rtab}}][WITHsel2{{{EQ...
selectline-selname ='P_VALUE'."选择屏幕字段名selectline-kind ='P'."选择类型为单选,如果是多选则为Sselectline-low =p_value."选择字段的值APPENDselectlineTOselectable.SUBMITztestACCESSED1WITHSELECTION-TABLEselectableANDRETURN.IMPORTvalTOval_return_from_accessed1FROMMEMORYIDg_memory1."取出ABAP内存中的...
parameter or selection criterion from the variant. Addition 6 ( WITH SELECTION-TABLE ) can be combined with parameter transfer using a variant (like directly written WITH clauses), but not with direct WITH clauses. The values passed during SUBMIT are not taken over until the event INITIALIZATION...
1¡ ¢×îÆÕͨµÄÓ÷ ¨ *Code used to execute a report SUBMIT Zreport. 2¡ ¢´øselect-options³ÌÐòµÄSubmitµÄÓ÷ ¨ *Code used to populate ' select-options' & execute report DATA: seltab type table of rsparams, seltab_wa like ...
with p_param2 = 'value'. 4、其他情况 *Submit report and return to current program afterwards SUBMIT zreport AND RETURN. *Submit report via its own selection screen SUBMIT zreport VIA SELECTION-SCREEN. *Submit report using selection screen variant ...
To pass a range, create a internal table with RANGE OF addition. SUBMIT with a Variant. Use the following syntax to call the program with a Variant ‘TEST_VARIANT_1’. Assign the Company Code and Key date values in the variant. SUBMIT rfitemar USING SELECTION-SET 'TEST_VARIANT_1'. ...
· With SUBMIT (without RETURN) SY-CALLD retains the previous value.SY-CPROGIn externally called procedures, the name of the calling program, otherwise the name of the current program. If an externally called procedure calls another external procedure, SY-CPROG keeps the name of the first ...
withp_param2='value'. 4、其他情况 *Submitreportandreturntocurrentprogramafterwards SUBMITzreportANDRETURN. *Submitreportviaitsownselectionscreen SUBMITzreportVIASELECTION-SCREEN. *Submitreportusingselectionscreenvariant SUBMITzreportUSINGSELECTION-SET'VARIANT1'. *Submitreportbutexportresultantlisttomemory,...
The program attribute Start Using Variant is ignored if SUBMIT is used. Security Note If the name of a program unit is specified dynamically when it is called, and this name is passed to a program from outside, the result is a serious security risk. Any names passed to a program from ...