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

T166C

former_member253923
Participant
1,806

All;

Table T166C is used for Print-Relevant Purchasing Document Changes. There is a routine number and Text Number for all the entries in it. Any idea where to find the routine for an entry ?

Any help shed on this is greatly appreciated.

Thanks!!!!

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,255

Hi,

Hi

>

> in the Driver Program have a routine with name ENTRY.

>

>

FORM ENTRY USING RETURN_CODE US_SCREEN.

>

> CLEAR RETCODE.

> XSCREEN = US_SCREEN.

<i>> PERFORM PROCESSING.</i>

> IF RETCODE NE 0.

> RETURN_CODE = 1.

> ELSE.

> RETURN_CODE = 0.

> ENDIF.

>

> ENDFORM.

>

> and put the aboce code in it.

>

in the above code Perform processing you need include all your open_forms and write_forms, close_form. the data you are trying to pass it to script. i hope it is clear.you need to put that logic in the form ENTRY.

Regards

3 REPLIES 3
Read only

Former Member
0 Likes
1,256

Hi,

Hi

>

> in the Driver Program have a routine with name ENTRY.

>

>

FORM ENTRY USING RETURN_CODE US_SCREEN.

>

> CLEAR RETCODE.

> XSCREEN = US_SCREEN.

<i>> PERFORM PROCESSING.</i>

> IF RETCODE NE 0.

> RETURN_CODE = 1.

> ELSE.

> RETURN_CODE = 0.

> ENDIF.

>

> ENDFORM.

>

> and put the aboce code in it.

>

in the above code Perform processing you need include all your open_forms and write_forms, close_form. the data you are trying to pass it to script. i hope it is clear.you need to put that logic in the form ENTRY.

Regards

Read only

0 Likes
1,255

Hi,

For the existing entries how can i find out which routine is being called ?

Thanks!

Read only

Former Member
0 Likes
1,255

Hi

See the Table<b> T166T</b>

it will give the description of all the Text numbers so that you will come to know which field has been changed

see the where used list of the table T166C

fun module MS_CHANGE_TEXT_SRV and programs

MM06EFDCM and MM06EFDCMDEF

Reward points for useful Answers

Regards

Anji