2009 May 15 6:29 AM
Hi all,
I m creating one table maintenance. before entering in that i want to give on input screen for that table maintenance . i want to do link between input screen and that table maintenance.
From
Nikhil
2009 May 15 6:48 AM
Hello,
1 . Develop a report program and write the code as below .
Sample code:
REPORT zxxxx
TABLES: ztest.
DATA : itab LIKE < > OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
SELECT-OPTIONS : <selection varaibles which u wanted to have in selection screen>
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN.
IF sy-ucomm = 'ONLI'.
SELECT * FROM <>
INTO CORRESPONDING FIELDS OF TABLE itab
WHERE <condition>
EXPORT itab FROM itab TO MEMORY ID 'ABCD'.
CALL TRANSACTION '<Table maintanence transaction>' ENDIF.
endloop.
Now goto the Fun tion group of u r TMG and import the data from the internal table then
check the entries from TOTAL table of TMG do the necessary manipulations to display only the required data .
Regards
Hi all,
I m creating one table maintenance. before entering in that i want to give on input screen for that table maintenance . i want to do link between input screen and that table maintenance.
From
Nikhil
2009 May 15 6:48 AM
Hello,
1 . Develop a report program and write the code as below .
Sample code:
REPORT zxxxx
TABLES: ztest.
DATA : itab LIKE < > OCCURS 0 WITH HEADER LINE.
SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
SELECTION-SCREEN SKIP.
SELECT-OPTIONS : <selection varaibles which u wanted to have in selection screen>
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK b1.
AT SELECTION-SCREEN.
IF sy-ucomm = 'ONLI'.
SELECT * FROM <>
INTO CORRESPONDING FIELDS OF TABLE itab
WHERE <condition>
EXPORT itab FROM itab TO MEMORY ID 'ABCD'.
CALL TRANSACTION '<Table maintanence transaction>' ENDIF.
endloop.
Now goto the Fun tion group of u r TMG and import the data from the internal table then
check the entries from TOTAL table of TMG do the necessary manipulations to display only the required data .
Regards
2009 May 15 7:54 AM
2009 May 15 9:19 AM
Hi,
We could create a transaction code,
and call SM30 in it.
In the last section, we can give the name of the custom table which has to be maintained.
Regs,
Venkat
2009 May 15 6:52 PM
1.) use radio button 'Enter Conditions' for inputs in SM30 or
2.) use FM VIEW_MAINTENANCE_CALL from program with view_name = table name
2009 May 18 7:09 AM
Hi,
We can use VIEW_MAINTANENCE_CALL Fm and can give view name as table name or we can do it by writing a program and call the Transaction for TMG.
Regards.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |