Issue-Displaying year in selection criteria check
I am using V3 as fiscvariant. It corresponds to financial year from APR to MAR. It gives proper result in report. But issue is for last three posting periods (JAN,FEB and MAR which corresponds to 010,011 and 012 respectively) when I press check in selection criteria it displays previous year. E..g 011.2008 should display FEB-2009 after pressing check, but it displays as FEB-2008. I have checked table T009B and I can see Year Shift column values as -1 for periods 10, 11 and 12. For all other periods the year shift is 0. Is it the problem? SM30 doesn't allow me to change entries, I am importing them from R/3 as it is.
Note that as far as query results are concerned it gives proper results, only issue is display during check in selection criteria.
Any comments/answers? I would like to know atleast which table is read when we press check in the selection criteria after entering the values...
Similar Messages
-
Display/Print the Selection criteria entered by USER on the ALV Report o/p?
Hi Experts,
I hv a requirement of to print/display the Selection criteria entered by user in the selection screen.........on the top portion of the ALV report output lay out.
There is a FM for this purpose, but, I forgot its name!!
So, let me know the FM or FMs, so that, will choose, which is best one,
or the piece of code, which covers all select-option entries..........appreciated.
thanq
Edited by: SAP ABAPer on Sep 3, 2008 6:35 PMUse the Function RS_REFRESH_FROM_SELECTOPTIONS get the selection details, now format the data accordingly in the TOP_OF_PAGE using the calss CL_DD_DOCUMENT.
Check the below mention code.
REPORT ztest_page.
TABLES: sflight.
DATA : it_flight TYPE TABLE OF sflight WITH HEADER LINE.
DATA BEGIN OF it_sel_opt OCCURS 0.
INCLUDE STRUCTURE rsparams.
DATA END OF it_sel_opt.
SELECT-OPTIONS: s_carrid FOR sflight-carrid.
START-OF-SELECTION.
SELECT * FROM sflight INTO TABLE it_flight
WHERE carrid IN s_carrid.
END-OF-SELECTION.
CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
EXPORTING
curr_report = sy-repid
TABLES
selection_table = it_sel_opt
EXCEPTIONS
not_found = 01
no_report = 02.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = sy-repid
i_callback_html_top_of_page = 'TOP_OF_PAGE'
i_structure_name = 'SFLIGHT'
TABLES
t_outtab = it_flight
EXCEPTIONS
program_error = 1
OTHERS = 2.
*& Form top_of_page
* text
* -->DOCUMENT text
FORM top_of_page USING document TYPE REF TO cl_dd_document.
DATA : dl_text(255) TYPE c. "Text
* Add new-line
CALL METHOD document->new_line.
CALL METHOD document->new_line.
CLEAR : dl_text.
* program ID
dl_text = 'Program Name :'.
CALL METHOD document->add_gap.
CALL METHOD document->add_text
EXPORTING
text = dl_text
sap_emphasis = cl_dd_area=>heading
sap_color = cl_dd_area=>list_heading_int.
CLEAR dl_text.
dl_text = sy-repid.
CALL METHOD document->add_text
EXPORTING
text = dl_text
sap_emphasis = cl_dd_area=>heading
sap_color = cl_dd_area=>list_negative_inv.
* Add new-line
CALL METHOD document->new_line.
CLEAR : dl_text.
dl_text = 'Selection Criteria'.
CALL METHOD document->add_gap
EXPORTING
width = 34.
CALL METHOD document->add_text
EXPORTING
text = dl_text
sap_emphasis = cl_dd_area=>heading
sap_color = cl_dd_area=>list_negative_inv.
* Add new-line
CALL METHOD document->new_line.
CLEAR : dl_text.
CONCATENATE 'SELECT Option' 'SIGN' 'OPTION' 'LOW' 'HIGH'
INTO dl_text SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
CALL METHOD document->add_gap
EXPORTING
width = 34.
CALL METHOD document->add_text
EXPORTING
text = dl_text
sap_emphasis = cl_dd_area=>heading
sap_color = cl_dd_area=>list_negative_inv.
* Add new-line
CALL METHOD document->new_line.
LOOP AT it_sel_opt.
CLEAR : dl_text.
CONCATENATE it_sel_opt-selname it_sel_opt-sign
it_sel_opt-option it_sel_opt-low it_sel_opt-high
INTO dl_text SEPARATED BY cl_abap_char_utilities=>horizontal_tab.
CALL METHOD document->add_gap
EXPORTING
width = 34.
CALL METHOD document->add_text
EXPORTING
text = dl_text
sap_emphasis = cl_dd_area=>heading
sap_color = cl_dd_area=>list_negative_inv.
* Add new-line
CALL METHOD document->new_line.
ENDLOOP.
ENDFORM. "top_of_page -
RKAEP000 in the background without selection criteria
Hello,
advice, please.
If you execute the KSB1 report in the background, the selection criteria are automatically displayed there with the header data (states within SAP Note 1174588).
Is there any way how to disable this?
We have got a custom program in which we start the KSB1 via SUBMIT RKAEP000 and we do not want to display also the selection criteria within the spool.
Maybe some parameter, which could be used within the submit rkaep000?
Thanks
Regards
PThanks for reply,
I know you can define an default layout, but where within the layout can you set to not display the selection criteria if running in background? -
KSB1 in the background without selection criteria
Hello,
advice, please.
If you execute the KSB1 report in the background, the selection criteria are automatically displayed there with the header data (states within SAP Note 1174588).
Is there any way how to disable this?
We have got a custom program in which we start the KSB1 via SUBMIT RKAEP000 and we do not want to display also the selection criteria within the spool.
Maybe some parameter, which could be used within the submit rkaep000?
Thanks
Regards
PThanks for reply,
I know you can define an default layout, but where within the layout can you set to not display the selection criteria if running in background? -
Hello All,
I have "Key" and "Text" displayed in the selection criteria of a variable. by default this is sorted on "Key" while my user wants it to be sorted on "text". is there anyway to set it to be sorted on "text" and not on "Key".
Thanks
AkshatHello Godhuli,
Thanks for the reply, actually that sorting option change the sorting order in the result (i.e on the grid which is displayed when query is actually executed).
My question was when i have some selection criteria for some variables in a report and on the first screen a list of all those variables appear where i can select or write down the filter values. there i have the option to click so a new small window popsup which shows me the some possible values of that variable and i select from that (based in =,[],* etc....). I want value in that Pop Up window to be sorted on text and by default those values are sorted on "Keys"[ and even in my query properties-> Display options, i have only selected to show "text" and to sort on that in ascending order] so it seems that those options are not governing what i want to change.
Thanks in advance for your help.
Regards
Akshat -
SNC- New field adding to the Purchase due list for selection criteria
Hi SNC Experts,
I have to Add new fields from the existing available fields from the configuration in the purchasing due list and for PO over view selection criteria. I want to know the configuration spot where should I go and look for thew list of exisitng fields which are not displayed for the selection criteria.HI Lata,
which version is the system running on? We have BSP UI in lower releases and WD UI in latest releases.
Best Regards,
Harsha Gatt -
Payment run error "No check exists which meets the selection criteria"
I have done a payment run successfully, maintained a variant for the check print program but when I want to display the cheques i get this error: " No check exists which meets the selection criteria"
I have mantained the check lot for the house bank and the ID as well.
What could be the problem? Please help.
Regards
DebraHi
I have checked FBZP t. code and the check lots , all seem to be in order. I still have not found out where the problem is.
Thanks Shammi
Regards
Debra -
DRQ: Isolate the Daily, Monthly and Yearly CheckBoxes in Selection Criteria
Module: Financials => Financial Reports => Accounting => General Ledger
Request to Isolate the Daily, Monthly and Yearly Check Boxes in the General Ledger - Selection Criteria screen, instead of an option in the report window.
Problem: If there is BP/General Ledger having long transaction list, then once user un-check any of the check boxes system takes long time to remove/hide those rows which contains Totals. Which is effecting the performance of the report also. Also those checkboxes appeared with check marked by default.
If user has an option in the selection criteria screen, then they can choose which Total they want before previewing the report and mark accordingly.
Thanks & Regards
Anjan BhowmickBeing reached to 10 open question, I am forced to close this thread
-
Change selection criteria or check allowance for marking
Hi,
I have executed the costing in CK11N and saved the result. The costing run was successful without any error.
When I want to Mark the cost in CK24, I am getting the below error. Kindly help to resolve this issue.
Change selection criteria or check allowance for marking
Message no. CKCC140
Diagnosis
No data was selected for marking.
Possible causes:
There is insufficient data in the selection screen to select the required cost estimates.
The organizational measure was not carried out, or it was issued with a different costing variant to that of the cost estimates ( Marking Allowance).
All the cost estimates contain errors.
The cost estimates have already been marked or released.
For detailed information, call up the log.
thanks and regards
MurugesanDear Murugesan,
First ensure in CK11N,you have saved the cost estimate without any error,the signal showing with green colour.
Then in CK24,first take a test run for marking and then without the check box for test run.
Before Executing this T Code for marking,click on marking allowance and ensure for the period,company code and the same
costing variant and costing version,it shows green colour which indicates alloed for marking and release,otherwise,just click on
your company code,enter the costing variant and costing version and save the datas.
This should be done only once during the period begining.
Once after doing this,ensure you have complete authorization for marking and release.
Check and revert back.
Regards
Mangalraj.S -
Issue calling program from transaction with selection criteria
Hi Guys,
I ve a issue regarding calling a program from transaction.
There is a standard transaction calling a program using selection criteria no (say for eq 10 fields, just look at the eg below)
Submit <table-proname> and return using selection-set <table-varia>
With rbukrs = i_bkorm-burks Comp Code
with Revent = i_bkorm-event event
with rbelnr = ibkorm-belnr Doc no
with rgjahr = ibkorm-gjahr fiscal year
with ruzeit = ibkorm-ruzeit time
with rusnam = ibkorm-rusnam user name
And so on
Now, In my program selection screen i ve only three fields, (not all mentioned above)
Parameter:
Rbukrs type bukrs, comp code
Rbelnr type belnr, doc no
Rghar type gjahr. fiscal year
Now, i configure this transaction with this program i can able to run this program from transaction.
Is every thing go right, Pls give your sugg
Points & help awarded.
Thanks in advance.Hi,
you can call the program using 3 selection screen fields even though it is having 10 fileds, but before calling make sure that there is no mandatory fields (in rest of the 7 fields), then it will runs you report.
reward if needful.
Thanks,
Sreeram. -
Display Selection Criteria - KSB1
Hi All
When using either transaction KSB1 or report S_ALR_87013620 and drilling into KSB1 users are unable to display the selection criteria they have ran the report on when they select a 'user -specific' report layout variant. If they user a default SAP layout variant this displays the variant name, and selection criteria such as cost centre and currency above the main body of the report.
Is anyone aware of this issue or if it is possible to display the selection criteria on user- specific reports also.
Thanks
SimonHi All
When using either transaction KSB1 or report S_ALR_87013620 and drilling into KSB1 users are unable to display the selection criteria they have ran the report on when they select a 'user -specific' report layout variant. If they user a default SAP layout variant this displays the variant name, and selection criteria such as cost centre and currency above the main body of the report.
Is anyone aware of this issue or if it is possible to display the selection criteria on user- specific reports also.
Thanks
Simon -
Displaying selection criteria in ALV report output
Hello,
Ive been using REUSE_ALV_GRID_DISPLAY function module to display my report content in ALV.
My reports selection criteria has parameters, select options, checkboxes and radio buttons. As part of the ALV output, I want to display the criteria that the user had selected in the selection screen. I was hoping to do that via parameter "i_callback_top_of_page" and fill the selection criteria in the header area. I'm using REUSE_ALV_COMMENTARY_WRITE to fill the header area.
However, the header area takes too much of view space in the output if I put all the selection screen information in it.
Is there a way to make the header area scrollable? What is a good way of displaying the selection criteria information as part of the report output?
Appreciate your help.
ssHi SS,
1. The purpose of displaying / writring
selection information
in alv is
for identifying what the user has seleccted,
directly from the report (when its printed)
2. So, the option of priting/writing
it on the TOP of alv, is ok.
3. However, U can also choose to WRITE
it at the BOTTOM (instead of top)
4. Try to utilise maximum spacing (horizontally)
field1 : abcd fidl2 = xyz field3 = ppp
field4 : mnc etc. etc.
regards,
amit m. -
Using dynamic array as record selection criteria-performance issue
Hi All,
I have successfully passed an array to my subreport and using it as selection criteria. This subreport is embedded in a group and prints data recursively. Problem is the selection is happening locally which causes all the records to be brought and then filters them. Any solution/help will be greatly appreciated.
Thanks, in advance.
-VishalThanks Vinay. But I think I found my answer actually at the selection criteria I was creating an array from string as follows,
stringvar array ConjugateLots = split( str, ",")
in ConjugateLots* //this was causing the local fitration and then I switch to
* in split( str, ",") // which worked.
But once again thanks. But now I have another issue, I want the records to be sort in the array items. Any help with that also greatly appreciated.
Thanks,
-Vishal -
Selection Criteria in Check/Payment Lot configuration
Hi Gurus,
I need help in populating the values in "Selection Category 1,2,3" fields.
While configuring the Payment /Check/Credit card lots, the selection criteria (BP,CA and DOC) values are not populating to select the values.
The pre selection fields are empty, I would like to know how to populate them so that I can select them while configuring the lots.
Thanks,William, Thanks for the solution.
Actually the values (BP,CA,OPEBL) are not defined in "Open Item Management> Specify Selection Categories".
After adding the "BP,CA and Doc no fields in open item category, now the selection category is pre populating. -
Print Layout Designer (PLD) - Displaying Selection Criteria
Does anyone know how to display the selection criteria on a pld form. Specifically, I would like to display the selected 'Item Property' on the Inventory > Inventory Reports > Items List report.
I noticed on the Inventory > Inventory Reports > Inactive Items report that it displays the Date From selection criteria and the document types selected, but I can't figure out how it is doing this. They are Text fields and I don't see any dependencies.
Thank YouVaughn,
The selection criteria are pre-build to be included on some of the reports and are not on others. If they are not available on the PLD template you could not add them.
Suda
Maybe you are looking for
-
Error in the App Store (13) - cannot download any apps
I can't download any apps from the app store because I keep getting the following error message. Can anyone help? I'm running 10.7.5. There was an error in the app store. Please try again later. (13)
-
I am trying to stitch together a fairly low contrast 3D rendering made that was divided into 4 sections. I have tired photomerge in CS3 all afternoon - with no real success (though it works with other files). Generally three of the 4 section blend we
-
How do I Hide a Row in a Table in a Pages document?
How do I hide a row or column? There is a command to "unhide" but not to hide. Because I cannot hide anything, the unhide command is greyed out - what did Apple do with the Hide Rows command for Tables in Pages? Hide it? lol! It does not show up in a
-
Remediation Workflow in Captivate 7
I'm trying to incorporate remediation in my quizzing using Adobe Captivate 7. I've watched this tutorial, Remediation in Quizzing -AdobeCaptivate 6 - YouTube , as well as read through other posts and I haven't found my answer even though I think oth
-
I created a disk image last night to prepare for my upgrade to Snow Leopard and then this morning moved to the final step of "Scan Image for Restore" and I was wondering if anyone had any insights into how long this would take. It's been running for