Application Development 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: 

Table Maintainance

Former Member
0 Kudos

Hi Gurus,

i have created a Table maintainance generator for a ztable,and assigned it to a transaction,my req is when i run the transaction, say i have given customer through

F4 help and when i press ENTER the respective cusomers name city region should be displayed in corresponding columns,here my problem comes i am Unable to catch the customer which i have provided through f4 help,i have written the respective code in PAI module of respective screen,i am provinding the code below...

&----


*& Module GET_VALUES INPUT

&----


  • text

----


module GET_VALUES input.

DATA: W_KNA1 LIKE KNA1.

SELECT SINGLE *

FROM KNA1

INTO W_KNA1

WHERE KUNNR = ZHVDC-SHIPTO. "customer thru f4 help

if sy-subrc eq 0.

zhvdc-SHIPFROM = w_KNA1-name1.

zhvdc-LOCATION = w_KNA1-ORT01.

zhvdc-STATE = w_KNA1-regio.

else.

exit.

endif.

is there any alternative method other than the above or events.

plz assist me.

Regards,

Vijaya.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

U can use the event 05 (triggered for a new input): after generating the table maintenance program go to Enviroments->Modifications->Events

Here u can set an your own routine to fill automatically some fields.

Max

2 REPLIES 2

Former Member
0 Kudos

Hi

U can use the event 05 (triggered for a new input): after generating the table maintenance program go to Enviroments->Modifications->Events

Here u can set an your own routine to fill automatically some fields.

Max

0 Kudos

Max,

Thats good But can u exactly suggest me which event i should use for my req

and how to proceed.

Regards,

Vijaya.