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

Maintenance View

Former Member
0 Likes
418

Hi All,

I've created a view with subset as sales org.

Depending on the salesorg given i have to manipulate the fields to be displayed for maintainence.

Like for one salesorg i've to display few fields from the tables and for other i've to display some other fields.

Can you please tell me how to control this. How to supress the fields depending on the sales org.

Thanks,

Bharathi.

2 REPLIES 2
Read only

Former Member
0 Likes
364

Are you talking about a view maintenance screen (called from SM30) to maintain data in a table, or is this a dynpro screen where the user is supposed to enter data?

The principle for both would be basically the same:

You need to include all fields on the screen (setail screen for vie maintenance or dynpro for report). Based on the sales org the user selects (e.g. on the header screen for view maintenance) or on a selection screen for a transaction, before navigating to your detail or data screen in the PBO you LOOP AT SCREEN and hide all fields the user is not supposed to see.

You might want to group fields together into screen groups so you don't have to specify all field names every times but just check for the screen group, however you can only assign 4 groups to any fields as a maximum, so if you have lots of different fields to be hidden you could go for a combination: screen group for fields that are often hidden in in different sales orgs and then individual names for those that cannot be grouped.

Hope that helps,

Michael

Read only

0 Likes
364

Hi Michael,

I'm working with view maintainence screen wherein which while declaring i've declared as subset by which when i execute the transaction created for view i'm able to get sales org as selction screen.

Now based on the vlaue entered here i've to suppress few fields from the table.

Should we create separate view for each and every sales org. Or how to handle it...

can you explain in brief....