Problem is releasing excel application from memory using webutil

Hi Experts,
This code is working fine but it is not releasing the excel from the memory. if i try the same set of code with Wort.Applicationa or Access.Application it works fine. But only with excel it is not working.
Is there is any way to kill the excel application?
application := CLIENT_OLE2.create_obj('Excel.Application');
CLIENT_OLE2.invoke(application,'Quit');
CLIENT_OLE2.release_obj(application);
Thanks & Regards
Rajesh

This is probably <Bug:3082119 which is fixed in the production release.
Regards
Grant Ronald
Forms Product Management

Similar Messages

  • Problems in triggering webdynpro application from Workflow using SWFVISU

    Hi everybody,
    We have created a webdynpro application which we are linking to our task using transaction SWFVISU .
    The method for the task is WEBSERVICE-DISPLAY.
    SWFVISU has been configured with parameters :
    application name : ZXXXXXXXXXXXXX
    and namespace  : sap.
    When i create a workitem in the UWL , and click on it, i get a dump with the following description : 'Exception condition "URL_CREATION_FAILURE" raised.'
    Now the strange thing is that if i use a standard SAP Webdynpro application , this works properly.
    Could anybody advise us on whether we are missing something ?
    Thanks,
    Joe

    Hi Raja,
    Thank you for your reply.
    I tried changing the method but it still throws the same error. i dont think this error is related to the Task method , since it can also be a dummy method (as is the case with the leave approval workflow 12300111) .
    Any other helpful suggestions ??
    Thanks,
    Joe

  • Data read from Memory use - ranked list

    Dear Experts,
    I am trying to read data from memory use -ranked list.
    In general we use function pool to read the data but in case if we should read the data from a class can we do it.
    {O:267}-IF_PT_HRS_D_IF~IM_CONTRACT_TES[1]-TES
    in the above class in TES table we have data , we have to read data from TES .
    In memory use ranked list it is like below
    {O:451*\CLASS=CL_PT_HRS_IF}
    Object
    Regards,
    Kartheek.

    Philip
    This one is really tricky. Display value just shows the rank but it would hold the actual value when you try to do calculations.
    We have had similar problem but it was not related to ranking.
    One Simple approach could be
    Make them use Wrokbooks and do this calculation by using a SUM formula in Excel. Excel will consider whta is being displayed as a value for that cell
    One far complicated solution is you can use the Olympic ranks and Do your sum in a Macro.
    What I mean is if you get the last rank to be 10 then you can write your program to do the sum as
    1098765432+1.
    This approach could be taken only if they are OK with Olympic ranking.
    Edited by: Abhijit N on Dec 10, 2008 10:19 PM

  • Ole excel application from abap

    Hi all ,
               I   an calling  one excel application  from abap .  I   don't want to make excel file visible ,  but insted  want to save and close the file , by using method
    saveas for excel application  and later i want to see the file . file name i want to store in a variable .
    eg :
    CALL METHOD OF H_EXCEL 'FILESAVEAS' = RC
    EXPORTING #1 =  filename .
    Can it be possible ?
    regards,
    SA

    hi
    i simpler method will be to use the function modules for this purpose.
      CALL FUNCTION 'F4_FILENAME'
           EXPORTING
             PROGRAM_NAME        = SYST-CPROG
             DYNPRO_NUMBER       = SYST-DYNNR
             FIELD_NAME          = ' '
             IMPORTING
               file_name           = file_name .
              lc_filename = file_name.
              CALL FUNCTION 'GUI_DOWNLOAD'
                EXPORTING
                BIN_FILESIZE                    =
                  filename                        = lc_filename
                  filetype                        = 'DAT'
                TABLES
                  data_tab                        = gt_itab.
              IF sy-subrc <> 0.
              MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
              ENDIF.
    Fn module F4_filename will prompt for the name of the file to be saved  and GUI_DOWNLOAD will save the file.
    gt_itab is the internal table containing the data to be stored in excel.

  • Load PDF From Memory using Adobe Acrobat SDK

    Load PDF From Memory using Adobe Acrobat SDK

    //The below variables are global;
    DWORD FileSize;//size of main PDF file
    char * lpBuffer;//PDF buffer,please save binary PDF data into this buffer
    DWORD dwDataSize;//size of main PDF file
    DWORD dwDataIndex;//is a pointer for lpBuffer position.ex. lpBuffer[dwDataIndex]
    //write the following code in the initialzation of your application
    ASFileSys myFileSys;
    memset (&MyFileSys, 0, sizeof(ASFileSysRec));
    MyFileSys.size = sizeof(ASFileSysRec);
    MyFileSys.open = ASCallbackCreateProto (ASFileSysOpenProc, MyASFileSysOpenProc);
    MyFileSys.close = ASCallbackCreateProto (ASFileSysCloseProc, MyASFileSysCloseProc);
    MyFileSys.flush = ASCallbackCreateProto (ASFileSysFlushProc, MyASFileSysFlushProc);
    MyFileSys.setpos = ASCallbackCreateProto (ASFileSysSetPosProc, MyASFileSysSetPosProc);
    MyFileSys.getpos = ASCallbackCreateProto (ASFileSysGetPosProc, MyASFileSysGetPosProc);
    MyFileSys.seteof = ASCallbackCreateProto (ASFileSysSetEofProc, MyASFileSysSetEofProc);
    MyFileSys.geteof = ASCallbackCreateProto (ASFileSysGetEofProc, MyASFileSysGetEofProc);
    MyFileSys.read = ASCallbackCreateProto (ASFileSysReadProc, MyASFileSysReadProc);
    MyFileSys.write = ASCallbackCreateProto (ASFileSysWriteProc, MyASFileSysWriteProc);
    MyFileSys.remove = ASCallbackCreateProto (ASFileSysRemoveProc, MyASFileSysRemoveProc);
    MyFileSys.rename = ASCallbackCreateProto (ASFileSysRenameProc, MyASFileSysRenameProc);
    MyFileSys.isSameFile = ASCallbackCreateProto (ASFileSysIsSameFileProc, MyASFileSysIsSameFileProc);
    MyFileSys.getName = ASCallbackCreateProto (ASFileSysGetNameProc, MyASFileSysGetNameProc);
    MyFileSys.getNameAsASText = ASCallbackCreateProto (ASFileSysGetNameAsASTextProc, MyASFileSysGetNameAsASTextProc);
    MyFileSys.getTempPathName = ASCallbackCreateProto (ASFileSysGetTempPathNameProc, MyASFileSysGetTempPathNameProc);
    MyFileSys.copyPathName = ASCallbackCreateProto (ASFileSysCopyPathNameProc, MyASFileSysCopyPathNameProc);
    MyFileSys.diPathFromPath = ASCallbackCreateProto (ASFileSysDiPathFromPathProc, MyASFileSysDiPathFromPathProc);
    MyFileSys.pathFromDIPath = ASCallbackCreateProto (ASFileSysPathFromDIPathProc, MyASFileSysPathFromDIPathProc);
    MyFileSys.disposePathName = ASCallbackCreateProto (ASFileSysDisposePathNameProc, MyASFileSysDisposePathNameProc);
    MyFileSys.getFileSysName = ASCallbackCreateProto (ASFileSysGetFileSysNameProc, MyASFileSysGetFileSysNameProc);
    MyFileSys.getStorageFreeSpace = ASCallbackCreateProto (ASFileSysGetStorageFreeSpaceProc, MyASFileSysGetStorageFreeSpaceProc);
    MyFileSys.flushVolume = ASCallbackCreateProto (ASFileSysFlushVolumeProc, MyASFileSysFlushVolumeProc);
    MyFileSys.createPathName = ASCallbackCreateProto (ASFileSysCreatePathNameProc, MyASFileSysCreatePathNameProc);
    MyFileSys.getItemProps = ASCallbackCreateProto (ASFileSysGetItemPropsProc, MyASFileSysGetItemPropsProc);
    MyFileSys.firstFolderItem = ASCallbackCreateProto (ASFileSysFirstFolderItemProc, MyASFileSysFirstFolderItemProc);
    MyFileSys.nextFolderItem = ASCallbackCreateProto (ASFileSysNextFolderItemProc, MyASFileSysNextFolderItemProc);
    MyFileSys.destroyFolderIterator = ASCallbackCreateProto (ASFileSysDestroyFolderIteratorProc, MyASFileSysDestroyFolderIteratorProc);
    MyFileSys.urlFromPath = ASCallbackCreateProto (ASFileSysURLFromPathProc, MyASFileSysURLFromPathProc);
    MyFileSys.getParent = ASCallbackCreateProto (ASFileSysGetParentProc, MyASFileSysGetParentProc);
    MyFileSys.createFolder = ASCallbackCreateProto (ASFileSysCreateFolderProc, MyASFileSysCreateFolderProc);
    MyFileSys.removeFolder = ASCallbackCreateProto (ASFileSysRemoveFolderProc, MyASFileSysRemoveFolderProc);
    MyFileSys.displayStringFromPath = ASCallbackCreateProto (ASFileSysDisplayStringFromPathProc, MyASFileSysDisplayStringFromPathProc);
    MyFileSys.setTypeAndCreator = ASCallbackCreateProto (ASFileSysSetTypeAndCreatorProc, MyASFileSysSetTypeAndCreatorProc);
    MyFileSys.getTypeAndCreator = ASCallbackCreateProto (ASFileSysGetTypeAndCreatorProc, MyASFileSysGetTypeAndCreatorProc);
    //These need to be implemented for 7.0 Windows
    MyFileSys.acquirePlatformPath = ASCallbackCreateProto (ASFileSysAcquirePlatformPathProc, MyASFileSysAcquirePlatformPathProc);
    MyFileSys.releasePlatformPath = ASCallbackCreateProto (ASFileSysReleasePlatformPathProc, MyASFileSysReleasePlatformPathProc);
    //MYFileSys Callbacks Functions definations
    static ACCB1 ASInt32 ACCB2 MyASFileSysOpenProc (ASPathName pathName, ASUns16 mode, MDFile *fP)
    dwDataIndex = 0;
    dwDataSize  = FileSize;//size of main PDF file
    return 0;
    static ACCB1 ASInt32 ACCB2 MyASFileSysCloseProc (MDFile f)
    dwDataIndex = 0;//set PDF buffer pointer to zero
    return 0;
    static ACCB1 ASInt32 ACCB2 MyASFileSysFlushProc (MDFile f)
    return 0;
    static ACCB1 ASInt32 ACCB2 MyASFileSysSetPosProc (MDFile f, ASUns32 pos)
    dwDataIndex = (DWORD)pos;
    return 0;
    static ACCB1 ASInt32 ACCB2 MyASFileSysGetPosProc (MDFile f, ASUns32 *pos)
    *pos = (ASFilePos)dwDataIndex;
    return 0;
    static ACCB1 ASInt32 ACCB2 MyASFileSysSetEofProc (MDFile f, ASUns32 pos)
    return 0;
    static ACCB1 ASInt32 ACCB2 MyASFileSysGetEofProc (MDFile f, ASUns32 *pos)
    *pos = (ASFilePos)dwDataSize;
    return 0;
    static ACCB1 ASSize_t ACCB2 MyASFileSysReadProc (void *ptr, ASSize_t size, ASSize_t count, MDFile f, ASInt32 *pError)
    *pError = 0;
    if ( ptr == NULL )
      return 0;
    DWORD dwRemaining = dwDataSize - dwDataIndex;
    DWORD dwReadSize = min( dwRemaining, (DWORD)( size * count ) );
    CopyMemory(ptr, &lpBuffer[ dwDataIndex ], dwReadSize );
    dwDataIndex += dwReadSize;
    return (ASSize_t)dwReadSize;
    static ACCB1 ASSize_t ACCB2 MyASFileSysWriteProc (void *ptr, ASSize_t size, ASSize_t count, MDFile f, ASInt32 *pError)
    return 0;
    static ACCB1 ASInt32 ACCB2 MyASFileSysRemoveProc (ASPathName pathName)
    return 0;
    static ACCB1 ASInt32 ACCB2 MyASFileSysRenameProc (ASMDFile* f, ASPathName oldPath, ASPathName newPath)
    return 0;
    static ACCB1 ASBool ACCB2 MyASFileSysIsSameFileProc (ASMDFile f, ASPathName pathName, ASPathName newPathName)
    return 0;
    static ACCB1 ASInt32 ACCB2 MyASFileSysGetNameProc (ASPathName pathName, char *name, ASInt32 maxLength)
    return 0;
    static ACCB1 ASInt32 ACCB2 MyASFileSysGetNameAsASTextProc (ASPathName pathName, ASText name)
    return 0;
    static ACCB1 ASPathName ACCB2 MyASFileSysGetTempPathNameProc (ASPathName pathName)
    return (ASPathName)PDF_MEMORY_FILESYS;
    static ACCB1 ASPathName ACCB2 MyASFileSysCopyPathNameProc (ASPathName pathName)
    return (ASPathName)PDF_MEMORY_FILESYS;
    static ACCB1 char * ACCB2 MyASFileSysDiPathFromPathProc (ASPathName path, ASPathName relativeToThisPath)
        return NULL;
    static ACCB1 ASPathName ACCB2 MyASFileSysPathFromDIPathProc (const char * diPath, ASPathName relativeToThisPath)
    return (ASPathName)PDF_MEMORY_FILESYS;
    static ACCB1 void ACCB2 MyASFileSysDisposePathNameProc (ASPathName pathName)
    static ACCB1 ASAtom ACCB2 MyASFileSysGetFileSysNameProc (void)
    return NULL;
    static ACCB1 ASUns32 ACCB2 MyASFileSysGetStorageFreeSpaceProc (ASPathName pathName)
    return INT_MAX;
    static ACCB1 ASInt32 ACCB2 MyASFileSysFlushVolumeProc (ASPathName pathName)
    return 0;
    static ACCB1 ASPathName ACCB2 MyASFileSysCreatePathNameProc (ASAtom pathSpecType, const void *pathSpec, const void *mustBeZero)
    return (ASPathName)PDF_MEMORY_FILESYS;
    static ACCB1 ASInt32 ACCB2 MyASFileSysGetItemPropsProc (ASPathName pathName, ASFileSysItemProps props)
    return 0;
    static ACCB1 ASFolderIterator ACCB2 MyASFileSysFirstFolderItemProc (ASPathName folderPath, ASFileSysItemProps props, ASPathName *itemPath)
    return NULL;
    static ACCB1 ASBool ACCB2 MyASFileSysNextFolderItemProc (ASFolderIterator folderIter, ASFileSysItemProps props, ASPathName *itemPath)
    return 0;
    static ACCB1 void ACCB2 MyASFileSysDestroyFolderIteratorProc (ASFolderIterator folderIter)
    static ACCB1 char * ACCB2 MyASFileSysURLFromPathProc (ASPathName path)
    return NULL;
    static ACCB1 ASPathName ACCB2 MyASFileSysGetParentProc (ASPathName path)
    return NULL;
    static ACCB1 ASInt32 ACCB2 MyASFileSysCreateFolderProc (ASPathName path)
    return 0;
    static ACCB1 ASInt32 ACCB2 MyASFileSysRemoveFolderProc (ASPathName path)
    return 0;
    static ACCB1 char * ACCB2 MyASFileSysDisplayStringFromPathProc (ASPathName path)
        return NULL;
    static ACCB1 void ACCB2 MyASFileSysSetTypeAndCreatorProc (ASPathName path, unsigned long type, unsigned long creator)
    static ACCB1 void ACCB2 MyASFileSysGetTypeAndCreatorProc (ASPathName path, unsigned long *type, unsigned long *creator)
    static ACCB1 ASInt32 ACCB2 MyASFileSysAcquirePlatformPathProc(ASPathName path, ASAtom platformPathType, ASPlatformPath *platformPath)
    return 0;
    static ACCB1 void ACCB2 MyASFileSysReleasePlatformPathProc(ASPlatformPath platformPath)
    //write the following code in your open PDF file procedure
    FileSize = //size of your PDF File;
    lpBuffer = (char *)malloc(FileSize);
    PDDoc pdDoc = PDDocOpen( (ASPathName)PDF_MEMORY_FILESYS, &MyFileSys, NULL, true );
    ASFile asFile = PDDocGetFile(pdDoc);
    ASText title = ASTextFromScriptText ("PDF File Name",kASRomanScript);
    AVDoc targetDoc = AVDocOpenFromASFileWithParams (asFile, title, NULL);
    //Thanks

  • Flex Can Not Unload Applications From Memory! QED

    Hi,
    at work we are trying to load and unload Flex Applications from a long standing shell application. We have studied the appropriate documentation, especially this
    http://livedocs.adobe.com/flex/3/loading_applications.pdf
    but we have found that Flex simply will nor release memory once used, no matter how simple the flex application. I have put a couple of posts on my blog about it
    http://www.dz015.com/?p=139
    http://www.dz015.com/?p=166
    In particular the second post seems to highlight what I would consider to be a bug.
    What do other people think.
    Has anybody out there successfully loaded and unloaded flex applications from within a shell application over a long period of time?
    Conrad

    Styles can pin an application or module in memory in 3.x versions of Flex but this has been fixed in Flex 4. There are other things that can cause memory leaks. Probably the easiest one to run into, especially with a shell application, are leaks caused by resource bundles.
    If a sub-application or module uses components that use ResourceBundles that are not used by the main application, those resource bundles will get registered with the ResourceManager and pin the first instance of the application or module. You can use the -compiler.keep-generated-actionscript compiler option to see which resource bundles the module and main application are using. The resource bundles are listed in the "compiledResourceBundleNames" object of the info() function. You can force the main application to have those additional resource bundles by adding the resource bundle metadata to the main application. For example, to add the "controls" resource bundle, you would add to the main application MXML file: <mx:Metadata>[ResourceBundle("controls")]</mx:Metadata> If you are loading your resource bundles as modules, make sure the resource modules have completed loading before loading the module that is being pinned.
    More information about leaks is available here: http://blogs.adobe.com/aharui/2009/08/what_we_know_about_unloading_m.html
    -Darrell

  • PROBLEM Creating a Sample Application from Uploaded Data - ENDECA 3.1

    Good morning.
    I'm installing OEID 3.1 and y have many problems.
    One is when i want to créate a Sample Application from Uploaded Data following "InfoDiscGettingStarted.pdf"
    I have the next error message:
    "Task execution failed for workflow ID 1. Task execution failes for workflow ID 1."
    Does anyone know which is due to this error?
    Thank you very much.
    Pd: Excuse me for my english

    BINGO !
    works like a charm
    I used this at compReady. Loads all the animated thumbnails with image, jersey number and full name.
    $.getJSON('images/profiles.json', function(json)
                sym.getComposition().getStage().setVariable('data', eval(json));
                var data = sym.getComposition().getStage().getVariable('data');
                for ( i = 1 ; i < 17; i++){
                    sym.getSymbol("thumb"+[i]).$("thumb1").css("background-image","url("+data.player[i].thumb +")");
                    sym.getSymbol("thumb"+[i]).$("j_num").html(data.player[i].j_num);
                    sym.getSymbol("thumb"+[i]).$("p_name").html((data.player[i].f_name)+"<br>"+(data.player[i ].l_name));
    sym.$("Stage").css({"margin-left":"auto","margin-right":"auto"});
    and this on all the "display on click" profile sheets. Right now just gets the larger player pic but will get all the other "fields" also when complete
    var i = 1 // this var identifies the player
    var data = sym.getComposition().getStage().getVariable('data');
    sym.$("player_image").css("background-image","url("+data.player[i].image+")");
    sym.play("profile" + [i]);
    Works perfect. Now I just have to add all the other fields to the profile sheets and presto...
    thanks again
    Joel

  • Problem in Creating excel file from internal table

    Hi Experts,
                here iam having a proble with creating an excel file from an internal table which is having around 15 records, when iam generating an excel file, its getting only upto 255 chars, after that its breaking and new record is being started in the next row. how should i get all the contents in one row of the excel or may be extended to the next line , how to resolve this issue, can anyone give me some idea or sample code.
    Thanks & Regards,
    poorna

    ur downloading to excel using a single field...then it will download only 255 chars....may be from internla table u can download the fields and the excel sheet gets downloaded with data....check below code....
    *& Report  ZETA_EXCEL_DOWNLOAD_CLIPBOARD                               *
    report  zeta_excel_download_clipboard           .
    include ole2incl.
    data:  w_cell1     type ole2_object,
           w_cell2     type ole2_object.
    *--- Ole data Declarations
    data: h_excel     type ole2_object,        " Excel object
          h_mapl      type ole2_object,        " list of workbooks
          h_map       type ole2_object,        " workbook
          h_zl        type ole2_object,        " cell
          h_f         type ole2_object,        " font
          gs_interior type ole2_object,        " Pattern
          worksheet   type ole2_object,
          h_cell      type ole2_object,
          h_cell1     type ole2_object,
          range       type ole2_object,
          h_sheet2    type ole2_object,
          h_sheet3    type ole2_object,
          gs_font     type ole2_object,
          flg_stop(1) type c.
              Internal table Declaration
    data: begin of t_excel occurs 0,
    vkorg(20) type c, "Sales Org
    vbtyp(20) type c, "Document Category
    auart(20) type c, "Document Type
    ernam(20) type c, "Created By
    vbeln(20) type c, "Document Number
    posnr(20) type c, "Item Number
    erdat(20) type c, "Created Date
    vdatu(20) type c, "Header Requested Delivery Date
    reqdat(20) type c, "Request date
    condat(20) type c, "Confirm date
    lifsk(20) type c, "Header Block
    txt30(30) type c, "Order User Status Description
    lifsp(20) type c, "Line Block
    dispo(20) type c, "MRP Controller
    dsnam(20) type c, "MRP Controller Description
    vmsta(20) type c, "Material Sales Status
    kunnr(20) type c, "Sold To
    cname(35) type c, "Sold To Name
    regio(20) type c, "State
    cufd(10) type c, "CUD
    bstnk(20) type c, "PO#
    bsark(20) type c, "Ordering Method
    matnr(20) type c, "Material
    maktx(35) type c, "Material Description
    t200(20) type c, "T200
    vtext(20) type c, "T200 Description
    matkl(20) type c, "Material Group
    zzbomind(7) type c, "BOM Indicator
    ostat(20) type c, "Order Status
    cmgst(20) type c, "CRD
    inco1(20) type c, "Incoterms
    oqty(20) type c, "Order Quantity
    pqty(20) type c, "Open Quantity
    unit(20) type c, "UOM
    onet(20) type c, "Order Value
    pnet(20) type c, "Open Value
    curr(20) type c, "Currency key
    so_bezei like tvkbt-bezei,"Sales Office
    sg_bezei like tvgrt-bezei,"Sales Group
    bname(20) type c, "Ordering Party
    contact(20) type c, "Contact Name
    telf1(20) type c, "Contact telf1
    reqqty(20) type c, "Item Request qty
    reqval(20) type c, "Item Request value
    conqty(20) type c, "Item Confirm qty
    conval(20) type c, "Item Confirm value
    zzrev(02) type c, "Revenue recognition acceptance
    bezei(20) type c, "Revenue recognition text
    vgbel(20) type c, "Reference Order for RETURNS
    0008text(255) type c, "Internal Order Comment Text
    end of t_excel.
    data: t_excel_bckord like t_excel occurs 0 with header line,
          t_excel_bcklog like t_excel occurs 0 with header line,
          t_excel_blkord like t_excel occurs 0 with header line.
      types: data1(1500) type c,
             ty          type table of data1.
      data:  it          type ty with header line,
    it_2          type ty with header line,
    it_3          type ty with header line,
             rec         type sy-tfill,
             deli(1)     type c,
             l_amt(18)   type c.
    data: begin of hex,
             tab type x,
            end of hex.
      field-symbols: <fs>      .
      constants cns_09(2) type n value 09.
      assign deli to <fs> type 'X'.
      hex-tab = cns_09.
      <fs> = hex-tab.
    data gv_sheet_name(20) type c .
    M A C R O Declaration
    define ole_check_error.
      if &1 ne 0.
        message e001(zz) with &1.
        exit.
      endif.
    end-of-definition.
    t_excel_bckord-vkorg = 'ABC'.
    t_excel_bckord-vbtyp = 'DEF'.
    t_excel_bckord-auart = 'GHI'.
    t_excel_bckord-ernam = 'JKL'.
    t_excel_bckord-vbeln = 'MNO'.
    t_excel_bckord-0008text = 'XYZ'.
    append t_excel_bckord.
    t_excel_bckord-vkorg = 'ABC1'.
    t_excel_bckord-vbtyp = 'DEF1'.
    t_excel_bckord-auart = 'GHI1'.
    t_excel_bckord-ernam = 'JKL1'.
    t_excel_bckord-vbeln = 'MNO1'.
    t_excel_bckord-0008text = 'XYZ1'.
    append t_excel_bckord.
    t_excel_bckord-vkorg = 'ABC2'.
    t_excel_bckord-vbtyp = 'DEF2'.
    t_excel_bckord-auart = 'GHI2'.
    t_excel_bckord-ernam = 'JKL2'.
    t_excel_bckord-vbeln = 'MNO2'.
    t_excel_bckord-0008text = 'XYZ2'.
    append t_excel_bckord.
    t_excel_bcklog-vkorg = 'ABC'.
    t_excel_bcklog-vbtyp = 'DEF'.
    t_excel_bcklog-auart = 'GHI'.
    t_excel_bcklog-ernam = 'JKL'.
    t_excel_bcklog-vbeln = 'MNO'.
    t_excel_bcklog-0008text = 'XYZ'.
    append t_excel_bcklog.
    t_excel_bcklog-vkorg = 'ABC1'.
    t_excel_bcklog-vbtyp = 'DEF1'.
    t_excel_bcklog-auart = 'GHI1'.
    t_excel_bcklog-ernam = 'JKL1'.
    t_excel_bcklog-vbeln = 'MNO1'.
    t_excel_bcklog-0008text = 'XYZ1'.
    append t_excel_bcklog.
    t_excel_bcklog-vkorg = 'ABC2'.
    t_excel_bcklog-vbtyp = 'DEF2'.
    t_excel_bcklog-auart = 'GHI2'.
    t_excel_bcklog-ernam = 'JKL2'.
    t_excel_bcklog-vbeln = 'MNO2'.
    t_excel_bcklog-0008text = 'XYZ2'.
    append t_excel_bcklog.
    t_excel_bcklog-vkorg = 'ABC3'.
    t_excel_bcklog-vbtyp = 'DEF3'..
    t_excel_bcklog-auart = 'GHI3'.
    t_excel_bcklog-ernam = 'JKL3'.
    t_excel_bcklog-vbeln = 'MNO3'.
    t_excel_bcklog-0008text = 'XYZ3'.
    append t_excel_bcklog.
    t_excel_blkord-vkorg = 'ABC'.
    t_excel_blkord-vbtyp = 'DEF'.
    t_excel_blkord-auart = 'GHI'.
    t_excel_blkord-ernam = 'JKL'.
    t_excel_blkord-vbeln = 'MNO'.
    t_excel_blkord-0008text = 'XYZ'.
    append t_excel_blkord.
    t_excel_blkord-vkorg = 'ABC1'.
    t_excel_blkord-vbtyp = 'DEF1'.
    t_excel_blkord-auart = 'GHI1'.
    t_excel_blkord-ernam = 'JKL1'.
    t_excel_blkord-vbeln = 'MNO1'.
    t_excel_blkord-0008text = 'XYZ1'.
    append t_excel_blkord.
    t_excel_blkord-vkorg = 'ABC2'.
    t_excel_blkord-vbtyp = 'DEF2'.
    t_excel_blkord-auart = 'GHI2'.
    t_excel_blkord-ernam = 'JKL2'.
    t_excel_blkord-vbeln = 'MNO2'.
    t_excel_blkord-0008text = 'XYZ2'.
    append t_excel_blkord.
    t_excel_blkord-vkorg = 'ABC3'.
    t_excel_blkord-vbtyp = 'DEF3'..
    t_excel_blkord-auart = 'GHI3'.
    t_excel_blkord-ernam = 'JKL3'.
    t_excel_blkord-vbeln = 'MNO3'.
    t_excel_blkord-0008text = 'XYZ3'.
    append t_excel_blkord.
    t_excel_blkord-vkorg = 'ABC4'.
    t_excel_blkord-vbtyp = 'DEF4'..
    t_excel_blkord-auart = 'GHI4'.
    t_excel_blkord-ernam = 'JKL4'.
    t_excel_blkord-vbeln = 'MNO4'.
    t_excel_blkord-0008text = 'XYZ4'.
    append t_excel_blkord.
    loop at t_excel_bckord.
    concatenate
    t_excel_bckord-vkorg
    t_excel_bckord-vbtyp
    t_excel_bckord-auart
    t_excel_bckord-ernam
    t_excel_bckord-vbeln
    t_excel_bckord-posnr
    t_excel_bckord-erdat
    t_excel_bckord-vdatu
    t_excel_bckord-reqdat
    t_excel_bckord-condat
    t_excel_bckord-lifsk
    t_excel_bckord-txt30
    t_excel_bckord-lifsp
    t_excel_bckord-dispo
    t_excel_bckord-dsnam
    t_excel_bckord-vmsta
    t_excel_bckord-kunnr
    t_excel_bckord-cname
    t_excel_bckord-regio
    t_excel_bckord-cufd
    t_excel_bckord-bstnk
    t_excel_bckord-bsark
    t_excel_bckord-matnr
    t_excel_bckord-maktx
    t_excel_bckord-t200
    t_excel_bckord-vtext
    t_excel_bckord-matkl
    t_excel_bckord-zzbomind
    t_excel_bckord-ostat
    t_excel_bckord-cmgst
    t_excel_bckord-inco1
    t_excel_bckord-oqty
    t_excel_bckord-pqty
    t_excel_bckord-unit
    t_excel_bckord-onet
    t_excel_bckord-pnet
    t_excel_bckord-curr
    t_excel_bckord-so_bezei
    t_excel_bckord-sg_bezei
    t_excel_bckord-bname
    t_excel_bckord-contact
    t_excel_bckord-telf1
    t_excel_bckord-reqqty
    t_excel_bckord-reqval
    t_excel_bckord-conqty
    t_excel_bckord-conval
    t_excel_bckord-zzrev
    t_excel_bckord-bezei
    t_excel_bckord-vgbel
    t_excel_bckord-0008text
    into it
    separated by deli.
    append it.
        clear it.
    endloop.
    loop at t_excel_bcklog.
    concatenate
    t_excel_bcklog-vkorg
    t_excel_bcklog-vbtyp
    t_excel_bcklog-auart
    t_excel_bcklog-ernam
    t_excel_bcklog-vbeln
    t_excel_bcklog-posnr
    t_excel_bcklog-erdat
    t_excel_bcklog-vdatu
    t_excel_bcklog-reqdat
    t_excel_bcklog-condat
    t_excel_bcklog-lifsk
    t_excel_bcklog-txt30
    t_excel_bcklog-lifsp
    t_excel_bcklog-dispo
    t_excel_bcklog-dsnam
    t_excel_bcklog-vmsta
    t_excel_bcklog-kunnr
    t_excel_bcklog-cname
    t_excel_bcklog-regio
    t_excel_bcklog-cufd
    t_excel_bcklog-bstnk
    t_excel_bcklog-bsark
    t_excel_bcklog-matnr
    t_excel_bcklog-maktx
    t_excel_bcklog-t200
    t_excel_bcklog-vtext
    t_excel_bcklog-matkl
    t_excel_bcklog-zzbomind
    t_excel_bcklog-ostat
    t_excel_bcklog-cmgst
    t_excel_bcklog-inco1
    t_excel_bcklog-oqty
    t_excel_bcklog-pqty
    t_excel_bcklog-unit
    t_excel_bcklog-onet
    t_excel_bcklog-pnet
    t_excel_bcklog-curr
    t_excel_bcklog-so_bezei
    t_excel_bcklog-sg_bezei
    t_excel_bcklog-bname
    t_excel_bcklog-contact
    t_excel_bcklog-telf1
    t_excel_bcklog-reqqty
    t_excel_bcklog-reqval
    t_excel_bcklog-conqty
    t_excel_bcklog-conval
    t_excel_bcklog-zzrev
    t_excel_bcklog-bezei
    t_excel_bcklog-vgbel
    t_excel_bcklog-0008text
    into it_2
    separated by deli.
    append it_2.
        clear it_2.
    endloop.
    loop at t_excel_blkord.
    concatenate
    t_excel_blkord-vkorg
    t_excel_blkord-vbtyp
    t_excel_blkord-auart
    t_excel_blkord-ernam
    t_excel_blkord-vbeln
    t_excel_blkord-posnr
    t_excel_blkord-erdat
    t_excel_blkord-vdatu
    t_excel_blkord-reqdat
    t_excel_blkord-condat
    t_excel_blkord-lifsk
    t_excel_blkord-txt30
    t_excel_blkord-lifsp
    t_excel_blkord-dispo
    t_excel_blkord-dsnam
    t_excel_blkord-vmsta
    t_excel_blkord-kunnr
    t_excel_blkord-cname
    t_excel_blkord-regio
    t_excel_blkord-cufd
    t_excel_blkord-bstnk
    t_excel_blkord-bsark
    t_excel_blkord-matnr
    t_excel_blkord-maktx
    t_excel_blkord-t200
    t_excel_blkord-vtext
    t_excel_blkord-matkl
    t_excel_blkord-zzbomind
    t_excel_blkord-ostat
    t_excel_blkord-cmgst
    t_excel_blkord-inco1
    t_excel_blkord-oqty
    t_excel_blkord-pqty
    t_excel_blkord-unit
    t_excel_blkord-onet
    t_excel_blkord-pnet
    t_excel_blkord-curr
    t_excel_blkord-so_bezei
    t_excel_blkord-sg_bezei
    t_excel_blkord-bname
    t_excel_blkord-contact
    t_excel_blkord-telf1
    t_excel_blkord-reqqty
    t_excel_blkord-reqval
    t_excel_blkord-conqty
    t_excel_blkord-conval
    t_excel_blkord-zzrev
    t_excel_blkord-bezei
    t_excel_blkord-vgbel
    t_excel_blkord-0008text
    into it_3
    separated by deli.
    append it_3.
        clear it_3.
    endloop.
      if h_excel-header = space or h_excel-handle = -1.
    start Excel
        create object h_excel 'EXCEL.APPLICATION'.
      endif.
    PERFORM err_hdl.
    *--- get list of workbooks, initially empty
      call method of h_excel 'Workbooks' = h_mapl.
    PERFORM err_hdl.
      set property of h_excel 'Visible' = 1.
    add a new workbook
      call method of h_mapl 'Add' = h_map.
    PERFORM err_hdl.
    *GV_SHEET_NAME = '1st SHEET'.
    gv_sheet_name = 'Back Orders'.
      get property of  h_excel 'ACTIVESHEET' = worksheet.
    set property of worksheet 'Name' = gv_sheet_name .
    *--Formatting the area of additional data 1 and doing the BOLD
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 50.
    call method of h_excel 'Range' = h_cell
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    *CALL METHOD OF gs_cells 'Select' .
    get property of h_cell 'Font' = gs_font .
    set property of gs_font 'Bold' = 1 .
            data l_rc type i.
      call method cl_gui_frontend_services=>clipboard_export
        importing
          data                 = it[]
        changing
          rc                   = l_rc
        exceptions
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          others               = 4.
      call method of h_excel 'Cells' = w_cell1
        exporting
          #1 = 1
          #2 = 1.
      call method of h_excel 'Cells' = w_cell2
        exporting
          #1 = 1
          #2 = 1.
    PERFORM err_hdl.
       call method of h_excel 'Range' = range
        exporting
          #1 = w_cell1
          #2 = w_cell2.
      call method of range 'Select'.
    PERFORM err_hdl.
      call method of worksheet 'Paste'.
    PERFORM err_hdl.
    CALL METHOD OF h_excel 'QUIT'.
    *GV_SHEET_NAME = '2ND SHEET'.
    gv_sheet_name = 'Backlog'.
    get property of h_excel 'Sheets' = h_sheet2 .
      call method of h_sheet2 'Add' = h_map.
    set property of h_map 'Name' = gv_sheet_name .
      get property of  h_excel 'ACTIVESHEET' = worksheet.
    *--Formatting the area of additional data 1 and doing the BOLD
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 50.
    call method of h_excel 'Range' = h_cell
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    get property of h_cell 'Font' = gs_font .
    set property of gs_font 'Bold' = 1 .
      call method cl_gui_frontend_services=>clipboard_export
        importing
          data                 = it_2[]
        changing
          rc                   = l_rc
        exceptions
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          others               = 4.
      call method of h_excel 'Cells' = w_cell1
        exporting
          #1 = 1
          #2 = 1.
      call method of h_excel 'Cells' = w_cell2
        exporting
          #1 = 1
          #2 = 1.
    PERFORM err_hdl.
       call method of h_excel 'Range' = range
        exporting
          #1 = w_cell1
          #2 = w_cell2.
      call method of range 'Select'.
    PERFORM err_hdl.
      call method of worksheet 'Paste'.
    *GV_SHEET_NAME = '3rd SHEET'.
    gv_sheet_name = 'Blocked Orders'.
    get property of h_excel 'Sheets' = h_sheet3 .
      call method of h_sheet3 'Add' = h_map.
    set property of h_map 'Name' = gv_sheet_name .
      get property of  h_excel 'ACTIVESHEET' = worksheet.
    *--Formatting the area of additional data 1 and doing the BOLD
    call method of h_excel 'Cells' = w_cell1
    exporting
    #1 = 1
    #2 = 1.
    call method of h_excel 'Cells' = w_cell2
    exporting
    #1 = 1
    #2 = 50.
    call method of h_excel 'Range' = h_cell
    exporting
    #1 = w_cell1
    #2 = w_cell2.
    get property of h_cell 'Font' = gs_font .
    set property of gs_font 'Bold' = 1 .
      call method cl_gui_frontend_services=>clipboard_export
        importing
          data                 = it_3[]
        changing
          rc                   = l_rc
        exceptions
          cntl_error           = 1
          error_no_gui         = 2
          not_supported_by_gui = 3
          others               = 4.
      call method of h_excel 'Cells' = w_cell1
        exporting
          #1 = 1
          #2 = 1.
      call method of h_excel 'Cells' = w_cell2
        exporting
          #1 = 1
          #2 = 1.
    PERFORM err_hdl.
       call method of h_excel 'Range' = range
        exporting
          #1 = w_cell1
          #2 = w_cell2.
      call method of range 'Select'.
    PERFORM err_hdl.
      call method of worksheet 'Paste'.
    *--- disconnect from Excel
      free object h_zl.
      free object h_mapl.
      free object h_map.
      free object h_excel.

  • Call Web Applications from Xcelsius using LiveOffice connections

    Hi,
    I have read the HTG: "How To... Call BEx Web Applications from SAP BusinessObjects Dashboards (Xcelsius) and vice versa" here on SDN. Problem is that it is using BW Connection as connection.
    Is it be possible to call web applications using Live Office connections?
    Br,
    Sonni

    Hi Sonni,
    If you are building dashboard using live office connection and you want to give a drill down to detailed webi or crystal report, you can use Open document interface. In the particular HTG you have mentioned, Open document approach is not possible because dashboard is based on SAP BW. Since you are using live office, i guess you have the source report published  in BOE and you can use open document approach here.
    If this is not your requirement please mention your exact requirement.
    Hope it helps you.
    Regards,
    Nikhil Joy

  • Calling a FLEX application from html, using parameters

    Hi guys,
    I have this html:
    <form name="getTracing" method="POST" action="http://syyzas400/ShipmentInquiry/ShipmentDetails.html">
              QuickTrace 
    <input type="text" name="TrackNbr" size="14" tabindex="1" maxlength="11">
    <br>
    Carrier        
    <select name="Carrier" tabindex="2" style="background-color: #D8E4FF; color: black;
                             font-family: Arial; font-weight: bold; font-size: 9pt; width=114">
              <option>Option1
              <option>Option2
              <option>Option3
    </select>
    As you can notice, there is an Input field ("TrackNbr") and a selection field ("Carrier") with three options... The user enters a Tracking Nbr.
    in first field  and chooses one of the three options from the second field and hits <enter>. In this moment, as you can see from "action" area, an html (part of a FLEX application) is called. The problem is that the parameters ("TrackNbr" and "Carrier") are not transmitted and I don't know how to do that.
    This FLEX application accepts parameters using URL fragments technique (because could be called from another FLEX application, too)
    but obviously this cannot work with the above described form.
    I read about External Interface class, but everybody is talking about calling ActionScript functions, not FLEX applications. Being a newbie in this area,
    I am sure I am missing something, but what?
    Any help would be very appreciated, as usual...
    Florin

    Problem solved.
    I got rid of the form tag (and "action", obviously); instead, I created a JavaScript function used for onClick event of the submit button. Inside this function, I captured the values (using getElementById method) of the input and select field and, using these values, I created the URL for my FLEX application (used with location.href property), and BAM! Everything works like a charm... I am even able to use the Back button to exit the FLEX app and return to the selection screen.
    Now my question is, why does it work??? No complaints at all, just curiosity... I didn't use External Interface class, no exposed ActionScript functions prior calling frm JavaScript, no fancy stuff all sites I saw talking about...
    Grizz..., I have a feeling that what you described above is a simpler and more advanced way to do about the same thing I did; am I right?
    Thanks,
    Florin

  • Printing Excel Instance from InfoView using Excel 2003

    Hi
    I have problem with printing Excel instance within InfoView. We are using Active X as viewer - but when user schedules report in Excel and when it opens that instance - it opens in Web Excel viewer within InfoView. At that point there is no standard menu if user uses Office 2003 or actually Excel 2003 on its own machine so user cannot print instance. Can anybody help with this. If you try to open instance on machine that has Office 2007 there are no problems since instance gets open in full Excel.
    Thanks

    What version of Crystal Reports are you using?  Any service packs or hot fixes installed?
    Can you open other xls files with 2007?  
    Have you ever exported to excel before?
    I export to -excel (97-2003) data only- and open the files with Excel 2007 with no problems. Excel 2007 complains about the old format (xls) and wants to convert it to the new excel format. I alsways ignor it.
    Maybe the 'garbage' you are seeing is because the layout of your crystal report is not working for the export. Is all the data there but you have extra cells and/or lines, or the data is pushed to the left? I find that I must have the fields packed tightly with no space between them and no space above or below the fields, or I get extra cells between and lines above or below them.
    Most of my exports are detail lines with a single line header and columns are set to match the detail line. When exporting multiple lines where the fields do not line up exactly with the ones above them, I may use one or more empty text fields that matches the size of the fields above them to fill the empty space. Sort of like:
    line 1:{field1.}{field2...}{field 3}
    line 2:(text...}{text.....}{field 4)
    And you may need to turn off 'can grow' on all fields as they may cause miss-alignment. All the data will be there when you export it, even what you can not see in Crystal. You will just need to format the cells in Excel to see it.
    Debi  (hi Don)

  • Problems while migrating PDK applications from Portal 7.1 to Portal 7.3

    Hi All,
    I am facing a problem while migrating a PDK application from Portal 7.1 to Portal 7.3.
    Since Portal 7.3 doesnt support PAR files any more it provided with a tool to convert the PAR to an EAR file and deploy the resultant EAR to the new portal.
    I converted the PAR into EAR and deployed the file but the application is not executing. When I looked into the log files i found the following exception. The application is not able to identify the tag "documentBody". I checked the protalapp.xml and the "SharingReference" is properly maintained in the file but the error message suggests that its not able to fine the reference to the tagLib uri maintained in the portalapp.xml
    Now my question is why is it not able to obtain a reference to the taglib? Did any one face similar problem previously. Can you please provide me with any document for migrating / developing PDK application for Portal 7.3
    Parser [PRT] - JspParseException is thrown while parsing JSP file </SAP/sap/POD/J00/j2ee/cluster/apps/TestOrg.co.uk/TestOrg~cas~ptlsvc/servlet_jsp/CASPortalService/root/WEB-INF/pagelet/CASFramework.jsp> :
    com.sap.engine.services.servlets_jsp.jspparser_api.exception.JspParseException: Cannot parse custom tag with short name [documentBody].
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.customTagAction(JspElement.java:969)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.action(JspElement.java:228)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:59)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.customTagAction(JspElement.java:994)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.action(JspElement.java:228)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:59)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.customTagAction(JspElement.java:994)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.JspElement.action(JspElement.java:228)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:59)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.syntax.ElementCollection.action(ElementCollection.java:69)
    at com.sap.engine.services.servlets_jsp.jspparser_api.jspparser.GenerateJavaFile.generateJavaFile(GenerateJavaFile.java:72)
    at com.sap.engine.services.servlets_jsp.server.jsp.JSPProcessor.parse(JSPProcessor.java:272)
    at com.sap.engine.services.servlets_jsp.server.jsp.JSPProcessor.generateJavaFile(JSPProcessor.java:196)
    at com.sap.engine.services.servlets_jsp.server.jsp.JSPProcessor.parse(JSPProcessor.java:128)
    at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.getClassName(JSPChecker.java:377)
    at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.compileAndGetClassName(JSPChecker.java:306)
    at com.sap.engine.services.servlets_jsp.jspparser_api.JSPChecker.getClassNameForProduction(JSPChecker.java:236)
    Thanks in advance
    PK

    Hi Amit,
    Thanks for your reply. I could see some progress after "thoroughly" going through those links. Thanks a lot (gave points too )
    Now I am facing another problem. The application did deploy successfully but with a warning. When i checked the warning it says that the deployment was successful but can not be started.
    The log file has the following error message.
    Global [startApp] operation of application [newsint.co.uk/newsint~cas~ptlsvc] finished with errors for [5] ms on server process [2721950] [
    >>> Errors <<<
    1). com.sap.engine.services.deploy.exceptions.ServerDeploymentException: Application newsint.co.uk/newsint~cas~ptlsvc cannot be started. Reason: it has hard reference to the following resources, which are currently not available on the system: hard to SAPPORTAL/com.sapportals.htmlb (public) (f=true, cl=false); .
    In order to start the application, components that provide the missing resources should be successfully deployed.
    at com.sap.engine.services.deploy.server.ReferenceResolver.isResolved(ReferenceResolver.java:137)
    at com.sap.engine.services.deploy.server.LifecycleController.startReferencedComponents(LifecycleController.java:173)
    at com.sap.engine.services.deploy.server.application.StartTransaction.beginCommon(StartTransaction.java:200)
    at com.sap.engine.services.deploy.server.application.StartTransaction.begin(StartTransaction.java:166)
    at com.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:421)
    at com.sap.engine.services.deploy.server.application.ParallelAdapter.makeAllPhases(ParallelAdapter.java:465)
    at com.sap.engine.services.deploy.server.application.StartTransaction.makeAllPhases(StartTransaction.java:605)
    at com.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:1828)
    I dont understand why is SAPPORTAL/com.sapportals.htmlb is not available. As per my understanding it is some thing that should be available with the portal server by default.
    Any hints from any one?
    thanks in advance
    PK

  • Calling java application from servlet using servletexec servlets

    We are using servletexec 3.0,IIS 5.0, sun Java SDK 1.3.1_12.
    I have a servlet which works fine. This servlet is being called from the submit of the form in a html file.
    It works fine.
    But now i have to use a third party credit card application from my servlet.How can i do that.
    I have added the third party jar files in the classpath of servletexec.
    How can i use their methods.
    Please let me know.

    Something like this ?
    import thirdparty.*;
    import javax.servlet.http.*;
    public class MyServlet extends HttpServlet {
      public void doGet(HttpServletRequest request, HttpServletResponse response) {
        ThirdPartyClass t = new ThirdPartyClass();
        t.someMethod();
    }

  • How to execute Excel Marco from SAP using Office Integration Classes

    Is there a way to trigger Excel Macro from SAP? I tried using method CALL METHOD document->execute_macro
    of i_oi_document_proxy  but it does not work.
    Thanks
    Vivek

    Try this:
    If you are using OLE to populate the Excel Sheet then, then yes you can run a macro.
      CALL METHOD OF OBJ_EX_APP 'Run'
           EXPORTING #1 = MACROSTR.
    Adding a Field Exit
    To add a field exit first find the data element that is linked to the screen field- the screen number and program
    Run program RSMODPRF. You will need to create two function modules one FIELD_EXIT_MEPO_VENDOR and
    FIELD_EXIT_MEPO_VENDOR_A
    FIELD_EXIT_MEPO_VENDOR should have code simply of input = ouput.
    FIELD_EXIT_MEPO_VENDOR_A should have the code for whatever the functionality is required
    Go back to RSMODPRF and run the program without parameters. Use the push buttons to assign the screen, 'A' and program. Use the drop down to activate the field list.
    This should now work, but there is no way of debugging. For further information look at OSS 29377
    program zzdirlist.
    for AIX this method also works.
    DATA: BEGIN OF TABL OCCURS 0,
          TEXT(80) TYPE C,
          END OF TABL.
    DATA: COMMAND(256) TYPE C.
    COMMAND = 'ls'.
    CALL FUNCTION 'RFC_REMOTE_PIPE' DESTINATION 'SERVER_EXEC'
    EXPORTING COMMAND = COMMAND
    READ = 'X'
    TABLES PIPEDATA = TABL.
    LOOP AT TABL.
       WRITE:/ TABL-text.
    ENDLOOP.

  • Calling a Console Application from SSIS (using ProcessTask)

    Hi,
    I have an SSIS Package which calls a Console Application(which is used as a wrapper to call a Web Service).
    If there is an error calling the Web Service e.g. creating or updating a record failed, I want to return the error details to SSIS.
    How can I return the error details from the Console Application to SSIS and read these in SSIS so I can log the details?
    Thanks,
    C.
    CG

    Hello,
    Console apps support only
    Environment.ExitCode Property as feedback,
    you can not pass additional informations back to the caller. Why don't you implement it as a Script Task or as an assembly and use this in a Script Task?
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

Maybe you are looking for