BDC or LSMW for MR21

Hi,
Can anyone help me in creating a BDC for MR21:
•Create a batch input recording and generate a program that can be modified. A transaction code should be created to run the program, and users must have the transaction included in their profiles. The program must allow BDC sessions to be created (rather than only offering a call transaction option). In the case of large files, the BDC session may be scheduled to run in background. Whereas a program running a call transaction can only run in foreground, if the file is being uploaded from the PC / network.
or an LSMW for MR21.
•Create a batch input recording through LSMW, and create the dataload using that. Since the data will be provided in SAP format, it is not strictly necessary to have an LSMW, but the developer may decide this is the simplest development method anyway.
Please help me in this regard.
Thanks,
Sai

hie
for a BDC program for MR21 go to transaction SM35. Recording --> New Recording -->enter the a suitable name for the recording name and transaction MR21 and start to carry out the recording with the help of a functional guy. After you the process has gone through press save and back. Highlight your recordings name and press program. fill in the required name and on the filed contents radio button select Transfer form recording. After this you will have your BDC program ready.
Create another program with type Executable. Copy and paste your BDC program into that one.  We do this so that you can assign a transaction code to your program.  For the transaction code go to transaction SE93 and fill in a relevant transaction code for your program. Press Create and fill in a relevant description for your transaction code. On the start Object radio button select option Transaction with parameters (parameter transaction) since we will have a parameter for picking the logical destination for the file to be uploaded.
Make adjustments to your program according to your requirements.
I would be happy to assist further.
Regards
PrinceIsaac

