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

User defined fields for KS01

Nik2
Explorer
0 Likes
1,939

Hi,

I have to create a new field for cost centre KS01 transaction. In the documentation of exit EXIT_SAPLKMA1_001 it is mentioned that we have to create the new field in CSKS_CI structure. After this, the new field has to be added in the screen.

This exit is used by program SAPLKMA1 in 2 screens 0399 and 3999. But, these screens are not used anywhere (I checked from the where-used list). In these 2 screens, there is a call customer-subscreen line. If i want to create this subscreen it asks for access key.

Is there any way that i can create a subscreen and attach it to the standard transaction. Please suggest if there is any other ways to do the same.

Regards,

Nikhil

4 REPLIES 4
Read only

Nik2
Explorer
0 Likes
1,244

Hi,

Could anyone help me with this??

Read only

GauthamV
Active Contributor
0 Likes
1,244

Just read the FM documentation of EXIT_SAPLKMA1_001 in SE37.

You will be able to solve the problem.

Read only

Former Member
0 Likes
1,244

See the documentation once properly,user-exits are provided for adding additional functionality with out using any Access Keys...

If the additional fields are to be visible on the screen, the include ZXKM1U01 must at least include a field transport from the structure transferred in the interface, to the structure used on the screen.

If you have placed fields of structure CSKS_CI on the screen, you should add the following line to include ZXKM1U01:

MOVE-CORRESPONDING USER_CSKS_CI TO CSKS_CI.

Further examples of coding can be found in include LXKM1F01

Read only

Nik2
Explorer
0 Likes
1,244

Hi sekhar,

It is mentioned in the documentation that we have to add the field of structure CSKS_CI on the screen. In which screen should I add it.

In the screen, 399 and 3399 of program SAPLKMA1 there is a statement call customer-subscreen and screen number is 9999 but I am not able to create this screen (It asks for access key). Could you please let me know in which i have to add the field in structure