cancel
Showing results for 
Search instead for 
Did you mean: 

Hide fields on an interface program without ABAP

Former Member
0 Kudos

Is it possible to make changes to an interface program, like hide fields and then create a new transaction for this edited version of the program so that authorisation could be given to certain customers to run the edited version.

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Yes, might be. if you are not impacting the logic of the field and the change is only for the screen display.

You can create the screen variant using Tcode SHD0 and hide the fields, later create a new Tcode with this Variant and assign the Tcode to the required customers and remove the other authorization.

Please search if you don't know how to use SHD0.

Answers (4)

Answers (4)

Jelena
Active Contributor
0 Kudos

If it's a report then you can create a variant with hidden fields and a variant transaction.

But the right way to manage authorizations in SAP is to add authorization checks and manage it through the roles, just like all other SAP security. The program should've had built-in authorization check for activity (display/update). Then you wouldn't need two different transactions.

The resistance to using standard SAP authorization concept always amazes me...

Former Member
0 Kudos

yeah I did, but it seems like SHD0 is for transaction running a Standard SAP program but this is a "Z" transaction for an ABAP program

Former Member
0 Kudos

What is the issue?

Jelena
Active Contributor
0 Kudos

What exactly is the "interface program" you speak of?

Former Member
0 Kudos

its an extract program from SAP. We send certain info to a 3rd party daily.

We can also select an option on the selection screen to only display and not send over the infomation.

The requirement is to allow users access to only the display option of the program. To do this we intend to select the display option, hide the field and save it as a variant. This variant would then be assigned to Users.

This display option should still be available to the technical team.

I hope I have been able to throw more light to my question.

Former Member
0 Kudos

In that case SHD0 is the best option for you. Did you try?

former_member220617
Contributor
0 Kudos

Dear abelgusi,

Before you create or doing any changes or hide any fields of the interface program,just think on any impact is there on existing program.

For example: some logic is written in program to fetch the data from some fields then only interface will send the data other wise it will through the error "web execution fails " and also check the program in SE 38 so that u can analyze the program to take right action. If you want, Take help of abaper to analyze the code .

Regards,

C.B RReddy.