Recording fot transaction pa30

Hi experts,
I have created one recording for transaction PA30 to update infotypes 0000, 0001, 0007 and 0019.
My problem is that when i am executing my BDC report, screen is not taking data from my program.
please tell me where i am doing.
and please do not lock the thread this time becausa i very well know how to use debugger.
but it is not solving my problem because it is taking some default value i do not knw from where.
and PA40 i can use but my requirement is with PA30.
Regards,
Rajesh Kumar

Hi all,
Thanks for your replies.
My problem has been solved.
i have to set certain parameters in CALL TRANSACTION as shown below.
DATA: gi_opts     TYPE ctu_params.
  DATA: gc_zmode    TYPE c VALUE 'A',
        gc_zupd     TYPE c VALUE 'S',
        gc_znobinpt TYPE c VALUE 'X'.
  gi_opts-dismode = gc_zmode.
  gi_opts-updmode = gc_zupd.
  gi_opts-defsize = 'X'.
  gi_opts-nobinpt = gc_znobinpt.
  CALL TRANSACTION 'PA30' USING gi_bdcdata
                     OPTIONS FROM gi_opts
                     MESSAGES INTO gi_messtab.
Regards,
Rajesh Kumar

Similar Messages

  • Recording Batch in PA30

    Hello Abapers!
          I have a problem with recording transaction PA30. Exacly I want to delete person from work center by "Organizational Assignment". When I did it without recording everything was ok, but when I tried to record it by SM35, one POPUP window wasn't appeared and I really need that POPUP to end my activity.
    If anyone knows how to record this POPUP, or know other solution it will be great.
    Thanks in advance
    BL

    Hello!
    If noone knows answer of this queston, maybe someone knows witch FM or BAPI use to that kind of operations (delete relationship beetwen person and work center)
    Best reagrds
    BL

  • In bdc how we handle page phone area in transaction pa30

    in bdc how we handle page phone area in transaction pa30.suppose one maintain phone no but not pager no.in that case how we will handle

    in my system ..i have phone number only displayed...if you want to put page number also then add a ddition qualifier like PG or some number by contacting functional guys..
    regards:)

  • BDC recording for transaction 'Me01'

    Hi,
    Can u help me in BDC recording for transaction 'ME01' .
    I have no idea for transaction 'ME01' .
    give sample code if possible.
    Thanks

    For creating source list you will check that purchasing view has been maintained for this material
    Source list for resticting, purcasing a material from a specific vendor only for the period specified in source list
    Regards,
    Amit R.

  • Problem In Recording MB1A Transaction through SHDB

    Hi Friends,
    While Recording MB1A Transaction I am getting Codding Block Screen. Where as Whilr running MB1A transaction Normally we are not getting that screen.
    For this reason we are not able to go to the next step. please do the need full.
    Here i am sending the code.
    *& Report  YPH_CANCEL_REV                                              *
    REPORT  yph_cancel_rev                          .
    *include bdcrecx1.
    DATA : BEGIN OF BDC_TAB OCCURS 0.
            INCLUDE STRUCTURE BDCDATA.
    DATA : END OF BDC_TAB.
    DATA : BEGIN OF MESSTAB OCCURS 0.
           INCLUDE STRUCTURE BDCMSGCOLL.
    DATA : END OF MESSTAB.
    DATA : BEGIN OF itab OCCURS 0,
           aufnr TYPE aufnr,
           werks type werks_d,
           lgort type lgort_d,
           MTSNR type MTSNR1,
           END OF itab,
           begin of it_caufv occurs 0,
           aufnr type aufnr,
           rsnum type rsnum,
           end of it_caufv,
           begin of it_resb occurs 0,
           rsnum type rsnum,
           aufnr type aufnr,
           xwaok type xwaok,
           matnr type matnr,
           enmng type enmng,
           splkz type CHSPLIT,
           rgekz type RGEKZ,
           end of it_resb.
    data dir2 type string.
    PARAMETERS : dir1(50) TYPE c.
    dir2 = dir1.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        filename            = dir2              "'C:order.txt'
        filetype            = 'ASC'
        has_field_separator = 'X'
      TABLES
        data_tab            = itab.
    loop at itab.
    select aufnr rsnum from caufv into table it_caufv where lead_aufnr = itab-aufnr.
    loop at it_caufv.
    select rsnum aufnr xwaok matnr enmng splkz rgekz from resb into table it_resb  where rsnum = it_caufv-rsnum.
    loop at it_resb.
    if it_resb-xwaok eq 'X'.    " Movement Allowed
    if it_resb-enmng > 0 .   "  Quantity With drawn
    if it_resb-rgekz eq ' '.    " Back Flush
    *if it_resb-splkz eq ' '.    " Batch Split
    data: begin of record occurs 0,
    * data element: BLDAT
            BLDAT_001(010),
    * data element: BUDAT
            BUDAT_002(010),
    * data element: MTSNR1
            MTSNR_003(016),
    * data element: BWARTWA
            BWARTWA_004(003),
    * data element: WERKS_D
            WERKS_005(004),
    * data element: LGORT_D
            LGORT_006(004),
    * data element:
            XFULL_007(001),
    * data element: WVERS2
            WVERS2_008(001),
    * data element: WERKS_D
            WERKS_009(004),
    * data element: AUFNR
            AUFNR_01_010(012),
    * data element: LGORT_D
            LGORT_01_011(004),
    * data element: LGORT_D
            LGORT_02_012(004),
    * data element: LGORT_D
            LGORT_03_013(004),
    * data element: LGORT_D
            LGORT_04_014(004),
    * data element: LGORT_D
            LGORT_05_015(004),
    * data element: ERFMG
            ERFMG_016(017),
    * data element: ERFME
            ERFME_017(003),
    * data element: LGORT_D
            LGORT_018(004),
    * data element: FMORE
            FMORE_019(001),
          end of record.
    *** End generated data section ***
    *start-of-selection.
    *perform open_dataset using dataset.
    **record-mtsnr_003 = 'REM'.
    **record-bwartwa_004 = '262'.
    **record-werks_009 = 'HPR1'.
    **append record.
    *loop at record.
    PERFORM DYNPRO USING :
                        'X'  'SAPMM07M'  '0400',
                        ' '  'BDC_CURSOR'  'RM07M-LGORT',
                        ' '  'BDC_OKCODE' '=NFAS',
                        ' '  'BDC_CURSOR' 'RM07M-MTSNR',
                        ' '  'RM07M-MTSNR' 'REM',
                        ' '  'BDC_CURSOR' 'RM07M-BWARTWA',
                        ' '  'RM07M-BWARTWA' '262',
                        ' '  'BDC_CURSOR' 'RM07M-WERKS',
                        ' '  'RM07M-WERKS' itab-werks,
                        ' '  'BDC_CURSOR' 'RM07M-LGORT',
                        ' '  'RM07M-LGORT' itab-lGORT,
                        'X'  'SAPMM07M' '1405',
                        ' '  'BDC_CURSOR' 'RM07M-AUFNR(01)',
                        ' '  'BDC_OKCODE' 'SS',
                        ' '  'BDC_CURSOR' 'RM07M-AUFNR(01)',
                        ' '  'RM07M-AUFNR(01)' it_caufv-aufnr,
                        'X'  'SAPMM07M' '0410',
                        ' '  'BDC_CURSOR' 'MSEG-ERFMG',
                        ' '  'BDC_OKCODE' '=BU',
                        ' '  'BDC_CURSOR' 'MSEG-LGORT',
                        ' '  'MSEG-LGORT' itab-lGORT,
                         'X' 'SAPLKACB' '2400',
                         ' ' 'BDC_CURSOR' 'COBL-AUFNR',
                         ' ' 'BDC_OKCODE' '=ENTE'.
    *                    ' '  'BDC_CURSOR' 'COBL-AUFNR',
    *                    ' '  'MSEG-LGORT' it_caufv-aufnr.
    CALL TRANSACTION 'MB1A' USING BDC_TAB MODE 'A' UPDATE 'S'
                                         MESSAGES INTO messtab.
    if sy-subrc eq 0.
    write :/ 'Suceess full',it_resb-aufnr, it_resb-matnr,it_resb-enmng.
    else.
    write :/ 'UN Suceess full',it_resb-aufnr, it_resb-matnr,it_resb-enmng.
    endif.
    *                    ' '  'BDC_CURSOR'  'MKPF-BLDAT',
    *                    ' '  'EMPNO' record-BLDAT_001,
    *                    ' '  'BDC_CURSOR' 'MKPF-BUDAT',
    *                    ' '  'MKPF-BUDAT' record-BUDAT_002.
    *perform bdc_field
    *perform bdc_field       using 'RM07M-WERKS'
    *                              record-WERKS_005.
    *perform bdc_field
    *perform bdc_field       using 'XFULL'
    *                              record-XFULL_007.
    *perform bdc_field       using 'RM07M-WVERS2'
    *                              record-WVERS2_008.
    *perform bdc_dynpro      using 'SAPMM07M' '1405'.
    *perform bdc_field       using 'BDC_CURSOR'
    *                              'RM07M-AUFNR(01)'.
    *perform bdc_field       using 'BDC_OKCODE'
    *                              'SS'.
    *perform bdc_field       using 'RM07M-WERKS'
    *                              record-WERKS_009.
    *perform bdc_field       using 'RM07M-AUFNR(01)'
    *                              record-AUFNR_01_010.
    *perform bdc_field       using 'RM07M-LGORT(01)'
    *                              record-LGORT_01_011.
    *perform bdc_field       using 'RM07M-LGORT(02)'
    *                              record-LGORT_02_012.
    *perform bdc_field       using 'RM07M-LGORT(03)'
    *                              record-LGORT_03_013.
    *perform bdc_field       using 'RM07M-LGORT(04)'
    *                              record-LGORT_04_014.
    *perform bdc_field       using 'RM07M-LGORT(05)'
    *                              record-LGORT_05_015.
    *perform bdc_dynpro      using 'SAPMM07M' '0410'.
    *perform bdc_field       using 'BDC_CURSOR'
    *                              'MSEG-ERFMG'.
    *perform bdc_field       using 'BDC_OKCODE'
    *                              '=BU'.
    *perform bdc_field       using 'MSEG-ERFMG'
    *                              record-ERFMG_016.
    *perform bdc_field       using 'MSEG-ERFME'
    *                              record-ERFME_017.
    *perform bdc_field       using 'MSEG-LGORT'
    *                              record-LGORT_018.
    *perform bdc_field       using 'DKACB-FMORE'
    *                              record-FMORE_019.
    *perform bdc_dynpro      using 'SAPLKACB' '0002'.
    *perform bdc_field       using 'BDC_CURSOR'
    *                              'COBL-AUFNR'.
    *perform bdc_field       using 'BDC_OKCODE'
    *                              '=ENTE'.
    *perform bdc_transaction using 'MB1A'.
    *endloop.
    *endif.
    else.
    write :/ 'Plan Order reverse Conformation',it_resb-aufnr, it_resb-matnr,it_resb-enmng.
    endif.
    else.
    write :/ 'goods not issued',it_resb-aufnr, it_resb-matnr,it_resb-enmng.
    endif.
    endif.
    endloop.
    endloop.
    endloop.
    form DYNPRO  using    value(p_0238)
                          value(p_0239)
                          value(p_0240).
    IF p_0238 = 'X'.
        CLEAR bdc_tab.
        MOVE:  'SAPMM07M' TO bdc_tab-program,
                P_0240 TO bdc_tab-dynpro,
                'X'  TO bdc_tab-dynbegin.
        APPEND bdc_tab.
      ELSE.
        CLEAR bdc_tab.
        MOVE:  P_0239 TO bdc_tab-fnam,
               P_0240 TO bdc_tab-fval.
        APPEND bdc_tab.
      ENDIF.
    endform.                    " DYNPRO

    best to do is use bapi <b>BAPI_GOODSMVT_CREATE</b> and see its documentation to get more info.
    Regards
    Prabhu

  • Can we record two transactions and use for  a Call-transaction BDC?

    can we record two transactions and upload data using Call-transaction method in BDC ?IF not why?

    Hi Prakash,
    Here i used two transactions.
    REPORT zra_gl_cr NO STANDARD PAGE HEADING LINE-SIZE 255.
    TYPE-POOLS: truxs.
    DATA: it_raw TYPE truxs_t_text_data.
    DATA:messtab1 LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
    DATA:messtab LIKE bdcmsgcoll OCCURS 0 WITH HEADER LINE.
    DATA: bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE.
    DATA: BEGIN OF i_mess OCCURS 0,
      l_mstring(480),
      msgnr(5),
      msgv1(15),
      END OF i_mess.
    DATA:i_mess1 LIKE i_mess OCCURS 0 WITH HEADER LINE.
    DATA: l_mstring(480),l_mstring1(480).
    DATA: BEGIN OF it_itab OCCURS 0,
          saknr(10),    "G/L a/c number.
          bukrs(4),     "Company Code.
          ktoks(4),     "G/L a/c group.
          xplacct(1),   "P&L statement account.
          xbilk(1),     "Balance sheet account.
          txt20_ml(20), "G/L a/c short text.
          txt50_ml(50), "G/L a/c long text.
          waers(5),     "Account currency.
          MWSKZ(2),
          mitkz(1),     "Reconciliation a/c for a/c type.
          xopvw(1),     "Open item management
          xkres(1),     "Line item display.
          zuawa(3),     "Sort Key.
          fstag(4),     "Field status group.
          xintb(1),     "Post automatically only.
          hbkid(5),     "House bank.
          hktid(5),     "Account id.
          vzskz(2),     "Interest indicator
          END OF it_itab.
    DATA: hdate LIKE sy-datum.
                          Selection Screen                       *****
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 5(15) text-103. " FOR FIELD P_FILE1.
    SELECTION-SCREEN POSITION 25.
    PARAMETERS : p_file1 LIKE rlgrap-filename.
    SELECTION-SCREEN END OF LINE.
                          Initialization                         *****
    INITIALIZATION.
                       At Selection Screen                       *****
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file1.
    Perform file_selection will help to select the location of the file
      PERFORM file_selection.
                       Start-Of-Selection                        *****
    START-OF-SELECTION.
    Perform data_upload will help to upload the data from the flat file
    to the internal table.
      PERFORM data_upload.
    PERFORM open_group.
       Peform bdc_upload will help to upload the data from the internal
       table into its respective fields.
    PERFORM bdc_fspo.
      PERFORM bdc_upload.
      PERFORM exp_log.
    PERFORM close_group.
       Perform display_log will prepare a log for the data that has been
       uploaded
       PERFORM display_log.
                        End-Of-Selection                           ****
    END-OF-SELECTION.
    *&      Form  file_selection
          To select the location of the file
    FORM file_selection .
      CALL FUNCTION 'WS_FILENAME_GET'
        EXPORTING
          def_filename     = ' '
          def_path         = 'C:\'
          mask             = ',.txt,.xls.'
          mode             = 'O'
          title            = 'Open a excel file'
        IMPORTING
          filename         = p_file1
        EXCEPTIONS
          inv_winsys       = 1
          no_batch         = 2
          selection_cancel = 3
          selection_error  = 4
          OTHERS           = 5.
    ENDFORM.                    " file_selection
    *&      Form  data_upload
         To upload the data from the file location to the internal table.
    FORM data_upload .
      CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
        EXPORTING
        I_FIELD_SEPERATOR        =
          i_line_header            =  'X'
          i_tab_raw_data           =  it_raw
          i_filename               =  p_file1
        TABLES
          i_tab_converted_data     = it_itab
       EXCEPTIONS
          conversion_failed        = 1
          OTHERS                   = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    ENDFORM.                    " data_upload
    *&      Form  bdc_upload
    To upload the data from the internal table into its respective fields.
    FORM bdc_upload .
      LOOP AT it_itab.
    perform bdc_dynpro      using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ACC_CRE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_KEY-SAKNR'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_KEY-SAKNR'
                                  it_itab-SAKNR.
    perform bdc_field       using 'GLACCOUNT_SCREEN_KEY-BUKRS'
                                  it_itab-BUKRS.
    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'
                                  it_itab-KTOKS.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                  it_itab-XPLACCT.
    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'
                                  it_itab-KTOKS.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                 it_itab-XPLACCT.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-XBILK'
                                  it_itab-XBILK.
    perform bdc_dynpro      using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTER'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-KTOKS'
                                  it_itab-KTOKS.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-XBILK'
                                  it_itab-XBILK.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-TXT20_ML'
                                  it_itab-TXT20_ML.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-TXT50_ML'
                                 it_itab-TXT50_ML.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_COA-BILKT'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-BILKT'
                                  it_itab-saknr.
        PERFORM bdc_dynpro      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=TAB02'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'GLACCOUNT_SCREEN_COA-KTOKS'.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                       it_itab-ktoks.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_COA-TXT20_ML'
                                       it_itab-txt20_ml.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_COA-TXT50_ML'
                                       it_itab-txt50_ml.
        perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_COA-BILKT'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-BILKT'
                                  it_itab-saknr.
    perform bdc_dynpro      using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=TAB02'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_COA-KTOKS'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-KTOKS'
                                     it_itab-KTOKS.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_COA-KTOKS'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-KTOKS'
                                  it_itab-KTOKS.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-XBILK'
                                 it_itab-XBILK.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-TXT20_ML'
                                  it_itab-TXT20_ML.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-TXT50_ML'
                                  it_itab-TXT50_ML.
    perform bdc_field       using 'GLACCOUNT_SCREEN_COA-BILKT'
                                 it_itab-saknr.
    perform bdc_dynpro      using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTER'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-WAERS'
                                  it_itab-waers.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
                                  it_itab-MWSKZ.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-MITKZ'
                                  it_itab-mitkz.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_CCODE-XOPVW'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XOPVW'
                                  it_itab-XOPVW.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-XKRES'
                                  it_itab-XKRES.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
                                 it_itab-ZUAWA.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                       it_itab-xplacct.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                       it_itab-xbilk.
           IF it_itab-xbilk = 'X'.
       PERFORM bdc_dynpro USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
       PERFORM bdc_field       USING 'BDC_OKCODE'
                                     '=TAB03'.
       PERFORM bdc_field       USING 'BDC_CURSOR'
                                     'GLACCOUNT_SCREEN_CCODE-WAERS'.
       PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_CCODE-WAERS'
                                      it_itab-waers.
         PERFORM bdc_field USING 'GLACCOUNT_SCREEN_CCODE-XOPVW'
                                  it_itab-xopvw.
         PERFORM bdc_field USING 'GLACCOUNT_SCREEN_CCODE-MITKZ'
                                  it_itab-mitkz.
       ENDIF.
       PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_CCODE-XKRES'
                                      it_itab-xkres.
       PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
                                      it_itab-zuawa.
       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-FSTAG'.
       PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_CCODE-FSTAG'
                                      it_itab-fstag.
       PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_CCODE-XINTB'
                                      it_itab-xintb.
       PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_CCODE-HBKID'
                                      it_itab-hbkid.
       PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_CCODE-HKTID'
                                      it_itab-hktid.
       PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_CCODE-VZSKZ'
                                      it_itab-vzskz.
    perform bdc_dynpro      using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=TAB03'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_CCODE-WAERS'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-WAERS'
                                  it_itab-WAERS.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-MWSKZ'
                                  it_itab-MWSKZ.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-MITKZ'
                                  it_itab-MITKZ.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-ZUAWA'
                                 it_itab-ZUAWA.
    perform bdc_dynpro      using 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTER'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'GLACCOUNT_SCREEN_CCODE-FSTAG'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-FSTAG'
                                 it_itab-FSTAG.
    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-FSTAG'.
    perform bdc_field       using 'GLACCOUNT_SCREEN_CCODE-FSTAG'
                                  it_itab-FSTAG.
       PERFORM bdc_transaction USING 'FS00'.
        CALL TRANSACTION 'FS00' USING bdcdata MODE 'A'
                                              UPDATE 'S'
                                             MESSAGES  INTO messtab1.
        PERFORM mess1.
        REFRESH bdcdata[].
      ENDLOOP.
    ENDFORM.                    " bdc_upload
    *&      Form  bdc_fspo
          text
    FORM bdc_fspo .
      LOOP AT it_itab.
        PERFORM bdc_dynpro      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ACC_CRE'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'GLACCOUNT_SCREEN_KEY-SAKNR'.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_KEY-SAKNR'
                                      it_itab-saknr.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_KEY-KTOPL'
                                      '1000'.
        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'
                                      it_itab-ktoks.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                       it_itab-xplacct.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_COA-XBILK'
                                      it_itab-xbilk.
        PERFORM bdc_dynpro      USING 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=SAVE'.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_COA-KTOKS'
                                       it_itab-ktoks.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_COA-XPLACCT'
                                       it_itab-xplacct.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'GLACCOUNT_SCREEN_COA-TXT50_ML'.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_COA-TXT20_ML'
                                       it_itab-txt20_ml.
        PERFORM bdc_field       USING 'GLACCOUNT_SCREEN_COA-TXT50_ML'
                                       it_itab-txt50_ml.
    *perform bdc_transaction using 'FSP0'.
        CALL TRANSACTION 'FSP0' USING bdcdata MODE 'A'
                                              UPDATE 'S'
                                             MESSAGES  INTO messtab.
        PERFORM mess.
        REFRESH bdcdata[].
      ENDLOOP.
    ENDFORM.                    " bdc_fspo
    *&      Form  mess
          text
    -->  p1        text
    <--  p2        text
    FORM mess .                                                 "fsp0
      LOOP AT messtab.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id        = messtab-msgid
            lang      = messtab-msgspra
            no        = messtab-msgnr
            v1        = messtab-msgv1
            v2        = messtab-msgv2
            v3        = messtab-msgv3
            v4        = messtab-msgv4
          IMPORTING
            msg       = l_mstring
          EXCEPTIONS
            not_found = 1
            OTHERS    = 2.
        CONDENSE l_mstring.
        i_mess1-l_mstring = l_mstring(250).
        i_mess1-msgnr = messtab1-msgnr.
        i_mess1-msgv1 = messtab1-msgv1.
        APPEND i_mess1.
      ENDLOOP.
    ENDFORM.                    " mess
    *&      Form  mess1
          text
    -->  p1        text
    <--  p2        text
    FORM mess1 .                                                "fs00
      LOOP AT messtab1.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            id        = messtab1-msgid
            lang      = messtab1-msgspra
            no        = messtab1-msgnr
            v1        = messtab1-msgv1
            v2        = messtab1-msgv2
            v3        = messtab1-msgv3
            v4        = messtab1-msgv4
          IMPORTING
            msg       = l_mstring1
          EXCEPTIONS
            not_found = 1
            OTHERS    = 2.
        CONDENSE l_mstring1.
        i_mess-l_mstring = l_mstring1(250).
        i_mess-msgnr = messtab1-msgnr.
        i_mess-msgv1 = messtab1-msgv1.
        APPEND i_mess.
      ENDLOOP.
    ENDFORM.                                                    " mess1
    *&      Form  exp_log
          text
    -->  p1        text
    <--  p2        text
    FORM exp_log .
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename = 'c:\temp\error_fsp0.txt'
          filetype = 'DAT'
        TABLES
          data_tab = i_mess1.
      CALL FUNCTION 'GUI_DOWNLOAD'
        EXPORTING
          filename = 'c:\temp\error_fs00.txt'
          filetype = 'DAT'
        TABLES
          data_tab = i_mess.
    ENDFORM.                    " exp_log
    *&      Form  bdc_dynpro
          text
         -->PROGRAM    text
         -->DYNPRO     text
    FORM bdc_dynpro USING program dynpro.
      CLEAR bdcdata.
      bdcdata-program  = program.
      bdcdata-dynpro   = dynpro.
      bdcdata-dynbegin = 'X'.
      APPEND bdcdata.
    ENDFORM.                    "BDC_DYNPRO
           Insert field                                                  *
    FORM bdc_field USING fnam fval.
      CLEAR bdcdata.
      bdcdata-fnam = fnam.
      bdcdata-fval = fval.
      APPEND bdcdata.
    ENDFORM.                    "BDC_Field
    ********Rewards some points.

  • Error applying Adobe Reader 11.0.07 patch - "Error 2762. Cannot write script record. Transaction not started"

    I have a problem applying the "adobe reader 11.0.07" patch. I have downloaded "AdbeRdrUpd11007_MUI.msp" from Adobe site and tried applying the patch using the command.
    The following error is prompted
    "Error 2762. Cannot write script record. Transaction not started" at the end of installation, But the version is updated to "11.0.07" in ARP.
    This error is mainly related to custom action sequence in "Execute sequence".
    I have created logfile and checked. it points to the custom action - "CreateAcroPDFRegForIE11".
    Could someone help me resolve this issue?
    Thanks in Advance..

    Hello Kashif,
    Find the answers below:
    1) How did you install reader MUI for example by running setup.exe or through an AIP or may be via SCCM or GPO? Any customizations during first install?
         package is for SCCM  and the Installation is carried through msi . AIP
    2) Which version of Reader MUI do you have installed curently?
         Adobe Reader 11.0.05
    3) Which command did you use to run the patch?
         msiexec /p AdbeRdrUpd11007_MUI.msp
    4) Did you run the patch from an elevated command prompt?
         Yes
    5) Which OS version are you at?
         Windows 7 64 bit
    Am unable to share the log file, am just copying the lines where the installation stops and prompts error:
    MSI (s) (24:20) [11:26:44:071]: Doing action: CreateAcroPDFRegForIE11
    Action start 11:26:44: CreateAcroPDFRegForIE11.
    MSI (s) (24:20) [11:26:44:071]: Transforming table CustomAction.
    MSI (s) (24:20) [11:26:44:071]: Transforming table CustomAction.
    MSI (s) (24:20) [11:26:44:071]: Note: 1: 2262 2: CustomAction 3: -2147287038
    MSI (s) (24:20) [11:26:44:071]: Transforming table CustomAction.
    MSI (s) (24:20) [11:26:44:071]: Transforming table Binary.
    MSI (s) (24:20) [11:26:44:071]: Transforming table Binary.
    MSI (s) (24:20) [11:26:44:071]: Note: 1: 2262 2: Binary 3: -2147287038
    MSI (s) (24:20) [11:26:44:071]: Transforming table Binary.
    MSI (s) (24:20) [11:26:44:071]: Note: 1: 2762
    MSI (c) (80:E8) [11:26:44:243]: Font created.  Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg
    Error 2762.Cannot write script record. Transaction not started.
    MSI (s) (24:20) [11:33:58:305]: Product: Adobe Reader XI (11.0.07)  MUI -- Error 2762.Cannot write script record. Transaction not started.
    Action ended 11:33:58: CreateAcroPDFRegForIE11. Return value 3.
    Thanks In Advance..

  • Problem Recording FMX1 Transaction for Batch Input. Plz Help

    Hi Everyone!!!
    I'm using the Transaction SHDB to create a new recording over the FMX1 Transaction for a Batch Input. The strange thing is that when i'm about to save the recording i get the following error:
    "A runtime error: SAPSQL_ARRAY_INSERT_DUPREC"
    I tried using the transaction FMX1 with the same data(constants), and it works perfectly. And I know it's not a duplicated key or anything, it works fine when i use the transaction.
    This lead me to think that the problem is somewhere when i try to record the transaction.
    Any Ideas of how to fix the problem, or does anyone knows if its a SAP problem that needs some kind of fix.
    Any help would be really aprreciated!
    Thx again.

    Try using recording method and try to post 1 item...U will get the recording. In this recording, the field might be shown up which can be used.

  • After doing the recording for transaction fpcj, the values are not being se

    after doing the recording for transaction fpcj, the values are not being sent to the g/l.

    HI,
      When you are recording.. you might be creating the values... ensure that they are updated into the GL before u write program. I doubt you might have missed the save ..
    Thanks
    Mahesh

  • BAPI for Pricing condition record  to transaction MEk1

    Hi Experts,
    I am facing problem to find out the BAPI or function module  to create the condition record for transaction MEK1.Please let me know asap.
    Richard.

    You can use BAPI_PRICES_CONDITIONS .
    See the thread.
    BAPI_PRICES_CONDITIONS

  • How to record a transaction in OEM

    Hi all,
    few days back we installed a agent control on one windows forms and report server to collect the transaction info of forms and reports of that particular. after succecfully completed our installation. we couldn't able to record the transactions on that server.don't know where is the problem occurs? i installed jinitiator in that system also. if anybody face this problem earlier if so pls let us know?
    o/s--windows2003R2
    forms-oracle 6.0
    oracle-10.2.0.3.0

    Are you asking about recording service tests?
    10.2.0.3 (10gR3) does not support Forms 6. You need to use 10.2.0.4 (10gR4) for that. Forms 6 is rather old. Is this for E-Business Suite 11i?
    <br>
    <br>
    Chung
    <br>
    <br>
    Application Management Blog

  • Error 2762.Cannot write script record. Transaction not started.

    I get this error when trying to install any of the MSP from 11.0.7. My device is at 11.0.6. Has anyone seen this issue?

    Yes I am trying to install Adobe reader patch AdbeRdrUpd11007.msp on a Windows 7 device. I cannot uninstall already installed version as I am testing the deployment for an enterprise wide deployment and uninstalling existing version is not acceptible.
    The error I keep seeing is
    Error 2762.Cannot write script record. Transaction not started.
    However the Version is updated  to 11.0.7 in Help->About

  • Help needed in Recording CA02 Transaction (Change Routings).

    What fields are to be filled mandatory, whille recording CA02 Transaction (Change Routings),
    Please Guide.
    Thanks in advance.
    Moderator message: please do more research before asking, show what you have done yourself when asking.
    Edited by: Thomas Zloch on Nov 1, 2011 10:38 AM

    the same fields that you have to fill if you maintain the routings manually.

  • Problem in BDC recording for transaction /J4I/015W3A

    hello all,
    i am recording for transaction /J4I/015W3A it has 4 select options if we enter all select options and press enter it will guide to another screen which has table control . i need the fill the entries there also and save the recording.
    i have completed recording with all the steps.
    if i try to run the report with this recording the problem is that  the first screen  the entries which i have entered in  select options are not defaulted and instead first enter okcode is getting triggered as there are no values on select options and enter is triggered an error message is displayed saying enter all the values .
    how can i over come this problem...........?

    hi,
      while recording, ok code will come first, for each screen you have to kept ok code at last .
      This will work.
    regards,
    pavan

  • Launch transaction PA30 in new window

    Hi,
    can you explain me how can you launch transaction PA30 in new window session.
    Thanks a lot.
    Cheers

    Hi you can follow below steps,
    1) create remote enable function module 'ZCALL_PA30' with importing parameter as i_pernr
    2) then Inside function module write
    data pernr type pa0000-pernr .
    pernr = i_pernr.
    SET PARAMETER ID 'PER' FIELD pernr .
    call TRANsaction 'PA30'  AND SKIP FIRST SCREEN .
                                                                                    3) In current program call function module in below maner.
    call FUNCTION 'ZCALL_PA30'   STARTING NEW TASK 'T'
    Try Out above steps, it works for me.

Maybe you are looking for