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

Display required Document types

Former Member
0 Likes
753

Hi all,

I have one new requirement . When Materila is creating in MM01, I want show the required Material types in screen.

I want to block the non used Material types with out removing in T-table.

I have to do same for VA01, I mean sales docuemnt types .

How can I give required Document types on screen...

please help me .

regards,

Rama

6 REPLIES 6
Read only

vinod_vemuru2
Active Contributor
0 Likes
724

Hi,

I think you can create a Z search help and attach it to standard search help. Also try to check if there is any exits being called during your F4.

Other option could be, in customization change the description of obsolete material types to indicate that they are obsolte. Do the validations in user exit to avoid saving of data with obsolete values.

Thanks,

Vinod.

Read only

SureshRa
Active Participant
0 Likes
724

Hi Ram,

You can not filter the Material Types and Sales Document Types in the drop down - coz both are from Value tables of the respective domains and not from search help.

What you can do is: through Authorization Objects you can control users to use only specific material types and sales document types. This is possible. However, all the material types and sales document types would still appear in the input help however system will throw an error message (authorization failure) when user tries to use un-wanted types.

Hope this helps.

Cheers

Suresh

Read only

Former Member
0 Likes
724

Hi Suresh,

Alreday we sugested the same . But user want to me show them Invisible from that Drop down.

Any suggesions Please....

regards,

Ram

Read only

SureshRa
Active Participant
0 Likes
724

Hi Ram,

You can use screen variants and transaction variants. For example, you can create one Transaction variant for each material type (FERT_MM01, HALB_MM01, etc.) and in respective screen variant, hide the MTART field with default value (FERT, HALB, respectively). Similarly for sales document types also. Combined with authorization, users will not know this field at all.

Refer to SAP Help on [Transaction Variants and Screen Variants|http://help.sap.com/saphelp_47x200/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm]

Users usually want moon to be at their door. But SAP is on earth

Cheers

Suresh

Read only

Former Member
0 Likes
724

Hi Suresh,

Thanks for your quick response. I will try according to your suggestions.

regards,

Ram

Read only

Former Member
0 Likes
724

Hi Suresh,

I tried the same . It is Hiding the Material TYpe field from Screen MM01.

Just We need ti make some Materilal types invisiable from MM01.

any suggestions ...

regards,

Ram