How to attach f4

how to attach f4 value request for selection screen as subscreen. The values is not coming for selection screen field.
looking for help
Regards,
Satya Vani

Hi satya,
You can use this syntax to implement the select-option:
1. SELECT-OPTIONS sel FOR f.
2. SELECT-OPTIONS sel FOR (f).
Declaring a variable selection option
Objects defined using this statement can have two purposes:
In reports (programs with type 1 in the attributes):
You can execute reports with the SUBMIT statement. The statements SELECT-OPTIONS and PARAMETERS determine the technical interface and the user interface. The parameters and selection options you specify are displayed on the selection screen for the user to enter values (see also the addition NO-DISPLAY or SUBMIT without the addition VIA SELECTION-SCREEN.
In all programs (except subroutine pools, that is, programs with type S):
Program-internal objects, that are filled at runtime by user input on selection screens. The SELECT-OPTIONS filled in this way can then be used in the WHERE clause of a SELECT statement for selecting data.
Notes
sel may be up to 8 characters long.
<b>This statement defines an internal table sel with a fixed structure which consists of the fields sel-SIGN, sel-OPTION, sel-LOW and sel-HIGH. While sel-SIGN and sel-OPTION have a fixed format (type character, length 1 and 2 respectively), sel-LOW and sel-HIGH inherit the type and length of their reference field f in variant 1.</b>
sample code :
DATA SBOOK_WA TYPE SBOOK.
SELECT-OPTIONS FL_DATE FOR SBOOK_WA-FLDATE.
INITIALIZATION.
  MOVE: 'I'      TO FL_DATE-SIGN,
        'EQ'     TO FL_DATE-OPTION,
        SY-DATUM TO FL_DATE-LOW.
  APPEND FL_DATE.
  MOVE: 'BT'       TO FL_DATE-OPTION,
        '19960101' TO FL_DATE-LOW,
        '19960630' TO FL_DATE-HIGH.
  APPEND FL_DATE.
Note :
You can use this addtiton to your statement for your requirement :
<b>... VALUE-REQUEST FOR LOW/HIGH</b>
Effect
This addition is allowed only for database-specific SELECT-OPTIONS in the include program DBxyzSEL (where xyz = logical database name). It allows you to implement self-programmed value help. (To implement self-programmed value help for report-specific SELECT-OPTIONS, you can use the event key word AT SELECTION-SCREEN ON VALUE-REQUEST FOR ....) If you specify only VALUE-REQUEST (without FOR ... ), the value help refers to both input/output fields of the SELECT-OPTION (i.e. to sel-LOW and sel-HIGH). Otherwise, it refers only to the specified field. The addition has two effects:
The affected input/output fields are displayed on the selection screen with the pushbutton for F4 (possible entries).
<b>When the user presses this button or F4</b>, this triggers the FORM routine sel-LOW_VAL or sel-HIGH_VAL in the database access program SAPDBxyz (if it exists). If this addition is specified - and even if the SELECT-OPTION with FOR points to a Dictionary field - this FORM routine is executed when the user presses F4 and the check table or the fixed values of the Dictionary field are not displayed. You can, for example, branch from the routine sel-LOW_VAL or sel-HIGH_VAL to a function module which offers a selection list of possible values. At the end of this FORM routine, the contents of the field sel-LOW or sel-HIGH are copied to the appropriate input/output field.
Example
INCLUDE DBXYZSEL
SELECT-OPTIONS S_PTYPE FOR SAPLANE-PLANETYPE <b>VALUE-REQUEST FOR LOW.</b> ...
REPORT SAPDBXYZ DEFINING DATABASE XYZ.
TABLES SAPLANE.
FORM S_PTYPE-LOW_VAL.
  CALL FUNCTION '...'.
ENDFORM.
Thanks and Regards,
Kunal.
Message was edited by: Kunal Kumar

Similar Messages

  • How to attach multiple file in one mail

    Hi,
    I've problems with sending multiple files via Gmail account (Ipad version)  When sending the photo or video, I've to just click the photo and choose send to mail one by one. Any simpler way?  Sometimes i did sent both mpg and jpg but the reciepient didn't see any attachment too
    Anyone can help advise how to attach different file (doc, video, photo) in one mail will be a lot appreciated. Thank you so much

    You can attach multiple pictures to an email on an ipad2. Don't know about original iPad.
    Choose a photo or take a screen shot (hold down home button and button next to volume control at same time--screen shot now will appear in photos).
    Go to photos and edit your picture or screen shot, save it, then hold down on the image and copy it.
    Go to mail, create a new mail and paste it in.
    Save you mail as a draft.
    Go back to photos and select a different photo, copy it, and return to your draft, and paste it in. Repeat if you need to add more.
    Anything that you can take a screen shot or have an photo of can be pasted in one at a time into that draft email.
    If mail gets uncooperative, during this process, then double click on home button and quit multitasking mail, then open up mail again and send your draft. Uncooperative means gets frozen.

  • How to attach more than one picture on an email

    How to attach more than one picture on an email?

    Tap the square with arrow on top right and select pictures you want to send (max 5 pictures)
    http://i1224.photobucket.com/albums/ee374/Diavonex/f0bd7d73.jpg

  • How to attach a text in the center of the Ellipse using JXML ?

    How to attach a text in the center of the Ellipse using JXML ? Can we use labelFor="$topEllipse" ?
    <StackPane fx:controller="myfxml.ArchiveLogsController" id="Login" xmlns:fx="http://javafx.com/fxml">
    <children>
    <AnchorPane>
    <!-- Prevent AnchorPane so that it's max = pref. This causes it to center in StackPane -->
    <maxWidth><Double fx:value="-Infinity"/></maxWidth>
    <maxHeight><Double fx:value="-Infinity"/></maxHeight>
    <children>
    <Ellipse fx:id="topEllipse" centerX="100" centerY="100" radiusX="50" radiusY="10" strokeWidth="2" stroke="#FF0000" style="-fx-fill: linear-gradient(to right, white 0%, red 100%);"/>
    *<Label fx:id="ArchLogs_lb" text="My Ellipse Label" />*
    </children>
    <properties>
    <backgroundColor>
    <Color blue="1.0" green="1.0" red="1.0" />
    </backgroundColor>
    <elementLockSel>
    <Boolean fx:value="true" />
    </elementLockSel>
    </properties>
    </AnchorPane>
    </children>
    </StackPane>

    I'd suggest putting the Ellipse and the Label in a StackPane.
    I wonder why so many people call it JXML?
    It is so strange - I guess the JXML name just seems more natural to some people, though I don't know why.
    I think Greg is right and that labelFor is not what you want:
    http://docs.oracle.com/javafx/2.0/api/javafx/scene/control/Label.html
    "Labels also are useful in that they can have mnemonics which, if used, will send focus to the Control listed as the target of the labelFor property . . . A Label can act as a label for a different Control or Node. This is used for Mnemonics and Accelerator parsing. This allows setting of the target Node."

  • How to attach files in the new BT Yahoo system

    Can anyone tell me how to attach files to an email in the new system, please? I have a particular reason which is too complicated to go into here why occasionally I want to send files using web-mail rather than an email client (yes, I do know that's the best way). When I click the "attach" tab, I get an (apparently) helpful page which enables me to add several files at once. But there's no "continue" or "do it" button to get me back to the email I've started, and since ther's no tabs in the new system, I'm stumped.
    Solved!
    Go to Solution.

    Have you seen this thread? Not an elegant solution, but it appears to work for some bizarre reason.
    https://community.bt.com/t5/Email/Email-won-t-accept-attachments-error-18-temporary-It-isn-t/td-p/14...

  • How to attach .mdf file to sql server 2008 EXPRESS

    I have .mdf files created using SQL SERVER management studio 2012 in another computer and wish to attach the same to SQL SERVER 2008 EXPRESS in another computer. How should I do so? I tried this method :How
    to: Attach a Database File to SQL Server Express but then it shows an error that the database cannot be created due to compatibility issues.
    Msg 948: The database xyz cannot be opened because it is version 706. This server supports version 655 and earlier. A downward path is not supported..
    Any help??

    I have .mdf files created using SQL SERVER management studio 2012 in another computer and wish to attach the same to SQL SERVER 2008 EXPRESS in another computer. How should I do so? I tried this method :How
    to: Attach a Database File to SQL Server Express but then it shows an error that the database cannot be created due to compatibility issues.
    Msg 948: The database xyz cannot be opened because it is version 706. This server supports version 655 and earlier. A downward path is not supported..
    Any help??
    You are trying to attach SQL Server 2012  database files to SQL Server 2008 R2 which is not allowed, you either need to upgrade your SQL Server 2008 to 2012 or alternatively you can generate all scripts from SQL Server 2012 and execute it in SQL Server
    2008 R2.
    You can refer below link to how to generate script.
    http://blog.sqlauthority.com/2012/07/18/sql-server-generate-script-for-schema-and-data-sql-in-sixty-seconds-021-video/
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    Praveen Dsa | MCITP - Database Administrator 2008 |
    My Blog | My Page

  • How to attach files in the SMTP mail?

    Hi All
    Anyone know how to how to attach files into the mail configured
    with SMTP while changing the workstatus. The SMTP mail is working
    fine, but my requirement is to attach a file which is having static information
    like instructions for users or something like that.
    Please help me on this..
    My Version of BPC is MS 7.X
    Regards,
    Baijuchandran.B

    Have you seen this thread? Not an elegant solution, but it appears to work for some bizarre reason.
    https://community.bt.com/t5/Email/Email-won-t-accept-attachments-error-18-temporary-It-isn-t/td-p/14...

  • How to attach multiple photos in a mail?

    does anyone know how to attach multiple photos in a single email, there is no attach button...

    As far as I know, you can e-mail one picture at a time via the photo application.
    Select the picture you want and hit the icon in the lower left hand corner.
    Sorry, I know that is not what you wanted, but I don't know that there is a way to attach multiple photos.

  • How to attach F4 Help for a field in Items Overview in ME21n (PO Creation)

    Dear All,
    Can anyone pls suggest me how to attach F4 hlp for this (Field is BEDNR).
    Best Regards.

    Hello,
    I'm relatively new in ABAP, and i have the same problem with yours, only in a different field. My company wants to have a search help in Requirement Tracking No. (BEDNR) in table EKPO.
    Can you tell me what was your solution?
    I tried to attach the existing search help to field BEDNR, but i can't.
    Edited by: ellainne22 on Oct 4, 2011 4:34 AM

  • How to attach a text file as an attachment to email message?

    Hello Everybody,
    I have a .csv file, in which details about emp-id, emp-name, e-expenses for Reimbursement and email address are stored.
    My application reads this .csv file, and sends a mail to each employee with his id, salary details in text format. (by changing content type to "text/plain") The code is working fine. But,
    My problem is:
    The message is sent as message body to the end user.
    The end user / the person who receives this mail will not be a technical person. So,
    1) If he trys to take a print out of this e-mail, He get only half of it.(as no. of colums will be more than paper size).
    2) I am finding alignment problem. IF employee name is too big, other columns will shift to right and data will not be exactly under column header. (it is going in zig zag way)
    So, I thought sending text file with all the details as an attachment might do well.
    But, I don't know how to attach a text file to email-message body.
    code
    try
                   {               String s1="";
                                  File f1 = new File(the path);
                                  FileInputStream fstream = new FileInputStream(f1); //new
                                  BufferedReader br = new BufferedReader(new InputStreamReader(fstream));
                                  int count=0;
                                  while((s1=br.readLine())!=null )
                                                 count++;
                                                 //out.println("within while loop "+count);
                                                 StringTokenizer st = new StringTokenizer(s1,",");
                                                 if ((st.hasMoreTokens())&&(count>1))
                                            String a=st.nextToken().trim();
                                                 String b=st.nextToken();
                                                 String c=st.nextToken();
                                                 String d=st.nextToken();
                                                 String e=st.nextToken();
                                                 String f=st.nextToken();
                                                 String g=st.nextToken();
                                                 String h=st.nextToken();
                                                 String i=st.nextToken();
                                                 String j=st.nextToken();
                                                 String k=st.nextToken();
                                                 String l=st.nextToken();
                                                 String m=st.nextToken();
                                                 String n=st.nextToken();
                                                 String o=st.nextToken();
                                                 String p=st.nextToken();
                                                 String q=st.nextToken();
                                                 String mail=st.nextToken();
                                                 String s=st.nextToken();
                                                 //out.println("b="+b+"c="+c+"d="+d+"e="+e+"f="+f+"mail="+mail);
                                                 %>
    <%
                                            String to =mail;
                                                 String from =request.getParameter("fromadd");                                        
                                                 String subject ="Statement of Expenses";
                                                 String smtp ="mail.xxxxxxxxxx.com";
                                                 String message="";                                        
                                                 message=message.concat("EMP ID");
                                                 message=message.concat("     ");
                                                 message=message.concat("Name");
                                                 message=message.concat("          ");
                                                 message=message.concat("Dept No.");
                                                 message=message.concat("     ");
                                                 message=message.concat("Acc No.");
                                                 message=message.concat("     ");
                                                 message=message.concat("*****************************************************************************************");     
                                                 message=message.concat(a);
                                                 message=message.concat("     ");
                                                 message=message.concat(b);
                                                 message=message.concat("          ");
                                                 message=message.concat(c);
                                                 message=message.concat("     ");
                                                 message=message.concat(d);
                                                 Properties props = System.getProperties();
                                                 // Puts the SMTP server name to properties object
                                                 props.put("mail.smtp.host", smtp);
                                                 // Get the default Session using Properties Object
                                                 Session session1 = Session.getDefaultInstance(props, null);
                                                 // Create a New message
                                                 MimeMessage msg = new MimeMessage(session1);
                                                 // Set the From address
                                                 msg.setFrom(new InternetAddress(from));
                                                 // Setting the "To recipients" addresses
                                            msg.setRecipients(Message.RecipientType.TO,InternetAddress.parse(to, false));
                                            /* // Setting the "cc recipients" addresses
                                            msg.setRecipients(Message.RecipientType.CC,InternetAddress.parse(cc, false));
                                            // Setting the "Bcc recipients" addresses
                                            msg.setRecipients(Message.RecipientType.BCC,InternetAddress.parse(bcc, false)); */
                                            // Sets the Subject
                                            msg.setSubject(subject);
                                            // set the meaasge in HTML format
                                            msg.setContent(message,"text/plain");
                                            // Set the Date: header
                                            msg.setSentDate(new java.util.Date());
                                            // Send the message
                                            Transport.send(msg);
                                            // Display Success message
                                            result =result.concat("<tr><td>"+b+"</td>"+"<td>"+to+"</td></tr>");
                                                      }//end of if of hasmore element
                                       }// end of while loop
                        out.println(result);                    
    }catch(Exception e)
                        // If here, then error in sending Mail. Display Error message.
                        result="Unable to send your message";
                        out.println("e="+e);
    Any help will be appreciated.
    Thanks and regards.
    Ashvini

    <html>
    <p>
    MimeBodyPart mbp1 = new MimeBodyPart();
    mbp1.setText("Your Messages");
    MimeBodyPart mbp2 = new MimeBodyPart();
    FileDataSource fds = new FileDataSource("Your Attachments");
    mbp2.setDataHandler(new DataHandler(fds));
    mbp2.setFileName(fds.getName());
    Multipart mp = new MimeMultipart();
    mp.addBodyPart(mbp1);
    mp.addBodyPart(mbp2);
    msg.setContent(mp);
    msg.saveChanges();
    msg.writeTo(System.out);
    msg.setSubject(subject);
    Transport.send(msg);
    </p>
    <B><U>See you can add above code in your program and see the magic</U></B>
    Bye
    regards--
    Ashish
    </html>

  • How to attach image in BPM CustomJSP and view it

    Hello everyone im new here ,
    Is there any tutorial how to attach file into BPM Object ?
    Im using Oracle BPM Studio 10.3.1
    I have seen many tutorial how to attach file into BPM using fileChooser
    ( https://community.oracle.com/thread/880712  )
    and succeed but my next problem is how to show image that i have been uploaded before
    Thaaanks
    Regards
    Shiddiq

    Hi Shiddiq,
    You can get access to an uploaded file using the execData object.
    For example, you can use execData.attachment[1].name to retrieve the file name of your first attachment.
    Similartly use execData.attachment[1].contents to retrieve you first file contents in a base64 format.
    Antonis

  • In elements 12 -making a sideshow how to attach itunes music

    in elements 12 -making a sideshow how to attach itunes music

    You need to convert the music into one of the formats supported by Elements:
    Here's an article showing how to convert unprotected music in iTunes to WAV - http://www.aimersoft.com/itunes-drm/itunes-to-wav.html (methods 1 & 2 don't require the product they would like you to buy).
    Cheers,
    Neale
    Insanity is hereditary, you get it from your children

  • How to attach a MS Word document to Quotation/Sales Order?

    Hi all
    Can somebody let me know how to attach MS Word documents in Quotation (VA 21) or Sales Order (VA01) screens

    Hi,
    Please use the "Services for Object" Icon just below the menu bar in the Sales order overview screen for attaching any document into the sales order. Once you get into the drop down, select Create - Create Attachment" option.
    The attachment can be viewed from the same icon! In the drop down, select Attachment list!
    Hope, this helps!
    Thanks
    Siva
    Sorry,when I opened the message for replying, no one had replied till then. ***
    Message was edited by:
            Sivasubramanian Senguttuvan

  • How to attach Task List in Notification

    Hi all
    How to attach Task List in Notification?
    Thanks.

    List item is forms is generally used when you have pre-defined set of values. you can define them property of list item.
    It seems you have dynamic list of values to be displayed on your form, instead go for a text item with a LOV. You can define your logic to get list of values in record group.
    Thanks
    Rishi

  • How to attach GOS in a standard transaction ?

    hi folks,
    could anyone tell me how to attach Generic Object Services (GOS) to a standard transaction eg me23n.
    this GOS toolbar is present in certain transactions like pb40 ..i want to implement the same in me23n ...how can i do that?

    welcome to SDN!!!
      cht this webblog
      /people/rammanohar.tiwari/blog/2005/10/10/generic-object-services-gos--in-background
      reward points if helpful

  • How to attach Documents in a Reply E-mail?

    As everyone know that We can upload or attach everything in the camera roll, We can attach other documents like .pdf , .doc etc.. with the help of some external application, but it support only attachment in the form of a new E-mail,
    But i want to attach documents for reply mail,, is there any way for it ?
    also how to attach multiple documents for a reply mail?

    After running the query, right click -> GoTo -> Documents for Navigation Status.  There you can create, edit and view documents.
    Regards,
    Kerry

