How to slection screen fields in output of the report by using alv classe
hi all,
i want to get all the fields in the selection screen to be displayed in the output layout.i am developing report by using alv grid classes can any one help me.
answers are rewarded
Hello
u first place some dictionary input/output fields in your screen and
below that u place ur custom control,
so what ever input u are giving in those fields , u seelct data accordingly,
for example.
in screen there is one icon 'dictionary/program fields, click that and give some table , suppose u want to extract data from kna1 table using kunnr, select kunnr and press enter, then along withn cursor u get one frame, take that on to screen and place it ,
now in the program write
tables: kna1.
select * from kna1 into it_kna1 where kunnr = kna1-kunnr.
now u get the data into it_kna1.
it will work , try this.
bye.
Similar Messages
-
Hi Experts,
How to add additional field into output table VENDORS/WH TAX TYPES AND CODES in RFIDYYWT(Generic Withholding Tax Reporting).
I have no idea how to start with, please give some advice.
Thanks!
IceDear Ice,
Use Append structure, see given link:
https://help.sap.com/saphelp_nw04s/helpdata/en/cf/21eb61446011d189700000e8322d00/content.htm
Regards,
Abbas. -
How ti disable screen fields in Module pool
hi
How to change screen fields to DISPLAY MODE aftr clicking on a particular pushbutton in Module pool prg .
regards
chetan
Edited by: chetan teli on Jul 29, 2008 1:04 PMhiiii
use following code for disabling field
IF p_rad2 IS INITIAL .
LOOP AT SCREEN.
IF screen-name CS 'p_docno'.
screen-active = 0.
MODIFY SCREEN.
ENDIF. " IF screen-name CS 'p_docno'.
ENDLOOP. " LOOP AT SCREEN.
ELSE.
LOOP AT SCREEN .
IF screen-name CS 'p_docno'.
screen-active = 1.
screen-input = 1.
MODIFY SCREEN.
ENDIF. " IF screen-name CS 'p_docno'.
ENDLOOP. " LOOP AT SCREEN .
ENDIF. " IF p_rad2 IS INITIAL .
regards
twinkal -
How to hide the specified rows in the output of the report?
Hello all,
I have a requirement where i have to hide some of the lines (<b>initial 6 lines</b> that is <b>6 rows</b>) in the output of the report.
How would I go about doing this?
Thanks for you time.Hello Sai,
I believe this is query output ( e.g., )
Country Sales
India $100
USA $200
Germany $300
You want to hide the line Germany $300
Case 1:
If you can change the query, Filter on Country and exclude Germany
Case 2:
If you can not change the query, use url appending and filter out Germany
Check webapi reference for the exact commands
Case 3:
Only if you are using the NW2004s front-end, Report designer will be available for you. In this, you can delete the rows that you do not want and publish in web.
Case 1 and 2 solutions are available in older versions of front-end as well.
Regards,
Sheik Bilal -
How to replace a field's search help of DDIC in FPM feeder class?
Hi All,
I want to replace a field's search help in DDIC structure, for an example, in structure HCMT_BSP_PA_XX_R0009, the field BANKL(Bank Keys) has a search help named 'H_BANKL', I want to replace this search help with other one such as 'H_BANKEY' in the FPM feeder class CL_HRESS_PER_DETAIL, I redefined such method:
method if_fpm_guibb_form~get_definition.
field-symbols: <fs_field_description> like line of et_field_description.
call method super->if_fpm_guibb_form~get_definition
importing
es_message = es_message
eo_field_catalog = eo_field_catalog
et_field_description = et_field_description
et_action_definition = et_action_definition
et_special_groups = et_special_groups
ev_additional_error_info = ev_additional_error_info.
read table et_field_description assigning <fs_field_description> with key name = 'BANKL'.
set search help name of field 'bank key'
if <fs_field_description> is assigned.
<fs_field_description>-ddic_shlp_name = 'H_BANKEY'
endif.
endmethod.
I test it and found the search help window was replaced indeed, but all the value of import/export parameters in the new search help was lost, it means, the value of import paramer BANKS(Bank country) and the export parameter BANKA(bank name) were lost. Only the value of BANKL itself can be returned by the new search help window. Can you give me some suggestions about how to maintain the link( value exchange) between structure HCMT_BSP_PA_XX_R0009 and dynamically defined search help 'H_BANKEY' in FPM feeder class?
I tried to use sap memory ID but it doesn't works well.This question was answered at [Webdynpro Forum|how to replace a field's search help of DDIC in FPM feeder class?;:
That is because for the import and export of DDIC Search help values to work in WDA, not in FPM layer.Feeder Class can do nothing about it. -
How to get the output of the report in pdf format
how to get the output of the report in pdf format?
Thanks in advance,
madan.Refer these links
http://www.sap-img.com/bc037.htm
http://www.members.tripod.com/abap4/Save_Report_Output_to_a_PDF_File.html
CONVERT_ABAPSPOOLJOB_2_PDF FM convert abap spool output to PDF -
How to map journal fields and whats is the better process type
/Journal/JournalSuspenseCostCentre NULL
/Journal/JournalBalancingCentre Lookup from Organisation ID
/Journal/JournalMultiCompany u2018Nu2019
/Journal/JournalBatchNumber NULL
/Journal/JournalNumTransactions Total number of /Journal/JournalLine transactions
/Journal/JournalBaseDRTotal Sum of /Journal/JournalLine/JournalLineBaseValue u2013 Debit Values only
/Journal/JournalBaseCRTotal Sum of /Journal/JournalLine/JournalLineBaseValue u2013 Credit Values only
How to map journal fields and whats is the better process type idoc/proxies?please let me know
Journal Line
Multiple journal lines per header:
Schema Element Data
/Journal/JournalLine/JournalLineCostCentre Bank account control Cost Centre
/Journal/JournalLine/JournalLineAccount Bank account control Account Code
/Journal/JournalLine/JournalLineMoneyTotal Transaction Line Amount
/Journal/JournalLine/JournalLineVolume NULL
/Journal/JournalLine/JournalLineDescription Payee Name
/Journal/JournalLine/JournalLineChequeBookReference NULL
/Journal/JournalLine/JournalLineMatchField Cheque Number
NB Contra accounting entries should be posted to:
Schema Element Data
/Journal/JournalLine/JournalLineCostCentre Bank account control Cost Centre
/Journal/JournalLine/JournalLineAccount Bank account control Account Code
/Journal/JournalLine/JournalLineMoneyTotal Transaction Line Amount * -1
/Journal/JournalLine/JournalLineDescription Payee Name
/Journal/JournalLine/JournalLineMatchField Cheque Number
/Journal/JournalPeriod Current General Ledger Period
/Journal/JournalYear Current General Ledger YearIt looks you are new to PI,
you have to develop scenario end to end, by creating source data type and target data type(if you have XSD's not required),then use Graphical mapping (message mapping) to map source and target structures.
Search in sdn for one end to end scenario you will understand easily
Regards,
Raj -
Fetching a transaction's output in the report
Hi,
I have to calculate stock on a particular date my report.
Transaction MB5B calculates stock on a particular date.
How can i pass the mandatory parameters to MB5B and fetch its output in the report itself?
Message was edited by: Nishant GuptaHi !
There's a little more help.
These:
SELECTION-SCREEN BEGIN OF BLOCK Database-selection
WITH FRAME TITLE TEXT-001.
Text-001: Datenbankabgrenzungen
SELECT-OPTIONS: MATNR FOR MARD-MATNR MEMORY ID MAT
MATCHCODE OBJECT MAT1,
*{ INSERT PA9K013121 1
MFRPN FOR MARA-MFRPN MEMORY ID MPN
MATCHCODE OBJECT HTN,
*} INSERT
BUKRS FOR T001-BUKRS MEMORY ID BUK,
WERKS FOR T001W-WERKS MEMORY ID WRK,
LGORT FOR T001L-LGORT,
CHARG FOR MCHB-CHARG,
BWTAR FOR MBEW-BWTAR,
BWART FOR MSEG-BWART.
PARAMETERS SOBKZ LIKE MSEG-SOBKZ.
SELECTION-SCREEN SKIP.
SELECT-OPTIONS: DATUM FOR MKPF-BUDAT NO-EXTENSION.
Datumsintervall für Selektion
SELECTION-SCREEN END OF BLOCK Database-selection.
is the selection screen of the RM07MLBD.
All these parameters (i.e .MATNR, CHARG, BWART) can be passed with the submit command.
For example (where the p_... Parameters are parametes of YOUR report !).
SUBMIT RM07MLBD
with matnr in p_matnr
with bwart in p_bwart
with charg in p_cahrg
and return
exporting list to memory.
The import if the list is a bit more dificult.
It's basically like this:
DATA LISTTAB LIKE LISTOBJECT
OCCURS 1.
CALL FUNCTION 'LIST_FROM_MEMORY' TABLES LISTOBJECT = LISTTAB.
Then the list will be in the table LISOBJECT.
For more info see the docu of 'LIST_FROM_MEMORY'
Regards
Rainer -
How to pass values to be displayed on the report?
I have an ASP.Net page that has values from the user that needs to be displayed in the page header of the report. Those values need to be passed to the report.
I am using Crystal Reports 2011. The code behind for ASP.Net page is written in VB.Net.
I had thought of using Parameter fields in the report and using the SetParameterValue method of ReportDocument but I am not familiar with using Parameter fields.
How to set up the report to do this?
Sincerely,
Keith JacksonHi Keith
DJ has some very good suggestions, but the first thing we want to do is to make sure the report works in the designer as you want it to. Reading this thread, I'm a bit unsure if the report does actually work in the designer - can you please comment on that?
If it does, I like to go from simple as far as coding is concerned. In this case, that would mean not worrying about the parameters or logon and let the report engine do the heavy lifting for us:
Create a new project. Throw a CR viewer on a form and add one line of code in page load:
CrystalReportViewer1.ReportSource = <path to the report>
The engine will prompt for the db logon as well as the parameters. Fill those out. The report should then display on the screen.
From here we can get fancy and add DB logon code as well as the parameter code.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
how do I have 1 apple id for the family to use in the iTunes and app store and a different apple id for iCloud and FaceTime and imessages?
See also Using your Apple ID for Apple services
specifically the section "Using one Apple ID for iCloud and a different Apple ID for Store Purchases". -
How to get relationship between two views in the reports
How to get relationship between two views in the reports, I am doing a deletion program , it is fully relates to views , how to get relationship between them in the reports
Hi,
Please explain your question in detail...what do you want to read ?
If you want to know about the navigation links between the views then you can use APIs like
wdComponentAPI.getComponentInfo().findInWindows("windowName").getViewUsageByID("Name").getNavigationLinks();
Iterate through the navigationLinkInfo from above collection and can read the other properties .
I haven't tried the above , but it should work !!!
Regards,Anilkumar -
How do I make New window open maximized the way it used to?
How do I make New window open maximized the way it used to?
{ Ctrl + B } opens and closes the Bookmarks Sidebar.
-
Print the user id in output of the report for tcode MB52.
Dear friends,
I want to print the User ID in the output of the report MB52. is it possible in std reports.
thanks in advance,Hello Apraveen,
It is not advisable to change any standard SAP program instead you can go for an enhancement approach.
What you can do is search for USER EXITS or BAdi (Business Add-Ins) for the standard program of MB52.
Now, check the execution of these user-exits or BAdi and place your code.
Hope this solves your problem.
Thanks & Regards,
Tarun Gambhir -
How can I know which photos are in the library was used in each album I have created before.
How can I know which photos are in the library was used in each album I have created before?
I have many photos in the library folder of iPhoto, but actually I don't know which photos were used in my album.
Is there any method to find this?
Thanks.Album or Book?
If Album you can find the ones not already used:
File -> New Smart Album
Album -> is not -> Any
Regards
TD -
How to Migrate to to web and run the report in web by default
Hi everybody,
Anyone Please help me out...
1. How to Migrate from Report2.5 to Report 9i
(ie. Character mode to web mode to support Mouse)
2. When I run the report9i from forms or directly from the report builder using the short cut key "Ctrl+R" I want it to run in the web by default.
3. How could I run the Report9i from the Command prompt
thanks in advance...
Regards
Vadivelan.PYou have to install Oracle Forms server and Oracle reports server. Download the documentation about these products from Forms
OTN site.
Maybe you are looking for
-
Windows 7 running PC thinks my iPod Touch is a digital camera?
Hi everyone. I've had my second generation iPod Touch for over 2 years now. I originally had it synced up with iTunes on a laptop running Windows Vista, and it worked perfectly. I then switched it to a new laptop, running Windows 7. That laptop let m
-
Iphone 4s performance very poor after iOS7 update
Hi Guys, I just thought i'd post my experience on my iphone 4s... First of all the phone is approx 18 months old. The phone was perfect until I updated to the popular IOS7 update, cough!!!! Heres what's happening... iPhone probs since IOS7 update Fir
-
How do I transfer iTunes to a new Windows 7 computer?
How do I transfer my ITunes to a new Windows 7 computer? Do I download iTunes and then transfer files, or transfer files before dowloading program?
-
Unable to properly create new folder at the root level of exchange account
Using the latest version of Mail in OS 10.6 with an exchange server. Creating a subfolder within existing folders works perfectly. However, if I try to create a new folder at the very first level of hierarchy (directly under the inbox, not within an
-
Hello, I have seen that a "fix pack 2" has just been released for CR 2008... what's inside ?? where can I find a release note for this fix pack ? thanks in advance for info. Regards, Gilles