Similar Messages

  • LSMW for MR21

    Hi Experts,
    What we are trying to do is to change prices for 106 products for 26 plants. So when we try to record LSMW it is giving  materials and plants as index. Like MATNR_01 MATNR_02 and NEWVALPR_01NEWVALPR_02.
    How will we make the file based on this then the columns will be too many in excel. Please let me know steps for recording LSMW for MR21.
    -- Syed Abid Hussain

    Hi,
    the LSMW recording must be created for 20 line items (material, new price, maybe new price unit) and is stored then, thus 20 price changes are posted using ONE document number (it works like that).
    After you have created youe LSMW-project with that recording, go to T-code LSMW enter the project and than "Goto / recordings". Edit your recording in a way that the field for "material number, new price, new price unit" which appears 20 times is changed to "material1, material 2, material 3,... material20" (the other repeating fields as well) to make them unique within your recording.
    Your MS Excel source can look like that (columns):
    Plant, Material1, New price1, New price unit1, material2, new price2,...material20,new price20, new price unit20.
    Now do the field mapping in LSMW and try...
    Best regards, Christian

  • BDC or LSMW for open PO

    Dear Friends,
    We are suppose to go likve soon, but we have @ 500 open Purchase orders and we would like to ipload same in sap as retail can any 1 guide me how to do it?
    Regrads,
    Vishal
    [email protected]

    Hi Vishal,
    Please make a note that,
    LSMW is used to transfer Master Data.
    BDC is used for transactional Data.
    LSMW can import data from legacy systems (e.g. in the form of Excel sheets or CSV files). For this, I guess, LSMW converts your data into batch input files automatically. If you use BDC, on the other hand, you have to write your batch input file yourself, line per line.
    So, Open Purchase Order are the Transactional Data for you can use BDC for this Purpose
    Please take your ABAPER's help to will write a Code to Migrate the Data.
    Hope this Solve your Purpose and Please Reward If Really Helpful,
    Thanks and Regards,
    Sateesh.Kandula

  • 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

  • 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

  • Problem in BDC For MR21

    hi all,
    I had written the bdc for mr21 using session method. I am not able to change the standard price using BDC. Recording is perfect. Using transaction mr21 I can change the price but using bdc , it's not changing.It is not giving any error. it gives message that no changes in price have been made.
    Thanks in Advance.
    Regards,
    Atul

    Hi,
    In the code check for one thing...
    when you are populating the price value in the table use the following code and then check if it works.
    data lw_string type string.
    write price to lw_string currency currncykey   " here price is the variable which contains the value... and
    "   Currency key is the currency key for the price which you can get from the table where you get the price.
    "then
    bdcdata-fieldval = lw_string.
    append bdcdata.
    Just check if this works, As earlier I faced a similar kind of a problem when I did this it was resolved....
    Regards,
    Siddarth

  • BDC/LSMW for SPRO to MM to Purchasing to PR to Release Procedure to ...

    Hi experts,
    May I know those screen in SPRO can do BDC or LSMW? I am facing problem on trying up the BDC using SM35 on the following screen. (I can't get the transaction code).
    The path is:
    SPRO -> MM -> Purchasing -> PR -> Release Procedure -> Set up Procedure With Classification -> Release Strategies.. The SAP program is SAPL0ME2, but I can't execute it using SE38 since it's a program Type 'F'.
    So may I know any possible way for us to use recording approach on these to do Mass insertion of data?
    Thanks.
    Cheers,
    Wong
    Edited by: Julius Bussche on Sep 12, 2008 10:37 AM

    Hi Vijay,
    First, you can try on SM30, V_T16FS. Simply double-click on 1 release strategy, then Click on "Classification". You will see the classification screen allow us to enter value on each characteristic of the class.
    However, I try using SHDB (recording), it shows empty screen on the value for class in the 'Classification' screen.
    Thanks.
    Cheers,
    Isaac.

  • 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

  • How to create LSMW for a transaction having scroll bar

    Hi all,
    I am trying to create an LSMW for MP)! transaction for Uploading AMPL (Approved Manufacturer Parts list data) data.
    For this LSMW is not working fine when i need to upload more number of records. Suggest me some way to solve it out,Also provide me some code samples and process if it can be handled with BDC.
    Thanks,
    Pavan.

    you can solve it with bdc:
    e.g. a table control contains only 10 entries , you've to program the dynpro-change ( in german "Bildwechsel")
    with sth like this:
    ERG = BUZEI MOD 10 .
      IF ERG = 1.
    Dynpro darf nur alle 10 Zeilen prozessiert werden -
        PERFORM BDC_DYNPRO USING 'SAPMF10B' '0150'.             "ins
      ENDIF.
    add 1 to buzei.
    A.

  • Unable to Update infotype 586 and 585 through BDC or LSMW

    Dear Sir/ Madam,
    I am in process of updating actual investment by employee in info type 0586 and 585.
    I have already inputed the projected investments in 586 & 585 and as per tax tax is computed.
    Also I have written a LSMW to update in the actual Tick.
    But the problem is now I want to update actual investemnet using BDC, But my ABAper is unbale to do so as the records has been sorted on the projected investmnet ( ascending order),.
    As this is to be updated for nearly 2500 records which vary ..
    IKinldy suggest any standard program availble or in BDC can I use the investvent codes in Table T7INI3
    Regards
    Deepak Gadekar

    Hi,
    Recording of psv2 and psv1 are complex.
    I have done it using BDC since i need to do certain validations.
    Go with BDC rather than LSMW.
    Kindly mention the fields u need to update.Based on it u can decide on BDC or LSMW?
    Edited by: Thyagu on Jun 15, 2009 11:51 AM

  • Is it possible to create LSMW for PQ10, PQ13?

    Hi Fridz,
    I have created the OM actions, now I'm trying to create LSMW for the actions PQ10 (creation of org unit), PQ13 (Creation of Position) but while recording LSMW relationships are not creating under - Maintain Field Mapping and Conversion Rules in LSMW. Please advice on this whether these transactions are possible to create LSMW with fore & backgroung.
    $Narayana

    Hi Narayana,
    Use BDC's for better maintainance of relationship. which worked fine for me.
    thanks,
    vasu.

  • LSMW for Outbound Delivery

    Hi,
    I am not able to find an LSMW for creating GR for outbound delivery. I tried using recording in MIGO but it did not work. Also MB1C is not working for outbound delivery. Please help.
    Regards,
    Anubhav

    Hi
    I think it is better to write a Z program/ BDC to have a mass GR creation of an outbound delivery.
    or
    You have an Auto Goods receipt using confimations. If we activate Auto GR in customizing for Confirmation control key. Once confirmations(ASN) is created a GR will be created automatically.
    Hope this helps
    Regards,
    Sasi

  • LSMW FOR P.O UPLOAD

    Hi Guys,
    I am using LSMW for uploading the Purchase order. This I could able to do without any problem for single line item P.O.
    This was done by recordning method.
    Can some one explain how to upload purchase order for more that one line item.
    Thanks,
    Dhanu
    Edited by: Dhananjayappa E on Jul 30, 2008 4:40 PM
    Edited by: Dhananjayappa E on Jul 30, 2008 4:40 PM

    It is Somewhat Difficult to Contol Screen Variables While Using LSMW. If the Data is Bulk Use BDC with the Help of Abaper.
    http://aspalliance.com/1130_Batch_Data_Communication_BDC_in_SAP_R3
    http://abap-gallery.blogspot.com/2007/08/bdc-batch-data-communication-tutorial.html
    http://it.toolbox.com/wiki//index.php/Bdc
    Regards,
    Ashok

  • When we have LSMW for migrating data then why we will go for Session/Call ?

    Hi Guru's,
    Could you please tell me ...
    When we have LSMW for migrating data , why will go for Sessions/call Transaction for migrating? when we do with LSMW we can complete the object with less time then why we have will do with session/call transaction?
    when we have to use LSMW ? and when we have to use SESSION/ CALL TRANSACTION ..
    thanks in advance..
    vardhan

    LSMW can't upload large amount of data into the database.
    Whereas BDC SESSION CALL /TRANSACTION method can upload large amount of data into the database.
    The error capture method is superior in BDC.
    BDC programs can be scheduled to run on periodic basis as per the customer requirements.

  • 'Create' Push button is not working in BDC and LSMW while uploading G/L master data

    Hello Experts:
    I am facing the following problem:
    While uploading G/L master data with the BDC program, 'create' push button is not working  even after executing following lines.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=ACC_CRE'.
    Create G/L account  screen is not coming in BDC. Please suggest me what to do.
    Thanks !!

    Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
    Re: 'Create' Push button is not working in BDC and LSMW while uploading G/L master data
    Hi Glen Anthony
    Thank you for the reply Glen Anthony please take a look at the following code.
    REPORT  ZFI_BDC_FS00
            NO STANDARD PAGE HEADING LINE-SIZE 255.
    *INCLUDE BDCRECX1.
    TYPES : BEGIN OF STR,
       BUKRS TYPE GLACCOUNT_SCREEN_KEY-BUKRS,        "Company Code
       SAKNR TYPE GLACCOUNT_SCREEN_KEY-SAKNR,        "G/L Account Number
       KTOKS TYPE GLACCOUNT_SCREEN_COA-KTOKS,        "G/L Account Group
       XPLACCT TYPE GLACCOUNT_SCREEN_COA-XPLACCT,    "P&L statement account
       XBILK TYPE GLACCOUNT_SCREEN_COA-XBILK,        "Indicator: Account is a balance sheet account?
       TXT20_ML TYPE GLACCOUNT_SCREEN_COA-TXT20_ML,  "G/L account short text
       TXT50_ML TYPE GLACCOUNT_SCREEN_COA-TXT50_ML,  "G/L account short text
       WAERS TYPE GLACCOUNT_SCREEN_CCODE-WAERS,      "Account currency
       XSALH TYPE GLACCOUNT_SCREEN_CCODE-XSALH,      "Indicator: Only Manage Balances in Local Currency
       MWSKZ TYPE GLACCOUNT_SCREEN_CCODE-MWSKZ,      "Tax Category in Account Master Record
       XMWNO TYPE GLACCOUNT_SCREEN_CCODE-XMWNO,      "Indicator: Tax code is not a required field
       MITKZ TYPE GLACCOUNT_SCREEN_CCODE-MITKZ,      "Account is reconciliation account
       XOPVW TYPE GLACCOUNT_SCREEN_CCODE-XOPVW,      "Indicator: Open item management?
       XKRES TYPE GLACCOUNT_SCREEN_CCODE-XKRES,      "Indicator: Can Line Items Be Displayed by Account?
       ZUAWA TYPE GLACCOUNT_SCREEN_CCODE-ZUAWA,      "Key for sorting according to assignment numbers
       FSTAG TYPE GLACCOUNT_SCREEN_CCODE-FSTAG,      "Field status group
       XINTB TYPE GLACCOUNT_SCREEN_CCODE-XINTB,      "Indicator: Is account only posted to automatically?
       END OF STR.
    DATA : ITAB TYPE TABLE OF STR WITH HEADER LINE,
            IT_BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE,
            TXT(4096) TYPE C OCCURS 0,
            MSG TYPE STRING,
            COUNT(5) TYPE N.
    SELECTION-SCREEN : BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
       PARAMETERS : MY_FILE TYPE RLGRAP-FILENAME.
    SELECTION-SCREEN : END OF BLOCK B1.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR MY_FILE.
    CALL FUNCTION 'F4_FILENAME'
      EXPORTING
        PROGRAM_NAME        = SYST-CPROG
        DYNPRO_NUMBER       = SYST-DYNNR
    *   FIELD_NAME          = ' '
      IMPORTING
        FILE_NAME           = MY_FILE
    CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
       EXPORTING
    *   I_FIELD_SEPERATOR          =
    *   I_LINE_HEADER              =
         I_TAB_RAW_DATA             = TXT
         I_FILENAME                 = MY_FILE
       TABLES
         I_TAB_CONVERTED_DATA       = ITAB[]
      EXCEPTIONS
        CONVERSION_FAILED          = 1
        OTHERS                     = 2
    IF SY-SUBRC <> 0.
    * IMPLEMENT SUITABLE ERROR HANDLING HERE
    ENDIF.
    START-OF-SELECTION.
    COUNT = 0.
    LOOP AT ITAB.
    *PERFORM OPEN_GROUP.
    REFRESH  IT_BDCDATA.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_KEY-BUKRS'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=ACC_CRE'.
    *PERFORM BDC_FIELD       USING 'BDC_CURSOR'
    *                              'GLACCOUNT_SCREEN_KEY-BUKRS'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_KEY-SAKNR'
                                   ITAB-SAKNR. "'5'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_KEY-BUKRS'
                                   ITAB-BUKRS. "'TATA'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=2102_GROUP'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-KTOKS'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                   ITAB-XPLACCT. "'X'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=2102_BS_PL'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-XBILK'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                   ITAB-XPLACCT. "''.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                   ITAB-XBILK. "'X'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=TAB02'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                   ITAB-KTOKS. "'GL'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                   ITAB-XBILK. "'X'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_COA-TXT50_ML'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-TXT20_ML'
                                   ITAB-TXT20_ML. "'G/L ACCOUNT'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_COA-TXT50_ML'
                                   ITAB-TXT50_ML. "'G/L ACCOUNT'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=TAB03'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-WAERS'
                                   ITAB-WAERS. "'INR'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XSALH'
                                   ITAB-XSALH. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
                                   ITAB-MWSKZ. "'*'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XMWNO'
                                   ITAB-XMWNO. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-MITKZ'
                                   ITAB-MITKZ. "''.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_CCODE-ZUAWA'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XOPVW'
                                   ITAB-XOPVW. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XKRES'
                                   ITAB-XKRES. "'X'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
                                   ITAB-ZUAWA. "'1'.
    PERFORM BDC_DYNPRO      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                   '=SAVE'.
    PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                   'GLACCOUNT_SCREEN_CCODE-XINTB'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-FSTAG'
                                   ITAB-FSTAG. "'G019'.
    PERFORM BDC_FIELD       USING 'GLACCOUNT_SCREEN_CCODE-XINTB'
                                   ITAB-XINTB. "'X'.
    *PERFORM BDC_TRANSACTION USING 'FS00'.
    CALL TRANSACTION 'FS00' USING IT_BDCDATA MODE 'E' UPDATE 'S'.
    COUNT = COUNT + 1.
    *PERFORM CLOSE_GROUP.
    ENDLOOP.
    CONCATENATE COUNT ' RECORDS UPDATED SUCCESSFULLY' INTO MSG.
    MESSAGE MSG TYPE 'I'.
    FORM BDC_DYNPRO USING PROGRAM DYNPRO.
       CLEAR IT_BDCDATA.
       IT_BDCDATA-PROGRAM  = PROGRAM.
       IT_BDCDATA-DYNPRO   = DYNPRO.
       IT_BDCDATA-DYNBEGIN = 'X'.
       APPEND IT_BDCDATA.
    ENDFORM.
    *        INSERT FIELD                                                  *
    FORM BDC_FIELD USING FNAM FVAL.
    *  IF FVAL <> NODATA.
         CLEAR IT_BDCDATA.
         IT_BDCDATA-FNAM = FNAM.
         IT_BDCDATA-FVAL = FVAL.
         APPEND IT_BDCDATA.
    *  ENDIF.
    ENDFORM.