Maybe you are looking for

  • How to send 0-bit confirmation file after the original file upload finished

    Hi All, We are using Receiver FTP adapter (FTPS, FTP over SSL) to send/upload a Idoc file to external partner FTP server. Along with the IDOC file to be uploaded, and as soon as the IDOC file upload is finished, we will need to upload a 0-bit "confir

  • IDVD virgin needs help! Widescreen ration aspect problems

    Hi, I created QT movies from FCPx all as widescreen, when I play the QT movies they are widescreen but then when I create a iDVD, the ration changes to standard (even though it is set in iDVD to wide). When I am iDVD and look at the preview there is

  • MacbookPro Keeps restarting

    hi, i have a one month old macboopro retina that keeps restarting since i turn it on today. i suspect it is because i installed updates for adobe products. any idea how i could stop this? i have included the error report in this post Anonymous UUID: 

  • Where is the "Clown" sound?

    It went missing after I upgraded to iOS 4. How can I get it back?

  • Macbook pro 2013 wlan problem wenn ich bluetooth aktivieren

    HI WLAN      PR0BLEM    WENN       BLUETOOTH    AKTIV ICH HABE AN MEINE RUTER  FRIZZ BOX FUNK KANAL AUTOMATICH ODER  MANUEL WENN BLOOTOTH AKTIV IST FINDET MEINE WLAN ABER KOMMT NICHT AUTOMATICH REIN  DANKE MAC BOOK PRO LATE 2013 120 GB HD 4 GB RETINA