Application Development 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: 

Disable field for imput

Former Member
0 Kudos

Hi friends

I want to disable field df05b-psskt ( Cash Discoint ) in program SAPDF05X screen no 6102.

Please suggest .

Thanks

SS

10 REPLIES 10

former_member156446
Active Contributor
0 Kudos

HI Sharma

Use transaction variants of it..

transaction variant are used to customized transaction according to used . using this you can make transaction field in dispaly mode or invisible etc...

Transaction variants simplify transaction flow by:

Inserting default values in fields

Hiding and changing the ready for input status of fields

Hiding and changing the attributes of table control columns

Hiding individual menu functions

Hiding entire screens

check the link.

http://help.sap.com/saphelp_nw04/helpdata/en/7d/f639f8015111d396480000e82de14a/content.htm

Former Member
0 Kudos

Hi

find the user exit for it and write the code like this

Try this:

code

loop at screen.

if screen-name eq 'PARTICULAR_FIELD'.

screen-invisible = '1'.

modify screen.

endif.

endloop.

[/code]

Former Member
0 Kudos

Please suggest how to find user exit for this field.

Thanks

0 Kudos

HI Sunder

GO to SE38 enter program name SAPDF05X and select option attributes

and click display. you will get package name.

take that package name and goto SMOD press F4 and give package name and continue

you will get all enhancements of that program.

Hope this helps u

kishore.

Former Member
0 Kudos

Thanks for ur reply.

Threre are 14 no's of user exit in this program but I am not able to find out the exact user exit for this filed.

Please help.

Thanks.

0 Kudos

Hi,

Activate ur SQL Trace before running the transaction. Then run the transaction. Then deactivate trace and see log. U can see all exits called during the transaction.

ST05 is the transaction for trace.

Hope this helps.

Regards,

Renjith Michael.

Former Member
0 Kudos

Please any one tell me the exact user exit for this , I am not getting any exit name through sql trace.

Thanks

0 Kudos

Hi,

Have you activated Table Buffer Space before runing the transaction.

While displaying trace in the pop-up give objects as V_* .

Pls try again.

OR Another way is like

Go to transaction SE84.

In the enhancements give package name as input and execute.

You will find all the enhancements for thar package.

The package for your program is FBAS.

Pls reward points if good.

Regards,

Renjith Michael.

Former Member
0 Kudos

Surendra,

Make use of the transaction SHD0, Transaction and Screen Variants. You will be required to create a Transaction, along with that you can customize the fields on the screen. Later you can make use of the newly created Transaction code in which the field will not be displayed.

Thanks,

Madhan.

Former Member
0 Kudos

Hi,

You can use the transaction variants for this program. Go to SHD0 and create a screen variant first and then assign it to the transaction variant. It will help.

Then activate the transaction variant that you havr created

Regards,

Sagar