Bapi wrapper- MODIFY Wrapper For SyncBo

Modify Wrapper :ZGET_AM_P2P For SyncBO
I have read the requirement :
-replace entire item data with entries of table parameters
pls tell me the code will work or not if i put in syncBo
someone pls help me.....
FUNCTION ZGET_AM_P2P.
""Local interface:
*"  IMPORTING
*"     VALUE(V_ANLN) LIKE  ANLA-ANLN1 OPTIONAL
*"     VALUE(V_STORT) LIKE  ANLZ-STORT OPTIONAL
*"  EXPORTING
*"     VALUE(V_MSG) TYPE  STRING
  TABLES : anla, anlz, anlh.
  DATA : v_date LIKE sy-datum,
         var1 like  BALM-MSGV1,
         var2 like  BALM-MSGV2.
  refresh : bdcdata, messtab.
  clear : bdcdata, messtab, v_msg, v_date.
  SELECT SINGLE * FROM anla WHERE anln1 = v_anln
                              AND bukrs = '1000'.
  SELECT SINGLE * FROM anlz WHERE anln1 = v_anln
                              AND bukrs = '1000'.
  SELECT SINGLE * FROM anlh WHERE anln1 = v_anln
                              AND bukrs = '1000'.
  CONCATENATE   anla-aktiv6(02)  anla-aktiv4(02) anla-aktiv(04) INTO v_date.
  CALL FUNCTION 'ZBAPI_AM_P2P'
   EXPORTING
     V_ANLN          = ANLA-ANLN1
     V_STORT         = v_STORT
     V_TXT50         = ANLA-TXT50
     V_ANLHTXT       = ANLH-ANLHTXT
     V_KOSTL         = ANLZ-KOSTL
     V_WERKS         = ANLZ-WERKS
     V_DATE          = v_date
   IMPORTING
     V_MSG           = v_msg
ENDFUNCTION.
FUNCTION zbapi_am_p2p.
""Local interface:
*"  IMPORTING
*"     VALUE(V_ANLN) LIKE  ANLA-ANLN1 OPTIONAL
*"     VALUE(V_STORT) LIKE  ANLZ-STORT OPTIONAL
*"     VALUE(V_TXT50) LIKE  ANLA-TXT50 OPTIONAL
*"     VALUE(V_ANLHTXT) LIKE  ANLH-ANLHTXT OPTIONAL
*"     VALUE(V_KOSTL) LIKE  ANLZ-KOSTL OPTIONAL
*"     VALUE(V_WERKS) LIKE  ANLZ-WERKS OPTIONAL
*"     VALUE(V_DATE) LIKE  SY-DATUM OPTIONAL
*"  EXPORTING
*"     VALUE(V_MSG) TYPE  STRING
  DATA :  var1 LIKE  balm-msgv1,
          var2 LIKE  balm-msgv2.
  PERFORM open_group.
  PERFORM bdc_dynpro      USING 'SAPLAIST' '0100'.
  PERFORM bdc_field       USING 'BDC_OKCODE' '=MAST'.
  PERFORM bdc_field       USING 'ANLA-ANLN1' v_anln.
  PERFORM bdc_field       USING 'ANLA-ANLN2' '0'.
  PERFORM bdc_field       USING 'ANLA-BUKRS' '1000'.
  PERFORM bdc_dynpro      USING 'SAPLAIST' '1000'.
  PERFORM bdc_field       USING 'BDC_OKCODE' '=TAB02'.
  PERFORM bdc_field       USING 'ANLA-TXT50' v_txt50.
  PERFORM bdc_field       USING 'ANLH-ANLHTXT' v_anlhtxt.
  PERFORM bdc_field       USING 'ANLA-AKTIV' v_date.
  PERFORM bdc_dynpro      USING 'SAPLAIST' '1000'.
  PERFORM bdc_field       USING 'BDC_OKCODE' '=BUCH'.
  PERFORM bdc_field       USING 'ANLZ-KOSTL' v_kostl.
  PERFORM bdc_field       USING 'ANLZ-WERKS' v_werks.
  PERFORM bdc_field       USING 'ANLZ-STORT' v_stort.
  PERFORM bdc_dynpro      USING 'SAPLAIST' '3020'.
  PERFORM bdc_field       USING 'BDC_OKCODE' '=YES'.
  CALL TRANSACTION 'AS02' USING bdcdata MODE 'N'
                                        UPDATE 'S'
                                        MESSAGES INTO messtab.
  PERFORM close_group.
  READ TABLE messtab INDEX 1.
  MOVE messtab-msgv1 TO var1.
  MOVE messtab-msgv2 TO var2.
  CLEAR v_msg.
  CALL FUNCTION 'MESSAGE_PREPARE'
       EXPORTING
           language               = 'E'
            msg_id                 = messtab-msgid
            msg_no                 = messtab-msgnr
            msg_var1               = var1
            msg_var2               = var2
        MSG_VAR3               = ' '
        MSG_VAR4               = ' '
      IMPORTING
           msg_text               = v_msg
       EXCEPTIONS
            function_not_completed = 1
            message_not_found      = 2
            OTHERS                 = 3.
