01-10-2024 11:14 AM
Hello guys,
I am facing problem when i use submit programming in SAP ABAP.
when below program is executing, new window is open to enter Material # and Plant # manually,
however i gave both parameter in submit function as parameter.
Below is my code
SUBMIT RKAEP000
WITH p_tcode EQ 'KKFB'
WITH P_KOKRS EQ '1100'
WITH I_MATNR-LOW EQ '3100000141'
WITH I_WERKS-LOW EQ '1100'
WITH I_PROCNR-LOW EQ ''
WITH R_BUDAT1-LOW EQ '20230801'
WITH R_BUDAT1-HIGH EQ '20230831'
WITH R_AWVRS-LOW EQ '0'
WITH P_DISVAR EQ '1SAP'
AND RETURN .
01-10-2024 11:57 AM
Remove the low/high subfields of selection criterion for select-options, try something like
SUBMIT RKAEP000
WITH p_tcode EQ 'KKFB'
WITH P_KOKRS EQ '1100'
WITH I_MATNR EQ '3100000141'
WITH I_WERKS EQ '1100'
WITH I_PROCNR EQ ''
WITH R_BUDAT BETWEEN '20230801' AND '20230831'
WITH R_AWVRS EQ '0'
WITH P_DISVAR EQ '1SAP'
AND RETURN.
01-10-2024 11:57 AM
Remove the low/high subfields of selection criterion for select-options, try something like
SUBMIT RKAEP000
WITH p_tcode EQ 'KKFB'
WITH P_KOKRS EQ '1100'
WITH I_MATNR EQ '3100000141'
WITH I_WERKS EQ '1100'
WITH I_PROCNR EQ ''
WITH R_BUDAT BETWEEN '20230801' AND '20230831'
WITH R_AWVRS EQ '0'
WITH P_DISVAR EQ '1SAP'
AND RETURN.
01-11-2024 5:43 AM
01-10-2024 3:12 PM
Please read the ABAP documentation ABAP Keyword Documentation (sap.com) - WITH expr_syntax1 WITH expr_syntax2.
The question has been asked lots of times too.