BDC or LSMW program for AS91 transaction

HI gurus,
i need a BDC or lsmw program for tran:AS91 ie.create legacy data for two inter company data transfer.can anyone please help me bkz it's very urgent for me...
i promise that if i get the ans i reward u.

Hi,
Use Function Module:MAINTENANCE_PLAN_POST

Similar Messages

  • BDC or BAPI program For IP01

    Hi
    I am trying to create a upload program for Maintenance plan using IP01.
    If you have a BDC or BAPI program for this, please provide me same.
    Regards,
    Veera

    Hi,
    Use Function Module:MAINTENANCE_PLAN_POST

  • Program for call transaction method

    can any body  help  me , how to write a  call transaction method . how to create error logs for call transaction method

    hi
    REPORT  ZCALL.
    TYPES : BEGIN OF itab,
    lifnr TYPE rf02k-lifnr,
    ktokk TYPE rf02k-ktokk,
    END OF itab.
    DATA : i_tab TYPE TABLE OF itab INITIAL SIZE 0,
    wa_tab TYPE itab.
    DATA : i_bdc TYPE TABLE OF bdcdata INITIAL SIZE 0,
    wa_bdc TYPE bdcdata.
    DATA : i_message LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE,
    wa_message TYPE bdcmsgcoll.
    DATA : fname TYPE string VALUE 'd:\manish.txt'.
    DATA: p_text(100) TYPE c.
    START-OF-SELECTION.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = fname
    filetype = 'ASC'
    has_field_separator = 'X'
    TABLES
    data_tab = i_tab.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    LOOP AT i_tab INTO wa_tab.
    PERFORM bdc_dynpro USING 'SAPMF02K' '0100'.
    PERFORM bdc_field USING 'RF02K-LIFNR' wa_tab-lifnr.
    PERFORM bdc_field USING 'RF02K-KTOKK' wa_tab-ktokk.
    PERFORM bdc_field USING 'BDC_OKCODE' '= AUSW'.
    CALL TRANSACTION 'XK01' USING i_bdc MODE 'N'. " UPDATE 'S' MESSAGES
    "INTO i_message.
    REFRESH i_bdc.
    ENDLOOP.
    IF sy-subrc NE 0.
    READ TABLE i_message WITH KEY msgtyp = 'E'.
    IF sy-subrc = 0.
    LOOP AT i_message INTO wa_message.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
    id = i_message-msgid
    lang = 'EN'
    no = i_message-msgnr
    v1 = i_message-msgv1
    v2 = i_message-msgv2
    v3 = i_message-msgv3
    v4 = i_message-msgv4
    IMPORTING
    msg = p_text
    EXCEPTIONS
    not_found = 1
    OTHERS = 2.
    WRITE:/ p_text.
    ENDLOOP.
    ENDIF.
    ENDIF.
    *& Form bdc_dynpro
    text
    -->PROGRAM text
    -->DYNPRO text
    FORM bdc_dynpro USING program dynpro.
    CLEAR wa_bdc.
    wa_bdc-program = program.
    wa_bdc-dynpro = dynpro.
    wa_bdc-dynbegin = 'X'.
    APPEND wa_bdc TO i_bdc.
    ENDFORM. "bdc_dynpro
    *& Form bdc_field
    text
    -->FNAM text
    -->FVAL text
    reward if u find useful
    regards
    Nagesh.Paruchuri

  • Programs for a transaction variant

    Hi all,
    Can anyone please tell me in which table  does program of a transaction variant stored .
    Rgds,
    Rajashree

    Hi,
    You can use transaction variants to assign default values to the input fields on several screens in a transaction, to change the attributes of screen elements, and to hide entire screens. Maintenance and administration using the transaction code SHD0.
    all the transaction codes are stored in TSTC table.
    please check out the link below it will help you
    http://help.sap.com/saphelp_webas620/helpdata/en/eb/5fab41d79b11d296190000e82de14a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/7d/f63a0a015111d396480000e82de14a/content.htm
    SHDFV -
    Transaction variants: Field contents
    SHDTT -
    Transaction variants: Texts
    SHDTV -
    Transaction variants
    FOR MORE INFORMATION ON TABLE PLEASE CHEKC THE BELOW LINK
    http://www.sapsecurity.co.uk/sap-tables.html
    **********please reward points if the information is helpful to you************

  • BDC session error handling for IW41 transaction

    Hi,
    When the order confirmation is done by BDC session program, it is executed without any error. But if we do the same process manually, it is showing the error message as 'Posting period is Locked for 001 2012'. My question here is why this is not happening when it is executed through bdc session program.
    Anyone can help us?
    Thanks,
    Guna

    It is difficult to believe that you would get good results from background BDC process and error in foreground using same transaction and exactly the same data.  Beyond that, why is month 1 of the current year locked?    Are you absolutely sure that:
    BDC works correctly? maybe does NOT and the errors have been missed or ignored?
    Data is precisely the same for both BDC sessions?
    Same transaction is called?
    Sounds silly perhaps, but I have to believe that something is very different between the two sessions.

  • Create a custom program for FPS3 transaction code

    Hi,
    I would like to create a custome program which does the below steps in one shot.
    1) RUN(SUBMIT) Transaction FPS3 with
    Company code = NONE and
    Created on FROM = SY-DATUM & TO = SY-DATUM
    2) In the next screen, it should select SELECT ALL
    button
    3) and then it should select EXECUTE button.
    And alos i should be able to give Information Messages when nothing is selected or displayed.
    Thanks & Regards,
    Sudheer Pusala.

    write a z program with company code as parameter. next use Submit function to submit FPS3 with the variables. In the PF-STATUS maintain the required butons which will popup when the data is shown. Now, u can select all records from one of the button of PF-STATUS (u need to write code for it). Next use execute button to execute the data. At any stage u can improper ur custom messages which will get displayed as and when something happens.

  • How to change program for a transaction

    Hi i have one program already assigned to the transaction code.
    i want to assign the same transaction code to other program instead of the existing one. please give me steps to change.
    thanks in advance
    KP

    Hi,
    Go to SE93 and press chaneg button adn remove the name of the program and assign the new program name to the tcode.
    But make sure that the <b>program type</b> is the same otherwise it will dump.
    If the type is different <b>delete the TCODE and create it as a fresh.</b>.
    Because u have to choose a different option for different program types while u create a TCODE.
    Hope this helps.
    Please reward points and close the thread if ur query is answered.

  • BDC or lsmw for ABT1N Transaction

    Hi gurus,
    last day i got some problem when i do a lSMW for  ABT1n Tran.i am thankful to u if u  please help me that how can i do it.please give me a complete document for that trans and also a text file so that i properly update it.
                    if u do any BDC program for that transaction please give me that program .it's very urgent for me....
    Thanks in advance....

    Hi Steve,
    BAPI_HU_CREATE itself creates HU. You can refer the HU number genrated by this BAPI itself. I hope you are calling bapi as below:
    CALL FUNCTION 'BAPI_HU_CREATE'
                EXPORTING
                  HEADERPROPOSAL = L_WA_HU_HEAD
                IMPORTING
                  HUHEADER       = L_WA_HU_HEADER
                  HUKEY          = L_V_HU_NUMBER
                TABLES
                  ITEMSPROPOSAL  = L_I_HU_ITEM
                  RETURN         = I_HU_RETURN
                  HUITEM         = L_I_CREATE_HU.
    Here, L_V_HU_NUMBER is the HU generated.
    Thanks,
    Archana
    Edited by: Archana Pawar on Sep 29, 2010 7:47 AM

  • Problem in BDC for AS91

    Hi,
    i have develop the BDC Program for AS91 transation and it is uploading from the excel file .But it takign the first record from the excel file and it is not taking the other records.below is the code.
    Hi,
    DATA: I_BDCDATA TYPE BDCDATA OCCURS 0 WITH HEADER LINE,
          I_ERROR TYPE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    PARAMETERS: P_FILE TYPE RLGRAP-FILENAME OBLIGATORY,
                P_MODE(1) DEFAULT 'A'.
                p_erfile TYPE rlgrap-filename.
    SELECTION-SCREEN : BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.
    PARAMETER: PBROW_HD TYPE I, PEROW_HD TYPE I, PBCOL_HD TYPE I, PECOL_HD TYPE I.
    SELECTION-SCREEN : END OF BLOCK BLK1.
    DATA: T_EXCEL LIKE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF RECORD OCCURS 0,
      ANLKL(8),
      BUKRS(4),
      TXT50(50),
      ANLHTXT(50),
      SERNR(18),
      INVNR(25),
      MENGE(16),
      MEINS(3),
      INKEN(1),
      INVZU(15),
      AKTIV(10),
      KOSTL(10),
      WERKS(4),
      EQANZ(1),
      LIEFE(30),
      HERST(30),
      LAND1(3),
      TYPBZ(15),
      URJHR(4),
      URWRT(13),
      VSART(2),
      VSGES(2),
      VSSTX(15),
      VSZTX(50),
      VRSBG(10),
      VRSBA(16),
      NDJAR_01(3),
      NDPER_01(3),
      AFASL(4),
      AFABG(10),
      SCHRW(16),
      SCHRW_PROZ(25),
      ANBTR_01(16),
      ANBTR_06(16),
      END OF RECORD.
    START-OF-SELECTION.
      DATA: V_FILENAME LIKE RLGRAP-FILENAME.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
    PERFORM read_file CHANGING p_file.
      CALL FUNCTION 'F4_FILENAME'
    * EXPORTING
    * PROGRAM_NAME = SYST-CPROG
    * DYNPRO_NUMBER = SYST-DYNNR
    * FIELD_NAME = ' '
       IMPORTING
       FILE_NAME = P_FILE.
    START-OF-SELECTION.
      PERFORM UPLOAD.
      PERFORM BDC.
    FORM UPLOAD .
      CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                = P_FILE
          I_BEGIN_COL             = PBCOL_HD
          I_BEGIN_ROW             = PBROW_HD
          I_END_COL               = PECOL_HD
          I_END_ROW               = PEROW_HD
        TABLES
          INTERN                  = T_EXCEL
        EXCEPTIONS
          INCONSISTENT_PARAMETERS = 1
          UPLOAD_OLE              = 2
          OTHERS                  = 3.
      LOOP AT T_EXCEL.
        CASE T_EXCEL-COL.
          WHEN 1.  MOVE T_EXCEL-VALUE TO RECORD-ANLKL.
          WHEN 2.  MOVE T_EXCEL-VALUE TO RECORD-BUKRS.
          WHEN 3.  MOVE T_EXCEL-VALUE TO RECORD-TXT50.
          WHEN 4.  MOVE T_EXCEL-VALUE TO RECORD-ANLHTXT.
          WHEN 5.  MOVE T_EXCEL-VALUE TO RECORD-SERNR.
          WHEN 6.  MOVE T_EXCEL-VALUE TO RECORD-INVNR.
          WHEN 7.  MOVE T_EXCEL-VALUE TO RECORD-MENGE.
          WHEN 8.  MOVE T_EXCEL-VALUE TO RECORD-MEINS.
          WHEN 9.  MOVE T_EXCEL-VALUE TO RECORD-INKEN.
          WHEN 10. MOVE T_EXCEL-VALUE TO RECORD-INVZU.
          WHEN 11. Move t_excel-value to record-aktiv.
          WHEN 12. MOVE T_EXCEL-VALUE TO RECORD-KOSTL.
          WHEN 13. MOVE T_EXCEL-VALUE TO RECORD-WERKS.
          WHEN 14. MOVE T_EXCEL-VALUE TO RECORD-EQANZ.
          WHEN 15. MOVE T_EXCEL-VALUE TO RECORD-LIEFE.
          WHEN 16. MOVE T_EXCEL-VALUE TO RECORD-HERST.
          WHEN 17. MOVE T_EXCEL-VALUE TO RECORD-LAND1.
          WHEN 18. MOVE T_EXCEL-VALUE TO RECORD-TYPBZ.
          WHEN 19. MOVE T_EXCEL-VALUE TO RECORD-URJHR.
          WHEN 20. MOVE T_EXCEL-VALUE TO RECORD-URWRT.
          WHEN 21. MOVE T_EXCEL-VALUE TO RECORD-VSART.
          WHEN 22. MOVE T_EXCEL-VALUE TO RECORD-VSGES.
          WHEN 23. MOVE T_EXCEL-VALUE TO RECORD-VSSTX.
          WHEN 24. MOVE T_EXCEL-VALUE TO RECORD-VSZTX.
          WHEN 25. MOVE T_EXCEL-VALUE TO RECORD-VRSBG.
          WHEN 26. MOVE T_EXCEL-VALUE TO RECORD-VRSBA.
          WHEN 27. MOVE T_EXCEL-VALUE TO RECORD-NDJAR_01.
          WHEN 28. MOVE T_EXCEL-VALUE TO RECORD-NDPER_01.
          WHEN 29. MOVE T_EXCEL-VALUE TO RECORD-AFASL.
          WHEN 30. MOVE T_EXCEL-VALUE TO RECORD-AFABG.
          WHEN 31. MOVE T_EXCEL-VALUE TO RECORD-SCHRW.
          WHEN 32. MOVE T_EXCEL-VALUE TO RECORD-SCHRW_PROZ.
          WHEN 33. MOVE T_EXCEL-VALUE TO RECORD-ANBTR_01.
          WHEN 34. MOVE T_EXCEL-VALUE TO RECORD-ANBTR_06.
        ENDCASE.
        AT END OF ROW.
          APPEND RECORD.
          CLEAR RECORD.
        ENDAT.
      ENDLOOP.
    ENDFORM.                    " UPLOAD
    FORM BDC .
      LOOP AT RECORD.
        PERFORM BDC_DYNPRO      USING 'SAPLAIST' '0105'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'ANLA-ANLKL'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM BDC_FIELD       USING 'ANLA-ANLKL'
                                      RECORD-ANLKL.
        PERFORM BDC_FIELD       USING 'ANLA-BUKRS'
                                      RECORD-BUKRS.
        PERFORM BDC_DYNPRO      USING 'SAPLAIST' '1000'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=TAB02'.
        PERFORM BDC_FIELD       USING 'ANLA-TXT50'
                                      RECORD-TXT50.
        PERFORM BDC_FIELD       USING 'ANLH-ANLHTXT'
                                      RECORD-ANLHTXT.
        PERFORM BDC_FIELD       USING 'ANLA-SERNR'
                                      RECORD-SERNR.
        PERFORM BDC_FIELD       USING 'ANLA-INVNR'
                                      RECORD-INVNR.
        PERFORM BDC_FIELD       USING 'ANLA-MENGE'
                                       RECORD-MENGE.
        PERFORM BDC_FIELD       USING 'ANLA-MEINS'
                                       RECORD-MEINS.
        PERFORM BDC_FIELD       USING 'ANLA-INKEN'
                                      RECORD-INKEN.
        PERFORM BDC_FIELD       USING 'ANLA-INVZU'
                                      RECORD-INVZU.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'ANLA-AKTIV'.
        PERFORM BDC_FIELD       USING 'ANLA-AKTIV'
                                      RECORD-AKTIV.
        PERFORM BDC_DYNPRO      USING 'SAPLAIST' '1000'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=TAB03'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'ANLZ-WERKS'.
        PERFORM BDC_FIELD       USING 'ANLZ-KOSTL'
                                      RECORD-KOSTL.
        PERFORM BDC_FIELD       USING 'ANLZ-WERKS'
                                      RECORD-WERKS.
        PERFORM BDC_DYNPRO      USING 'SAPLAIST' '1000'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=TAB04'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'RA02S-EQANZ'.
        PERFORM BDC_FIELD       USING 'RA02S-EQANZ'
                                       RECORD-EQANZ.
        PERFORM BDC_DYNPRO      USING 'SAPLAIST' '1000'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=TAB06'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'ANLA-URWRT'.
        PERFORM BDC_FIELD       USING 'ANLA-LIEFE'
                                      RECORD-LIEFE.
        PERFORM BDC_FIELD       USING 'ANLA-HERST'
                                      RECORD-HERST.
        PERFORM BDC_FIELD       USING 'ANLA-LAND1'
                                      RECORD-LAND1.
        PERFORM BDC_FIELD       USING 'ANLA-TYPBZ'
                                      RECORD-TYPBZ.
        PERFORM BDC_FIELD       USING 'ANLA-URJHR'
                                       RECORD-URJHR.
        PERFORM BDC_FIELD       USING 'ANLA-URWRT'
                                       RECORD-URWRT.
        PERFORM BDC_DYNPRO      USING 'SAPLAIST' '1000'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=TAB08'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'ANLV-VRSBA'.
        PERFORM BDC_FIELD       USING 'ANLV-VSART'
                                       RECORD-VSART.
        PERFORM BDC_FIELD       USING 'ANLV-VSGES'
                                       RECORD-VSGES.
        PERFORM BDC_FIELD       USING 'ANLV-VSSTX'
                                       RECORD-VSSTX.
        PERFORM BDC_FIELD       USING 'ANLV-VSZTX'
                                       RECORD-VSZTX.
        PERFORM BDC_FIELD       USING 'ANLV-VRSBG'
                                       RECORD-VRSBG.
        PERFORM BDC_FIELD       USING 'ANLV-VRSBA'
                                       RECORD-VRSBA.
        PERFORM BDC_DYNPRO      USING 'SAPLAIST' '1000'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=SELZ'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'ANLB-AFABG(01)'.
        PERFORM BDC_FIELD       USING 'ANLB-NDJAR(01)'
                                      RECORD-NDJAR_01.
        PERFORM BDC_FIELD       USING 'ANLB-NDPER(01)'
                                      RECORD-NDPER_01.
        PERFORM BDC_DYNPRO      USING 'SAPLAIST' '0195'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=ALTD'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'ANLB-SCHRW_PROZ'.
        PERFORM BDC_FIELD       USING 'ANLB-AFASL'
                                      RECORD-AFASL.
        PERFORM BDC_FIELD       USING 'ANLB-NDJAR'
                                      RECORD-NDJAR_01.
        PERFORM BDC_FIELD       USING 'ANLB-NDPER'
                                      RECORD-NDPER_01.
        PERFORM BDC_FIELD       USING 'ANLB-AFABG'
                                      RECORD-AFABG.
        PERFORM BDC_FIELD       USING 'ANLB-SCHRW'
                                       RECORD-SCHRW.
        PERFORM BDC_FIELD       USING 'ANLB-SCHRW_PROZ'
                                      RECORD-SCHRW_PROZ.
        PERFORM BDC_DYNPRO      USING 'SAPLALTD' '1100'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'RALT_DYNP_STRUC-ANBTR01(06)'.
        PERFORM BDC_FIELD       USING 'RALT_DYNP_STRUC-ANBTR01(01)'
                                       RECORD-ANBTR_01.
        PERFORM BDC_FIELD       USING 'RALT_DYNP_STRUC-ANBTR01(06)'
                                       RECORD-ANBTR_06.
        PERFORM BDC_DYNPRO      USING 'SAPLALTD' '1100'.
        PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                      'ANLA-ANLN1'.
        PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                      '=BUCH'.
       clear record.
        CALL TRANSACTION 'AS91' USING I_BDCDATA MODE P_MODE.
      ENDLOOP.
    ENDFORM.                    " BDC
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
      CLEAR I_BDCDATA.
      I_BDCDATA-PROGRAM  = PROGRAM.
      I_BDCDATA-DYNPRO   = DYNPRO.
      I_BDCDATA-DYNBEGIN = 'X'.
      APPEND I_BDCDATA.
    ENDFORM.                 
    FORM BDC_FIELD USING FNAM FVAL.
      CLEAR I_BDCDATA.
      I_BDCDATA-FNAM = FNAM.
      I_BDCDATA-FVAL = FVAL.
      APPEND I_BDCDATA.
    ENDFORM.

    Solved by myself

  • ENTRY_ACT field in BDC program for Txn. IA05

    Dear Gurus,
    I want to write BDC program for IA05 transaction.  In that, Inspection Charatertics entries, I want to add more entries (more than one page - page down).  Please guide me how to handle RQPAS-ENTRY_ACT screen field.
    Please provide the logic in writing, if possible.
    Regards,

    Hi,
    I am having same problem.
    Can you give me the code as it shows solved at your end..
    -Maharshi

  • BAPI or BDC Program For Contracts VA41,42

    Hi all,
    send me BDC or BAPI programs for Contracts VA41.
    I fond some sample coding by searching in SDN but they looks like a single paragraph can't split that.
    Thanks & regards,
    Arun.

    Hi,
    Use BAPI BAPI_CONTRACT_CREATEFROMDATA. For coding, you don't have to search. Just read the FM documentation. Thats enough for coding.
    Try to search for where used list of this BAPI. If you are lucky enough, you can get the sample code as well.
    Thanks,
    Vinod.

  • Diff b/w BDC and LSMW

    hi
    i want know what is the difference between BDC and LSMW and which is best also tell me BDC and LSMW using for which type data (like master or transactional data)
    thanka in advance
    deepak

    Hi deepak,
    LSMW and BDC are vastly different.
    BDC (Batch Data Communication) is a technology used for data transfer. it is meant for transferring data thru SAP transactions itself. when u use BDC for data transfer, the sequence of steps is the same as when u use standard sap transaction screens for data upload. the only difference is that u can use different options for foreground/background processing.
    LSMW on the other hand is a tool that helps migrate data from a legacy system (non-sap system ) to SAP system. it offers u various options to use either batch input, direct input, BAPIs or idocs. it involves a series of some 17-18 steps to migrate data.
    BDC:
    Batch Data Communication (BDC) is the process of transferring data from one SAP System to another SAP system or from a non-SAP system to SAP System.
    Features :
    BDC is an automatic procedure.
    This method is used to transfer large amount of data that is available in electronic medium.
    BDC can be used primarily when installing the SAP system and when transferring data from a legacy system (external system).
    BDC uses normal transaction codes to transfer data.
    Types of BDC :
    CLASSICAL BATCH INPUT (Session Method)
    CALL TRANSACTION
    BATCH INPUT METHOD:
    This method is also called as ‘CLASSICAL METHOD’.
    Features:
    Asynchronous processing.
    Synchronous Processing in database update.
    Transfer data for more than one transaction.
    Batch input processing log will be generated.
    During processing, no transaction is started until the previous transaction has been written to the database.
    CALL TRANSACTION METHOD :
    This is another method to transfer data from the legacy system.
    Features:
    Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
    Updating the database can be either synchronous or asynchronous. The program specifies the update type.
    Transfer data for a single transaction.
    Transfers data for a sequence of dialog screens.
    No batch input processing log is generated.
    For BDC:
    http://myweb.dal.ca/hchinni/sap/bdc_home.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    LSMW:
    The LSM Workbench is an R/3-based tool that supports You when transferring data from non-SAP systems ("Legacy Systems") to R/3 once or periodically.
    The tool supports conversion of data of the legacy system in a convenient way. The data can then be imported into the R/3 system via batch input, direct input, BAPIs or IDocs.
    Furthermore, the LSM Workbench provides a recording function that allows to generate a "data migration object" in an entry or change transaction.
    The main advantages of the LSM Workbench:
    • Part of R/3 and thus independent of individual platforms
    • A variety of technical possibilities of data conversion:
    • Data consistency due to standard import techniques:
    Batch input
    Direct input
    BAPIs (Business Application Programming Interfaces)
    IDocs (Intermediate Documents)
    The import technique to be used in an individual case depends on the business object.
    • Generation of the conversion program on the basis of defined rules
    • Clear interactive process guide
    • Interface for data in spreadsheet format
    • Creation of data migration objects on the basis of recorded transactions
    • Charge-free for SAP customers and SAP partners
    http://help.sap.com/saphelp_nw04s/helpdata/en/87/f3ae74e68111d1b3ff006094b944c8/content.htm
    http://www.sap-img.com/sap-data-migration.htm
    http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
    http://allsaplinks.com/lsmw.html
    http://myweb.dal.ca/hchinni/sap/lsmw_home.htm

  • FS00   Program for upload theG/L accounts

    Hi Experts,
    I need a sample program for FS00 G/L accounts upload BDC  or LSMW program
    Thanks in Advance
    purnaneelu

    Hi,
    In LSMW.
    Create a source structure with your source fields.
    Map the source structure to the target structure.
    In the field mapping step map the particular source fields to the target fields.
    Specify the source files.
    Read the source files and then do the convert step to convert the data.
    Then create the session and process it via SM35.
    Regards,
    Ankur Parab

  • Running BDC program in background for the transaction VL02N

    Hi All,
    I have coded a BDC program (call transaction method) for the transaction code VL02N. I can able to run the program manually & successfully. But if I execute the program in background(SM36), it is going to dump giving CNTL_ERROR.
    Note: I am not using any of the GUI_UPLOAD, GUI_DOWNLOAD funciton modules in the program. But I am using the FTP command funtion modules like( FTP_COMMAND, FTP_CONNECT, FTP_DISCONNECT and FTP_SERVER_TO_R/3).
    <removed_by_moderator>
    Thanks in advance.
    Ramesh.
    Edited by: Julius Bussche on Jul 8, 2008 5:55 PM

    VL02N is an enjoy transaction. You cant run it in background. Please try VL02.
    Thanks
    Romit

  • Problem in creating a BDC program for transaction cj20n(project sytem)

    Hi all,
    I am trying to create project,WBS element ,network and activity using a BDC program,
      I am able to create to a recording for the transaction cj20n using tcode shdb but when i run the recording it doesnt run properly i am not able to create any thing.
    I get error saying that a particular field doesnt exist on the screen.
    Is possible to create a BDC program for transaction CJ20N ?
    Also is there any other alternative  apart from using a BAPI or a function module.
    Thanks,
    Nishant

    Hi,
        Check below link for BAPIs of transaction cj20n.
    [BAPI for cj20n|BAPI for CJ20N transaction]
    Thanks,
    Asit Purbey.

Maybe you are looking for

  • UPDATING the query in materialized view

    Hi, i have a little doubt in Materialized view. i created a materialized view and log with the following query, create table test_mv (a number ,b number ) alter table test_mv add constraint t_pk primary key ( a ); insert into test_mv values (1,2); in

  • Apple TV - No Sound Output

    I have an apple tv set up with my macbook and it the past it has worked with no complications until tonight. When I try to link it , it either kicks my macbook off Apple tv altogether or it plays video but doesn't play the sound OR it selects the App

  • HT4528 Forgot passcode on iphone 4S - how do I get in

    I have forgotten my iphone 4S passcode.  How do I get back into the phone?

  • Have any evaluation copy of Oracle Application 11i for download?

    As subject, is Oracle Application 11i evaluation copy available? & where to download? Chris

  • Error on restore a database using sqlcmd

    Hi I wrote a command to to restore a database (from SQL server backup tool) , it works for a few restore files but faild with a specific bak file. The error: sqlcmd  -U sa -P password -Q "RESTORE DATABASE TfsWorkItemTracking FROM DISK='x:\tfs\TfsWork