2007 Feb 08 2:37 AM
hi guys,
Could somebody tell me which table i can fetch the Z/Y Programs with respect to development class.
Suggestion please. Can i Use TADIR alone to fetch those things.
Thanks.
Kumar
2007 Feb 08 2:44 AM
hi guys,
Could somebody tell me which table i can fetch the Z/Y Programs with respect to development class.
Suggestion please. Can i Use TADIR alone to fetch those things.
Thanks.
Kumar
2007 Feb 08 2:44 AM
2007 Feb 08 2:47 AM
Hi,
You can use the table TADIR to get list of all the Z/Y programs based on a package. When u query this table, also pass the following info
PGMID = 'R3TR'
OBJECT = 'PROG'
Hope this answers your question.
Enjoy SAP
Rajasekhar
2007 Feb 08 3:18 AM
HI GUYS,
THANKS FOR SUGGESTION. I HAVE ONE MORE DOUBT.
TADIR AND TRDIR RECORD COUNTS SEEMS DIFFERENT WITH SAME CONDITION.
HOW TO FIND ALL CUSTOM PROGRAMS USING TRDIR TABLE AND TADIR TABLE WITH COUNT AS SAME.
PLS TELL ME AT WHAT CONDITION WILL THE COUNT WILL BE SAME FOR <b>GIVEN INPUT.
Z* Y* SAPLZ* SAPLY* SAPMZ* SAPMY* FOR PROGRAMS AND
FOR PRGID(LIMU,R3TR) AND OBJECT(PROGS,REPS ). WITH
DEV CLASS : Z* Y*</b>
2007 Feb 08 3:26 AM
Check for
PGMID = R3TR
OBJECT = PROG in table TADIR .. then it should give equal no. of entries in both
tables ...
2007 Feb 08 4:43 AM
hi Srinivas,
Here is the code.
when i give S_PROG as 'Z* Y* SAPLZ* SAPLY* SAPMZ* SAPMY*' its giving 1324 count using TRDIR table.
When i give D_CLASS as 'Z* and Y*' in TADIR table its giving count as 1317.
What is left here..
could you please advice.
Thanks.
<b>
IF D_CLASS IS INITIAL.
SELECT NAME
FROM TRDIR
INTO TABLE I_PROG
WHERE NAME IN S_PROG.
IF SY-SUBRC = 0.
ENDIF.
ELSE.
SELECT OBJ_NAME FROM TADIR
INTO TABLE I_PROG
WHERE DEVCLASS IN D_CLASS AND
PGMID = 'R3TR' AND
OBJECT = 'PROG'.
IF SY-SUBRC = 0.
ENDIF.</b>
Thanks.
Kumar
2007 Feb 08 4:55 AM
Some programs if deleted would be deleted from TADIR but not from TRDIR ..
Iam not sure ...
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |