Show my criteria ( selection options ) in the commentary of the tree ALV
Hello Guys ,
I want to show in the header of my tree alv the criteria that he/she choosed , right nowi´m moving to slis_listheader basic data like date, user , etc my I want to show tomy user which company code, etc . was choosen for the result is ther a easy way to achive that ? or should i read all the tables of my selection screen and built the comment by my own .
thank you guys.
thank you for your ideias guys.
Regards .
Hi José,
should i read all the tables of my selection screen and built the comment by my own .
That's exactly what you should do. Perhaps you can do it even better by creating a class to retrieve the Selection Screen and its values from any running report and give it a nice printable format for the report header. This shouldn't be hard to pull.
Check Function Module DYNPRO_FIELD_GET for a start. It will retrieve the selection screen values the user has filled for a particular report at runtime.
Regards,
Andres.
Similar Messages
-
In my project I am using SharePoint Online 2013 and there is a custom list with two content types. While creating a new item in that list, can we show the content type drop down list along with other columns? While editing an item I am able to view the content
type dropdown in the edit form associated with the list. Can we enable the same for the default newform as well?In my project I am using SharePoint Online 2013 and there is a custom list with two content types. While creating a new item in that list, can we show the content type drop down list along with other columns? While editing an item I am able to view the content
type dropdown in the edit form associated with the list. Can we enable the same for the default newform as well? -
How to get the values of Select-options from the screen.
The value of parameter can be obtained by function module 'DYNP_VALUES_READ' but How to get the values of Select-options from the screen? I want the F4 help values of select-options B depending on the values in Select-option A.So I want to read the Select-option A's value.
Hi,
Refer this following code..this will solve your problem...
"Following code reads value entered in s_po select options and willprovide search
"help for s_item depending upon s_po value.
REPORT TEST.
TABLES : ekpo.
DATA: BEGIN OF itab OCCURS 0,
ebelp LIKE ekpo-ebelp,
END OF itab.
SELECT-OPTIONS s_po FOR ekpo-ebeln.
SELECT-OPTIONS s_item FOR ekpo-ebelp.
INITIALIZATION.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_item-low.
DATA:
dyn_field TYPE dynpread,
temp_fields TYPE TABLE OF dynpread,
zlv_dynpro TYPE syst-repid.
zlv_dynpro = syst-repid.
CALL FUNCTION 'DYNP_VALUES_READ'
EXPORTING
dyname = zlv_dynpro
dynumb = syst-dynnr
request = 'A'
TABLES
dynpfields = temp_fields
EXCEPTIONS
OTHERS = 0.
LOOP AT temp_fields INTO dyn_field.
IF dyn_field-fieldname EQ 'S_PO-LOW'.
SELECT * INTO CORRESPONDING fields OF TABLE itab FROM ekpo
WHERE ebeln EQ dyn_field-fieldvalue.
EXIT.
ENDIF.
ENDLOOP. -
How to create the select option in the screen
HI,
I am developing one module pool program and I have below requirement,
currently plant is acting like PARAMETER and the now it should be changed to select option.
how to create the select option in the screen
Thanks and regarding,
Malla
Moderator message - Please search before asking - post locked
Edited by: Rob Burbank on Dec 16, 2009 1:41 PMTry RANGES.
The RANGES has same structure as that of select-options. -
Output from tables which I mention in select options of the screen as input
Dear All,
I want to fetch the data in the form of output from tables which I will mention in select options of the screen as input.
In selection screen option if I write any table name then how can i select this table in select query of ABAP program ?.
I may select any tables in select options of screen. But In select query I should get that table name automatically.. How ?
e.g. If i put table name as an input i.e. MARA in select option .
In program how to write select query to get records from that table ?
SELECT MTART MATKL from MARA
Every time I should not go to select query of program & replace the tablename.
How to solve this problem ?Hi,
PARAMETERS p_table(30)." type string.
"This is a Tested code Just Execute and Check
START-OF-SELECTION.
DATA: lt_tmp TYPE REF TO data.
DATA : line TYPE REF TO data.
FIELD-SYMBOLS: <lt_tmp> TYPE STANDARD TABLE, <wa>, <dyn_field>.
CREATE DATA lt_tmp TYPE STANDARD TABLE OF (p_table).
ASSIGN lt_tmp->* TO <lt_tmp> .
CREATE DATA line LIKE LINE OF <lt_tmp>.
ASSIGN line->* TO <wa>.
SELECT * FROM (p_table) INTO TABLE <lt_tmp>.
IF sy-subrc = 0.
LOOP AT <lt_tmp> ASSIGNING <wa>.
DO.
ASSIGN COMPONENT sy-index
OF STRUCTURE <wa> TO <dyn_field>.
IF sy-subrc NE 0.
EXIT.
ENDIF.
IF sy-index = 1.
WRITE:/ <dyn_field>.
ELSE.
WRITE: <dyn_field>.
ENDIF.
ENDDO.
ENDLOOP.
ENDIF.
Cheerz
Ram -
How to create the select option for the Plant in screen (Module pool)
HI,
I am developing one module pool program and I have below requirement,
currently plant is acting like PARAMETER and the now it should be changed to select option.
how to create the select option in the screen
Thanks and regarding,
Malla
Moderator message - Cross post locked
Edited by: Rob Burbank on Dec 16, 2009 1:41 PMSteps to get SELECT-OPTIONS in module pool programs.
1.Start one dialog program with SAPMZ_001.
Place the below code in the TOP include of the dialog program.
TABLES marc.
SELECTION-SCREEN BEGIN OF SCREEN 3200 AS SUBSCREEN.
SELECT-OPTIONS: werks FOR marc-werks.
SELECTION-SCREEN END OF SCREEN 3200.
2 .Create one screen 3000.
Go to Layout of the screen and Define subscreen area on the screen and Name it as l_subscreen.
Place the below code in the Flow logic of the screen.
PROCESS BEFORE OUTPUT.
CALL SUBSCREEN l_subscreen INCLUDING 'SAPMZ_001' '3200'.
PROCESS AFTER INPUT.
CALL SUBSCREEN l_subscreen.
Activate all.
Create Transaction code for the dialog program .
Execute the transaction code. You will see the select-option for werks how we see on Selection-screen. -
Can you pass a hidden value along with your select option in the form selec
Can you pass a hidden value along with your select option in the html form select
Off topic. Locking.
-
Have new update but when i am on trying to sync I have no scroll down bar to select option on the bottom of pages so sync is not done with all i want on it. Using my arrow keys also dont work. I have deleted itunes and reinstall but its still the same. Any ideas?
iPod touches or any iDevices from Apple sync only to one computer. If you sync to a different computer, all your music will be replace with the music from the new computer's iTunes. If the music were purchased from iTunes, you can re-download them again otherwise the music on iPod touch will be deleted. Do you have iTunes backup?
-
How to select option to the particular view container
Hi All,
I am working on ALV , i have view container for search parameters, here i want to add select option in to the same view container.. anyone help me to achive the same.
Thanks
RamAs Tamil said above, you have to put the select options in the view that you are embedding in the view container. For help on how to use select options in webdynpro, you can have a look at the tutorial in the following link...
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09fec07-0dab-2a10-dbbe-c9a26bdff03e -
The size of your selected options exceeds the available space
I am trying to install a brand new full version of Adobe Creative Suite 4 Web Premium.
I am unable to proceed, as the install options window tells me "The size of your selected options exceeds the available space" with a red exclamation point.
It says my options require 9.6GB of space.
I am trying to install on my D Drive, which has 1.1 TB of available space. Yes, that's right, Terrabytes.
Help!
System: Intel Core2 Quad Q6600 @2.4 GHz, Windows Vista Ultimate 64 bit SP1, 4 GB RAM, system drive WD Raptor (75GB) and main drive (where I am trying to install CS4) is (6) 500GB seagate SATA hard drives in a 2.5TB RAID 5 array. Motherboard is a Gigabyte GA-P35-DQ6 and video is an Nvidia GEForce 8800GT (512 RAM). RAID controller is onboard the motherboard (Intel ICH8R)SOLVED!
Bob and Peter, you nailed it.
I had inadequate room on the C drive...I was down to only 5 GB of space.
I cleaned up the desktop (The wife thinks that is a great place to store everything) and freed up my C drive so it had just over 10 GB of free space, and the red exclamation point went away. It is now happily installing onto my D drive.
Ian, my C drive (system) is a Western Digital Raptor...10,000 RPM. They are really small (75GB) but really fast so that windows boots up really quick. It is a performance thing. My D is a RAID array for redundancy...as I cannot afford to lose my pictures, videos, and documents, etc. - and I always keep my program installs on D so as to keep the C drive speedy and un-cluttered - plus if and when windows gets corrupted (which it does once every couple of years for some reason), I can re-do it in 5 minutes with an image using Acronis True Image.
Thanks to all of you for your ideas, and I am glad I got it solved. If any Adobe employees read this...you can at least throw in some nice paper manuals for the software. When software is $1600.00 I'm not real concerned about saving another tree - and you shouldn't be either...I'd rather have some paper manuals for reference when I buy a full retail package. So pump up the packaging please. Thanks!!!!
Shane -
Off Set on a Select Option on the Query
Hi Peolpe,
How can i do to put a Off set on a select option on the query ?
Thanks.Hello rafael,
When you restrict any char. with a variable just right click on the variable, you will see the option on the contex menu.
Sarhan. -
Text for block and select option on the selection screen of Logical Databas
Hi,
I have copied a standard program (RFBELJ10) which is making use of LDB (BRF) and created a custom program. Now, the requirement is to add a selection screen option to the custom report and do some validation on the data extracted. I have added the select option and provided a text (lets say "Segment") to it using menu path Goto --> Text Elements --> Selection Texts and activated. But this text is not displayed on the screen when i execute the report. It is showing the string which i used while defining the select option.
Also i need to provide a frame and title to it. but its not displayed.
i have written the following code for that:
SELECTION-SCREEN: BEGIN OF BLOCK seg WITH FRAME TITLE text-h01. " Segment
SELECT-OPTIONS: s_segmnt FOR faglflexa-segment. " Segment
SELECTION-SCREEN: END OF BLOCK seg.
Could you please help me in getting the texts displayed for fram and the select option?
Thanks,
PhaniSolved the problem. I have maintained the text in German. So, when I execute the report in english, it is not displaying the text. I have translated the texts to English and is working fine now.
-
Camera raw plug in not showing up as an option in the file menu the plugin was updated?
I am trying to adjust the white balance using photoshop elements 11, all the information I have come across tells you how to do it using the camera raw plug in. This has been updated and still I do not see it listed when I click on the file menu. I take photos of antique gold lockets using a light house and even though the custom white balance is set on my camera the photos are still coming out too canary yellow. I need to be able to adjust the colors so that they are more antique rose gold looking and have been reading different articles and videos on how other people adjust the colors and would like to try a couple of the ways I have seen but am unable as the camera raw plug in is not showing up as an option. Any suggestions on how I can solve this problem would be most appreciated. I have tried the quick fixes, color and contrast etc and not getting the results I am looking for... Please tell me what to do...
You never see it in the file menu. But if you go to File>Open As in windows you should be able to choose Camera Raw as the format.
On a mac it would be file>Open, choose the file, choose camera raw as the format>Open.
That's assuming these aren't raw files. If it's a raw file, just plain ol' file>Open and selecting a raw file should open the file in the converter. -
Select options for the pnp logical database.
Hi ,
We get a default selection screen when we use logical database in HR ABAP.
But we always get the selection elements as "PARAMETERS" and not as "SELECT-OPTIONS".
How can we change it to select options ....
I tried all the options in HR- Report categories but it is not working..
Kindly Help..
Regards,
Ashwin.>
ASHWIN JOHARI wrote:
> Hi ,
> But we always get the selection elements as "PARAMETERS" and not as "SELECT-OPTIONS".
> Ashwin.
Which fields? Almost all of them are defined SELECT-OPTIONS.. you dont' see the range option directly.. click on he options icon & you can enter the ranges.
~Suresh -
How to use select-options in the function module of import parameter ?
Hi ...
I have created a BAPI and tested in SWO1 tcode , by giving the single value for an company code ( BUKRS ) , it executed properly .
Same thing is working after implementing in a program .
so now it is working for fetching a single company code details .
My requirement is : I want to use select-options in program as well as in function module IN IMPORT PARAMETER.
Program :
REPORT ZTEST.
TABLES : T001 , ZBAPI_STR .
TYPES : BEGIN OF TY_ITEM .
INCLUDE STRUCTURE ZBAPI_STR .
TYPES : END OF TY_ITEM .
DATA :WA_ITEM TYPE TY_ITEM ,
ITEM LIKE STANDARD TABLE OF WA_ITEM INITIAL SIZE 0 .
PARAMETER : BUKRS TYPE ZBAPI_STR-BUKRS.
call function 'ZBAPI_FMT001'
exporting
bukrs = BUKRS
IMPORTING
RETURN =
tables
itemtab = ITEM
IF ITEM IS NOT INITIAL .
LOOP AT ITEM INTO WA_ITEM .
WRITE : / WA_ITEM-BUKRS , WA_ITEM-BUTXT , WA_ITEM-ORT01 , WA_ITEM-LAND1 .
ENDLOOP.
ENDIF.
FUNCTION MODULE :
FUNCTION ZBAPI_FMT001.
""Local Interface:
*" IMPORTING
*" VALUE(BUKRS) TYPE EFG_TAB_RANGES
*" EXPORTING
*" VALUE(RETURN) TYPE BAPIRET2
*" TABLES
*" ITEMTAB STRUCTURE ZBAPI_STR
SELECT BUKRS BUTXT ORT01 LAND1 FROM T001 INTO TABLE ITEMTAB WHERE BUKRS = BUKRS .
ENDFUNCTION.
Regards
Deepa.I have given a similiar example which i did
Declare a
Table type:Z_TT_PONUM
Short text : Select options PO Number
in SE11 tcode with row type eg: Z_ST_PONUM
create a structure (this will be the row type)
Structure Z_ST_PONUM
Short text Select Options Field PO number
Compenent Compent type
SIGN BAPISIGN Inclusion/exclusion criterion SIGN for range tables
OPTION BAPIOPTION Selection operator OPTION for range tables
LOW EBELN Purchasing Document Number
HIGH EBELN Purchasing Document Number
In the function module import
give as
I_PO_NUM TYPE Z_TT_PONUM opt pass value Select options PO Number
Hope this is exactly what you want to know.
So you create a structure simliar to mine but the low an high whould be your component
then a table type and then include that in the BAPI.
Then pass your select-option value to this BAPI when you call this BAPI in the program
Maybe you are looking for
-
Hello, I'm for the first time experimenting with Solaris threads as I'm porting an AIX app. over to Solaris. Anyhow, I have a sample program that creates a simple thread. For some reason, the return value of of the initial thr_create is -1, which isn
-
Problem: new entered data is saved but I am facing one error message --- no
This is a module program for gate entry of materials(miro). This is a simple entry form which updates z tables with data entered. I have to send the new record details automatically through mail to the particular vendor email id from where the mater
-
Macbook Pro 15" will only boot up in Safe Mode - Please help!
My Macbook Pro will not boot up normally. It goes past the screen with the apple and the wheel and then just stays white. Also on the screen there are little rectangular blocks going across diagonally. In Safe Mode, it boots up but with little square
-
I forgot my password for my phone 5 can not re set it
i forgot my password on my iphone 5 and can not re set it heeeelp please
-
Firefox 38.0 Unable to connect to verizon sites including email
Over the past 2 days I have been unable to access any verizon sites (especially my web email) using Firefox 38.0.5. Firefox appears to be trying to connect but the status shows it bouncing between "Fios Trending" and the sign in page. No problem wi