Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Parameter ID for SO10

Former Member
0 Likes
2,379

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?

1 ACCEPTED SOLUTION
Read only

RaymondGiuseppi
Active Contributor
1,514

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?

2 REPLIES 2
Read only

RaymondGiuseppi
Active Contributor
1,515

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

Read only

0 Likes
1,514

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.