2019 Mar 25 2:46 PM
In transaction IK22, I'm able to skip the first screen using CALL TRANSACTION AND SKIP FIRST SCREEN but couldn't be able to trigger button ‘All measuring points on object” automatically.
2019 Mar 25 3:24 PM
In transaction IK22, I'm able to skip the first screen using CALL TRANSACTION AND SKIP FIRST SCREEN but couldn't be able to trigger button ‘All measuring points on object” automatically.
2019 Mar 25 3:24 PM
2019 Mar 25 3:33 PM
I have tried BDC but it's not working for our scenario. The requirement is when I try to click a button(Custom button) from the T-Code IW32, It's directly navigate to the T-Code IK22 "All measuring points on object" screen..
2019 Mar 25 3:53 PM
2019 Mar 25 4:15 PM
'it's not working for our scenario' - Not skip the first screen and also unable to navigate to the button directly.
Code:
DATA: BDCDATA LIKE BDCDATA OCCURS 0 WITH HEADER LINE.
DATA: MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
perform bdc_dynpro using 'SAPLIMR0' '1220'.
perform bdc_field using 'BDC_OKCODE'
'/00'.
perform bdc_field using 'RIMR0-DFTIM' '11:21:27'.
perform bdc_field using 'RIMR0-DFDAT'
'20.03.2019'.
perform bdc_field using 'RIMR0-DFRDR' 'XXXXX'.
perform bdc_field using 'BDC_CURSOR' 'EQUI-EQUNR'.
perform bdc_field using 'EQUI-EQUNR' '10012714'.
perform bdc_dynpro using 'SAPLIMR0' '4210'.
perform bdc_field using 'BDC_CURSOR'
'IMRG-POINT(01)'.
perform bdc_field using 'BDC_OKCODE'
'=ADAL'.
*perform bdc_field using 'RIMR0-DFTIM' * '11:21:27'.
*perform bdc_field using 'RIMR0-DFDAT' * '20.03.2019'.
*perform bdc_field using 'RIMR0-DFRDR' * 'XXXXX'.
*perform bdc_dynpro using 'SAPLIMR0' '4210'.
*perform bdc_field using 'BDC_CURSOR' * 'RIMR0-FLGSL(01)'.
*perform bdc_field using 'BDC_OKCODE' * '=BU'.
*perform bdc_field using 'RIMR0-DFTIM' * '11:21:27'.
*perform bdc_field using 'RIMR0-DFDAT' * '20.03.2019'.
*perform bdc_field using 'RIMR0-DFRDR' * 'XXXXX'.
*perform bdc_dynpro using 'SAPLIMR0' '1220'.
*perform bdc_field using 'BDC_OKCODE' * '/ERW'.
*perform bdc_transaction using 'IK22'.
*perform close_group.
CALL TRANSACTION 'IK22' USING BDCDATA
UPDATE 'A'
MODE 'A'
MESSAGES INTO MESSTAB.
FORM bdc_dynpro USING program dynpro.
CLEAR BDCDATA.
BDCDATA-PROGRAM = PROGRAM.
BDCDATA-DYNPRO = DYNPRO.
BDCDATA-DYNBEGIN = 'X'.
APPEND BDCDATA.
ENDFORM.
FORM BDC_FIELD USING FNAM FVAL. IF FVAL <> SPACE.
CLEAR BDCDATA.
BDCDATA-FNAM = FNAM.
BDCDATA-FVAL = FVAL.
APPEND BDCDATA.
ENDIF.
ENDFORM.
2019 Mar 26 7:22 AM
Read documentation of CALL TRANSACTION and use the option OPTIONS FROM, so it will execute the BDC data and then
clear options.
options-dismode = 'A'.
options-updmode = 'S'.
options-defsize = 'X'.
options-racommit = 'X'.
options-nobinpt = 'X'. " not in BDC mode
options-nobiend = 'X'. " do not end transaction at end of BDC
call transaction 'IK22'
using bdcdata
options from options.
2019 Mar 26 11:21 AM
I have added the above code but no changes has been made. Still it is not skip the first screen and doesn't navigate to IK22 All measuring points on object button.
2019 Mar 26 12:24 PM
2019 Mar 26 1:09 PM
CALL TRANSACTION 'IK22' USING BDCDATA
UPDATE 'A'
MODE 'E'.
I have changed the mode as E and now it is working.
Thanks Raymond
2019 Mar 26 1:47 PM
When I click BACK from IK22, It needs to go to IW32 (From where I can call to IK22). How to achieve this?
2019 Mar 26 1:43 PM
When I click back from IK22, It goes to IW32(Where I Call from IK22). How to achieve this?
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |