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

Problem in Implicit Enhancement

idc
Explorer
0 Likes
1,159

Hi Experts,

In the search help BBP_PURCHORG_VALUE there isa search help exit BBP_F4IF_SHLP_EXIT_PURCHORG. While finding the implicit enhance point in this I go inside the exit and choose the spiral pushbutton, goto EDIT -> ENHANCEMENTS OPERATIONS -> SHOW IMPLICIT ENHANCEMENTS and I found a FORM that I can use for my enhancement. After EDIT -> ENHANCEMENTS OPERATIONS -> CREATE -> Popup -> CODING I enter name and description of the enhancement und click the green OK button.

After this it showing one message that "ENHANCEMENT OBJECT ENHS CANNOT BE READ". I am not getting any solution and not even understand where the problem is... Please anybody.....suggest a solution.

Thanks & Regards

Arnab

3 REPLIES 3
Read only

Former Member
0 Likes
649

Indrajit,Did u search the forum before posting question in SCN? I have searched with key word "ENHANCEMENT OBJECT ENHS CANNOT BE READ" & i have seen many theards with the same.below is one of the example.

https://forums.sdn.sap.com/click.jspa?searchID=27354387&messageID=4584486

Read only

former_member659396
Participant
0 Likes
649

Hi,

For your reference, let's see how to enhance a standard SAP program using an Implicit Enhancement

Option.

Let us use program RSFTP002 u2013 Itu2019s a program used to test FTP connections.

In this example, we will unmask the currently masked password field.

Open the program in the ABAP Editor (SE38).

Execute it to bring up the parameter list.

Note the asterisks in the Password field.

To view the places where we can implement these enhancements, go back to the previous page (the one

containing the code) and click on the Enhance button (before the Syntax Check button) or press Shift + F4.

Note: Enhancement options are only present in SAP WAS 7.0 and above.

Then Navigate to Edit -> Enhancement Operations -> Show Implicit Enhancement Options.

You will be shown the places where Implicit Enhancement Options are present,

There will be two such spots in this particular program u2013 One at the end of the result table definition and the other at the end of the program.

To implement an enhancement option, right click in the orange area -> Enhancement Implementation -> Create.

Choose an enhancement name (ZFTP_PWD in this case), give it a description and if needed a Composite Enhancement Implementation name and press enter.

Save it as a local object or in a package (as the case might be).

In this example, we shall change the visibility of the password field and show the password. This is done by looping at the screen and changing the invisible parameter of the PWD field to u20180u2019.

Once the Enhancement Implementation is created, the following code is inserted into the program,

$$-Start: (2)----


ENHANCEMENT 1 ZFTP_PWD.

*

ENDENHANCEMENT.

$$-End: (2)----


ZFTP_PWD is the name of the implementation that we gave.

1 indicates that this is the first implementation in this program.

We can put out code inside the ENHANCEMENTu2026ENDENHANCEMENT block as shown below.

Follow the usual procedure of Syntax Check, Save and Activate.

Now execute the program again to see the parameter list.

Note that anything typed in the Password field is now visible.

Hope this surely help u..

rohan

Read only

idc
Explorer
0 Likes
649

Issue resolved thanks all