ENDFUNCTION.
Message was edited by:
        yzme yzme

Hi Saptak,
Good to see that you had gone through earlier posts & SAP notes.
Record not on device errors occurs when a mobile user tries to modify a record which currently doesn't belongs to him anymore. Since you have an S01 syncBO, the object he is trying to modify now is deleted from MI. ( This doesn't mean the object is deleted from backend. Basically the Getlist bapi is now not returning this object)
This occurs only if the sync mode is "async". There is nothing to be worried about. This is just an expected behaviour. If you feel the update is important and needs to be sent to the backend, set the parameter REPROCESS_ON_NO_DATA to 'X' and reprocess the worklist.
When you reprocess, the Getdetail bapi will be called and the user changes are merged to the latest backend data. No conflict check done and hence there is a chance of backend changes getting overwritten. If the particular record is only updated by mobile user, then there is nothing to worry..
Let me know if you need more clarifications...
Regards
Ajith

Similar Messages

  • Bapi Wrapper-Modify Wrapper

    Modify Wrapper :ZGET_AM_P2P
    I have read the requirement :
    -replace entire item data with entries of table parameters
    pls tell me the code will work or not if i put in syncBo
    FUNCTION ZGET_AM_P2P.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(V_ANLN) LIKE  ANLA-ANLN1 OPTIONAL
    *"     VALUE(V_STORT) LIKE  ANLZ-STORT OPTIONAL
    *"  EXPORTING
    *"     VALUE(V_MSG) TYPE  STRING
      TABLES : anla, anlz, anlh.
      DATA : v_date LIKE sy-datum,
             var1 like  BALM-MSGV1,
             var2 like  BALM-MSGV2.
      refresh : bdcdata, messtab.
      clear : bdcdata, messtab, v_msg, v_date.
      SELECT SINGLE * FROM anla WHERE anln1 = v_anln
                                  AND bukrs = '1000'.
      SELECT SINGLE * FROM anlz WHERE anln1 = v_anln
                                  AND bukrs = '1000'.
      SELECT SINGLE * FROM anlh WHERE anln1 = v_anln
                                  AND bukrs = '1000'.
      CONCATENATE   anla-aktiv6(02)  anla-aktiv4(02) anla-aktiv(04) INTO v_date.
      CALL FUNCTION 'ZBAPI_AM_P2P'
       EXPORTING
         V_ANLN          = ANLA-ANLN1
         V_STORT         = v_STORT
         V_TXT50         = ANLA-TXT50
         V_ANLHTXT       = ANLH-ANLHTXT
         V_KOSTL         = ANLZ-KOSTL
         V_WERKS         = ANLZ-WERKS
         V_DATE          = v_date
       IMPORTING
         V_MSG           = v_msg
    ENDFUNCTION.
    FUNCTION zbapi_am_p2p.
    ""Local interface:
    *"  IMPORTING
    *"     VALUE(V_ANLN) LIKE  ANLA-ANLN1 OPTIONAL
    *"     VALUE(V_STORT) LIKE  ANLZ-STORT OPTIONAL
    *"     VALUE(V_TXT50) LIKE  ANLA-TXT50 OPTIONAL
    *"     VALUE(V_ANLHTXT) LIKE  ANLH-ANLHTXT OPTIONAL
    *"     VALUE(V_KOSTL) LIKE  ANLZ-KOSTL OPTIONAL
    *"     VALUE(V_WERKS) LIKE  ANLZ-WERKS OPTIONAL
    *"     VALUE(V_DATE) LIKE  SY-DATUM OPTIONAL
    *"  EXPORTING
    *"     VALUE(V_MSG) TYPE  STRING
      DATA :  var1 LIKE  balm-msgv1,
              var2 LIKE  balm-msgv2.
      PERFORM open_group.
      PERFORM bdc_dynpro      USING 'SAPLAIST' '0100'.
      PERFORM bdc_field       USING 'BDC_OKCODE' '=MAST'.
      PERFORM bdc_field       USING 'ANLA-ANLN1' v_anln.
      PERFORM bdc_field       USING 'ANLA-ANLN2' '0'.
      PERFORM bdc_field       USING 'ANLA-BUKRS' '1000'.
      PERFORM bdc_dynpro      USING 'SAPLAIST' '1000'.
      PERFORM bdc_field       USING 'BDC_OKCODE' '=TAB02'.
      PERFORM bdc_field       USING 'ANLA-TXT50' v_txt50.
      PERFORM bdc_field       USING 'ANLH-ANLHTXT' v_anlhtxt.
      PERFORM bdc_field       USING 'ANLA-AKTIV' v_date.
      PERFORM bdc_dynpro      USING 'SAPLAIST' '1000'.
      PERFORM bdc_field       USING 'BDC_OKCODE' '=BUCH'.
      PERFORM bdc_field       USING 'ANLZ-KOSTL' v_kostl.
      PERFORM bdc_field       USING 'ANLZ-WERKS' v_werks.
      PERFORM bdc_field       USING 'ANLZ-STORT' v_stort.
      PERFORM bdc_dynpro      USING 'SAPLAIST' '3020'.
      PERFORM bdc_field       USING 'BDC_OKCODE' '=YES'.
      CALL TRANSACTION 'AS02' USING bdcdata MODE 'N'
                                            UPDATE 'S'
                                            MESSAGES INTO messtab.
      PERFORM close_group.
      READ TABLE messtab INDEX 1.
      MOVE messtab-msgv1 TO var1.
      MOVE messtab-msgv2 TO var2.
      CLEAR v_msg.
      CALL FUNCTION 'MESSAGE_PREPARE'
           EXPORTING
               language               = 'E'
                msg_id                 = messtab-msgid
                msg_no                 = messtab-msgnr
                msg_var1               = var1
                msg_var2               = var2
            MSG_VAR3               = ' '
            MSG_VAR4               = ' '
          IMPORTING
               msg_text               = v_msg
           EXCEPTIONS
                function_not_completed = 1
                message_not_found      = 2
                OTHERS                 = 3.
    ENDFUNCTION.

    Hi Yzme.
    This is not the Mobile Forum where you can ask questions abaout SyncBo.
    Please post it here:
    SAP for Mobile
    Cheers,
    Sascha

  • How to see the wrapper classes generated for CMP 2.1 in jdeveloper10g

    I have developed CMP entity bean (2.1) using jdeveloper wizard. I want to see the wrapper class generated for the bean. How can I do that in jdeveloper 10g.

    No you got me wrong. I wan't to see the actual implementated classes (extended from the generated bean) by the container. ie the ones that actually run in the container.
    rgds,
    Jatin

  • BAPI or USER EXIT for MIRO: Change PO reference amount (on-line)

    Hi, I need to find a BAPI or USER EXIT for TX MIRO to change/modify the PO reference amount for the selected positions (using the given checkbox) just after selecting them (when pressing ENTER). Any ideas? Thanks.

    Hello Suman,
    Please follow this steps to get the list of Userexits for the TCODE MIRO read there short description to get the appropriate EXIT.
    Steps.
    1. Goto the Tcode
    2. System-> Status.
    3. Copy the program name, find the package for the program.
    4. Go to SMOD (tccode)  press F4 -> Click on "Information System" Push Button->
       Enter the Package name-> and press the enter button.
    5. Now you get the list of Userexits. Need to select one by looking into its short    description.
    Hope this solves your issue,
    Cheers,
    Suvendu

  • Need a BAPI to modify sales document (Inquiry) header conditions

    I need a bapi to modify header conditions on an Inquiry sales document.  BAPI_CUSTOMERINQUIRY_CHANGE has the appropriate condition and conditionx tables. However, according to the documentation: "Although the BAPI interface is supplied for the condition to be changed, the system does not return the required result and/or the pricing result is inconsistent. Currently, the change of condition lines in existing documents via the BAPIs provided by SAP is not implemented."
    Thanks
    Leo

    Vinod
    Thanks. I tried that bapi yesterday but, as you say, it's difficult to implement. I haven't been able to get it to work yet.
    Leo

  • Error while raising modify request for AD resource

    Hi,
    Getting below error in log, while raising modify request for AD resource, UI shows error while retrieving resource entity details.
    <Oct 19, 2011 2:15:45 AM CDT> <Error> <oracle.iam.requesttemplate.agentry.operations> <BEA-000000> <The "itresource-type" property is missing for attribute reference AD Remote Manager ITResource, which is of type itresource-lookup.>
    I verified the datasets for AD Remote Manager ITResource, comparing with our other environments. It is proper and we are not using AD Remote Manager ITResource anywhere.
    <AttributeReference name="AD Remote Manager ITResource" attr-ref="AD Remote Manager ITResource" type="Long" length="10" widget="itresource-lookup" required="false" available-in-bulk="true"/>
    Please let me know how to resolve this issue.
    Thanks in Advance.
    Edited by: 856226 on Oct 19, 2011 4:55 AM

    Hi,
    I think you should post this in an other forum, somewher in the Fusion stack, maybe Identy Management. This forums is ment for the Oracle database. So please post in a forum underneath https://forums.oracle.com/forums/category.jspa?categoryID=13&start=0
    Herald ten Dam
    http://htendam.wordpress.com

  • Which BAPI meets my req. for creation of Pur Order - PO??

    Hi Experts,
    User enters a Sales Order on the selection screen, say Order_1.
    So, my requirement is to create the Purchase Order - PO, by pulling the data of Order_1.
    1 - I need to focus the to populate the Order Customer # into PO's HEADER TEXT
    2 - After pulling the Order line items, I need to do small manipulation to them & then, I need to create them as line items of creating PO.
    So, pls. let me know that, Which BAPI is good/correct for me to create a PO.
    I did F4 in SE37 for PO , but found amny!!
    thanq

    Hi,
    You can take help of this code.
    DATA : po_header LIKE bapiekkoc,
           po_items LIKE bapiekpoc OCCURS 0 WITH HEADER LINE,
           po_item_schedules like bapieket occurs 0 with header line,
           wa_po_add_header TYPE bapiekkoa,
           return LIKE bapireturn OCCURS 0 WITH HEADER LINE,
           pno like bapiekko-po_number.
    *POPULATE ITEM DATA.
    CLEAR po_items.
    REFRESH po_items.
    po_items-po_item = '00010'.
    po_items-material = '0000000000000G0001'.
    po_items-pur_mat = 'G0001'.
    po_items-short_text = 'PO created by HIRAL'.
    po_items-net_price = '10'.
    po_items-plant = '0001'.
    *po_items-ACCTASSCAT = ' '.
    po_items-unit = 'EA'.
    APPEND po_items.
    *POPULATE SCHEDULES DATA
    clear po_item_schedules.
    refresh po_item_schedules.
    po_item_schedules-po_item = '00010'.
    po_item_schedules-deliv_date = sy-datum.
    po_item_schedules-quantity = '100'.
    append po_item_schedules.
    *POPULATE HEADER DATA
    po_header-DOC_DATE = SY-DATUM .
    po_header-purch_org = '0001' .
    po_header-pur_group = '001' .
    po_header-vendor = 'ABCD' .
    po_header-doc_type = 'NB'.
    po_header-co_code = '0001'.
    po_header-doc_cat = 'F'.
    po_header-created_by = sy-uname.
    po_header-langu = 'E'.
    po_header-langu_iso = 'EN'.
    CALL FUNCTION 'BAPI_PO_CREATE'
      EXPORTING
        po_header                        = po_header
        PO_HEADER_ADD_DATA               = wa_po_add_header
    *   HEADER_ADD_DATA_RELEVANT         = '1'
    *   PO_ADDRESS                       =
    *   SKIP_ITEMS_WITH_ERROR            = 'X'
    *   ITEM_ADD_DATA_RELEVANT           = '1'
    *   HEADER_TECH_FIELDS               =
    IMPORTING
       PURCHASEORDER                     = pno
       tables
        po_items                         = po_items
    *   PO_ITEM_ADD_DATA                 =
        po_item_schedules                = po_item_schedules
    *    PO_ITEM_ACCOUNT_ASSIGNMENT       =
    *   PO_ITEM_TEXT                     =
       RETURN                            = return
    *   PO_LIMITS                        =
    *   PO_CONTRACT_LIMITS               =                                                                                "
    *   PO_SERVICES                      =                                                                                !                               !
    *   PO_SRV_ACCASS_VALUES             =
    *   PO_SERVICES_TEXT                 =
    *   PO_BUSINESS_PARTNER              =
    *   EXTENSIONIN                      =
    *   POADDRDELIVERY                   =
    LOOP AT return.
        WRITE:/ pno, return-message.
    ENDLOOP.
    Hope this helps to solve your problem.
    Plz reward if useful.
    Thanks,
    Dhanashri.

  • Getting error while raising modify request for AD resource in OIM11g

    Hi,
    Getting below error in log, while raising modify request for AD resource, UI shows error while retrieving resource entity details.
    <Oct 19, 2011 2:15:45 AM CDT> <Error> <oracle.iam.requesttemplate.agentry.operations> <BEA-000000> <The "itresource-type" property is missing for attribute reference AD Remote Manager ITResource, which is of type itresource-lookup.>
    I verified the datasets for AD Remote Manager ITResource, comparing with our other environments. It is proper and we are not using AD Remote Manager ITResource anywhere.
    <AttributeReference name="AD Remote Manager ITResource" attr-ref="AD Remote Manager ITResource" type="Long" length="10" widget="itresource-lookup" required="false" available-in-bulk="true"/>
    Please let me know how to resolve this issue.
    Thanks in Advance

    Hi,
    I think you should post this in an other forum, somewher in the Fusion stack, maybe Identy Management. This forums is ment for the Oracle database. So please post in a forum underneath https://forums.oracle.com/forums/category.jspa?categoryID=13&start=0
    Herald ten Dam
    http://htendam.wordpress.com

  • Need BAPI or custom report for the Vendor partial clearing like in F-44

    Hi exports,
    My requirement is for creating a Z-Report for Vendor partial clearing  like it happening in t-code F-44.
    But I didn't find any BAPI or any report for doing partial vendor clearing inside my report.
    Kindly suggest me any BAPI or  some code such that I can able to clear those open items from my report.
    Or suggest me any process such that i can achieve this.
    Thanking you
    Pravasini

    Hi, Sagar:
    Nice to see your thread here
    No matter what kind of transactions you are using, finally, there will be a document posted in General Ledger Accounting, which is what you want. So to read the result, you can always try function module, like FI_DOCUMENT_READ.
    Hope it will help.
    Best Regards, Lawrence

  • BAPI or Function Module for getting Pending Purchase Orders Information

    Dear Sir,
    We have input information comprising of  :
    List of Item Codes
    Plant
    WBS Element
    For this input data set , We want to know the list of Pending Purchase Orders information . To get the desired information , we are looking for the suitable  BAPI / Function Module which can provide the desired information .
    I understand that there is ME2L tcode availavle which can give the desired information .
    But as we need to use the information in one of our Z program , so we need the  BAPI / Function Module  .
    Kindly help us to know the suitable  BAPI / Function Module  available for getting the desired information .
    With Thanks and Rgds
    Sonia Agarwal

    Hi
    Check if this is helpfull:
    BAPI_PO_GETDETAIL
    BAPI_PO_GETDETAIL1
    regards,

  • Standard BAPI or Function Module for FB01posting

    Hi Experts,
    My requirement is as follows.
    Invoice details would be sent across from Middleware to SAP and for which I have developed a Custom Remote Enabled Function Module. The Function Module needs to post the data using FB01 Transaction.
    I had planned for recording a BDC for FB01 and post the data, however, we are on the verge of getting upgraded from 4.7 to ECC 6.0. To avoid problems that we might face for change of screens in ECC 6.0, I would prefer using a BAPI or Function Module for FB01 posting, if available, instead of BDC.
    Data coming from Middleware are as follows.
    HEADER:
    BKPF-BLDAT :  Document Date
    BKPF-BUDAT : Posting Date
    BKPF-XBLNR: Reference (Invoice#)
    BKPF-BLART : Document Type
    BKPF-BUKRS : Company Code
    BKPF-BKTXT : DocHeader Text
    BKPF-WAERS : Currency
    LINE ITEM:
    BSEG-LIFNR : Vendor no
    BSEG-WRBTR - Total amt -Debit/Credit -Vendor
    BSEG-ZUONR : Assignment field
    BSEG-EMPFB : Alternative Payee
    BSEG-UZAWE : Payment Method Supplement
    BSEG-ZTERM : Pmt terms
    BSEG-KOSTL : Costcenter
    BSEG-HKONT : GL AccountNumber
    BSEG-WRBTR : Amount for GL
    BSEG-SGTXT : Line item text
    The Vendor Line Item would be one where as GL line items could me more than one.
    Can any of you suggest me a standard BAPI or Func Mod?
    Points will be awarded for valuable inputs.
    Thanks to all!!!!

    You can use RFBIBL00 program for FB01 postings. Go through the program help on how to use this program.
    This program requires a file to be on application server in a certain format.
    You may also refer the program RFBIBLT0 on how the file format should be.
    Hope this helps.
    Thanks,
    SKJ

  • Bapi or function module for Tcode F-54

    Hi,
    I need Bapi or Function moudle for tcode F-54. I am developing interfaces. I have to clear the the advance amount against an invoice.
    Regards,
    Dhanunjaya Reddy.

    Hi,
    Check the below userexits
    F050S001            FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
    F050S002            FIDCC1: Change IDoc/do not send
    F050S003            FIDCC2: Change IDoc/do not send
    F050S004            FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
    F050S005            FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
    F050S006            FI Outgoing IDoc: Reset Clearing in FI Document
    F050S007            FIDCCH Outbound: Influence on IDoc for Document Change
    F180A001            Balance Sheet Adjustment
    FARC0002            Additional Checks for Archiving MM Vendor Master Data
    FEDI0001            Function Exits for EDI in FI
    RFAVIS01            Customer Exit for Changing Payment Advice Segment Text
    RFEPOS00            Line item display: Checking of selection conditions
    RFKORIEX            Automatic correspondence
    SAPLF051            Workflow for FI (pre-capture, release for payment)

  • Storing the last modified date for files in a HashMap

    This method gets a list of all the .java files in the source subdirectory, gets the last modified date for them and stores the file name and last modified date in a HashMap.
    import java.util.HashMap;
    import java.io.FilenameFilter;
    import java.io.File;
    import java.util.ArrayList;
    public class myClass
         public static void main(String[] args)
              HashMap result = getLastModified();
         static FilenameFilter javaFilter = new FilenameFilter()
            public boolean accept(File dir, String name)
                return name.endsWith(".java");
         public HashMap getLastModified()
              HashMap lastModified = new HashMap();
              ArrayList javaFiles = new ArrayList();
              File sourceDir = new File(".\\Source");
              File currentFile;
              long lLastModified;
              //get a list of all the .java files in the source directory
              javaFiles=listFiles(javaFilter);
              //for all .java files get and store the last modified date
              for(int i=0; i<javaFiles.size(); i++)
                   currentFile=(File)javaFiles.get(i);
                   lLastModified=currentFile.lastModified();
                   lastModified.put(currentFile, lLastModified);
              return lastModified;
    }The problems I am getting are:
    >
    The method listFiles(FilenameFilter) is undefined for the type myClass
    and
    >
    The method put(Object, Object) in the type HashMap is not applicable for the arguments (File, long)
    can anyone help? What's the best way to go aobut this?

    Thanks for the replies abenstex I modified it so that javaFiles is now a File[] and made the change you suggested but I still have the second problem, here's the code so far:
    import java.util.HashMap;
    import java.io.FilenameFilter;
    import java.io.File;
    import java.util.ArrayList;
    public class myClass
         public static void main(String[] args)
              HashMap result = getLastModified();
         static FilenameFilter javaFilter = new FilenameFilter()
            public boolean accept(File dir, String name)
                return name.endsWith(".java");
         public HashMap getLastModified()
              HashMap lastModified = new HashMap();
              File[] javaFiles = {};
              File sourceDir = new File(".\\Source");
              File currentFile;
              long lLastModified;
              //get a list of all the .java files in the source directory
              javaFiles=sourceDir.listFiles(javaFilter);
              //for all .java files get and store the last modified date
              for(int i=0; i<javaFiles.length; i++)
                   currentFile=(File)javaFiles;
                   lLastModified=currentFile.lastModified();
                   lastModified.put(currentFile, lLastModified);
              return lastModified;

  • How to modify capabilities for the ethernet interfaces in a Solaris 10 x86

    Hello.
    Does anybody know how to configure the ethernet capabilities in a interface in a X86 server? I have read that NDD command is not supported for this kind of servers and I cannot find how to do that.
    My root problem is that the IPMP is not working and my first clue is the configuration for cap_pause parameter in the involved interfaces, that they are active for both IPMP interfaces.
    How can I modify cap_pause for the interfaces in this server: X4170 with Solaris 10.
    Thanks in advance
    Regards,
    Luis.

    Not familiar with the X4170 but you might want to look for a config file in /kernel/drv that matches your interface. There are some configuration parameters you can set there if the device driver supports the .conf file.

  • Bapi Or Function Module for Updating a table

    Can u Plz let me know , is there any bapi or function module to update few fields of a standard table using an internable.

    Hi Shiva Kumar Tirumalasetty ,
         There is no FM / BAPI to update directly to any SAP tables . SAP won't suggests to develop a FM/BAPI like that , as it will cause some data inconsistency problem .
    We have to search and find BAPI's/ FM's for requirement specific if not exists then need to think about the alternate options (LSMW/ BDC etc..)
    Hope this answers your question.
    Thanks,
    Greetson

Maybe you are looking for