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

Regarding Tcode in selction-screen.

Former Member
0 Likes
786

Hi all,

My requirement is like this....if the user gives transaction code in the selection-screen..corresponding fields should be showed in alv putput...

for example if i run MM01...what are tall the fields in tat screen hav to be showed in ALV with screen number...suppose if its have more than 10 screens all should be showed in ALV output with screen number...

whether is it possible...user can run any TCODE ...could you please provide me some idea about this...

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
754

Dont know what you are trying to do finally, Meeting the requirement for One transaction itself will be nightmare, imagine for any transaction entered in the selection screen. If it is for one transaction you can do through Interactive report but dont know which transaction will be entered in the selection screen.

All the best and reply back if you met the requirement.

6 REPLIES 6
Read only

Former Member
0 Likes
755

Dont know what you are trying to do finally, Meeting the requirement for One transaction itself will be nightmare, imagine for any transaction entered in the selection screen. If it is for one transaction you can do through Interactive report but dont know which transaction will be entered in the selection screen.

All the best and reply back if you met the requirement.

Read only

0 Likes
754

hi,

User can enter any transaction code.....what ever it may be...the data should be in alv output

Read only

0 Likes
754

hi ,

User can enter any transaction code....but the output should be the corresponding fields of tat particular tcode..

Read only

0 Likes
754

Hi Sai,

Your requirement in my understanding cannot be achieved... Any standard transaction has many screen fields and tables related to it. If you consider MM01, the tables updated are Mara, Makt, etc...

But the field name on the screen for these transactions most of the time will be different. It may be a structure used in the that program. for eg. in MM01 if you see the field name for 'Material' in the initial screen it is not MARA-MATNR but RMMG1-MATNR. But the new material created will be stored in MARA. So there is no way u can write a generic program to get these details. ( This is my understanding).

Regds,

Madan..

Read only

0 Likes
754

thanks madan for ur valuable reply... i will talk to functional will get back to u soon if any queries...

Read only

Former Member
0 Likes
754

Hi,

It is possible. I presume you are looking at only master data or transaction screen. Think of ME21N. You have to reduce your scope. It is possible to find the screen configuration details from SPRO. but I am afraid it is not standardised across applications and transactions. So you might need to use different tables and rules for different transactions.

Good luck.

Ravi

http://raviinsap.blogspot.com