Maybe you are looking for

  • Install DeskJet 720C in compatibility mode in Windows 8.1

    Hi I have a Deskjet 720C than work fine on my Window 7 64 bit system. Now I want to use it on a Windows 8.1 64 bit system. The driver installed with Windows Update does not work. Can I install it in compatibility mode? How do I do that? There is no d

  • Button Controls Disappearing

    This is an FYI... I've had a problem with buttons disappearing when using CFormView.  The same problem as discussed in the knowledgebase link below. http://digital.ni.com/public.nsf/websearch/862567530005F09F86256726006E261F?OpenDocument I found that

  • Resizing images (batch) in PS CS5 ?

    Hi I have a client who needs images of his products sized to 320 x 230 px-72 ppi and I'm having problems, I'm sure the software is fine, I just can't get my brain wrapped around how I get the images resized to this exact dimension. All the native ima

  • Charts and pivot tables are not generated in Seed Cache using iBots

    Hi, I have been working on OBIEE cache. I encountered few issues. 1. We scheduled ibots to run daily and deliver dashboards to seeding cache. But the cache is not getting created for some reports which have charts and pivot tables in the dashboards .

  • Connect one SAP ECC 6.0 source system to 2 SAP BW system

    Hi! I copied SAP BW system (e.g. BW1 --> BW2). My source SAP BW system "BW1" was connected to SAP source system "MM5" (tcode RSA1). Now I would like to connect my new SAP BW system "BW2" also to this SAP source system "MM5". When I do so I get the fo