New development - selection screen
Hi gurus,
we are introducing a new functionality via devolopment transaction Z, and we need to enter a selection screen prior to the results, just to enter a kind of filter for fields such us:
1. Purchasing document creation date.
2. Document type.
3. Purchasing group.
4. Vendor.
5. Cost Center.
The programmers are asking us whether we want those fields to be a parameter or a range.
Can anyone clear the difference between those two terms for us?
Any help regarding this issue would be very appreciated.
Thanks,
VML
In selection screen Parameter is Just one value For ex Cost centre A .If it is range means From Cost centre A to Cost Centre E. (A,B...E).
If you maintain for all these filed Range then it may give dump while report execution.So you have to controle which fileds should have range and Just one parametre.
Similar Messages
-
How to add a new Field in the Dynamic Selection screen section.
HI,
There is a requirement in which I need to add a field in existing program of dynamic selections.
I need to add a field KNKK-DBRTG (Customer Rating) in dynamic selections screen of some existing report
which has a dynamic selection screen with other fields like customer account, company code etc. Along with this i need to add Customer rating field also in the selection screen.
I have used GET KNKK statement to select this in the Dynamic selection screen. But I need to make it appear
on the screen.
LDB used is the Customer Database.
I have added GET KNKK statement after GET KNA1 statement.
Can any one help me how we can make this rating field appear in the selection screen.
With the GET statement Credit control area Fields can be selected in the selection screen but I have to permanantly add the field in the selection screen.
Regards
Prashant PrabhuHi,
So you need that this new field have data in old records?
1.- If you are in BI 7.0 and the logic or data for that New field are in the same Dimension, you can use a Remodeling to fill it. I mean if you want if you want to load from a Master Data from other InfoObject in the same Dim.
2.- If condition "1" is not yours.
First add the new field, then create a Backup Cube (both cubes with the new field) and make a full update with all information in the original Cube. The new field willl be empty in both cubes.
Create an UR from BackUp_Cube to Original_Cube with all direct mapping and create a logic in the Start Routine of the UR (modiying the data_package) you can look for the data in the DSO that you often use to load.
To do that both cubes have to be Datasources ( right click on Cube-> aditional function-> and I think is "Extract Datasource")
Hope it helps. Regards, Federico -
How to Add a new fields in the selection screen of LDB.
Hi All,
I want to add a new fields in the selection screen of LDB & then i need to select the data for that fields.
So could you please tell me for that where i need to add the code for selecting the data.
Thanks
RoliHi
welcome to SDN forum
If you are designing your own LDB with your own tables you can define tree structure and then the selection screen for the tables
if you wants to modify the std LDB of SAp means take the access key and to modify that code
if you add the extra field you have to modify the where conditions in the code also
see the doc
A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.
LDB offers an easy-to-use selection screens. You can modify the pre-generated selection screen to your needs. It offers check functions to check whether user input is complete, correct, and plausible. It offers reasonable data selections. It contains central authorization checks for data base accesses. Enhancements such as improved performance immediately apply to all report programs that use the logical database.
Less coding s required to retrieve data compared to normal internel tables.
Tables used LDB are in hierarchial structure.
Mainly we used LDBs in HR Abap Programming.
Where all tables are highly inter related so LDBs can optimize the performance there.
Check this Document. All abt LDB's
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fabap%2fabap-code-samples%2fldb+browser.doc
GO THROUGH LINKS -
http://www.sap-basis-abap.com/saptab.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
Re: **LDB**
www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html
www.sap-img.com/abap/abap-interview-question.htm
www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm
Gothru the blog which provides info on LDB's:
/people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
Sample code
TABLES: SPFLI,
SFLIGHT,
SBOOK,
SCARR.
START-OF-SELECTION.
GET SPFLI.
WRITE:/ SPFLI: , SPFLI-CARRID, SPFLI-CONNID,
SPFLI-AIRPFROM, SPFLI-AIRPTO.
GET SFLIGHT.
WRITE:/ SFLIGHT: , SFLIGHT-CARRID, SFLIGHT-CONNID, SFLIGHT-FLDATE.
GET SBOOK.
WRITE:/ SBOOK: , SBOOK-CARRID, SBOOK-CONNID,
SBOOK-FLDATE, SBOOK-BOOKID.
GET SFLIGHT LATE.
WRITE:/ GET SFLIGHT LATE: , SFLIGHT-FLDATE.
Regards
anji -
Adding a new field to selection screen -Effect on variant
Hello,
If we add a new (non obligatory) field to a slection screen, is there any impact on existing variants? Does SAP regenerate each variant when the screen change transport get applied? We had a DB lock jam situation in our PRD system for VARI table and the previous day some program changes with a added selection screen parameter ( a check box) had moved).
Regards,
Hari.Adding a field to the selection screen shouldn't affect existing variants (but the field will be blank for all variants). However, if there is a problem, you should be able to retrieve variants with program RSVARDOC_610.
Rob -
Adding a new field to the selection screen of a LDB
Hi all,
I want to add a new field Clearing date(BSEG-AUGDT) in the dynamic selection screen of the report RFUMSV00.
For adding a new field i have copied the SAP view of a Logical database to CUS view.
Next i had added the Clearing date(BSEG-AUGDT) to the function group Document header(01) and selected the check box Preselect and saved the view.
But still i am not able to find the newly added field in the dynamic selection screen of the report.
Please suggest me where i am going wrong or how to do this.
Thanks in advance
AjayHi Srini,
Thanks for your Reply
I have kept 01 against the field BSEG-AUGDT and selected the preselect check box also.
But still that field is not visible in the dynamic selection screen.
Thanks
Ajay.D -
Add a New Field to Selection Screen of VL10 Transactions problem
Hello,
i have tried to add a selection field in the VL10G. I have used the docu from Gaurav Jagya (Thanks to Gaurav) an followed the steps. Here you can find the docu: Link: [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e07c282f-e2b4-2c10-e4b3-a314fc17b6a1]
In the Step 2 , Point 4 i declare the Select option ST_MTART and use it later in Step 5 in the form USEREXIT_SELECT_OPTIONS_TRANSF.
Step 2.
4. Write the declaration of new select-option inside include ZV50RSEL_MTART.
DATA: V_MTART TYPE MARA-MTART.
SELECT-OPTIONS: ST_MTART for V_MTART.
Step 5. Transfer values from selection screen to range.
For this step, again an access key is required to modify include V50R_USEREXIT_TRANSF.
1. Open include V50R_USEREXIT_TRANSF in change mode. It will ask for an access key. Enter the same and proceed.
2. Write following line of code inside form USEREXIT_SELECT_OPTIONS_TRANSF:
CX_SELECT_OPTIONS-MTART = ST_MTART[].
When i start the VL10G it works fine, but when i start another VL10* transaction i get a dump. Example VL10:
Runtime Errors SYNTAX_ERROR
Date and Time 20.04.2010 13:54:00
Short text
Syntax error in program "RVV50R10C ".
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLV50R_PRE" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "RVV50R10C " in include
"V50R_USEREXIT_TRANSF " in
line 18:
"field "ST_MTART unknown. .."
It dumped, because the form V50R_USEREXIT_TRANSF is used in EVERY VL10* transaction and the select-option is declared ONLY in my Z-include.
Is the someone out there, who has solved the problem? Is the an error in the docu or am i wrong?
Thanks!
AndreasHas there been any further information on this issue in this or any other threads. I am encountering the same issue as identified by Andreas.
Thanks,
Brian -
Add new field infotype "z" in logical database selection screen pnp
Can add new field infotype "z" in logical database selection screen pnp
I could explain how to realize
ThanksIn case to somebody it interests to him: TO EXTEND SCREEN OF SELECTION WITH OPTIONAL DELIMITERS The case that can be given in a screen of selection of a logical data base it does not appear a certain field that we need in the filter, the steps that will be due to follow are the following:
u2022 To create a view of selection in agreement with the fields that we want to show To review the following Link http://help.sap.com/saphelp_46c/helpdata/es/6e/6ed638e70ef679e10000000a114084/content.htm u2022 To assign the view of selection to a class of report
u2022 In the code of report to create select option in the selection screen that allows to introduce imput to leak and after start-of-selection to put the following code,
"Allocation operative area to optional delimiter
IF NOT p_aroper IS INITIAL.
DATA: lt_texpr TYPE rsds_expr OCCURS 0 WITH HEADER LINE,
wa_texpr TYPE rsds_expr,
lt_rsds_expr_tab LIKE rsdsexpr OCCURS 10 WITH HEADER LINE,
wa_rsds_expr_tab LIKE rsdsexpr.
REFRESH lt_rsds_expr_tab.
wa_rsds_expr_tab-arity = '0'.
wa_rsds_expr_tab-fieldname = 'OBJID'.
wa_rsds_expr_tab-option = 'EQ'.
wa_rsds_expr_tab-low = p_aroper.
wa_rsds_expr_tab-high = '00000000'.
MOVE-CORRESPONDING wa_rsds_expr_tab TO lt_rsds_expr_tab.
APPEND lt_rsds_expr_tab.
REFRESH lt_texpr.
wa_texpr-tablename = 'PA9004'.
wa_texpr-expr_tab[] = lt_rsds_expr_tab[].
MOVE-CORRESPONDING wa_texpr TO lt_texpr.
APPEND lt_texpr.
pnpdynse[] = lt_texpr[].
ENDIF.
English is the forum language.
Edited by: Rob Burbank on May 18, 2011 11:41 AM -
To run a report in background in selection screen using a new button
hi friends iam new member to this site
nice to meet u all
i want to run a report in background using the selection screen of the same report and i want to keep a button in application tool bar.
after enter the values in the selection screen by clicking that button it should move to the screen which we get generally by menu option
program-->execute in background
and by entering the output device and start condition it should be scheduled in the background.
with job_open,job_submit and job_close we need variants.
for this i tried through bp_jobvariant_schedule and
bp_jobvariant_overview but with this we can run with variants only
but the user wants to enter the values in selection screen and need a button to run background
ok friends i think u understood me
please inform soon ok bye have a nice timeHi Jagadish
There are two ways for you to handle the situation.
1. Train the users to enter the values in selection screen and manually go for backgroung scheduling.
2. Use At user command and within that basing on the option selection selected, use FM:JOB_OPEN with sy-repid get the job number, submit the program with the values on the selection screen and lastly executing FM: JOB_CLOSE with the job number from JOB_OPEN and SY-REPID.
Note that you have to set 'X' for export parameter something like startimmed while calling FM: JOB_CLOSE for immediate execution. Am not on SAP to give you the exact parameter.
Hope the above info helps you.
Kind Regards
Eswar -
How to create a new selection screen IN LOGICAL DATABASE PNPCE
how to create a new selection screen LDBS PNPCE
Hello Ankit,
Do you want to create a new selection screen in LDB PNPCE, or do you want to create a new selection screen in one of your reports using LDB PNPCE?
For later (which is more common), you can use HR Report Category.
Hope this helps.
Best Regards,
Biraju Rajyaguru -
Difficulty in adding new parameter in selection screen of GR55 report
Hi Gurus,
I have a requirement to add an extra field in Cost center:Act/Plan/Comm CC Cur report.This is otherwise a Z report in report painter with 0% code (T-code : GR55-> Report group->Report).But,when we go to technical information of this report,it has four standard sap programs,which contains code for this selection screen.It does not even have a modification scope.
Selection screen of this report contains following parameters:
Selection values:
Controlling Ar
Fiscal Year
From Period
To Period
Plan Version
Selection Groups:
Cost Center Group
Or value(s)
Cost Element Group
Or value(s)
My requirement is to add one more parameter : Purchase oeder in new block:
Is there any way to achieve it.
Note: Copying the standard progs into custom prog is not working,i already tried that.
Please let me know your suggestions,if any one of you came across such requirement before.it is very impoertant for me.
Thanks in advance,
MeenakshiHi meenakshi239,
you can always use implicit enhancement spots.
Regards,
Clemens -
Add a New field in Selection Screen of Transaction CNS0
All,
I need to create a new field in the selection screen of CNS0. Its a transaction (dialog) not a report.
Please find the image (will give more info on where to add)
http://img18.imageshack.us/img18/5319/cns0.gif
What are the options Any exits of Badi's ? any other options
a®hi
look at this scenario:
1. RCNSHSEL modifications:
ENHANCEMENT-POINT RCNSHSEL_G7 SPOTS ES_RCNSHSEL.
*$*$-Start: RCNSHSEL_G7-------------------------------------------------------------------------$*$*
ENHANCEMENT 4 MGV_GENERATED_RCNSHSEL. "active version
LOOP AT mgv_matnr_selopt_tab.
CONCATENATE mgv_matnr_selopt_tab-name'[]' INTO
mgv_matnr_selopt_tab-name.
ASSIGN (mgv_matnr_selopt_tab-name) TO <mgv_matnr_selopt_conv>.
IF sy-subrc IS INITIAL.
CALL FUNCTION 'MGV_SELOP_AFTER_START_OF_SEL'
EXPORTING
SELOPT_NAME = mgv_matnr_selopt_tab-name
TABLES
RANGE = <mgv_matnr_selopt_conv>.
ENDIF.
ENDLOOP.
ENDENHANCEMENT.
ENHANCEMENT 6 ZNEWENH1. "active version
*>> ds
if sy-tcode = 'CNS0'.
submit z_report_with_selscr and return.
endif.
*<< ds
ENDENHANCEMENT.
*$*$-End: RCNSHSEL_G7-------------------------------------------------------------------------$*$*
TABLES: ACT01,
AFFL,
AFKO,
AUFK,
PROJ,
PRPS_R,
RESB01,
2. new program: z_report_with_selscr
REPORT Z_REPORT_WITH_SELSCR.
parameters: lgort like vbap-lgort obligatory.
start-of-selection.
export lgort to memory id 'ZZLGORT_IN_MEMORY'.
3. code in BADI: DLP_COMPONENT_FILTER
import lgort from memory id 'ZZLGORT_IN_MEMORY'.
regards,darek -
Adding new parameter in ME28 selection screen
Hi All,
Did anyone know how to add in a new parameter(select-options) in ME28 selection screen?
I'm only able found one enhancement for this requirement.
In program
i create a new implementation for ENHANCEMENT-POINT RM06EF00_02 and write the
For eg:
PARAMETERS: p_matnr LIKE mara-matnr.
The new parameter displayed in ME28.
Anyhow, i'm not able to change the selection text from p_matnr to "Material Number" as there is no enhancement in INITIALIZATION for me to set the text dynamically. (i'm not able to change the text element via goto->text elements->selection texts as its standard sap).
Can someone please share if you've done this enhancement before?
Really appreciate your input and advise.
Thanks.
Regards,
Sham.Hi Sham,
I copy standard program of me28(RM06EF00) and implement the code.
Regards,
Quddus. -
Selection-screen differ from developement to quality
Hi All,
I made one standard report as Z report.In this they used Logical databases.I made the changes in selection-screen by selecting some of the fields as invisible,and i created the request number for the report and i moved it to quality,But there the selection-screen it is displaying the fields which i made as invisible also.I dont want to display these fields.How can i do it. When i check the screen attributes in developemnt and quality the language only differ.it is 'DE' in development and it is 'EN' in quality.I think this wont be the problem for screen it is displaying now. Please help me to resolve this problem as soon as possible.
With Regards,
R.P.SastryHi Charlie,
Thx for this valuable feedback.Just a small question.
I am in LSMW screen in Developement and with the project/subproject/object entered
What I understood is that I need to go to Extras>>Export project..Correct ?
But will it export the entire thing i.e project/subproject/object in the file ? or I need to first goto LSMW workbench menu first then select All project objects which will show me the 3 nodes and then placing cursor on each node I have to export each one..
I hope I have put up my doubt correctly..
In short do I need to export/import each node i.e project/subproject/object separately or the action Extras>>Export will export entire thing ?/
Regards,
Manoj -
Adding Radio button & regular button to selection-screen without new gui
Hi,
Is there a way to add a radio button & regular button to a selection-screen without having to create a new gui, status and etc?
Thanks,
JohnHi
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 4(30) TEXT-001 FOR FIELD P_1.
SELECTION-SCREEN POSITION 1.
PARAMETERS: P_1 RADIOBUTTON GROUP R1 DEFAULT 'X'.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 4(30) TEXT-002 FOR FIELD P_2.
SELECTION-SCREEN POSITION 1.
PARAMETERS: P_2 RADIOBUTTON GROUP R1.
SELECTION-SCREEN END OF LINE.
Where the symbols text TEXT-001 and TEXT-002 have the label for the radiobuttons
Max -
Add new fields to selection screen for standard billing dule list in CRM
Hi ,
I have one issue with standard program ,tcode is /BEA/IPMI01.
SUB: Adding few new fields like IP to selection screen AND few fields to output list.
As this is a standard program (tcode: /bea/ipmi01) , i searched for BADI,EXITS but couldn't .
Can any one help me how to handle this with out cloning the standard one.
I got some information but succeed.
in SPRO.
/CRM/BILLING/SYSTEM ENHANCMENTS/access billing engine navigator. you will find selection design in the path
/CRMB/OBJECT/DL/REPORT/SELECTION GROPS/DLA/SELECTION FEIDLS.
we can find selecton at this place but i couldnot find how to add new fieds.
Note: i found whatever we do , it willl reflect once we regenerated the program.Hi,
You may be able to create an append structure to the standard output structure/table. Go to SE11, open the structure and click on append structure.
Regards
Prasenjit
Maybe you are looking for
-
I have my own icloud account separate from my family's apple ID for itunes. I need more storage for icloud...do I have to pay a separate $20/ month to get more storage or does the $20 include all members of the plan?
-
Re-start to finish updating, then can't login again
I have a Dell Inspiron 15 with Windows 8.1 which I bought from Dell. Two weeks ago I got the message on my computer "to finish installing updates, restart computer". I restarted and after that I could not log in. I called Dell and they sent out a tec
-
Preview can't open any pdf file
PDF documents are greyed out in the open menu. Setting Preview as the "open this document with..." app in the get info window gives the message that "it's not known if this application can open Adobe PDF files" At the same time, Safari started crashi
-
Hi. I have a dvd which contain my friend's wedding movies. The problem is that everytime I played it on the DVD player, it gets stuck and said 'skipping damaged area'. But when I played on an actual player on the tv, everything's fine. Recently my fr
-
How to implement a StateSpace-Controller in Labview
I have to implement a StateSpace-Controller in Labview. What is the best way of doing it? I have tried two versions -- a continous SS-Controller and a discrete Version. The Problem is, they show different results, and I can't find the mistake. If you