Call BSP from a funtion module and use results of the BSP in the calling fm

Hi BSP experts,
I want to implement following scenario. But currently I've no idea how to realize step 4 of the process.
1. An ABAP program calls a function module.
2. The function module calls a BSP page.
3. In the BSP users will fill out some fields (e.g. name).
4. After pressing the submit button the BSP should transfer the values to the export parameters of the calling function module. 
Thanks for your support & Regards

within the FM code you should call a SAPGUI screen with embedded html viewer control, in which you will show the bsp page and user can enter value and hit submit. you can then collect the user entered value and set it as export value fo the FM. but why do you want to do this?
Regards
Raja

Similar Messages

  • How to retrieve data from a function module and use it in sap script??

    I have a report program, which calls a function module. This function module internally calls an include program. In this program, I have a variable which is to be used in the sap script. How can I send this variable to the sap script

    Hi,
    In your case, Include prog is part of FM, no need to treat it as an Entity.
    Now, Your Answer -
    In SCRIPT - IN Page Window -->
         PERFORM GET_MVAT_TIN IN PROGRAM Z_SCRIPT_PERFORMS_ABAPDB3
         USING &VBDKR-KUNRE&
         CHANGING &STCD1&
         CHANGING &STCD2&
         ENDPERFORM
         IF &STCD1& <> ' '
         <B>MVAT Number :</> &STCD1&
         ENDIF
    Then go to SE38 --> Creat prog with type - Subroutine pool
    In that Write FORM statement for this PERFORM.
    FORM get_mvat_tin TABLES inttab STRUCTURE itcsy
                             outtab STRUCTURE itcsy.
      DATA : v_kunre TYPE kna1-kunnr,
             v_stcd1 TYPE kna1-stcd1,
             v_stcd2 TYPE kna1-stcd2.
      LOOP AT outtab.
        CLEAR outtab-value.
        MODIFY outtab.
      ENDLOOP.
      READ TABLE inttab INDEX 1.
      v_kunre = inttab-value.
      IF v_kunre CA sy-abcde.
      ELSE.
        UNPACK v_kunre TO v_kunre.
      ENDIF.
       " Here You can take your Funcion module ***************************
      SELECT SINGLE stcd1 stcd2 FROM kna1 INTO (v_stcd1, v_stcd2)
                                         WHERE kunnr = v_kunre.
      IF sy-subrc = 0.
        READ TABLE outtab INDEX 1.
        WRITE v_stcd1 TO outtab-value.
        MODIFY outtab INDEX 1.
        READ TABLE outtab INDEX 2.
        WRITE v_stcd2 TO outtab-value.
        MODIFY outtab INDEX 2.
      ENDIF.
    ENDFORM.                                

  • Hi! Just got my new ihpone 4 yesterday, but i'm having issues in texting a specific contact. sending sms or iMessages works perfectly fine with all my contacts apart from 1,which is even using my same network, though i can call it and receive sms from it.

    Hi! Just got my new ihpone 4 yesterday, but i'm having issues in texting a specific contact. sending sms or iMessages works perfectly fine with all my contacts apart from 1,which is even using my same network, though i can call it and receive sms from it. What could the problem be?

    My Quad is as quiet with 10.4.5 as it was on arrival Jan 31, with 10.4.2
    Altivec Fractal Carbon gives the CPU too much chance to cool down. I've got other ways to drive the CPU to sustained 100% load. Yes, the fans speed up, but it's still pretty quiet. I've run it at 100% for hours.
    I like the idea of taking things gradually. If you can wait a few days before making big changes, it can make things much easier. 3-4 weeks is very conservative, but great if you have that much patience.
    My Quad has been up full-time since I got it. Works perfectly.
    Quad G5 2.5Ghz 4.5GB 2x250G, PB 15" 1.5Ghz,80G,1.5G   Mac OS X (10.4.5)  

  • I am trying to delete an XLS file from a network drive and am getting a message that says the file cannot be deleted because it is in use.  I can't see where it is in use and have tried to reboot the computer to no avail.

    I am trying to delete an XLS file from a network drive and am getting a message that says the file cannot be deleted because it is in use.  I can't see where it is in use and have tried to reboot the computer to no avail.  I can delete other files but several XLS files are giving me this message.

    You said it was a network drive.  So is someone else on the network using that same file or may have have left with excel still accessing it on their system?

  • Hello, I am trying to use a photo,that I've opened up in pages on a blank landscape, taken from my camera roll and use it as album cover art. All the custom text's will not paste when I copy.  Pic and texts are saved as a PDF, how can I paste the doc ?

    Hello, I am trying to use a photo,that I've opened up in pages on a blank landscape, taken from my camera roll and use it as album cover art. All the custom text's will not paste when I copy.  Pic and texts are saved as a PDF, how can I paste the doc ?

    Hello, I am trying to use a photo,that I've opened up in pages on a blank landscape, taken from my camera roll and use it as album cover art. All the custom text's will not paste when I copy.  Pic and texts are saved as a PDF, how can I paste the doc ?

  • I have just bought my iphone 4S 32GB from three weeks ago and 'am facing a problem that in the middle of my calls it suddenly says call failed and it keeps on doing it every call i make

    I have just bought my iphone 4S 32GB from three weeks ago and 'am facing a problem that in the middle of my calls it suddenly says call failed and it keeps on doing it every call i make .. I Don't know what to DO Please anyone help me i've got OS 5.0.1 and it's factory unlocked i've boughted from USA and it was sent to me where 'am living now in Egypt ...ANy Helpppppppppp Pleasee

    try general>settings>reset>reset all settings and start up as an new phone.

  • I have a problem with color prints from photoshop elements 12. The pictures are too light and with strange colors. I have a Canon pixma mg615I0 printer and use mac os X yosemite. The pictures are taken with a coanon eos 550d in the color space sRGB. I hav

    Hi
    I have a problem with color prints from photoshop elements 12. The pictures are too light and with strange colors. I have a Canon pixma mg615I0 printer and use mac os X yosemite. The pictures are taken with a coanon eos 550d in the color space sRGB. I have followed adobes recommendations and have tried both letting the printer respektive photoshop manage the colors. But nothing works. I see that there are different opinions about which is best to do so I tried both. I have the latest printer driver installed. Can anyone help me with this?

    Do the following:
    Print a test page from the printer. Perhaps the print head needs cleaning via its maintenance facility.
    Let the printer manage colors, not PSE
    Calibrate the monitor

  • I have iWeb '08 and just switched from Mobileme to GoDaddy and using Filezilla.  Now when I make changes through iWeb it doesn't actually publish to my desktop folder.  In fact, it doesn't publish at all but says that it did.

    I have iWeb '08 and just switched from Mobileme to GoDaddy and using Filezilla.  I also just upgraded to Lion.  Now when I make changes through iWeb it doesn't actually publish to my desktop folder.  In fact, it doesn't publish at all but says that it did.  How can I make changes in iWeb and publish to a folder?

    Choose the destination in the publish settings page as shown in the second example on this page...
    http://www.iwebformusicians.com/iWeb/Publish-Website.html

  • I bought a Unlocked IPPHONE 5s from UAE store online and using it in Pakistan , but its not showing face time

    I bought a Unlocked IPPHONE 5s from UAE store online and using it in Pakistan , but its not showing face time even i checked out Builtin apps from UAE site for ipphone 5s and its showing face time app  , please help regards How can i use face time

    Phones purchased in UAE do not have facetime installed because it is banned in UAE and several other countries in the area. It's not just a network block; the capability is missing from the phone.

  • Buy Apply iphone from Dubai or Kuwait and use it in India

    Tell me merits and demerits of buying iphone from Dubai or Kuwait and use it in India

    It is Prudent to purchase the Phone in the Country it is intended for use in... it will then work as expected.
    iPhone Warranty  >  The warranty is only valid in the country of original purchase... Except for EU Countries...
    FaceTime may not be available, or may become unavailable, on devices purchased or used in certain countries, including Saudi Arabia and the United Arab Emirates. Check your device's region of purchase for more information.

  • Well last night after I had got off the phone it had froze up (never happened before) and then it it went blank. I would call it from my house phone and it would ring and vibrate but nothing showed up on the screen. I just need help please :(

    Well last night after I had got off the phone it had froze up (never happened before) and then it it went blank. I would call it from my house phone and it would ring and vibrate but nothing showed up on the screen. I don't know where to go from here I just need desperate help. Please and thank you!

    Try doing a hard reset, Hold the "Home & Power Buttons" down at same time, until you see the Apple Icon appear. Then let go of the buttons.

  • HT204268; I have purchases on an aol login pre 2008 and all recent stuff under an apple id. I currently see and use everything when i login with the apple id. After March 31st will my apple id account still show and contain all?

    HT204268; I have purchases on an aol login pre 2008 and all recent stuff under an apple id. I currently see and use everything when i login with the apple id. After March 31st will my apple id account still show and contain all?
    I understand the instructions to create a new account id (apple id) from the old aol account. However, does this mean my purchases will be split into 2 accounts; or does the fact that I currently see everything under my apple id (regardless of the purchased by username) mean this will all still appear in my current account as it does now?

    You see them where when you login your non-AOL account ?
    If you currently have two accounts (the AOL username account and an email address account) then you will continue to have two accounts, and nothing should change when you update the AOL account to be an email address (apart from how you access that account).
    You will just be renaming the account to have an email address for accessing it, not creating a new account.

  • In addition to my iMac, I have a Power Mac G4 (10.4.11 Tiger) which of course is pre-Intel.  I can boot up and use for about 5 minutes before the mouse freezes.  I believe something is   overheating.  What would that be - so I can have repairs done?  The

    In addition to my iMac, I have a Power Mac G4 (10.4.11 Tiger) which of course is pre-Intel.  I can boot up and use for about 5 minutes before the mouse freezes.  I believe something is
    overheating.  What would that be - so I can have repairs done?  The machine is the Digital Audio version, M7627LL/A and Serial Number XB******KXQ.
    <Edited By Host>

    Hello USME,
    'Tis a common problem on old Macs.
    Do as Allan says: open the door and blow out all the dust bunnies. Canned air from Wal-Mart or Radio Shack can be handy (though sort of expensive) especially for blowing through the back of the power supply. A cool Mac is a happy Mac.
    Be sure your Mac can breathe. The air intake is on the bottom of the case, so be sure a deep pile rug or too many papers on your desk are not blocking the air supply.
    Feel the power supply and the processor with your hand. They should be warm but not hot; if you have to move your hand away, that's too hot!
    Check the fan on the power supply, and on the processor if it has one. Take a flashlight and peer in the back of the (Mac) case through  the grille; make sure the fan is turning. If it's not, the power supply won't work for long.
    Fans are not considered serviceable, though they will succumb to mechanics of determination. A CPU fan is easy and straightforward.
    A fan replacement will not cure an already damaged power supply; the PS may already be done for. Used power supplies for a DA are hard to come by, and not especially cheap when found (c.$50). An entire  working DA or Quicksilver may often be found for under $100 on eBay, and swapping in your HD is easy and simple... this might be cheaper and more expeditious than repairing an expired DA. Replacing a power supply is fairly easy, but it's a nuisance and requires a 2mm Allen head wrench in addition to the usual #2 Phillips head screwdriver.
    In my experience, power supplies and CPUs are about equally likely to fail. There are a few other possibilities, but they are not nearly so common.
    Good luck!... Jon

  • Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same

    Hello friends , I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding. He started with terminal And used a text editor to compil the c program on his mac.. So please tell me how to do the same and is there any pre stalled text editor on mac if yes then where and if no then which text editor to install and how to install gcc...please help me out thanks in advance !!!

    I have started with writing  c code on mac using xcode .....but one of my friend told me to use gcc for coding.
    Why? If you are developing and writing code on a Mac why would you not use the tools Apple has given you? And Xcode, once you get use to it, is a very nice development environment that will make you life a whole lot easier.
    If you insist on using an editor and the terminal I would recommend  Emacs   but it has a long learning curve so  something like TextWrangler  will work too.
    As for the compiler if you have Xcode installed install the command line tools and you will be able to compile from the terminal.
    good luck

  • Help please. Iphone was Backed up yesterday. But today's didn't finish. Now, I have a file but it will not allow a restore from said file. And yesterday's is gone. What the hello do I do?

    Help please. Iphone was Backed up yesterday. But today's backup didn't finish. Now, I have a file (marked today) but it will not allow a restore from said file. And yesterday's is gone. What the hello do I do? IS there anyway to get my sms back post restore/update?

    The problem is absolutely not Reader. The problem is that FireFox has stepped in front of Reader and handles all the PDF stuff - wrongly in your case. FireFox is DESIGNED to take over PDF files. But it is not capable of doing IRS forms!
    To start with go back to IE for these forms. When you save them to disk DO NOT DOUBLE CLICK ON THEM until this is fixed. Just open the in the normal way - start Adobe Reader and use Open from the File menu.

Maybe you are looking for

  • File and folder permissions for specific AD groups

    Having a special folder over multiple servers that certain user groups can access with specific permissions I'd like to audit the security mappings using get-acl commandlet. It's easy for a single folder but I would need subfolders and files too. I k

  • Condition value of Tax gets wrongly added to Total value of Contract

    Hi All, I'm currently investigating an issue where there are 2 line items in an SAP Sales Contract. There is a human error in the second line where the billing end date is less than billing start date in the billing plan. Consequently, the second lin

  • Biller Direct Fields: FUNCTION 'FSCM_FICA_TFISCOMMFLAG_GET'

    Hi Guys, I am working on CAA1/CAA2 enhancement. Here once user presses SAVE button I need to validate Biller Direct fields (i.e. SMS/PAPER BILL/EMAIL Checkboxes). For that I am using CUSTOM FM on: transaction CAWM -> Contract Account Control -> Scree

  • Unplanned delivery costs requirements in MIRO

    hello, at present we are using sap ecc 6.0. While doing MIRO at present, the Unplanned delivery cost are taxed. Client has the requirement that they should have options to choose whether they should tax or not tax the unplanned delivery costs. is the

  • Can we execute a query in resultset of while loop

    can we execute a query in resultset while loop for ex: rs=st.executeQuery("SQL"); while(rs.next()) rs1=st.executequery("SQL1"); while(rs1.next()) }