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

How to get the data for mandatory fields from a transaction code

0 Likes
696

Hi Experts.

I neet to download the data for mandatory fields from a transaction code. For that any way to find what are the mandatory fields in a transaction code to write a program.

thanks,

sriram.

Hi Experts.

I neet to download the data for mandatory fields from a transaction code. For that any way to find what are the mandatory fields in a transaction code to write a program.

thanks,

sriram.

3 REPLIES 3
Read only

Former Member
0 Likes
654

HI,

You can find it out with the help of Recordings in Tcode 'SHDB'.

Goto the SHDB tcode , Start recording by giving the Tcode that you want to record.

Enter the input in the mandatory fields and save it.

when clicking the source code , you can find the corresponding code and you write your own code to download the data there.

Regards,

Prakash K

Read only

0 Likes
654

Hi Prakas,

Thanks for your prompt reply.

But what i want to know is different.

let say, we have MM01 tcode to ctreate materils., In that i need to know that how to extract all the mandatory fields. I need to create a program that should display all the mandatory fields from a transaction code level.

like that i need to extract for all master tcodes.

Thanks,

Sriram

Read only

0 Likes
654

Hi Sriram,

this question has no general answer, e.g. MM01 has customizing to influence mandatory fields... and they are depending on the entered values (material type). If you are only interested in a (few) special transaction(s), check if there is such a customizing and search the tables behind the settings.

BR, Christian