2016 Aug 24 10:42 AM
Hello,
My requirement is to call SO10 on click of a text.I had thought of two ways to do it.
1st: SET PARAMETER ID 'TXT' FIELD rs_selfield-value.
By CALL TRANSATION 'SO10' AND SKIP FIRST SCREEN.
2nd : By calling SO10 using BDC.
Now for the first method,I am not able to get the parameter id in F1 for Text ID and Language so as to pass values for those fields.Already saw table TPARA and TPARAT.
For the second method,Each time I am clicking text name,BDC gets called and I'm directly into the text editor.But if I click back it gets me to the initial screen of SO10 which I want to avoid.
PERFORM bdc_dynpro USING 'SAPMSSCE' '1100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RSSCE-TDNAME'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=SHOW'.
PERFORM bdc_field USING 'RSSCE-TDNAME'
tdname.
PERFORM bdc_field USING 'RSSCE-TDID'
tdid.
PERFORM bdc_field USING 'RSSCE-TDSPRAS'
tdspras.
CALL TRANSACTION 'SO10' USING bdcdata
MODE 'E'.
Is there any way I can get parameter ID for the remaining two fields or atleast avoid the initial screen of so10 for bdc method?
2016 Aug 24 10:58 AM
The variable stored with parameter id TXT must be of structure PSTXT with some of the following fields filled: TDNAME, TDID, TDSPRAS.
But Look at initial dynpro of transaction SO10, the next screen is the same screen, so AND SKIP FIRST SCREEN is not allowed...
So, could you consider a direct call of FM EDIT_TEXT. Look at form call_edit of S010 program, include MSSCEF00.
Regards,
Raymond
Hello,
My requirement is to call SO10 on click of a text.I had thought of two ways to do it.
1st: SET PARAMETER ID 'TXT' FIELD rs_selfield-value.
By CALL TRANSATION 'SO10' AND SKIP FIRST SCREEN.
2nd : By calling SO10 using BDC.
Now for the first method,I am not able to get the parameter id in F1 for Text ID and Language so as to pass values for those fields.Already saw table TPARA and TPARAT.
For the second method,Each time I am clicking text name,BDC gets called and I'm directly into the text editor.But if I click back it gets me to the initial screen of SO10 which I want to avoid.
PERFORM bdc_dynpro USING 'SAPMSSCE' '1100'.
PERFORM bdc_field USING 'BDC_CURSOR'
'RSSCE-TDNAME'.
PERFORM bdc_field USING 'BDC_OKCODE'
'=SHOW'.
PERFORM bdc_field USING 'RSSCE-TDNAME'
tdname.
PERFORM bdc_field USING 'RSSCE-TDID'
tdid.
PERFORM bdc_field USING 'RSSCE-TDSPRAS'
tdspras.
CALL TRANSACTION 'SO10' USING bdcdata
MODE 'E'.
Is there any way I can get parameter ID for the remaining two fields or atleast avoid the initial screen of so10 for bdc method?
2016 Aug 24 10:58 AM
The variable stored with parameter id TXT must be of structure PSTXT with some of the following fields filled: TDNAME, TDID, TDSPRAS.
But Look at initial dynpro of transaction SO10, the next screen is the same screen, so AND SKIP FIRST SCREEN is not allowed...
So, could you consider a direct call of FM EDIT_TEXT. Look at form call_edit of S010 program, include MSSCEF00.
Regards,
Raymond
2016 Aug 24 1:43 PM
Hi Raymond,
Thanks for your reply.
I used FM 'READ_TEXT' followed by 'EDIT_TEXT'.I set the display flag and line_editor which solved the problem.
Thanks.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |