HOW TO USE A MICROSOFT DYNAMIC LIBRARY ON ABAP

I want to know how to use and implement a call to a dll from ABAP because in my job i need to impress data using a neumatic printer;  the model is CN101 from Technifor.
Thanks

Hello Claudio,
Some information on this topic [here|http://nonet.dyndns.org/b2e/blogs/index.php/2005/10/30/calling_dll_functions_within_sapgup_via?blog=5].
Another interesting way of doing it would be to write a simple .NET web service exposing the DLL and consuming it in ABAP.
Best Regards,
Yevgen

Similar Messages

  • How to use ADO(Microsoft ActiveX Data Objective 2.8 Library) to execute the store procedure of database in SQL server

    how to use ADO(Microsoft ActiveX Data Objective 2.8 Library) to execute the store procedure of database in SQL server?
    Does any body can tell me about this?
    thanks
    [email protected]

    Hi 
    Did you succeed to execute the procedure?
    How ?
    Thanks
    Shimon Zerbib

  • How to use ActiveX Microsoft Office Excel Chart?

    Does anyone know how to use "ActiveX Microsoft Office Excel Chart" from CVI 7.0? I tried with following code but it did not draw anything.
    HRESULT MakeChartInExcelActivexCtrl(void)
    HRESULT error = 0;
    char szErrMsg[256];
    // Create a new chart with its own worksheet
    // ExcelRpt_ChartNew(workbookHandle,-1,&chartsheetHandle);
    SetWaitCursor (1);
    // Open new Range for Worksheet
    error = CA_VariantSetCString (&MyCellRangeV, EXCEL_ARRAY_OF_CELLS);
    error = Excel_WorksheetRange (ExcelWorksheetHandle, NULL, MyCellRangeV, CA_DEFAULT_VAL, &ExcelRangeHandle);
    CA_VariantClear(&MyCellRangeV);
    if (error<0)
    CA_GetAutomationErrorString(error, szErrMsg, sizeof(szErrMsg) );
    goto Error;
    error = Excel_GetProperty (excelChart, NULL, Excel_WindowActiveChart, CAVT_OBJHANDLE, &ExcelChartHandle);
    if (error<0)
    CA_GetAutomationErrorString(error, szErrMsg, sizeof(szErrMsg) );
    goto Error;
    // Create a XY scatter chart using the data we wrote to the worksheet as its data source.
    error = ExcelRpt_ChartWizard(ExcelChartHandle, ExcelWorksheetHandle, EXCEL_ARRAY_OF_CELLS,
    ExRConst_GalleryXYScatter, ExRConst_Columns, 0, 0, 0, 0, "Filtered Data Chart", "",
    "Weather Data", NULL);
    if (error<0)
    CA_GetAutomationErrorString(error, szErrMsg, sizeof(szErrMsg) );
    goto Error;
    // Change the plot lines to not display markers and smooth out
    // the plot lines. This is one of the plot styles available in Excel.
    error = ExcelRpt_SetChartAttribute (ExcelChartHandle, ER_CH_ATTR_CHART_TYPE, ExRConst_XYScatterSmoothNoMarkers);
    if (error<0)
    CA_GetAutomationErrorString(status, szErrMsg, sizeof(szErrMsg) );
    goto Error;
    Error:
    SetWaitCursor (0);
    CA_VariantClear(&MyCellRangeV);
    CA_VariantClear(&MyVariant);
    ClearObjHandle (&ExcelRangeHandle);
    ClearObjHandle (&ExcelChartHandle);
    ClearObjHandle (&ExcelChartObjHandle);
    ClearObjHandle (&ExcelChartsHandle);
    if (error < 0)
    ReportAppAutomationError (error);
    return 0;
    Attachments:
    excelActivexCtrl.zip ‏4692 KB

    I use C:\Program Files\National Instruments\CVI90\toolslib\activex\excel\excelreport.fp to  build/modify excel report.there is very detail configuration in this function moudule , hope it can help you 
    Sonic
    Diffrent Strokes for Different Folks

  • Plase can anybody tell me how to use SETS (GS01/02/03) in ABAP program

    Plase can anybody tell me how to use SETS (GS01/02/03) in ABAP program

    http://wiki.sdn.sap.com/wiki/display/Snippets/Reading+Sets+-+GS01+-+GS02+-+GS03

  • How to use the d3.js library with Apex Charting

    Hello.
    I am using Apex 4.1.0 with Oracle 11gR2 and Oracle App Server (mod_plsql).
    I'm trying to incorporate the d3.js library (a visulaization framework) in my Apex charts but am not having much success.
    I found this article in which David Mann uses the library within an Apex 4.x application:
    http://ba6.us/d3js_application_express_basic_dynamic_action
    I replicated his exact steps in my own application but without success. I do not see how he was able to get his application to work. Indeed, the tutorial does not even use a dynamic action despite what the article title says.
    Has any one used the d3.js library with their Apex application. If so, would you be willing to share how you went about it?
    Thank you very much.
    Elie

    EEG wrote:
    Hello fac586.
    Thank you very much for responding/helping.
    In the article I referenced I did note David's statement about using a "modern" browser with d3.js (one that recognizes css3 syntax); otherwise, the framework will not respond. And so, I was careful to run my Apex application in IE9.x as well in Firefox 16.x. But all I see is an empty region with a title. No chart. Nothing.
    I suspect my one of my problems here is in getting the chart to refresh every "n" seconds. For this, I think the dynamic action would be used, though I'm not sure how to go about doing so.That's included in the sample code (line 99). Strangely Dynamic Actions don't seem to include a native timer event...however there is a plug-in.
    More problematic, though, is that I am not seeing any chart whatsoever in the region. I would have expected to see some chart data, even if it is not automagically refreshing.
    I've created my example in my EEG workspace on apex.oracle.com:
    Workspace: EEG
    Username: [email protected]
    Password: galaxy (note: all lowercase)
    Please see application 27083 called Elie_Goodies, page 25. This page has an associated tab called, appropriately enough, "d3.js Library". The Safari console showed a couple of JavaScript errors.
    1. The URL used to include the d3 code in the blog article:
    <script type="text/javascript" src="http://mbostock.github.com/d3/d3.js"></script>is returning HTML, not JavaScript. Changing it to that given on the d3js.org site:
    <script src="http://d3js.org/d3.v2.js"></script>includes the correct script.
    2. There was a syntax error in a script in the Run Code region. I think there was some kind of issue arising from copying from the blog article: it looked like line endings hadn't been respected as the code wasn't formatted properly. Pasting it from the blog into Coda's editor and then into the APEX Region Source text area fixed the format, and it then ran first time.
    Thanks for the heads-up. I'll also be looking further into d3.

  • How to use one I-tunes library with multiple windows users (family) on 1 pc

    On our family pc we log in with different accounts. We want to use I-Tunes but all have the same library. I tried to create a library not in the users directory, but in the All Users folder that is accessible for everyone. However, when I import the music in the library for one user and set the same location for another user, I-tunes does not recognize the library. So everyone has to create it's own library.
    What are the best practices to overcome this?

    Keep in mind that what you have done now is you have multiple iTunes libraries accessing the same media folder. Meaning, that each account can have their own ratings, playlists, etc. but more importantly, each account does NOT know what the other account does, so if your daughter adds a CD to her account, it will go into the shared folder, but it will NOT automatically go into your wife's iTunes library. She would have to add it manually. Likewise, if one account deletes music from their library and tells iTunes to remove it to the trash, the other accounts will not know and iTunes will still try to access the file from the shared location even though the file is now trashed.
    Each account has their own database files (.itl files in the iTunes folder) which stores this stuff.
    If you want to have everyone use the exact same library which means the same ratings, playlists, etc. then you need to move the database files into that same location and set each iTunes account to read the same data.
    How to open an alternate iTunes Library file or create a new one
    http://docs.info.apple.com/article.html?artnum=304447
    Patrick

  • How to use a single iPhoto Library from multiple macs

    I'm trying to help my brother out with his iPhoto Library and his Mac network.  He has a Library on a MacBook Pro that is about 65GB.  I am moving it to his Mac Mini to make it the primary Library.  What he wants to do is be able to load new photographs from any Mac in his house and have them appear in the primary Library.  If I make the Mac mini shareable and point iPhoto on each of his Mac's to the Library on the Mac Mini, will that work?
    Are there any down sides to doing it this way?  Can you create multiple Libraries for iPhoto, the other thing we are thinking about is to organize his Library by years.
    Thanks
    Elliot

    What do you mean by "make the Mac mini shareable"?
    Iphoto is not really designed for this kind of use, but there are some possibilities - with limitations.
    I'm assuming you want to use the same library for each machine, so there is only one.
    Put the Library on a disk formatted Mac OS Extended (Journaled) and set to ignore ownership and permissions.
    Then point each machine at it in turn.
    Remember only one machine can access the Library at a time, and attempting to do so with multiple machines can cause damage.
    How are you connecting to the Library? A strong warning: If you're trying to edit the Library (that is, make albums, move photos around, keyword, make books or slideshows etc.) or edit individual photos in it via Wireless be very careful. Dropouts are a common fact of wireless networking, and should one occur while the app is writing to the database then your Library will be damaged. Simply, I would not do this with my Libraries. 
    Regards
    TD

  • How to use iMovie with Aperture Library from an external drive?

    Hey,
    Some problems:
    1. My first video, I stored the project on my own laptop and used the library from the HD. This seems to give some problems, but I now figured out I have to consolidate the media etc. so now my files don't get missing after unplugging the harddrive. I figured it would be a better idea to make all new projects on the HD, so I have everything in place all the time. BUT. look at the picture: there seems to be something wrong with the way iMovie recognizes the aperture library: i'ts not listed in the events library under the HardDisk (named Passport) but under my own drive... ??? (+ I don't understand the idea of events when I have my aperture library: Do I need to make events for all projects I make? how is this possible when the library is not in the correct position?)
    2. I made a movie, but I'm unable to export a large/high quality version of this project. That's why I want to move my project to the HD and then open it on my partners Mac Book Pro to make a good export. Unfortunately, his macbook doesn't recognize the files and the files can't be opened in iMovie... (files stay gray and unclickable)
    To sum it all up:
    I want the best way to work with this set-up: mac book air, external drive with all my files and iMovie.  And I want to be able to open the project on a different computer to make high quality exports.

    First thing that comes up with videos in your 'picture' library is the videos are always under the full control of the picture library program. Which means Aperture is the keeper and master, and it decides what will be displayed in iMovie's Event Library. If Aperture is having difficulties sometimes it cannot or will not display the videos you are storing there.
    Right now, I think the problem is your Aperture Library is on the internal Mac HD, not the external. You would have to move Aperture's Library to the external HD (along with all the pictures and videos). Then try to add the videos back into a project.
    In extreme cases I have recommended moving the videos out of the picture library and re-importing them into iMovie Event folders to let iMovie manage it.

  • How to Use the Sun Fortran Library

    I wish to use the Sun Fortran Library of functions, but I am having trouble compiling my program. I would appreciate some help on selecting the proper compiler options, code modifications, etc.
    My OS is Fedora 10 on a 64-bit system. I use the latest Sun Studio Express. I have used the Sun f95 compiler for quite some time as well, but this is my first use of one of the functions from the Sun Fortran Library.
    Here is my first attempt after doing some unsuccessful research of my own on this issue:
    PROGRAM test
    IMPLICIT NONE
    REAL*8 x, y
    REAL*8, EXTERNAL :: d_lgamma
    x=2.0
    y=d_lgamma(x)
    y=EXP(y)
    WRITE(*,*) x, y
    END PROGRAM test
    Here's how I tried to compile:
    f95 -lm test.f95test.o: In function `MAIN_':
    test.f95:(.text+0x91): undefined reference to `d_lgamma_'
    Obviously I am not doing this correctly. Is it possible that the Sun compiler and libraries have not been installed correctly on my system? How can I test if this is case?
    Thank you for your help with this matter.

    The routine d_lgamma_ is not supplied as part of Sun's Fortran product.
    Sun's Fortran team does not maintain the library that contains that
    routine. The team that does support the library has not yet ported it to
    Linux. Different teams have different priorities.
    In this case, there is a simple workaround. The C routine
    #include <math.h>
    double
    d_lgamma_(double *x)
    return (lgamma(*x));
    implements the routine d_lgamma_.
    Bob Corbett

  • How to use table name dynamically in report  procedure

    Hello every body
    I want to use table name dynamically means at runtime i want to pass table name.
    I can do this by lexical parameter in main query.
    But my problem is that i want to crate new format trigger or new function that use 1 cursor in which that lexical parameter : table name is used.
    so how to do that?
    i can not use that lexical parameter it is giving error.
    please help me how to do that.

    Call a database function which you pass the lexical parameter. Then in the database function you use dynamic sql or the execute immediate option to build the SQL string.
    Return the information from this function to build your business logic on in your format trigger.
    Marcos

  • How to use a single iTunes library when using multiple Windows Accounts

    Has anyone had success using a common iTunes library between multiple accounts on a single computer? I've tried and have been able to point all of the "different" iTunes programs in the different profiles to the same place...however, when I add files in one profile, they are not visible in any others. I've authorized the "different" iTunes in each profile to play music with my various iTunes store accounts...but no luck.
    Any thoughts? (As an aside, what happened to the days when Apple made everything simple? I mean, REALLY SIMPLE! They worked hard at that...and seem to have just given up on the things that made them GREAT! <sigh>)

    Drag the entire iTunes folder to a shared directory.
    Make sure all users have full access privileges to this folder.
    Start iTunes holding the Shift key and select *Choose existing library*.
    Now quit iTunes, log out and go the next user.
    Start iTunes holding the Shift key and select *Choose existing library*.
    Do this for each user.

  • How to use the Microsoft File Copy dialog box  in Java ??

    Can anyone tell me if it is possible to use the Microsoft File Copy dialog box (the one with the animated gif of the paper flying from one folder to anaother) in a Java.
    Many thanks

    And in any case, in any version of Windows that I've looked at, the file copy animation is an AVI, not a GIF.
    db

  • How to use my previous itunes library in itunes.

    I accidently deleted all my songs then emptied trash (i am on a mac, and i sick of window users solving their problems) and now i have 1/90th of my songs (i have around 2,500 songs. I still have my video, but i want my songs back. There is the previous library i had before the upgrade to 7.6, that is very recent. I've tried to downgrade (7.5) then import my previous itunes library, but that wont work. CAN SOMEBODY RUNNING MAC PLEASE TELL ME HOW TO GET MY PREVIOUS ITUNES LIBRARY BACK INTO MY CURRENT ITUNES LIBRARY?!!!!!!!!!!!!!!!?

    I FIGURED IT OUT., IF U EVERY HAVE A PROBLEM TELL ME.

  • How to use ALV  in web dynpro for ABAP?

    Hi,
    I am new to web dynpro. Now I want to create a table using ALV to display. I have no idea how to use it.
    I only know I need to add the SALV_WD_TABLE for component usage. Can anyone give me some hints
    or step-by-step procedure?
    Thanks.
    Awards will be provided.
    Best Regards,
    Chris Gu

    Hi,
    Please go thru this set of [tutuorials|https://www.sdn.sap.com/irj/sdn/webdynpro?rid=/webcontent/uuid/60ea94e5-0901-0010-c3bb-aad5ea9620d8].
    Its really good for ALV.
    I also used this as I am also new to WD ABAP.
    Revert back with issues.
    Regards,
    Sumit

  • How to use Mobile Documents in Library in my Mac as backup for iCloud?

    Does anyone know how I can ensure the Mobile Documents in Library in my Mac contain updated versions of the documents created and modified in iCloud (just to be safe)? I know the purpose of iCloud is to host these documents and make them available to all my devises, but I want to maintain a backup on my own mac as well, just in case.
    Thanks in advance for the help!

    Andrew K Y Wong wrote:
    I logged on to icloud through Safari on my mac. I can see all the updated files there.
    Is the mac reading the files from the Mobile Documents folder? If so, then that is very weird indeed.
    No, it's not using the mobile documents folder if you are viewing the documents thrrough your browser, but it is using the Mobile Documents folder when you view all your documents from the iWork applications themselves.
    I've been assuming you see them there.

Maybe you are looking for