Function madule

how can i have select-options in function module?

hi,
while creting function module, we found two include progrm in that you write
select-options statement in TOP include. TOP include especialy for global declarations.
<b>include XXXXXXXXTOP.</b> " this is one include program.
double click this incude progrm and write the statement SELECT-OPTION in it for selection-screen, after that save and activate.
<b>or</b>
create a program of type executable, in this you write SELECT-OPTIONS stateement, after that save and activate the program.
PROGRAM ZPROG.
SELECT-OPTIONS: var1 FOR <refarence-variable>.
now goto SE37 for creating FM, in Function modue choose the tab SOURCE CODE in this you write the statement like <b>SUBMIT ZPROG.</b>
regards,
Ashok Reddy

Similar Messages

  • How to convert a function module to BW extractor

    Hi
       I am Technical consultant. I have knowledge on BW.
    We have one requirement in BW. It is to  develop a report in BW.
    The data has pickup in R/3 from 7 tables.
      So i created one structure in R/3 side, and I created function module in SE37 using this structure display data as per the requirement.
    Here my doubt is, How can i make it as a BW extractor.
    Thnanks.

    Hi,
    As mentioned above, you have to follow the steps to create a Datasource to be able extract data to BW, what is your doubt on this?
    Hi Laxmi sri
    Define your structure name on tables tab of your function madule then goto SBIW transaction in R/3 and goto Generic datasources and provide tech name and description for the extract structure.
    Now provide App component the location where you want to save it
    Now rpess extraction by FM and provide your function module name and extract structure name
    Save and select fields to make selections on BW side
    Save
    Hope it helps.
    Regards,
    Chama.
    Raj.

  • Set a default value in QA01

    Hi Expert
    Is it possible to set a default value in "Insp.End Date" at QA01 ?
    I'd like to put "Start Date" + 7 days into the End date.
    I was trying to use User-Exit but I failed to make it.
    Please kindly let me know how to use it.

    Hi ,
    Use SXV_GET_CLIF_BY_NAME function madule to check which  bapi  , Fm , or badi is called  during changing End date   so that you can use that  .
    in this  SXV_GET_CLIF_BY_NAME  add debugger  to
    call function 'SXV_ADD_PREFIX'
           exporting
                name     = name
                prefix   = prefix
           importing
                new_name = clif.
    regards
    Deepak.

  • Checkin Document to Content Server through Content Repository

    Dear All,
    When I try to check in Document from ECC 5.0 to the content Server through repository(http storage) throwing error can't checkin.
    when I try to serch SMP notes most of the notes saying thats the progam error and for 6.40 we need to edit function madule.
    Please let me know if any one has got same error and let me know if any one has implemented this and how
    FYI: we are done with all rfc related issues like saphttp,saphttpa,sapftp and sapftpa etc..
    please advice me
    thanks
    Subrahmanyeswara

    Hi
    I have done all those
    FYI: with out repository & catageroy its not posible please read my post clearly
    When i try to add doc to the repository which is created for content server (catagery) then i am getting check in doc error

  • RPLM_PSS_GET_BUPALINKS

    Hi Experts,
    I am facing same kind of issue. I am called function module RPLM_PSS_GET_BUPALINKS which returns resources assigned to task/role. If I execute this function madule through SE37 it is giving results.
    But when I am calling it from another function module it is returning no value.
    Kindly help.

    Issue resolved. Called 2nd function module thru method.

  • URL of an BSP application

    Hi,
      I wanted to know is there any way to get the URL of an BSP page from any table or any function madule that can be used for this purpose.
    thanks,
    Ganesh

    i guess you want to get the url of the BSP application programatically, if yes you can follow the following method.
    data: url type string .
    DATA:  params TYPE tihttpnvp.
      CALL METHOD
          cl_http_ext_webapp=>create_url_for_bsp_application
          EXPORTING
            bsp_application      = '<BSP application name'
            bsp_start_page       = <start page e.g default.htm>
            bsp_start_parameters = params " any parameter you want to pass along with url
          IMPORTING
            local_url            = url.
    Regards
    Raja

  • Fax function of HP LaserJet Enterprise 500 Color MFP M575

    Hi,
    I am one of users of HP LaserJet Enterprise 500 Color MFP M575​.
    I would like to know can I set the printer do not print my fax number and fax header on paper when I fax my document to others.
    I had login as admin but I did not see where I can config it.
    Thank you.
    Regards,
    Jimmy Pun

    There is no change to this problem after 6 months since the last post. Put simply, and as stated in the previous posts, there is no way to scan a document and receive the image on your PC. If you are working with graphics for any length of time or want to create an image for inclusion as an image in a document or web page using this piece of equipment will not allow you to do so.
    Great shame as every other function works well - it cannot be beyond the wit of HP to include a Windows application that enables you to scan an image, receive it in the software you are using at the time (e.g. Outlook, Word, Photoshop...) and use it in your work.
    HP Printers several years older than this £1000+ Enterprise printer were able to do this simple job and have done so for a great many years. Just being able to use Microsoft's Fax and Scan would be start.

  • Logical Operations in SQL decode function ?

    Hi,
    Is it possible to do Logical Operations in SQL decode function
    like
    '>'
    '<'
    '>='
    '<='
    '<>'
    not in
    in
    not null
    is null
    eg...
    select col1 ,order_by,decode ( col1 , > 10 , 0 , 1)
    from tab;
    select col1 ,order_by,decode ( col1 , <> 10 , 0 , 1)
    from tab;
    select col1 ,order_by,decode ( col1 , not in (10,11,12) , 0 , 1)
    from tab;
    select col1 ,order_by,decode ( col1 ,is null , 0 , 1)
    from tab;
    Regards,
    infan
    Edited by: user780731 on Apr 30, 2009 12:07 AM
    Edited by: user780731 on Apr 30, 2009 12:07 AM
    Edited by: user780731 on Apr 30, 2009 12:08 AM
    Edited by: user780731 on Apr 30, 2009 12:08 AM
    Edited by: user780731 on Apr 30, 2009 12:09 AM

    example:
    select col1 ,order_by,case when col1 > 10 then 0 else 1 end
    from tab;
    select col1 ,order_by,case when col1 &lt;&gt; 10 then 0 else 1 end
    from tab;
    select col1 ,order_by,case when col1 not in (10,11,12) then 0 else 1 end
    from tab;As for testing for null, decode handles that by default anyway so you can have decode or case easily..
    select col1 ,order_by,decode (col1, null , 0 , 1)
    from tab;
    select col1 ,order_by,case when col1 is null then 0 else 1 end
    from tab;

  • If statement in CE function

    Hi,
    When we use IF in calculation view with CE function the SQL engine is used.
    When we remove the "IF" the  CE engine is used.
    Is there any alternative for if or case in CE functions?
    Thanks,
    Amir

    Is it possible to use CE_CALC for this functionality?
    We are trying to use it inside projection:
    res_bal = CE_PROJECTION (:bal,[ "BUDAT", "RYEAR" ,  "Bal_Date" AS "BALANCE_DATE",   "RTCUR" ,"MAX_ZGROUP"],'"BALANCE_DATE" == 20140101');
    works but:
    res_bal = CE_PROJECTION (:bal,[ "BUDAT", "RYEAR" ,  "Bal_Date" AS "BALANCE_DATE",   "RTCUR" ,"MAX_ZGROUP"], '"BALANCE_DATE" == CE_CALC( 'if(''20140101'' == ''19000101'', ''19000101'', ''20140101'')');
    Doesn't work.
    Thanks,
    Amir

  • IPhone 5s Voice memo to mp3. Now music on iPhone. Won't play from search function.

    I record my band rehearsals using the voice memo on my iPhone 5s. Then I sync to iTunes and convert file to mp3. When i sync back to my iPhone it appears in my music. So far, so good. When I use the search function in music it finds the file but won't play from tapping. I must troll through all my music songs (currently 2227 of them) to find it and then play it. Is it something to do with it still being under the genre "voice memos" or what ?  Anybody help please.  Thanks

    iWeb is an application to create webpages with.
    It used to be part of the iLife suite of applications.
    iWeb has no knowledge of the internal speaker on your iPhone.
    You may want to ask in the right forum.

  • HP AiO Remote app will not recognize scan and copy function of HP Envy 120

    Good morning! HP AiO Remote App is installed on my iPad4 and in the same WiFi network with my HP Envy 120 printer. The printer is recognized by the app and marked with a green led. When I tap on scan or copy in the app menu, it tells me that these functions were available in the app only for printers which provide these features. But HP Envy 120 has both scanner and copier. And last time it worked. Some idea what could have happened here? Thanks. UJ

    Replied on: http://h30434.www3.hp.com/t5/ePrint-Print-Apps-Mobile-Printing-and-ePrintCenter/HP-AiO-Remote-will-n...
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • HP AiO Remote will not recognize scan and copy function of HP Envy 120 printer

    Good morning! HP AiO Remote App is installed on my iPad4 and in the same WiFi network with my HP Envy 120 printer. The printer is recognized by the app and marked with a green led. When I tap on scan or copy in the app menu, it tells me that these functions were available in the app only for printers which provide these features. But HP Envy 120 has both scanner and copier. And last time it worked. Some idea what could have happened here? Thanks. UJ

    Hi UJKarl, welcome to the HP Forums. You should be able to scan from the HP AIO Remote App on your Envy 120 printer. You probably just need to power cycle the printer, iPad and router to regain proper function.
    Turn off your printer with the power button. Power down the iPad by holding the sleep button down until you get the option to 'slide to power off'. Then disconnect the power cord to your router and count to about 10, and then plug it back in. Once the router comes back online, turn the printer on. When the printer comes back online (blue wi-fi light stops blinking), then power the iPad back up. Try again, and it should work.
    Let me know how it turns out.
    TwoPointOh
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom to say “Thanks” for helping!

  • 7515 ios 8 scanning doesn't function using document feeder

    My AiO remote updated on my iPad today and i have issues scanning from the scanner. The printer and tablet functions properly when scanning using the glass however when using the document feeder, AiO remote scans the sheets then before saving it says there is a problem with the scanner, check the scanner. not sure why it works with the glass and NOT with the feeder.

    I am having the exact same problem. I will add that scanning from the document feeder to my Mac Book works fine. The problem with the document feeder is only whenn atttempting to use the AiO software on my iPad.

  • I want to implement thems functionality in  my swing application

    Hi All...
    I want to implement the themes object in my swing application,How ,where to start and move that functionality,If anybody use this functionality in your program experience can u share with me.
    Than to Advance
    ARjun...

    Hi Kuldeep Chitrakar
    I can do that in web intelligence. dont want that
    I am replicating some of the sample report of SQL Servers in BusinessObjects XI R3.1.
    One of the SQL Sever's report is of product catalogue type that gives complete information like name, category, description along with the products image etc... for each of the products.
    I am trying to replicate the above said SQL Server report in Business objects XI R3.1. I am facing problem in bringing the image in to my BO report. The image resides in a table and its datatype is of varbinary(max). I don't know the exact matching while creating an object in the uiverse designer.
    Here is the url link http://errorsbusinessobjectsxir3.blogspot.com/2010/10/business-objects-image-errors.html
    Regards
    Prasad

  • Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems n

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

Maybe you are looking for

  • IMac G4 OS 10.5.8 booting issues, blue screen

    I'm trying to remotely help my mom to solve a big problem with her iMac G4 (2007 vintage.) It's running Mac OS 10.5.8. Everything was fine until a couple of weeks ago when it started refusing to boot. It starts to boot, you get the Apple and then it

  • LV 8.2; Build Failed Error 10

    During the build phase build failed with the following returned: Error 10 occurred at ABAPI Dist Copy Non-VI Files.vi -> ABAPI Dist Build LLB Image.vi -> ABAPI Copy Files and Apply Settings.vi -> EBEP_Invoke_Build_Engine.vi -> EBUIP_Build_Invoke.vi -

  • Changing line color on XY plot

    This should be something really simple. I simple created a property node, set the active plot, and set the plot.color. What happens to some plots is the points change to my specified color and other stays as my background plot color which is white. I

  • Best Way to Transport Area Menu

    In this case its S000, main menu. I created a manual transport and included it (selecting freely by dev class) and saved the object entry directory for it in the transport. The Object List of request says "General storage structure: Definition of a s

  • App Store will not load on my Mac?

    The exact error message is "defaultButtonok message This page is inaccessible due to your Parental Control settings. okButtonStringOK" Helpful eh... I have only one account on the Mac (my own, administrator) so there are absolutely no Parental Contro