PWB- Connection between selection screen and Application Form

Hi Experts,
I need your help regarding PWB.
My requirement is, I need to fetch date and amount placed on selection screen into application form and those values I need to print through pwb using SAPScript.
I am new to PWB so not getting how exactly I need to do this. Please help me on this.
Thanks in advance.
Regards,
Abhijeet

Hi,
Write LEAVE TO SCREEN 0 in the PAI of screen 500.
MODULE user_command_0500 INPUT.
  CASE g_ok_code.
    WHEN 'BACK' OR 'EXIT'.
    Goto Selection screen
      LEAVE TO SCREEN 0.
    WHEN  'CANC' .
      LEAVE PROGRAM.
    WHEN OTHERS.
    Do Nothing
  ENDCASE.
  CLEAR : g_ok_code.
ENDMODULE.

Similar Messages

  • Selection screen and smart form..

    Hi Frnds,
    In Creating Material transfer form  I need to have a selection screen giving two options whether the user wants 1) Material transfer form
                                          or      2) Material Transfer Challan.
    And reg this selection the appropriate form should be generated.
    (Note: I have created 2 appropriate forms. and no Print pgm , all code written in forms itself)
    Thanks in advance.
    Sree

    hi,
    u hav eto write print prog with  selection screen with two radio buttonsfor ex
    parameter  Material transfer form radiobtton group rad.
    parameter  Material Transfer Challan radiobtton group rad .
    if  Material transfer form  = 'x'.
    call sf Material transfer form
    else .
    call sf Material Transfer Challan

  • Selection screen and pdf form

    hi
    i am creating a pdf form and i want to link this form to a selection screen. i will use the selection screen to send paramtetrs to the job.
    is there a way to do that?

    what you can do is add the same type of field in the interface of the form and pass it from the program to the interface of the form.
    Regards,
    Lalit Mohan Gupta.

  • How get window between selection screen and alv output

    Hi Friends,
    I am displaying ALV report now i want to display small window with one button and it should show list of fields before displaying alv output.
    means i want a window showing list of fields of internal table coming from program.and when i will click on yes button it should show ALV output.
    how can i achive this .
    Pls. help
    thanks in advance.

    Hi,
    Try to use the following command:
    <b><i>WINDOW STARTING AT <some-value> <some-value> ENDING AT <some-value> <some-value>.
    </i></b>
    notice that there is a space between <> <>.
    This statement should be used inside the AT USER-COMMAND event.
    i.e.,
    AT USER-COMMAND.
       CASE SY-UCOMM.
           WHEN 'XXX'.
                <b> <i> WINDOW STARTING AT <> <> ENDING AT <> <>.</i></b>
                 ..............statements....................
       ENDCASE.
    This should help you some what.
    Bye

  • Is there any way to fill long loading gap between splash screen and application home page?

    Recently I have developed my first MAF app. This app is with basic design with some page re-directions, no web services/java script is used but when I start app first time then there is a long white gap after splash screen till loading application home page. Is there any way to eliminate this gap?

    User, tell us your jdev version, please!
    Check the hints given in this thread Increase Adf Application Load Time
    When a page loads all iterators are executed whihc can take some time if you have many of them on the page retrieving many rows. So what is on your home page?
    Timo

  • Difference between At selection-screen  and At selection-screen field

    I need to know the difference between
    Difference between At selection-screen  and At selection-screen field
    Regards
    Shashi

    Hi,
    AT SELECTION-SCREEN is the event triggered in the PAI of the selection screen.
    AT SELECTION-SCREEN on field field_name is the event specific to the field and is triggered when u press enter in that field.
    AT SELECTION-SCREEN selscreen_event.
    Effect
    This statement defines event blocks for different events selscreen_event that are triggered by the ABAP runtime environment during selection screen processing.
    Selection screen events occur immediately before sending a selection screen and after certain user actions on a displayed selection screen. They assist in selection screen processing in the ABAP program.
    AT SELECTION-SCREEN is triggered at least twice during actions on selection screens that are linked into another selection screen as a subscreen - first for the linked selection screen itself, and then for the linking selection screens.
    SELECTION-SCREEN FIELD SELECTION
    FOR {NODE|TABLE} node [ID id].
    Effect
    This statement defines a node node in the structure of the logical database for field selection. If a node belongs to type T, you can use the TABLE addition instead of NODE. The statement cannot be used for type C nodes. .
    If a node is defined for field selection, you can use an executable program linked to the logical database in the GET statement to control which fields in the node are to be read by the logical database. If you use the function module LDB_PROCESS, the FIELD_SELECTION parameter must be specified accordingly.
    for more details check this link...
    http://help.sap.com/saphelp_46c/helpdata/en/9f/db9a2e35c111d1829f0000e829fbfe/frameset.htm
    Regards,
    Priyanka.

  • Connectivity between Oracle database and client...

    Hi guys,
    I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
    But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
    So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
    Additional Information - Client access the database through an application created by VB.
    Please do help me on this project.
    Thanks in advance for your help.
    Asif.

    user11000521 wrote:
    Hi guys,
    I was asked to make a connection between oracle client and database via internet so that our clients can access the database from different parts of the country, and the data that is transmitted in the internet does not require security consideration. And I have successfully implemented this.
    But later onwards they asked me to structure it in such a way so that clients must be able to select, insert, update and delete data offline, in case there is online connectivity problem.
    So my question is, are there any possibilities in oracle to temporarily store data that are available in the oracle database to the client side and then later onwards transfer those datas once the clients are available online. Or are there any other alternative ways...
    Additional Information - Client access the database through an application created by VB.
    Please do help me on this project.
    Thanks in advance for your help.
    Asif.You probably should do a cost/risk analysis. Where you are headed might be able to be done (but it will require that the "clients" also have their own copy of the database) but it won't be easy and it certainly won't be cheap, either in initial implementation or in on-going maintenance. The alternative is to take a hard look at your network connections and see if it wouldn't be cheaper/easier to be able to ensure that it is reliable. Remember "the internet" won't break, it is highly redundant. If you have connectivity issues, they will almost certainly be in your own equipment and configurations, so your (your organization) will have the ability to address and fix any issues there.

  • Difference b/w At-selection-screen and onfield

    Hi,
         What is the difference between at-selection-screen and at-selction-onfield?

    Different Types of Selection Screens
    What is:
    1. at selection-screen on field
    2. at selection-screen output
    3. at selection-screen block
    4. at selection-screen on value-request
    5. at selection-screen on help-request and their difference?
    For knowing Selection-screens:
    First you must have right understanding of Events.
    - Events are introduced by Event Keyword.  They end when again next processs begins.
    Selection-screens are special screen defined in ABAP.  
    - This ABAP at run time only controls the flow logic of Selection-screens.  The PBO and PAI triggers the num of. selection-screens.
    The basic form of the selection screen events is the AT SELECTION-SCREEN event. This event occurs after the runtime environment has passed all input data from the selection screen to the ABAP program. The other selection screen events allow programmers to modify the selection screen before it is sent and specifically check user input. 
    At Selection-screen OUTPUT is trigerred in PBO of selection-screen.  
    - This allows you to modify the Selection-screen, before it is displayed.
    At Selection-screen On Field is triggered in PAI of selection-screens.
    - The input fields can b checked,in the corresponding event block. If an error message occurs within this event block, the corresponding field is made ready for input again on the selection screen.
    At Selection-screen On Block is trigerred in PAI event.
    - You define a block  by enclosing the declarations of the elements in the block between the statements SELECTION-SCREEN BEGIN OF BLOCK block - END OF BLOCK block. You can use this event block to check the consistency of the input fields in the block.
    At Selection-screen On value request.
    - This event is trigerred for F4 help.
    At Selection-screen On help request .
    - This event is triggered when the user clicks F1 for help on fileds.

  • What is the diffrence between sap events and application events

    Hi all,
    what is the diffrence between sap events and application events.Can any one tell me with examples.
    regards,

    Hi,
    Look at this,
    <b>System Events (Default)</b>
    The event is passed to the application server, but does not trigger the PAI. If you have registered an event handler method in your ABAP program for the event (using the SET HANDLER statement), this method is executed on the application server.
    Within the event handler method, you can use the static method SET_NEW_OK_CODE of the global class CL_GUI_CFW to set a function code and trigger the PAI event yourself. After the PAI has been processed, the PBO event of the next screen is triggered.
    The advantage of using this technique is that the event handler method is executed automatically and there are no conflicts with the automatic input checks associated with the screen. The disadvantage is that the contents of the screen fields are not transported to the program, which means that obsolete values could appear on the next screen. You can work around this by using the SET_NEW_OK_CODE method to trigger field transport and the PAI event after the event handler has finished.
    <b>Application Events</b>
    The event is passed to the application server, and triggers the PAI. The function code that you pass contains an internal identifier. You do not have to evaluate this in your ABAP program. Instead, if you want to handle the event, you must include a method call in a PAI dialog module for the static method DISPATCH of the global class CL_GUI_CFW. If you have defined an event handler method in your ABAP program for the event (using the SET HANDLER statement), the DISPATCH method calls it. After the event handler has been processed, control returns to the PAI event after the DISPATCH statement and PAI processing continues.
    The advantage of this is that you can specify yourself the point at which the event is handled, and the contents of the screen fields are transported to the application server beforehand. The disadvantage is that this kind of event handling can lead to conflicts with the automatic input checks on the screen, causing events to be lost.
    Hope u understood.
    Thanks&Regards,
    Ruthra.R

  • (Trouble printing) Trouble with connection between Macbook Pro and Hp Deskjet 1510.

    Trouble with connection between Macbook Pro and Hp Deskjet 1510. (Nothing Prints).
    I have a Macbook Pro and am having difficulty printing documents from ‘Pages' from my Hp Deskjet 1510. I have installed the necessary software for the printer and it is connected via USB. Every time I try to print the printer icon comes up as it should, 'printing' and then 'job completed' and then the icon disappears. (Nothing is printed.) I thought it might be something to do with Pages compatibility with the printer but exporting the document to Word or making it a PDF doesn’t change anything. I don’t have Microsoft Word on my computer. The scanner does work and when I printed a ‘Test Page’ that worked too.
    Let me know if you know why this is happening.

    With these settings the network now works flawlessly, however, when i have my ethernet cable plugged in, my internet access via my airport card(on the macbook pro) is no longer available. Hoping you can tell me why this would be with this info i've provided.
    Educated guess. The networking devices have priorities as to which are used. The standard order is that Ethernet has a higher priority than Airport.
    While your Ethernet is unplugged it is inactive and the Mac ignores it. Once you plug it in, the Mac sees that it is active and switches traffic to that interface.
    I actually take advantage of this feature at home, but configuring my Airport and Ethernet with identical fixed IP addresses. Normally I'll use Airport, but if I'm copying a huge file and I want faster performance, I'll just walk my MacBook (previously iBook, previously Powerbook) over to my Ethernet switch and plug in my MacBook. Magically, the Mac detects that the Ethernet is active and continues the file transfer uninterrupted over the faster 100baseT Ethernet connection. When the transfer is finished, or if I really need to move back to the Comfy Chair, I unplug the Ethernet cable, and all activity reverts back to the Airport, all without disrupting any existing networking connections.
    You on the other hand have totally different settings for your Ethernet and your Airport, so when you switch to Ethernet, you basically loose your Airport connections.
    Something you can try:
    System Preferences -> Network
    Gear icon on the bottom left, next to the [+] [-] icons.
    Select *Set Service Order...*
    Now Drag the network interfaces into the perfer priority order you want. In this case put Airport above Ethernet.
    NOTE: You may want to create a new Network Location for this, instead of messing with your normal home Location (which is most likely the default Automatic. That way you have your original you can always fall back to.

  • HT201210 restoring ipod and it say's can't find software and use a cd-rom if necessary. what am i supposed to do? my ipod is stuck on the connect to itunes screen and wont do anything.

    Restoring ipod and it say's can't find software and use a cd-rom if necessary. My ipod is stuck on the connect to itunes screen and wont do anything. What am i supposed to do?
    Please help, i will be very grateful

    you can do is go to ijailbreak.com then select downloads section.......scroll down and see the latest version of ipod touch second generation is available for download.....when it gets downloaded connect your iPod to itunes or keep it connected then hold option and click restore (mac) search the software by writing in search "iPod" a thing with white cube will show up if it is the file you just downloaded click it and wait for itunes to do its work......you can ask more if you are on windows

  • Background Processing, Selection Screens and Variants

    Hi All,
    I am having a little trouble Background Processing with Selection Screens and Variants.
    When a user runs my report and selects the option of background processing, then they select a checkbox. Once this is checked, they should go and fill in details, press Execute and voila a background process is created. However what is happening is that when i execute it then it asks for a variant. I do not want this to happen. I want the values in the selection screens to be used as default. Here is my code for background processing
    FORM START_BACKGROUND_PROCESSING.
      CALL FUNCTION 'BP_JOBVARIANT_SCHEDULE'
        EXPORTING
          TITLE_NAME            = 'End Customer Report '
          JOB_NAME              = 'customer_report'
          PROG_NAME             = 'ZSE_SD_SALES'
      EXCEPTIONS
        NO_SUCH_PROGRAM       = 1
        OTHERS                = 2
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    "START_BACKGROUND_PROCESSING
    After the background process is started, all teh data is collated then written to the app server. this is the order
      ELSEIF R2 EQ 'X' AND SY-BATCH EQ 'X'.
        PERFORM INITIALIZE_DATA.
        PERFORM SELECT_DATA.
        PERFORM PROCESS_DATA.
        PERFORM GET_END_CUSTOMER_DATA.
        PERFORM WRITE_TO_APP_SERVER.
    Any ideas? Points given to those who are helpful

    done myeslf

  • Difference between modal screen and normal screen

    Hi everyone,
      Now,I am developing a dypro. when I create a modal screen ,I found no difference between normal screen and modal screen.
      eg. If I use the statement "call screen" , whatever which type of screen you use, the results look like the same. The same to the statement "call screen start at end at".

    Hi
    Screen type for modal dialog box
    If you activate this attribute, the screen is used as a modal dialog box. In the program, you call the screen with
    CALL SCREEN  STARTING AT  <top left>
                 ENDING   AT  <bottom right>.
    Unlike normal pop-ups, a modal dialog box has its own pushbuttons and title. There is no menu bar and command field entries are not possible.
    Normal screen type
    If you activate this attribute, the screen is flagged as a normal screen. This is the default setting.
    Alternatively, it may have the following special functions:
    Subscreen
    Modal dialog box
    Selection screen
    Class screen
    In the Screen Painter, you can choose between normal, subscreen, and modal dialog box.
    Selection screen and class screen attributes are assigned by the system.

  • How to set up internet connection between MacBook Pro and an old eMac?

    I got an old eMac without wifi and a MacBook Pro. I'd like to share the network connection via ethernet cable to my eMac, but I can't get it work.
    I'd like to use it with screenrecycler and it needs a network connection.
    How to do it? How to set up the connection between the client and the host? Could somebedy give me a step by step guide?
    Thank you very much

    Hello,
    First, are you using Wifi for Internet on the MBP?
    System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
    The interface that connects to the Internet should be dragged to the top of the list, Wifi on the MBP.
    In Shating on both, enable File Sharing, Screen Sharing, & Web Sharing on both.
    Then with the Ethernet cable between the two, find the IPs of both, or use Finder>Go>Connect to Server>Browse... see what shows up.

  • What is a Selection Screen and how to make it ?

    What is a Selection Screen and how to make it ? Please explain the process.
    Best regards,
    Ryan

    Selection Screen are used for the program reports. These allows you to input some values that are required to show the desired output.
    for example : you want to show the list of sales orders between 1000 to 1999, you would write a select query as this (to make u understand better)
    select vbeln from vbak into it_vbeln
                 where vbeln GE 1000 " greater than or equal to
                   and vbeln LE 1999. " less than or equal to
    now if you wnat to do it dynamically, you need a selection screen
    tables : vbak. " declaration
    selection-screen : begin of block block1 with frame title text-003.
    select-options : so_vbeln for vbak-vbeln. " selection range from __ to __
    selection-screen : end of block block1.
    now you can write the same select query as
    select vbeln from vbak into it_vbeln
                 where vbeln in so_vbeln.
    Hope this is clear now
    Regards
    Gopi

Maybe you are looking for

  • How to see FTP server Directory in OBIEE 11g

    Hello All, I am want to create data File(extract) and put that file on FP server, and call that file into OBIEE so whenever user login he can access that file. Can yuo please tell me how I can achive this /

  • SecUpd2009-003Intel on MacBook Pro 10.4.11 - will load only 99% and stop.

    I have tried at least 10 times to do the latest Security Update (SecUpd2009-003Intel) on my MacBook Pro. It flew through with no problem on my Mac Mini, but keeps stopping at 99% writing on my MacBook Pro. I have run Disk Utilities, I have run DiskWa

  • Delete Reverb and Delay Aux Channels

    I want to save all the processor power I can, so I want to completely delete the default reverb and delay bussed aux channels that come up automatically when you start a new concert. When I select them, Delete is gray-ed out under the edit tab. How c

  • Confronting Browser compatbility

    Hi everyone, The project which i am manitaining is based on SAP Netweaver 7.01 SPS 03. We have ESS and MSS applications based on Webdynpro Java running on them. For the last one year we have encountered several browser compatibilty problem and i had

  • Cannot find Bean under name..

    Hello everyone, I'm new to struts, please be patient with me!! I have a series of JSP pages with forms, when I submit a form, I store the contents to the database & take the user to the next page, if its an update action, I need to populate the forms