Problem in report selection-scrren.
Hi
I'm doing one plant maintainence report in that already i used logocal data base selection-scrren ( LDB : - QMI )
but as per my requirement i want add two selection-scrren blocks of ldb program AFI in to my report ,
problem is already i written code using that ldb code of AFI but in that code i used screenfields like (parameters: zid_ofn like rihea-id_ofn ) .now i want to write code purely using transparent table fields .
how can i find transparent table fields for id_ofn etc.
regds
Raj
Goto SE84.
In the displayed list. follow the path
ABAP Dictionary -> Fields -> Table Fields. double click on Table Fields.
you will get screen and enter the field name and search it. You will get list of Tables that used your field.
regards,
ram
Similar Messages
-
Problem in Report selection screen
Hi friends,
I have a requirement to change the selection screen dynamically .
My actual requirement is, i have there radio buttons in the selection screen ,
based on the click of the radio button the input blocks should get changed.
I am able to achieve that by looping the screen in the event of selection screen output.
My problem is if i execute the report defaultly the first radio button is selected ,
so my first selection screen block should display but this is not displaying.
If i write code in initilization event , this works , but this event is triggering every time
so i am unable to use this event and i am unable to set flags also to solve this .
Kindly Provide me a solution.
Thanks & Regards,
Arun.Hi Arun,
I think may be you have misssed the part user command which is to be used as follows:
PARAMETERS RAD1 RADIOBUTTON GROUP RAD
DEFAULT 'X' USER-COMMAND flag.
If its already there, kindly copy and paste your code here so that we can help you... -
Report Painter problem with empty selection variant
Hello,
I use the cost center selection variant for the column definition in Report Painter as characteristic value. This selection variant get only the cost centers which are valid from 1.1.2003 to 31.12.2004. The column of the report created by Report Painter which uses this selection variant display value without taking into account limitations follow from this selection variant. I expect value zero for year fiscal year 2007 in this column, because the cost centers are invalid in 2007 year but the report displays different value. The problem appeared after upgrade from 4.6C to ECC 6.0.
Best Regards
ZDMy problem with Report Painter occurred when I was creating my own report based on 1VK library.
In my example I used in the column definition characteristic Cost
Center, which is determined by selection variant, and Basic Key Figure
equal SWKG-Costs. For system date (18.07.2007) there are no valid
master data for the characteristic Cost Center but when I execute
report for fiscal year 2007 the column display no-zero value without
taking into account value of Characteristic Cost Center. I expected
zero value in this column because there are no postings for Cost
Centers (no valid cost centers were selected) in financial year 2007.
Could you help me with this problem ? -
Problem in standard select query in fagll03
Good Morning frndz,
I m facing a problem while runnin fagll03. when executed it gives timeout error.
When I debug it , it gets stuck in a select query
SELECT SINGLE * FROM t800m INTO CORRESPONDING FIELDS OF ls_b
WHERE totable = ls_t800a-ntable
AND fromtable = 'ACCIT_GLX'
AND tofield = id_glflex_fieldname
AND seqnr = space.
The content in variable ls_t800a-ntable was FAGLFLEXA and in id_glflex_fieldname was USNAM.
When I cheked in table t800m, the entry could not be found. But in the report instead of setting
sy-subrc = 0 , it is stuck in the select query itself....kindly suggest y it is happening so
Regards,
VincyRe: Problem in my Select query
Krishna kumar Jun 9, 2014 7:52 AM (in response to Ramakrishnan Murugan)
Hi Ramakrishnan,
Can you just try the below Select Query,
SELECT zzreq_id
nachn
vorna
INTO TABLE lt_select_list
FROM ZTABLE
WHERE ( zzreq_id LIKE lv_pattern and
nachn LIKE lv_last_name and
vorna LIKE lv_first_name ) and
zzstatus = lv_workflow_status.
Cheers,
Krishnakumar B.
I think the above suggested query is same as your solution. -
RE: HR ABAP Multiple selection problem on input selection-screen
hi friends,
I AM Facing one problem in HR abap report selection-screen , in my report employee details data getting based on payroll area
of selection-screen. Here iam SELECTION-SCREEN declarations made in program level NOT created REPORT CATEGORY FOR
PNP LDB.
ACTUAL MY PROBLEM IS IF I SELECT SINGLE PAYROLL AREA IN SELECTION-SCREEN IT GETTING DATA PERFECTLY FOR THAT
PAYROLL AREA
EX. ZA - PAYROLL AREA IF I SELECT IN SELECTION SCREEN IT FETCHING THAT PAYROLL AREA DATA PERFECTLY, PROBLEM
IS IF I SELECT MULTIPLE PAYROLL AREAS IN SELECTION-SCREEN PAYROLL AREA FIELD ZA AND ZB PAYROLLS IT FETCHING
ONLY ZA -PAYROLL DATA ONLY IT IS NOT FETCHING DATA FROM ZB PAYROLL AREA.MY REQUIREMENT IS IT SHOULD FETCH
BOTH PAYROLL DATA AND SHOWING .
HERE IAM GIVING MY SELECTION SCREEN DECLARATION SYNTAX.
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS:
S_ABKRS FOR P0001-ABKRS NO INTERVALS," NO-EXTENSION, " PAY ROLL AREA
S_PERSA FOR P0001-WERKS NO INTERVALS," NO-EXTENSION, " PERS.AREA
SELECTION-SCREEN END OF BLOCK B2 .
PLEASE Any body knows solution for this selection give me reply.
regards,
gopalIf you are using Logical DB PNP why are you coding Selection Fields for ABKRS and WERKS? Both of these fields are defined in the PNP Selection Screen and if you use those fields then SAP will handle filtering the data.
-
Problen in report selection screen
Hi ,
I had a problem in the report.In the report selection screen user asking to keep page no option.So when they select the page no in the selection screen,so from that page number report out put should display.
how to do this.
Thanks,If you generating the LIST using the classical approch you cah use the SCROLL LIST keyword for this purpose.
Like:
DATA: L_PAGENO TYPE I.
L_PAGENO = 3.
START-OF-SELECTION.
DO 100 TIMES.
WRITE: / SY-ABCDE.
ENDDO.
SCROLL LIST INDEX 0 TO: PAGE L_PAGENO.
TOP-OF-PAGE.
WRITE: 'Top-of-page'.
Regards,
Naimesh Patel -
Problem on "at selection-screen output." command
Hi ,
in my programe a part of code is :-
selection-screen : begin of block b0 with frame title text-000.
selection-screen: skip 1.
parameters: s_box1 radiobutton group g1 user-command u1 default 'X',
s_box2 radiobutton group g1.
selection-screen : end of block b0 .
selection-screen : begin of block b2 with frame title text-002.
select-options : s_vend for bseg-lifnr modif id m1 .
selection-screen : end of block b2 .
selection-screen : begin of block b3 with frame title text-003.
select-options : s_budat for bkpf-budat modif id m2 .
selection-screen : end of block b3 .
at selection-screen output.
if s_box1 = 'X'.
loop at screen.
if screen-group1 = 'M2'.
screen-active = '0'.
modify screen.
elseif screen-group1 = 'M1' .
screen-active = '1'.
modify screen.
endif.
endloop.
elseif s_box2 = 'X'.
loop at screen.
if screen-group1 = 'M2' .
screen-active = '1'.
modify screen.
elseif screen-group1 = 'M1'.
screen-active = '0'.
modify screen.
endif.
endloop.
endif.
while executing this one...
while clicking S_BOX2 from S_BOX1 , S_VEND is changing to S_BUDAT but if I click again S_BOX1 this program goes to infinite loop.
Please help me to correct this problem.
Thankx in adv.
Biswajit
N.B:- This is a test code. no coding convention is followed.I just copied your code and Tested it is working fine with out any problem.
REPORT zscreen_test_.
TABLES:bseg,bkpf.
SELECTION-SCREEN : BEGIN OF BLOCK b0 WITH FRAME TITLE text-000.
SELECTION-SCREEN: SKIP 1.
PARAMETERS: s_box1 RADIOBUTTON GROUP g1 USER-COMMAND u1 DEFAULT 'X',
s_box2 RADIOBUTTON GROUP g1.
SELECTION-SCREEN : END OF BLOCK b0 .
SELECTION-SCREEN : BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
SELECT-OPTIONS : s_vend FOR bseg-lifnr MODIF ID m1 .
SELECTION-SCREEN : END OF BLOCK b2 .
SELECTION-SCREEN : BEGIN OF BLOCK b3 WITH FRAME TITLE text-003.
SELECT-OPTIONS : s_budat FOR bkpf-budat MODIF ID m2 .
SELECTION-SCREEN : END OF BLOCK b3 .
AT SELECTION-SCREEN OUTPUT.
IF s_box1 = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'M2'.
screen-active = '0'.
MODIFY SCREEN.
ELSEIF screen-group1 = 'M1' .
screen-active = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ELSEIF s_box2 = 'X'.
LOOP AT SCREEN.
IF screen-group1 = 'M2' .
screen-active = '1'.
MODIFY SCREEN.
ELSEIF screen-group1 = 'M1'.
screen-active = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
"If you have any code next to this place that under appropriate
"events. -
In copa reports, i selected a report, i get the following report selections
from period/year
To period/year
plan/act.indicator
version
I want to include sales group to this selection screen of the copa report.please advise.
Thanks®ards
MSReddyDear Friends:
In T.code KEA5, Characteristics fields KMKDGR (customer group) is already present. I want to remove the Characteristics fields which are not necessary for my report.
In field Catalog (menu path-Characteristics-change selection), I selected authorization group, sales group.
I get the following warning messages
Field KMVKGR has the same name as field VKGRP
I saved the Characteristics fields for sales group and authorization group despite the warnings and activated them.
But when i go to t.code KEA5 again (Change Characteristic overview), the fields of authorization group, sales group are not saved.
The sales group (ex:Z01) has to be defaulted when the user login.Is it possible?
How to overcome the problem?Please advise.
Thanks&Regards
MSReddy
Message was edited by:
Sridhar M -
Problem with the selection screen in submit program
Hi Friends,
i am facing the problem wih the selection screen in submit program. in my Module pool program i am using the submit program statement, When i execute the program , The module program display the submit program selections creen.
I have implemented the code same as below.
submit ztest with tknum =p_tknum and return.
Can you pleaes help me how to avoid the submit program selection screen.
Thanks,
CharanHi Charan,
You have to give the selection screen values when you submit a job.
Press F1 on submit and you will see more details.
Here is an example from ABAP Documentation.
Program accessed
REPORT report1.
DATA text(10) TYPE c.
SELECTION-SCREEN BEGIN OF SCREEN 1100.
SELECT-OPTIONS: selcrit1 FOR text,
selcrit2 FOR text.
SELECTION-SCREEN END OF SCREEN 1100.
Calling program
REPORT report2.
DATA: text(10) TYPE c,
rspar_tab TYPE TABLE OF rsparams,
rspar_line LIKE LINE OF rspar_tab,
range_tab LIKE RANGE OF text,
range_line LIKE LINE OF range_tab.
rspar_line-selname = 'SELCRIT1'.
rspar_line-kind = 'S'.
rspar_line-sign = 'I'.
rspar_line-option = 'EQ'.
rspar_line-low = 'ABAP'.
APPEND rspar_line TO rspar_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'H'.
APPEND range_line TO range_tab.
range_line-sign = 'E'.
range_line-option = 'EQ'.
range_line-low = 'K'.
APPEND range_line TO range_tab.
SUBMIT report1 USING SELECTION-SCREEN '1100'
WITH SELECTION-TABLE rspar_tab
WITH selcrit2 BETWEEN 'H' AND 'K'
WITH selcrit2 IN range_tab
AND RETURN.
Regards,
Jovito. -
Table Control on a report selection screen -not a dialog transaction screen
Hi
Does anyone know of a way to have table control functionality on a report selection-screen? The program needs to be able to run as a background job (ie cannot be a dialog transaction) and we need to be able to save variants with the selection-screen values.
Any help would be appreciated.
The key point is we want to allow the user to enter a dynamic number of rows of table data on the selection-screen, save a variant containing that data and execute the program with the variant as a background job.
Thanks
Nicole KnightHi Nicole,
The main problem is how to persist the data. If you are not able to create a couple of tables then you could always utilise TVARV instead. On a similar line to my original post you could have the button call a dialog transaction. In here you could do your normal GUI table control. When saving the data simply transpose each column into a separate select-option held on TVARV keyed by the 'variant name' + fieldname. Then retrieve and transpose this back when executing the report.
Other methods could be storing the data in cluster xy (see EXPORT TO DATABASE command).
This seems a bit overkill for what would be a couple of maintenance dialogs.
Cheers,
Pete
PS. The view cluster is just a way of hierarchically performing table maintenance across multiple related tables. It offers a good UI for this purpose (header and item config tables) and is utilised extensively in the IMG. -
I have a problem with my select List.
I have created a report. I wrote a query to retrieve the desired results. Inside of this reprot, there is a column named category that has about 6 different categories (a-f). I want to place a select list on the report that will choose a category. Once a category is chosen, it will select those results with that particular category that was selected.
I have my select list above the report, but am not sure what/where to put the code to produce the results based on which category is chosen. Can anyone help with this??
Thanks in advance.Please look again. The username and password are there.
Also, but what about my query that generates the already made report? Won't I have to make changes to that query?
If your report already references the Select List variable, I'd think it ought to be working. But I have seen -- in my own code -- where the Select List variable was there on the screen staring me in the face but it was "NULL" to the session and to my code that was checking for it. Or it was the value from last time around. Make sure that your "Source" definition for the Select List variable has Source Used:"Always, replacing any existing value in session state," and Source Type: "Static assignment" and make the "Source value expression" is "&<select-list-variable-name>." (period!) This worked for me.
And I'm not familiar with the syntax --> ||'-'||. Isn't that used to concatenate two items/columns? That's just PL/SQL string concatentation. I'm putting a dash between the employee number and the letter selected.
Howard -
PS report: multible selection for report selection criteria
Is there a possibility to define multible selections in the report selection variables of a PS hierarchy report?
I tried to define them via
CJE6 -> EDIT -> General data selction
and entered valiables in the FROM column and the TO column. But when I execute the report it will not show multible selction, but only single selection. Also, I did not find a SAP standard report which has multible selection in the report selection criteria screen.
I found the multible selections only in the DB profile selection screen and the dynamic selection, but that is not the solution I am searching for.
Can anybody kindly help me with this?E.g. S_ALR_87013532
here you can see multible selection in the DB profile selection group, but not in the report selection group. I would like to use multible selection in the report selection group, as mentioned above.
I am aware of the possibility of creating a new DB profile, but this is only my option B. -
Hiding Screen fields in a Report selection screen
Hi Experts,
I have a requirement to hide/disable screen fields in a report selection screen when the user clicks on some radio buttons .
Here is the scenario,
1) There are 4 radio buttons four radiobuttons in one group on the selection screen:--
Block no:1
PARAMETER: r_not TYPE c RADIOBUTTON GROUP a1 DEFAULT 'X'.
PARAMETER: r_prgs TYPE c RADIOBUTTON GROUP a1.
PARAMETER: r_remv TYPE c RADIOBUTTON GROUP a1.
PARAMETER: r_noresp TYPE c RADIOBUTTON GROUP a1.
2) Based on the user clicking/selecting the radio buttons no.2,3 nad 4 i need to hide some fields in the other selection block
in the selection screen.The parameters are as follows:
Block no:2( These fields need to be hidden/disabled)
PARAMETER: r_occ(3) TYPE c OBLIGATORY DEFAULT '1'.
PARAMETER: r_and TYPE c RADIOBUTTON GROUP g1.
PARAMETER: r_or TYPE c RADIOBUTTON GROUP g1.
PARAMETER: r_days(3) TYPE c OBLIGATORY DEFAULT '1'.
ThanksContd.....
AT SELECTION-SCREEN.
CASE SSCRFIELDS-UCOMM.
"When Customer button is clicked set flag 1
WHEN 'FC01'.
L_FLAG = '1'.
"When Sales Order button is clicked set flag 2
WHEN 'FC02'. "Sales order
L_FLAG = '2'.
"When Execute button is clicked set flag 4
WHEN OTHERS.
L_FLAG = '4'.
ENDCASE.
AT SELECTION-SCREEN OUTPUT.
CASE L_FLAG.
WHEN '1'. "When Customer button is clicked
LOOP AT SCREEN.
"Set the Production and Customer Block as inactive
IF SCREEN-GROUP1 = 'BL1' OR SCREEN-GROUP1 = 'BL3'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN '2'. "When Sales Order button is clicked
LOOP AT SCREEN.
"Set the Production and Customer Block as inactive
IF SCREEN-GROUP1 = 'BL1' OR SCREEN-GROUP1 = 'BL2'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN '3'. "When Refresh button is clicked
LOOP AT SCREEN.
"Set the all Blocks as active
IF SCREEN-GROUP1 = 'BL2' OR SCREEN-GROUP1 = 'BL3' OR SCREEN-GROUP1 = 'BL1'.
SCREEN-ACTIVE = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
WHEN OTHERS."When Execute button is clicked
"Set the Sales order and Customer Block as inactive
LOOP AT SCREEN.
IF SCREEN-GROUP1 = 'BL2' OR SCREEN-GROUP1 = 'BL3'.
SCREEN-ACTIVE = '0'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDCASE.
ENDFORM. -
Dynamic Action based on Interactive Report Select List Value
I'd like to perform a Dynamic Action when a user selects one of 3 options from a Select List within an Interactive Report:
select APEX_ITEM.SELECT_LIST(
p_idx => 3,
--p_value => deptno,
p_list_values => 'Copy;Copy,Delete;Delete,Export to PDF;Export to PDF',
--p_attributes => 'style="color:red;"',
p_show_null => 'YES',
p_null_value => NULL,
p_null_text => '--Select--',
--p_item_id => 'f03_#ROWNUM#',
p_item_id => 'P6_IR_SELECT_LIST',
p_item_label => 'Label for f03_#ROWNUM#',
p_show_extra => 'YES') "Actions"
from dual;
When building the Dynamic Action, I chose the following values from the Advanced wizard
Event: Select
Selection Type: DOM Object
DOM Object: P6_IR_SELECT_LIST
Condition: Equal to
Value: "Delete"
True Action: Execute Javascript Code: Alert('Here');
Doesn't seem to be firing...can anyone help?
Thanks in advance,
JohnHi,
I am not sure if the "equal to" condition applies to a DOM object... after all, a DOM object can be anything (any HTML element) not only a field.
Try using a javascript expression instead, like this:
$v('P6_IR_SELECT_LIST')=='Delete'UPDATE: Sorry, I just tested and "equal to" condition works for DOM objects... should have tested before posting!
Luis
Edited by: Luis Cabral on Feb 29, 2012 4:45 PM -
How can we read the screen field values from the report selection screen wi
Hi expart,
How can we read the screen field values from the report selection screen with out having an ENTER button pressed .
Regards
Razzuse this code...
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
**Read the Values of the SCREEN FIELDs
CALL FUNCTION 'DYNP_VALUES_READ'
Maybe you are looking for
-
Windows 7 PRO GP update error We have a very peculiar problem We have a Primary DC & Secondary DC installed in all our office ( Windows 2008R2). The Domain name is abc.com for all the Offices and the replication between the DC's happen in be
-
Can no longer find Printer on Windows network
I had a connection to the HP LaserJet 4050 at work and accidentally deleted it. We have a Windows network. I remember using the Windows Printing option before, but the printer no longer shows up when I select Network Neighborhood. The only thing that
-
MBP FireWire 800 bus has corrupted 3 drives
Hello, I have been working with a friend on a recording of their band. We recorded a 24 track Pro Tools 9 session of their latest show. Everything has been working flawlessly until last night. I received a frantic call from my buddy yesterday telling
-
My retina laptop has crashed after using processing program HOW DO I START MY DEAD LAPTOP again
my laptop is warm hot and it is not plugged in too WHY ? what is going on ?? please and tthank you
-
Not able to invoke ATG Rest services
Hi, I'm new ATG Rest service, To just create a dummy rest service I followed the below steps. 1. added REST module in MANIFEST.MF file ATG-Required: DAS DPS DSS DCS B2CCommerce DAS REST 2. created restSecurityCnfiguration.xml under atg/rest/seurity a