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: 

Search help

Former Member
0 Kudos
306

Hi

I have below input

PARAMETERS:P_KOKRS TYPE KOKRS OBLIGATORY MEMORY ID CAC.

PARAMETERS:P_GJAHR TYPE GJAHR OBLIGATORY.

SELECT-OPTIONS:S_PERIOD FOR CO_PERIO OBLIGATORY.

SELECT-OPTIONS:S_KSTAR FOR KSTAR.

Requirement is to set Search help for KOKRS, KSTAR input

Now should i have to create search help or can i use existing search help for the fields?

how to proceed?

Whats the standard Search help for KOKRS/KSTAR an KOSTL....

Pls confirm

Regards

Chandra

1 ACCEPTED SOLUTION

Former Member
0 Kudos
132

Chandra,

Data elements are available with name same as mentioned field names.

You can define paramters as:

P_KOKRS TYPE KOKRS

P_GJAHR TYPE GJAHR

P_PERIOD TYPE PERIO

KSTAR TYPE KSTAR

KOSTL TYPE KOSTL

8 REPLIES 8

Former Member
0 Kudos
132

Hi Chandra,

You can use following standard search helps:

KOKRS: FC_KOKRS

KSTAR: PCA_SHLP_KSTAR

0 Kudos
132

Hi Leena

Thanks for your reply.

In which case should i have to create myself search help?

Also Can you tell me what are the tables should i have to reffered for below fields

KOKRS,GJAHR,PERIOD,KTAR,KOSTL.

Parameters

P_KOKRS TYPE XXXX-KOKRS

P_GJAHR TYPE XXXX-GJAHR

P_PERIOD TYPE XXXX-CO_PERIO

KSTART TYPE XXXX-KSTAR

KOSTL TYPE XXXX- KOSTL.

There are many tabes having above fields but which one should be declared for each.

pls guide.

0 Kudos
132

Hi,

You Can Use standard search helps.

Both KOKRS and KOSTL Maintained in KOSTN . Better u can use this.

Former Member
0 Kudos
132

Hi Chandra,

As mentioned by leena you can use

KOKRS: FC_KOKRS

KSTAR: PCA_SHLP_KSTAR

Or create a search help in SE11 by using the data element and respective table used in your report and use the same.

Former Member
0 Kudos
133

Chandra,

Data elements are available with name same as mentioned field names.

You can define paramters as:

P_KOKRS TYPE KOKRS

P_GJAHR TYPE GJAHR

P_PERIOD TYPE PERIO

KSTAR TYPE KSTAR

KOSTL TYPE KOSTL

0 Kudos
132

Hi

Below statement gives error field perio is unknown.

SELECT-OPTIONS:

S_PERIOD FOR PERIO OBLIGATORY.

I need CO-PERIO TYPE as NUMC 3 .

can i use Range table for this?

pls confirm.

Regards

Edited by: princeck on Sep 9, 2011 9:19 AM

0 Kudos
132

DO this:

Tables: GLT0.

SELECT-OPTIONS: s_period FOR glt0-rpmax OBLIGATORY.

0 Kudos
132

Hi All

thanks for replies.

I used range table to allow low 001 to high 016.

hope both table glt0-rpmax should also work.

I will reward points for all and close this.

Regards