‎2011 Sep 09 6:25 AM
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
‎2011 Sep 09 7:57 AM
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
‎2011 Sep 09 6:34 AM
Hi Chandra,
You can use following standard search helps:
KOKRS: FC_KOKRS
KSTAR: PCA_SHLP_KSTAR
‎2011 Sep 09 7:30 AM
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.
‎2011 Sep 09 7:48 AM
Hi,
You Can Use standard search helps.
Both KOKRS and KOSTL Maintained in KOSTN . Better u can use this.
‎2011 Sep 09 7:31 AM
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.
‎2011 Sep 09 7:57 AM
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
‎2011 Sep 09 8:02 AM
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
‎2011 Sep 09 8:42 AM
DO this:
Tables: GLT0.
SELECT-OPTIONS: s_period FOR glt0-rpmax OBLIGATORY.
‎2011 Sep 09 9:10 AM
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