2008 Mar 20 2:44 PM
Hi All,
From the ALV report, I am Double clicking on Sales order Docuemt(VA02), It is taking me to va02 transaction.
I am writing like
CALL TRANSACTION 'VA02' AND SKIP FIRST SCREEN.
But When ever I double click One information popup coming with 'Consider the subsequent documents', When ever i click on Enter , then it is entering into second screen.... here I want handle this popup ...I want to enter directly into the second screen.
regards,
Ajay
Before you CALL TRANSACTION, are you Using code like this for the necessary input fields?
SET PARAMETER ID 'AUN' FIELD p_selfield-value.
2008 Mar 20 3:13 PM
Before you CALL TRANSACTION, are you Using code like this for the necessary input fields?
SET PARAMETER ID 'AUN' FIELD p_selfield-value.
2008 Mar 20 7:31 PM
Maybe not the most elegant way to do this but here is an solution to skip the message "Subsequent documents exist":
data: bdcdata_tab type BDCDATA occurs 0,
bdcdata_wa TYPE bdcdata,
bdc_options type ctu_params.
CLEAR bdcdata_wa.
bdcdata_wa-program = 'SAPMV45A'.
bdcdata_wa-dynpro = '0102'.
bdcdata_wa-dynbegin = 'X'.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'VBAK-VBELN'.
bdcdata_wa-fval = SALES_ORDER_NUMBER.
APPEND bdcdata_wa TO bdcdata_tab.
CLEAR bdcdata_wa.
bdcdata_wa-fnam = 'BDC_OKCODE'.
bdcdata_wa-fval = '=UER2'.
APPEND bdcdata_wa TO bdcdata_tab.
clear bdc_options.
bdc_options-dismode = 'E'.
bdc_options-NOBINPT = 'X'. "NOTE THIS!!
call TRANSACTION 'VA02' using bdcdata_tab options from bdc_options.
| User | Count |
|---|---|
| 6 | |
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |