Connecting data between alv and listbox

Hai,
It is very urgent, how connect the data between the alv and listbox in such a manner that by selecting a record no in list box the related details have to be diplayed in the alv grid. pls convey me with an example.

hi
good
go through this code
here is teh sample code to populate list box.
TYPE-POOLS: vrm.
DATA: name TYPE vrm_id,
list TYPE vrm_values,
value LIKE LINE OF list.
PARAMETERS: ps_parm(10) AS LISTBOX VISIBLE LENGTH 10.
AT SELECTION-SCREEN OUTPUT.
name = 'PS_PARM'.
value-key = '1'.
value-text = 'Line 1'.
APPEND value TO list.
value-key = '2'.
value-text = 'Line 2'.
APPEND value TO list.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING id = name
values = list.
START-OF-SELECTION.
WRITE: / 'Parameter:', ps_parm.
thanks
mrutyun^

Similar Messages

  • Difference between ALV and Table control

    Hi folks,
    i want to know the major differences between AlV and table controls.
    i know that table control is designed in screen painter, but i want to know the major diff between Table control and ALV.
    helpful answers will be rewarded.
    Regards,
    Naveen

    Hi Naveen,
    Basically ALV is a way to display the output and Table Control is designed in screen painter through which you can get entries in Table Control, can delete some records etc for further processing and  its not use only for Display.
    <b>ALV is Application List viewer:-</b>
    Sap provides a set of ALV (ABAP LIST VIEWER) function modules which can be put into use to embellish the output of a report. This set of ALV functions is used to enhance the readability and functionality of any report output. Cases arise in sap when the output of a report contains columns extending more than 255 characters in length. 
    In such cases, this set of ALV functions can help choose selected columns and arrange the different columns from a report output and also save different variants for report display. This is a very efficient tool for dynamically sorting and arranging the columns from a report output. 
    <b>TABLE CONTROL:-</b>
    ABAP offers two mechanisms for displaying and using table data in a screen. These mechanisms are table controls and step loops. Table controls and step loops are types of screen tables you can add to a screen in the Screen Painter.
    Rewards if useful.
    Regards,
    Shilpi

  • Why replicate Master Data between CRM and IS-U?????

    Hello colleagues,
    I am at a customer who is already replicating Business Partner and Contract Accounts between CRM 5.0 and IS-U (ECC 6.0).
    He is using CRM IC WinClient where most of the processes are implemented as transaction calls in IS-U.
    There is a possibility to replicate all objects (Accounts, Connection Objects and Installations) but what is the purpose of doing it.
    Could anybody tell me what is the advantage of replicating all objects and having them redundant?
    Why to replicate?
    I just found information on how to replicate but not why.
    Thank you very much for your help in advance,
    Edgar Kauter

    Hi All,
    The major thing is we should not use ISU as stativ and CRM dynalic system. As we all aware When SAP is launching any module or technology its beleives in re-usabilty.
    Now the issue data replecation between CRM and ISU-
    1. In a utility market if the customer,retailer and the network operator initiate any business flow they should start with CRM as CRM is handling FOP part.It means CRM has not only build only for ISU.
    2. In ISU before billing so many things is getting triggered - like new connecion,transfer,move-in,move-out etc....these process cant be done with the CRM business module as I mentioned earlier CRM is not only designed for IS-U
    So for a smoother process and with proper business SAP introduced CRM IS-U.
    Without replacting the data between CRM and IS-U we cant process the steps which will at last billed a customer.
    Regards.
    Abinash

  • Events limit can only be dates between 1 and 9 on the day field

    Im an student, and im trying to put my timetable into ical as did last year
    it goes ok, i set it up to repit every week mondays lessons for example
    but when i am trying to set up a limit for this event to repit itself ical only allows me to
    put a date between 1 and 9 on the day field.
    Does anyone know why is that?
    sorry is my english is not so good im from spain and i might not explained very well
    thank you

    The x86 architecture has a standard formatting for disks that uses up to four primary partitions on a disk. On DOS or UNIX, you can view the partitions with 'fdisk'.
    This is layer that Windows and Linux tends to use for filesystems.
    Solaris though uses only one of those partitions for its own use (marking it a Solaris partition) and places a label similar to that on a SPARC disk (VTOC). So within the single x86 partition are several further subdivisions (slices).
    On solaris, the disk might be /dev/dsk/c0t0d0. You could access one of the Solaris (VTOC) slices as /dev/dsk/c0t0d0s0. As far as I know, Linux does not understand how to address the Solaris VTOC slices (If this isn't true, I'd love to know what the syntax for doing so is).
    You'd access the (non-Solaris) x86 parititions like /dev/dsk/c0t0d0p1 or so. While Linux can address extended x86 partitions, Solaris can only address primary partitions.
    Darren

  • How to sinck data between  production and R12 instance

    Hi,
    I am working on Oracle Apps up-gradation project.
    Now I have upgrade 11.5.7 to R12 (12.0.4) successfully. I started up-gradation task with 1 May of production data (backup) on new machine.
    Client wants to live R12 from 1/August/2009.
    Please suggest how to sinck data between production and R12 instance.
    Thanks
    Anup

    Hi,
    It is not possible to do what you propose (sync data from an 11.5.7 system to a 12.0.4 system). You will need to re-run the upgrade against the August 1 data, following your original upgrade procedures.
    Regards,
    John P.
    http://only4left.jpiwowar.com

  • How to pass series of dates (between startdate and enddate) to subreport, which takes only one date as parameter

    Relatively new to Microsoft report services. I have created a report which takes a single parameter named 'SelectedDate'. This report runs fine (uses complex query of hours of the selected date and complex joins & aggregate calculations between SQL
    database tables). I created a new report with two parameters, namely, StartDate and EndDate. Also created a sql stored procedure which gives all dates between StartDate and EndDate. Added subreport to this report which calls my first report and defined 'SelectedDate'
    parameter to get the value as "=First(Fields!dt.Value, "DataSet1") - where dt is the resultset of procedure called in DataSet1. When I run this report, in the subreport, all I see is the report for 'StartDate' which is the passed
    value of the first parameter. I can't find a way to pass entire array of dates as parameter, to which user can browse forwards and backwards. Any idea? Thanks in advance for your help!

    HI Visakh16..Never mind my comment..I tried it again. This time I went to the completion of previewing..and noticed that the table with DataSet1 does display dates and first report underneath but once I click any other date, it displays the subreport on
    full page and navigation back arrow (with hint 'back to Parent Report) solution is not bad..so unless you a way to achieve my desired layout mentioned above - I am good for now! Thanks for your pointer in right direction!
    One small observation for thread readers: When I published the report to the report server, the back button (back to Parent Report) which was available to me at design time, is not displayed at client's browser. Upon checking pertinent threads, concluded
    that this is known issue for years and recommendation I concluded from various threads is: Use back button of browser and it should (& did) keep the parent report page, with table with selected dates intact. A few have noticed different behaviour
    for older browser versions. 

  • Using EPMA to transfer data between HFM and Essbase on 11.1.1.3

    Can we use EPMA to transfer data between HFM application and Essbase cubes on Hyperion version 11.1.1.3?
    As far my understanding we can only link HFM and Essbase through EAL.
    I would be very keen to know from the audience if we can use EPMA to transfer data between HFM and Essbase
    Hyperion version 11.1.1.3
    Windows 2003 64-bit
    Regards
    Yogananda Bharadwaj

    Hi Yogananda,
    Check epma admin.pdf, page 439. Chapter 19 describes how to synchronize and map data between Hyperion applications, interface tables, and external files via EPMA Data Synchronization.
    Regards,
    Thanos

  • (UIX XML) Sharing Connection objects between BC4J and custom java.

    If I have a UIX XML page that contains some BC4J application modules, then in the event handler I call [public static EventResult handleMyEventEvent (BajaContext context, Page page, PageEvent event..) ], which in turn calls some java classes I have written that take a java.sql.Connection object and access the database doing some updates/inserts with this Connection object (via JDBC)....HOW CAN I USE THE SAME TRANSACTION AS WAS USED IN THE BC4J APPLICATION MODULE...i.e. CAN I SHARE THE CONNECTION OBJECT BETWEEN BC4J AND MY OWN JAVA CLASSES THAT USE JDBC?
    What are the best ways to share such a transaction?
    Thanks,
    Paul.

    Would it be easier to use a custom method on the bc4j Application module?
    Take this scenario...
    1. User opens UIX XML web page which opens a bc4j App Module..it has a VO based on all employees.
    2. User presses the add button and a new employee is created (using the bc4j App Module).
    (Notice: no commit yet!)
    3. User presses the submit button...fires event REVIEW_SALARY.
    4. This event is 'handled' in the event section of the UML XML...it calls:-
    public static EventResult handleREVIEW_SALARYEvent (BajaContext context, Page page, PageEvent event)...
    5. I now want to call a java class I wrote that computes an employees new salary and updates the employee record with this new salary. This update will fail unless it is part of the same transaction as the one used by the bc4j App Module (that inserted the new employee).
    How best to proceed from here?
    How about having a method on the bc4j App Mod's VO called 'reviewSalary'? Calling this would use the same transaction? I could then call my java class from within the VO's method? However do I still have the same problem in that my java class expects to be passed the connection object?
    The approach you suggested previously seems a touch dangerous....in that these are not 'publically exposed'...and a new release of JDev may break my code.
    Thanks,
    Paul.

  • Inconsistencies data between ODS and RSA3 in SAP system (delta problem??)

    Hi everyone,
    I have a problem in my SAP BW production system. There is inconsistencies data between ODS (using tcode LISTCUBE) and Datasource in SAP system (tcode RSA3).
    I'm using Datasource: 0FI_GL_10 and ODS: 0FIGL_O10.
    In SAP system (using RSA3):
    GL Account: 1202012091
    Comp Code : 5400
    Bus Area: 5401
    Fiscal Year :2008
    Period: 07
    Accum Balance : $0
    Credit Total: $350
    Debit Total: $350
    Sales : $0 
    And in ODS (using ListCube):
    GL Account: 1202012091
    Comp Code : 5400
    Bus Area: 5401
    Fiscal Year :2008
    Period: 07
    0BALANCE : $350  (it should be $0,shouldn't it? )
    0CREDIT: $0 (it should be $350,shouldn't it? )
    0DEBIT: $350
    0SALES: $350 (it should be $0,shouldn't it?)
    I have tried these :
    1. Check if there is a start routine / routine or not in transfer or update rules....and...i get nothing
    2. Check the data using tcode FBL3N..but the data is ok
    And then i tried to trace the process chain and find error on delta infopackage which pull these data
    Date
    07.30.2008 : 231141 records --> error (ODS activation) --> request has deleted forever
    07.31.2008 : 2848 records   --> error (ODS activation) --> request has deleted forever
    08.01.2008 : 135679 records --> error (ODS activation) --> request has deleted forever
    08.02.2008 : 135679 records --> successfull repeat delta action
    From 30 July until 1 August there is an error on delta infopackage because
    fail to activate ODS (No SID found for value 'RIM' of characteristic 0UNIT). On 2 August someone delete the red requests and repeat the delta and success. Is there any possibilities that this problem arise because of this? If this the cause, how to bring back 2848 and 231141 records which has deleted?
    Thank you and Regards,
    -Satria-

    Hi everyone,
    I have solved my problem. I executed my infopackage again (selection condition using GL Account which have wrong amount) with update mode 'Full update' and choose Scheduler > Repair Full Request and tick the checkbox.Thank you.
    Regards,
    -Satria-

  • Passing session data between jsp and servlet

    I have a servlet that I pass data to my jsp.
    I do a session.setAtrribute in the servlet. No problem.
    I get the data no problem in the jsp that I call.
    How do I pass this same data to the another servlet?
    I basically have an array of values that I already have in the existing jsp that has been set in session.
    When I call the secondary servlet, I don't have anything in this session variable related to my array.
    Prior to posting to my next servlet, do I need to do another setAttribute inside the jsp to get the data passed to the servlet?
    Thanks.

    Two different things. The encoding adds this to the URL (after the page, before the query string
    ;jsessionid=ABC123 but only if the user isn't using cookies.
    So in your example, you would do this (maybe):
    <%
      String url = response.encodeURL("Servlet");
    %>
      <form name="form1" method="post" action="<%= url %>?cmd=pay"> ... Or some modification.
    So the difference between encodeing and using a post is that
    1) encoding adds the jsessionid to the url string if necessary. It does nothing else
    2) POSTing will send a request to the provided URL via the POST method, including the inputs of the form as parameters to the URL.
    They really don't interact with each other. It is like asking what is the difference between the Color Orange and thr Size Big? They can both be applied to the same thing, or not... and have no real relation to each other.

  • Transfering data between sap and BI

    Hi All,
    Our landscape is both BW and R/3 dev server is same. But R/3 guyz are working in client:300 and BW guyz are working in client :400. I estlablished logical connection bn R/3 and BI . Now when i am loading payroll data from 300 client(R/3) to 400 client(BI 7.0), it is giving error as below.
    Error details:
    -> Overall status: Missing messages or warnings
    -> Requests (messages): Everything OK
    -> Data request arranged
    -> Confirmed with: OK
    -> Extraction (messages): Missing messages
    -> Missing message: Request received
    -> Missing message: Number of sent records
    -> Missing message: Selection completed
    -> Transfer(IDocs and TRFC): Missing messages or
    warning
    -> Request IDoc: sent, not arrived; Data passed
    to port OK
    -> Processing (data packet): No data
    When i check the status of the source system from the enviroment-->trans RFC-in the source system it is giving message as 'Nothing was selected'.
    Pls help me out.
    Thanks in Advance,
    Bala

    Hi
    Check in RSA3 for the data records
    If no data is coming here,problem is in R/3
    If data coming here ,then  check in PSA
    If data records are red...check which record is red and try to rectify manually after deleting the request in data target
    Hope this helps
    Regards
    N Ganesh

  • How to  pass data between JDialog and its parent window ?

    Hi,
    I am new to swing. I want to know how pass data between a JDialog and its parent window.
    If you have any information please reply with example code.
    Thank You

    hi Encephalopathic ,
    I was looking for something like as it was given in the link provided by you.
    Thank you for reply It really helped me.

  • Connectivity loss between PLC and Kepware

    Hi Experts,
    I m working on SAP PCo and PLC connectivity using Kepware.
    I m trying to find out ways to find connectivity loss between
    1) PLC and kepware
    2) kepware and PCo
    For 2nd approch,if connectivity loss is there then PCo instance will go in error state and using remote monitoring we can get alert.
    But m not able to find any way for 1st approch.
    If PLC connection lost then only tag quality in kepware is bad.
    Is there any way in PCo expression editor to check tag quality so that i can trigger MII transaction?
    Thanks in advance.
    Regards,
    Neha

    To add to Hubrisnsx's comment ... are you provisioned Ethernet or MoCA for the WAN connection?
    Edit: Never mind, I see in the first post you said MoCA.   So, if the MoCA channel is staying up, then it sounds like it might be something inside the ONT. 
    Keep in mind that while some Verizon folks do drop by these forums from time to time, that this is primarily are user to user forum where customers can help one another.

  • Synchronize date between OUD and AD

    Hi all.
    I want to synchronize date between OUD(Oracle Unified Directory) and AD (Windows Active Directory).
    OIM(OID ODIP)?
    This framework is very powerful, but it seems to be a liitle heavy for me.
    Is there any solution more light and straight to reach the goal?
    I would appreciate for any reply.

    Hi,
    You don't need OID as you can use OUD as DIP configuration store.
    The procedure is described in detail in KM note 1511847.1 available from support.oracle.com
    The note 1511883.1 can be useful as well as it is a placeholder for DIP/OUD related procedures.
    -Sylvain

  • Connection failures between iMac and Macbook Pro

    I'm experiencing frequent connection failures over my wi-fi network between my iMac and Macbook Pro on an otherwise strong, stable network. I can connect both of my computers to the Airport Time Capsule that I use as my wireless router without a problem, but for some reason I get connection failures between the computers say, 50% of the time. Sometimes it works fine, others it just hangs before giving me an error message. Any suggestions?
    OS 10.9.3 on both machines
    Apple Airport Extreme Time Capsule
    iMac, 3.06GHz i3 (2010)
    Macbook Pro Retina, 2.4 GHz i7 (1st Gen)

    Hi jt in nyc,
    Some checks:
    Use Airport Utility on one of the machines
    - Click on the Time Capsule ( enter password if prompted )
    - Click on the Edit button
    Under Airport Utility -> Wireless -> Wireless Options
    Are the Time Capsule Wireless options set correctly?
    - Country -> you know this, change if it is not
    - 2.4GHz and 5GHz Channel set to Automatic
    - Click on Cancel button to return to the Airport Utility graphic diagram.
    - Click on the Time Capsule
    - Click on your machines listed beside wireless clients
    Are the machines reporting an excellent quality at different distances from the Time Machine?

Maybe you are looking for

  • Regarding Runtime error in ALV List Display.

    am using following to display data in ALV List. but after executing of program am getting runtime error called 'Field Symbol has Not been assigned' . please tell me how to correct the error. Very urgent Suitable answers rewarded with Maximum Ponits..

  • Thunderbolt connection not active between iMAC Late 2013 and MBA Late 2013

    Hi, I'm not able anymore to connect again the iMac and MBA by Thunderbolt cable. Some months ago I was able to use iMac as MBA external display and to activate Thunderbolt bridge. Now, the bridge is not active also if cable is connected. Is there som

  • Embedded OWD interview within a Siebel applet using a Symbolic URL

    I'm trying to embed the actual Web Determinations interview within a Siebel applet (this will allow our internal Siebel users to use the exact same interview as is avialable to external users). I'm using Siebel OOB Symoblic URL Configuration within a

  • Airport Express error 9672 on ip2200 printer

    Hi folks, Can't seem to get the ip2200 connected by USB to my Airport Express. I keep getting the error 9672 message, and I have tried following the manual, done an update on the Canon drivers, checked all the details on AE Admin, and they all seem h

  • Illustrator to Word to PDF

    Hi Everyone, I need help publishing a PDF from a Word document full of diagrams created with Adobe Illustrator CS6. My diagrams are all vector. I am free to export them anyway I like. My Word doc has many cross-references, footnotes and Endnote refer