BAPI to trigger VF06 through a program and retrieve the net value

I'm working on a report program where I provide the SD contract and the billing date and need to pull out the net values (with pricing done) . For this purpose , is it feasible to trigger VF06 proforma runs for the contracts using any standard BAPI ? If I use a BDC, I need to make sure I get either the billing document or the net value so that I can display them in the report.
Please assist.

Hi ,
It looks there are two to three questions included.Can you explain.
Regards,
Madhu.

Similar Messages

  • Using a lookup for mapping program to retrieve the specific value

    Hi All,
    I have a scenario like …I need to use a lookup for mapping program to retrieve the specific value based on the input parameters.
    Here I have got some rough idea like …
    1. Creation of java program to connect the DB table and access the values, Import this java program as archive into XI.
    2. Creation of user defined function to use the above java program
    3. Include the user defined function in the interface mapping.
    Here I feel it needs some more info to complete this scenario, so can anyone provide the step by step procedure for the above scenario.
    Thanks in advance.
    Vijay.

    Hi Vijay,
    Basically you have embed Database lookup code in the UDF. For all kind of Lookups refer to below links..
    Lookup - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    SOAP Lookup - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0
    Lookup’s in XI made simpler - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    How to check JDBC SQL Query Syntax and verify the query results inside a User Defined Function of the Lookup API -
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    /people/prasad.illapani/blog/2006/10/25/how-to-check-jdbc-sql-query-syntax-and-verify-the-query-results-inside-a-user-defined-function-of-the-lookup-api
    Lookups - /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    Lookups - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    /people/sravya.talanki2/blog
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14
    How we have to create the lookups?
    Check this weblogs with some screenshots on how to achieve this:
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    Ranjeet Singh.

  • Call C# method from javascript in WebView and retrieve the return value

    The issue I am facing is the following :
    I want to call a C# method from the javascript in my WebView and get the result of this call in my javascript.
    In an WPF Desktop application, it would not be an issue because a WebBrowser
    (the equivalent of a webView) has a property ObjectForScripting to which we can assign a C# object containg the methods we want to call from the javascript.
    In an Windows Store Application, it is slightly different because the WebView
    only contains an event ScriptNotify to which we can subscribe like in the example below :
    void MainPage_Loaded(object sender, RoutedEventArgs e)
    this.webView.ScriptNotify += webView_ScriptNotify;
    When the event ScriptNotify is raised by calling window.external.notify(parameter), the method webView_ScriptNotify is called with the parameter sent by the javascript :
    function CallCSharp() {
    var returnValue;
    window.external.notify(parameter);
    return returnValue;
    private async void webView_ScriptNotify(object sender, NotifyEventArgs e)
    var parameter = e.Value;
    var result = DoSomerthing(parameter);
    The issue is that the javascript only raise the event and doesn't wait for a return value or even for the end of the execution of webView_ScriptNotify().
    A solution to this issue would be call a javascript function from the webView_ScriptNotify() to store the return value in a variable in the javascript and retrieve it after.
    private async void webView_ScriptNotify(object sender, NotifyEventArgs e)
    var parameter = e.Value;
    var result = ReturnResult();
    await this.webView.InvokeScriptAsync("CSharpCallResult", new string[] { result });
    var result;
    function CallCSharp() {
    window.external.notify(parameter);
    return result;
    function CSharpCallResult(parameter){
    result = parameter;
    However this does not work correctly because the call to the CSharpResult function from the C# happens after the javascript has finished to execute the CallCSharp function. Indeed the
    window.external.notify does not wait for the C# to finish to execute.
    Do you have any solution to solve this issue ? It is quite strange that in a Window Store App it is not possible to get the return value of a call to a C# method from the javascript whereas it is not an issue in a WPF application.

    I am not very familiar with the completion pattern and I could not find many things about it on Google, what is the principle? Unfortunately your solution of splitting my JS function does not work in my case. In my example my  CallCSharp
    function is called by another function which provides the parameter and needs the return value to directly use it. This function which called
    CallCSharp will always execute before an InvokeScriptAsync call a second function. Furthermore, the content of my WebView is used in a cross platforms context so actually my
    CallCSharp function more look like the code below.
    function CallCSharp() {
    if (isAndroid()) {
    //mechanism to call C# method from js in Android
    //return the result of call to C# method
    } else if (isWindowsStoreApp()) {
    window.external.notify(parameter);
    // should return the result of call to C# method
    } else {
    In android, the mechanism in the webView allows to return the value of the call to a C# method, in a WPF application also. But I can't figure why for a Windows Store App we don't have this possibility.

  • I have been unable to download adobe acrobat pro, which I purchased on a month to month basis almost exactly 1 year ago, since I purchased it. I just received a renewal email and it had a link to download the program and for the first time when I clicked

    I have been unable to download adobe acrobat pro, which I purchased on a month to month basis almost exactly 1 year ago, since I purchased it. I just received a renewal email and it had a link to download the program and for the first time when I clicked on the link it actually sent me to a page that had the icon to download now. I clicked on that, but when I went to open the file and start downloading after about 3 minutes into downloading it says an error had occurred. Can anyone help me?

    I am a little worried. If you are an existing subscriber why would Adobe need you to download... I wonder if the message is a fake.
    I'm not clear, if you've had it for a year, whether you need to download, or you are just following the email?
    This page with the icon to download now. Was it a page on adobe.com ?

  • I partitioned a small drive for a windows program, and now the computer only wants to boot to Windows.  How do I get back to Mac so I can have a choice of drives?

      I partitioned a small drive for a windows program, and now the computer only wants to boot to Windows.  How do I get back to Mac so I can have a choice of drives?

    That doesn't sound good. It sounds like the power outage might have corrupted the partition for OS X. I would suggest booting from the Install DVD that came with your Mac while holding down the C key. Once you have selected the language start up Disk Utility from the pull down menu and repair the disk. Once you have done that then repair permissions also.
    Allan

  • HT5548 I upgraded one of my programs and now the old and new both appear on launch pad, and I can't delete the old one.  Is there a way I can do that?

    I upgraded one of my programs and now the icons for both old and new appear on the launch pad.  I don't need or want the old version to display, as it's been imported into the new one.  I can't seem to figure out how to edit it off the launch pad.

    Hi there,
    More then likely, the old version was installed independently from the App Store. The article below goes over the process for removing these application.
    OS X Lion: Install, update, and uninstall apps
    http://support.apple.com/kb/ph4524
    To uninstall other apps, drag the app to the Trash (the Trash is located at the end of the Dock), and then choose Finder > Empty Trash.If you change your mind, before emptying the Trash, select the app in the Trash, and then choose File > Put Back.Warning: When you empty the Trash, the app is permanently removed from your computer. If you have any files that you created with the app, you may not be able to open them.
    Hope that helps,
    Griff W.

  • Calling a transaction code in between the program and use the output

    Hi frnds,
              i want to call a transaction code in between the program   and pass the input .After getting the output, use that output in the program

    Hi Navin,
                     Why don't you sit with ABAPer he can explain better.
    Regards,
    HAri.

  • Switch from to the Photography Program and cancel the Acrobat subscription?

    How do I switch from to the Photography Program and cancel the Acrobat subscription? I currently have the Adobe Acrobat Pro subscription and want to add Photoshop but need to know how to change my program subscription to the Photography Program for personal use?

    Cancel what you have... which requires Adobe support to cancel a subscription
    -start here https://forums.adobe.com/thread/1703848
    -or by telephone http://helpx.adobe.com/x-productkb/global/phone-support-orders.html
    --and two links which may provide more details, if the above links don't help you
    -http://helpx.adobe.com/x-productkb/policy-pricing/return-cancel-or-change-order.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/cancel-membership-subscription.html
    Then buy new - Cloud Plans https://creative.adobe.com/plans

  • My i-Pad2 won't charge after I downloaded some new stuff from i-Tunes.  A note appears on the screen "Charging is not supported with this accessory".  I have tried charging through two computers and with the wall socket plug (with another cable).  I have

    My i-Pad won't charge after I downloaded some stuff from i-Tunes.  I have tried charging through two computers and using the wall socket,, with different cables.  I have turned the i-Pad off & on a couple of times but it still won't charge.  Any ideas will be gratefully received.

    The quickest way (and really the only way) to charge your iPad is with the included 10W USB Power Adapter. iPad will also charge, although more slowly, when attached to a computer with a high-power USB port (many recent Mac computers) or with an iPhone Power Adapter (5W). When attached to a computer via a standard USB port (most PCs or older Mac computers) iPad will charge very slowly (but iPad indicates not charging). Make sure your computer is on while charging iPad via USB. If iPad is connected to a computer that’s turned off or is in sleep or standby mode, the iPad battery will continue to drain.
    Apple recommends that once a month you let the iPad fully discharge & then recharge to 100%.
    How to Calibrate Your Mac, iPhone, or iPad Battery
    http://www.macblend.com/how-to-calibrate-your-mac-iphone-or-ipad-battery/
    At this link http://www.tomshardware.com/reviews/galaxy-tab-android-tablet,3014-11.html , tests show that the iPad 2 battery (25 watt-hours) will charge to 90% in 3 hours 1 minute. It will charge to 100% in 4 hours 2 minutes. The new iPad has a larger capacity battery (42 watt-hours), so using the 10W charger will obviously take longer. If you are using your iPad while charging, it will take even longer. It's best to turn your new iPad OFF and charge over night. Also look at The iPad's charging challenge explained http://www.macworld.com/article/1150356/ipadcharging.html
    Also, if you have a 3rd generation iPad, look at
    Apple: iPad Battery Nothing to Get Charged Up About
    http://allthingsd.com/20120327/apple-ipad-battery-nothing-to-get-charged-up-abou t/
    Apple Explains New iPad's Continued Charging Beyond 100% Battery Level
    http://www.macrumors.com/2012/03/27/apple-explains-new-ipads-continued-charging- beyond-100-battery-level/
    New iPad Takes Much Longer to Charge Than iPad 2
    http://www.iphonehacks.com/2012/03/new-ipad-takes-much-longer-to-charge-than-ipa d-2.html
    Apple Batteries - iPad http://www.apple.com/batteries/ipad.html
    Extend iPad Battery Life (Look at pjl123 comment)
    https://discussions.apple.com/thread/3921324?tstart=30
    New iPad Slow to Recharge, Barely Charges During Use
    http://www.pcworld.com/article/252326/new_ipad_slow_to_recharge_barely_charges_d uring_use.html
    Tips About Charging for New iPad 3
    http://goodscool-electronics.blogspot.com/2012/04/tips-about-charging-for-new-ip ad-3.html
    Prolong battery lifespan for iPad / iPad 2 / iPad 3: charging tips
    http://thehowto.wikidot.com/prolong-battery-lifespan-for-ipad
    In rare instances when using the Camera Connection Kit, you may notice that iPad does not charge after using the Camera Connection Kit. Disconnecting and reconnecting the iPad from the charger will resolve this issue.
     Cheers, Tom

  • Tough Problem: This action cannot be completed because the other program is busy. Choose 'Switch To' to activate the busy program and correct the problem

    Please, please help us!
    We have an intermitant problem which is badly affecting a group of our users.  Can anyone help identify what SERVER this message is talking about???
    Details:  CF-19 Panasonic Tough Book, McAfee Enterprise 8.7i, Windows XP 2005 Tablet Ed. SP3. 
    Problem at login intermittantly we get a unmanagable/unresponsive window stating the following:
    Window Name:  Server Busy
    Text:  This action cannot be completed because the other program is busy.  Choose ‘Switch To’ to activate the busy program and correct the problem
    Buttons:  Switch To, Retry, Cancel (Grayed out)
    Event Viewer Message:
    Source: DCOM, Type Error,
    Description:  The server
    {D6E88812-F325-4DC1-BBC7-23076618E58D} plus others with {6B19643A-0CD7-4563-B710-BDC191FCAD3B} did not register
    with DCOM within the required timeout.
    I searched the registry for {D63.....} and found keys relating to "TCServer.exe"  Little info available.  But found 
    ((KB895953 - Memory Leak in Windows XP Tablet PC Edition )) but this seems related to a pre SP3 update....  we have SP3 installed can I still install this patch?
    I searched {6B1....} and found keys relating to "TSFManager".  Again little information available.
    How can I identify the servers with the long {XXXXXXXXX} keys, and what is tcserver.exe?
    Please help,
    Tony Heslington.

    Hi,
    If the problematic XP PC is in a domain, please provide us more information on it, such as how many DCs, member servers and the OS versions. Does the error only
    occur on one XP PC? Does the issue occur when logging on as some certain users? When did the issue begin to occur? Have you installed software, hardware or updates recently?
    Please check whether the error occurs in Clean Boot mode.
    1. Click "Start", go to "Run", and type "msconfig" in the open box to start the System Configuration Utility.
    2. Click the "Services" tab, check the "Hide All Microsoft Services" box and click Disable All (if it is not gray).
    3. Click the "Startup" tab, click "Disable All" and click "OK".
    4. Restart your computer. If the "System Configuration Utility" window appears, please check the box and click "OK".
    What is the result? For further assistance, please help gather the following information for research:
    Event log
    =========
    1. Click "Start", click “Run”, input "eventvwr" and press Enter.
    2. Expand the "Windows Logs" node on the left pane, right-click on "Application" and click "Save All Events As"; in the pop-up window, click to choose the Desktop
    icon on the left frame, input "app" in the "File name" blank, and then click save.
    3. Right click on "System", with the same method, save it as "sys".
    4. Locate the two saved log files on the Desktop and send them to us.
    Collect HiJackThis log
    ==============
    1. Please download HijackThis from the following link:
    http://www.techspot.com/download317.html
    HijackThis is a tool to collect some system settings information which is useful for further troubleshooting.
    Please Note: The third-party products discussed here are manufactured by vendors independent of Microsoft. We make no warranty, implied or otherwise, regarding
    these products' performance or reliability.
    2. Right click the downloaded “HJTInstall.exe” file and choose "Run as administrator".
    Provide administrator password or click “Allow” if you are prompted to do so.
    3. Click the "Do a system scan and save a logfile" Button.
    4. A Notepad window will appear, please click “File”, “Save As...” to save it as HJT.log (or other file name you like) on the Desktop
    and sent it to us.
    Upload these file to the following workspace.
    You can upload the information files to the following link. 
    (Please choose "Send Files to Microsoft")
    Workspace URL: (https://sftus.one.microsoft.com/choosetransfer.aspx?key=900ac54d-301d-42da-876d-4546dc81a342)
    Password: Y^dh$J1KR2u%UKL
    Note: Due to differences in text formatting with various email clients, the workspace link above may appear to be broken. Please be sure to include all text
    between '(' and ')' when typing or copying the workspace link into your browser. Meanwhile, please note that files uploaded for more than 72 hours will be deleted automatically. Please ensure to notify me timely after you have uploaded the files. Thank you
    for your understanding.
    Thanks.
    Nina
    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Upon opening LR I receive a "Server Busy" dialoge box: "This action cannot be completed because the other program is busy. Choose 'Switch To' to activate the busy program and correct the problem." I have no other programs open and when I wait a bit it cle

    Upon opening LR I receive a "Server Busy" dialoge box: "This action cannot be completed because the other program is busy. Choose 'Switch To' to activate the busy program and correct the problem." I have no other programs open and when I wait a bit it clears with the 'retry' button. Happened following a recent update. I'd really like this to go away - any ideas?

    For me this happens when I have Zenfolio or Facebook open in Google Chrome, even if Google Chrome is not active.  If you use Chrome, when the error shows up open Chrome and close each one of the tabs and click on the retry in Lightroom.  Also happens if Internet explorer is running with either of these two programs.

  • TS3297 I bought an album, two of the twelve songs play about half the way through, then stop, and then the next song in line starts playing.  How do I get the songs downloaded so they play to the end?

    I bought an album, two of the twelve songs play about half the way through, then stop, and then the next song in line starts playing.  How do I get the songs downloaded so they play to the end?

    Welcome to the Apple Community.
    Try deleting the problematic file (electing to remove original file if/when prompted) and then re-downloading the file from the iTunes store.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option from the Quick Links section in the top right corner of the iTunes homepage in your iTunes application on your computer.
    You can re-download content purchased from the iTunes store (availability varies depending on location) using the purchased option at the bottom of the screen of the iTunes app (or video app) on your iOS device.
    If the problem re-occurs, select the content which is causing a problem and use the 'Report a problem' button in Your Purchase History using your computer.

  • Having trouble getting Skype to work.  It did when I first got the computer about a yr ago but then quit.  I've trashed and reinstalled the program and set the preferences to allow Skype but nothing is working.  Any suggestions?

    Having trouble getting Skype to work.  It did when I first got the computer about a yr ago but then quit.  I've trashed and reinstalled the program and set the preferences to allow Skype but nothing is working.  Any suggestions?

    all I can suggest is completley unistall as here
    https://support.skype.com/en/faq/FA12073/how-can-i-completely-uninstall-and-then -reinstall-skype-for-mac-os-x
    Then reinstall
    http://www.skype.com/en/download-skype/skype-for-mac/

  • Sales order prod costing error and extracting the cost $ value

    We are doing sales order product costing via custom program which internally calls FM CKKA_Costing_Process, CK_F_SD_ORDER_CALC and all other std processes and calculates the cost. In the event of error, the calculated dollar value is getting cleared. Is there any way we can find and extract the cost $ value in case of costing error?

    Owen,
    That's fine. Not worried about the error. But business needs the cost calculated with the error. Is there anyway we can get the cost $ while error. VA02 costing returns error too, but we have the cost updated.
    Regards
    Gopi

  • To measure and hold the peak value of voltage while measuriong using an accelerometer

    i would like to measure and hold the peak value of voltage while measuring using an accelerometer,when the voltage goes above certain range . also save highest 5 values.

    You could have a shift register on your acquisition loop that is initialized to hold an array of 5 values. Start with all 5 element holding something less than the expected normal input value.
    Now each time through the loop, test the new reading to see if it's greater than the minimum value in the 5-element array. If not just go on and repeat the loop.
    If the new reading is greater than the minimum value in the 5-element array, append the new reading to the array, sort it in decending order and drop the last element (the old minimum value).
    The array will hold the 5 greatest values and the max of the array will be the peak value.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

Maybe you are looking for

  • On my macbook pro the Software Update appeared, then it asked me to update some software what should I do?

    On my mac the Software Update appeared, then it asked me to update some software,when I clicked Install all or update all, it said that it will restart and it told me not to turn it off, then when the screen appears, it is too slow, I can't "barely"

  • Error importing AWM XML Schema in OWB repository

    Hi, as you suggest me I downloaded the OWB expert "AW XML Import Expert" on this page: http://www.oracle.com/technology/products/warehouse/htdocs/OWBexchange.html?cat=ALP&submit=search I correctly installed it on OWB, I created a module linking to th

  • Open Dialog on item click javascript

    Hi I have survey page that send in data to a sharepoint list. In the list i want to be abel to click on "No Title" to open that item in a dialog how can i do that with javascript i tried a couple of tutorials i found but nothing worked.

  • Netweaver editor is not opening!!

    Hai While opening my Netweaver Editor it is showing problems during startup. check the ".log" file in the ".metadata" directory of your workspace. please tell me how to get rid of this error with Regards K. Ravi Shankar

  • Package missing in KM installation

    I have installed EP6.0 on WAS6.4 and installed KM on it. I have also applied SP12 patch for both EP AND KM. The problem is when i visit content management in portal it does not shoe any images (like folder etc.). I tried to investigate the problem an