2005 Nov 17 10:57 AM
Hi ravi,
FUNCTION TEST_EXTERNAL_STATUS.
*"------------------------------------------------------
*"*"Local interface:
*" IMPORTING
*" P_SUBMIT_MODE
*" TABLES
*" P_EXCLUDE STRUCTURE RSEXFCODE
*" EXCEPTIONS
*" NO_ACTIONin this i found that there is an import parameter p_sumit_code how to declare it.
2005 Nov 17 11:01 AM
HI Narasimha,
This is the example given in the FM documentation.
Example
Example for calling RS_EXTERNAL_SELSCREEN_STATUS:
PROGRAM SAPDBxyz DEFINING DATABASE xyz.
...
FORM INIT.
CALL FUNCTION 'RS_EXTERNAL_SELSCREEN_STATUS'
EXPORTING P_FB = 'TEST_EXTERNAL_STATUS'.
ENDFORM.
...
Example for function module that sets the status:
FUNCTION TEST_EXTERNAL_STATUS.
*"----
""Local interface:
*" IMPORTING
*" P_SUBMIT_MODE
*" TABLES
*" P_EXCLUDE STRUCTURE RSEXFCODE
*" EXCEPTIONS
*" NO_ACTION
*"----
IF P_SUBMIT_MODE NE SPACE.
RAISE NO_ACTION.
ENDIF.
SET PF-STATUS 'TEST' EXCLUDING P_EXCLUDE.
SET TITLEBAR 'TST'.
ENDFUNCTION.
Is there any specific problem with this FM?
Regards,
Ravi
2005 Nov 17 12:07 PM
Hi ravi,
FUNCTION TEST_EXTERNAL_STATUS.
*"------------------------------------------------------
*"*"Local interface:
*" IMPORTING
*" P_SUBMIT_MODE
*" TABLES
*" P_EXCLUDE STRUCTURE RSEXFCODE
*" EXCEPTIONS
*" NO_ACTIONin this i found that there is an import parameter p_sumit_code how to declare it.
2005 Nov 17 12:11 PM
IMPORT parameter P_SUBMIT_MODE: Depending on the current program
execution, this should receive the
following values:
Blank: Normaler SUBMIT
'V': SUBMIT for variant maintenance
'J': SUBMIT VIA JOB:
Background job scheduling.
You can use this information to set the correct status for a given
situation (for example, noExecute in variant maintenance).
It is also possible to set no status at all in variant maintenance
and background job scheduling by triggering the exception NO_ACTION.
In this case, the standard status is set.
2005 Nov 17 11:04 AM
Hi,
check this....
REPORT demo_sel_screen_status.
DATA itab TYPE TABLE OF sy-ucomm.
PARAMETERS test(10) TYPE c.
AT SELECTION-SCREEN OUTPUT.
APPEND: 'PRIN' TO itab,
'SPOS' TO itab.
CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
EXPORTING
p_status = sy-pfkey
TABLES
p_exclude = itab.regards,
venu.
2005 Nov 17 11:04 AM
INITIALIZATION.
CUA *
IMPORT T185V FROM MEMORY
ID SD_COND_MEM_01. "JAY
RV13B-KVEWE = 'B'.
RV13B-KOTABNR = '001'.
CALL FUNCTION 'RS_SUBMIT_INFO'
IMPORTING
P_SUBMIT_INFO = RSSUBINFO.
IF NOT RSSUBINFO-MODE_NORML IS INITIAL.
TITEL = T185V-CTITEL.
CALL FUNCTION 'RV_CONDITION_GET_CUA_REPO'
EXPORTING
PFKEY_I = 'BSELE'
TITLE_I = TITEL
PAR1_I = T185V-PARA1
PAR2_I = T185V-PARA2
PAR3_I = T185V-PARA3
PAR4_I = T185V-PARA4
TABLES
EXCL_I = AUSSCHLUSS.
CALL FUNCTION 'RS_EXTERNAL_SELSCREEN_STATUS'
EXPORTING
P_FB = 'RV_CONDITION_SET_CUA_REPO'.
ENDIF.
Regards
Vijay
2005 Nov 17 11:08 AM
hi,
check this it may help you.
http://help.sap.com/saphelp_46c/helpdata/en/e7/0eb237e29bc368e10000009b38f8cf/frameset.htm
regards,
venu.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |