PO13 Recording problem for BDC

Hi All.
We have a requirement for PO13 bdc for changing the cost center data per position wise.
I am trying to change the cost center from PO13.while doing manually, the new cost center is delimimting the older record & appending a new record in PO13 & as well as in PA30(Org Data).it is working fine.
same thing I did in recording by SHDB for PO13.In this time it is overwriting the existing costcenter record & is not reflecting in the PA30 also.
while doing manually , while saving the Popup"Previous record will be delimited at end.Do you want to save" (Program-SAPLSPO1)is comming.But same popup screen is not comming in SHDB recording.
that's why even I ran the bdc , records are not comming properly.
appart from this PO13 bdc, is there any other method of changing the Cost center (like bapi / function module) in mass.
it is very urgently needed.Plaese help me to sort out this issue.
Thanks in advance,
Regards,
Venkat

Hi Venkat,
You'd better try PP02 transaction for BDC recording when Organizational Management Objects are in question.
Regards,
Dilek

Similar Messages

  • Recording TCode for BDC program

    Hi ALL,
    I have a problem in recording GS01 tcode.
    I have to a table control in GS01 tcode.
    After some rows again i need to update the data.
    How can i record this and write BDC program for the same.

    Hi
    To uplaod the data using the table control,if number of line are more then screen.
    Then use the P+ in u r code.
                let assume that u can see 10 rows on screen.once the count reachs the 10 then do P+ then
    new line will come and after P+ clear u r counter.

  • Recording problem for f-04 transation

    Hi,
    Iam using f-04 for uploading records from FBL3N. suppose if i have 3 records in database , recording is not going to second record, i have enter manually save button to go to second record (Mode 'A'), if i try with mode 'N), iam not getting output.
    PERFORM bdc_dynpro      USING 'SAPMF05A' '0122'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'BKPF-BUDAT'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=SL'.
      PERFORM bdc_field       USING 'BKPF-BLDAT'
                                     l_dat1.
      PERFORM bdc_field       USING 'BKPF-BLART'
                                     it_bsis-blart .
      PERFORM bdc_field       USING 'BKPF-BUKRS'
                                     p_bukrs.
      PERFORM bdc_field       USING 'BKPF-BUDAT'
                                     l_dat2.
      PERFORM bdc_field       USING 'BKPF-MONAT'
                                     it_bsis-monat.
      PERFORM bdc_field       USING 'BKPF-WAERS'
                                     it_bsis-waers.
      PERFORM bdc_field       USING 'FS006-DOCID'
      PERFORM bdc_dynpro      USING 'SAPMF05A' '0710'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RF05A-XPOS1(03)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=PA'.
      PERFORM bdc_field       USING 'RF05A-AGBUK'
                                     p_bukrs.
      PERFORM bdc_field       USING 'RF05A-AGKON'
                                     p_hkont.
      PERFORM bdc_field       USING 'RF05A-AGKOA'
                                    'S'.
      PERFORM bdc_field       USING 'RF05A-XNOPS'
                                    'X'.
      PERFORM bdc_field       USING 'RF05A-XPOS1(01)'
      PERFORM bdc_field       USING 'RF05A-XPOS1(03)'
                                    'X'.
      PERFORM bdc_dynpro      USING 'SAPMF05A' '0731'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RF05A-SEL01(01)'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=PA'.
      PERFORM bdc_field       USING 'RF05A-SEL01(01)'
                                     it_bsis-belnr.
      PERFORM bdc_dynpro      USING 'SAPDF05X' '3100'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=AB'.
      PERFORM bdc_field      USING  'BDC_SUBSCR'
                               'SAPDF05X'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RF05A-ABPOS'.
      PERFORM bdc_field       USING 'RF05A-ABPOS'
                                    '1'.
      PERFORM bdc_dynpro      USING 'SAPMF05A' '0700'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'RF05A-NEWKO'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'RF05A-NEWBS'
                                    '50'.
      PERFORM bdc_field       USING 'RF05A-NEWKO'
                                    '101047'.
      PERFORM bdc_dynpro      USING 'SAPMF05A' '0300'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'BSEG-WRBTR'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'BSEG-WRBTR'
                                     v_amt.
      PERFORM bdc_field       USING 'BSEG-VALUT'
                                      l_dat3.
      PERFORM bdc_field USING  'BDC_SUBSCR'
                                 'SAPLKACB'.
      PERFORM bdc_field       USING 'DKACB-FMORE'
                                      'X'.
      PERFORM bdc_dynpro      USING 'SAPLKACB' '0002'.
      PERFORM bdc_field       USING 'BDC_CURSOR'
                                    'COBL-ANLN1'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=ENTE'.
      PERFORM bdc_field      USING  'BDC_SUBSCR'
                                 'SAPLKACB'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=BU'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '/00'.
      PERFORM bdc_field       USING 'BDC_OKCODE'
                                    '=BU'.
    ANy one help me to go to second record with out user interaction.
    thanks,
    Veeru

    HI Veeru,
    Problem may be in file structure and which method u r using for uplaod the data?
    Regards,
    Kumar.

  • Internal table problem for BDC

    Hai i am having flatfile like this format
    H   text1   1000   plant_name   10 short_text   X     X
                                                     20 short_text   X     X
                                                     30 short_text   X     X
    H   text1   1000   plant_name   10 short_text   X     X
                                                     20 short_text   X     X
                                                     30 short_text   X     X
    now this H indicates new record. In each new record number of line items are there.
    How to proceed using internal tables. please help me.

    hi,
    arrange your flat file like this...
    H    text1 1000  plant_name  10  short_text X X
    H    text1 1000  plant_name  20 short_text  X X
    H    text1 1000  plant_name  30 short_text  X X
    H1  text1 1000  plant_name  10 short_text  X X
    H1  text1 1000  plant_name  20 short_text  X X
    H1  text1 1000  plant_name  30 short_text  X X
    now make an internal table having all the fields present in your flat file
    and loop at that internal table and on change of field H call your function module and pass the value for record H......
    similarly it will work for H1.....H2.....
    for eg...
    LOOP AT "Your internal table" INTO "Work area of your internal table".
        AT END OF "field name for H".
          CALL FUNCTION ''Your function module"

  • Recording Problem for Vendor Return

    I need to update the Vendor Return indicator (LFM1_ZKRET) on the XK02 Vendor Change screen. However, when I select this field while doing a recording using SHDB or LSMW I receive the error "It is not possible to copy data from fields 'Returns with shipping proc'.  I'm fairly new to SAP so I'm not sure how to update this field without doing a recording. Any advice would be greatly appreciated.  Thanks!

    It is not possible to record return vendors(Sap Standard functionality).You can only check the indicator.But if u want to create a return vendor(customer) you ned to create a customer and u need to assign it to th evendor.
    There is a specific procedure(simple).
    Thanks,
    Venkat Chaitanya

  • Problem during recording of CJ01 transaction for BDC

    Hello All,
    I am facing a problem during the recording of CJ01(Creation of projects) for creation of BDC program.
    The problem is during recoding after entering the the first WBS element with level 1 and i press the '+' button to create one more WBS element with Level 2,the first WBS element with level 1 goes to the bottom of the line item table and now if try to create the WBS element with Level 2 in the first line it wont allow because of the fact that the first WBS element with level 1 is below it.
    But if i enter the first WBS elemnt with level 1 in the first line and come to the next line and enter the second WBS element with level 2 it will create since Level 2 WBS is below the Level 1.But this approach cannot be used for doing a recording for BDC.
    Can anyone help in this regard
    Thanks in Advance
    Ashish

    Hi Ashish,
    NW is right. It is not proper to use BDC for CJ01. You can get more control and better if you use the following function module,
    1. Use BAPI_PROJECT_MAINTAIN to create project definition and WBS Structure in one go. see the documentation in the BAPI on how to use this. Post the resut in this forum if you face any problem
    Ravi

  • Problem in BDC for VA01 transaction TEXTS tab(Upgrading from 4.5b to ECC6)

    Hi All,
    I am working in upgrade project from 4.5b version to ECC6 version.
    I am facing problem in TEXTS tab of VA01 transaction. In earlier version it is a table control containing of Language, Description & First line but, in ECC6 the screen is modified with texteditor, a list box for language key and a Text type at the left.
    Now my problem is how to record this in BDC and how to read the text in the texteditor?
    Thanks in Advance,
    Ravi Kiran.

    Hi Seshagiri,
    In this case i would suggest the use of BAPI if there's no compulsion to use BDC.
    BAPI_SALESORDER_CHANGE                     Sales order: Change Sales Order
    BAPI_SALESORDER_CONFIRMDELVRY
    BAPI_SALESORDER_CREATEFROMDAT1    Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2    Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA    Create Sales Order, No More
    BAPI_SALESORDER_GETLIST        Sales order: List of all Orders for Customer
    BAPI_SALESORDER_GETSTATUS      Sales Order: Display Status
    BAPI_SALESORDER_SIMULATE       Sales Order: Simulate Sales Order
    try using these for creation or change of orders instead of bdcs.
    hope this helps and revert for more clarifications if any.
    <b>Always reward points to useful suggestions.</b>
    regards,
    Vikas

  • Problem in BDC Recording

    Hi I am having a problem in BDC Recording. My requirement is that when I input data in transaction fb02 to block the invoices, It shows a list of invoices. Now i need to double click that item(line) in which PK = 06 at runtime during bdc recording. During BDC recording it takes the line number on which we have clicked which is constant but i want it dynamic that if item 1 is having PK=6, that line should be double clicked and if item 3 is having PK=6, the third item should be double clicked to open another screen. Kindly help me... Thanks in advance.

    Hi Ravi,
    While writing your code that is in your code you know which line number is having the PK = 06, then you can use the same line number and add the code for double click after that.
    Regards,
    Atish

  • Problem in bdc session method for tcode FS00

    Hi Experts,
    problem in bdc session method, when i run this program no output is shown.
    Even it is not calling the transaction.
    code as follows.
    *& Report  Z_GL_MASTER
    *& CATEGORY         =  BDC.
    *& DESCRIPTION      =  UPLOADING G/L MASTER RECORDS.
    *& TECHNICAL CONST  =  FRANCIS REDDY.
    *& FUNTIONAL CONST  =  FICO.
    REPORT  Z_GL_MASTER.
    *& Internal  Table
    DATA : BEGIN OF IT_UPLOAD OCCURS 0,
           SAKNR LIKE  GLACCOUNT_SCREEN_KEY-SAKNR,          " ACCOUNT NUMBER.
           BUKRS LIKE  GLACCOUNT_SCREEN_KEY-BUKRS,          " COMPANY CODE.
           KTOKS LIKE GLACCOUNT_SCREEN_COA-KTOKS,           " ACCOUNT GROUP.
           XPLACCT LIKE GLACCOUNT_SCREEN_COA-XPLACCT,       " P&L STATEMEMENT.
           GVTYP LIKE  GLACCOUNT_SCREEN_COA-GVTYP,          " P&L STATEMENT TYPE.
           XBILK LIKE GLACCOUNT_SCREEN_COA-XBILK,           " BALANCE SHEET STATEMENT
           SHORT LIKE GLACCOUNT_SCREEN_COA-TXT20_ML,        " SHORT TEXT.
           LONG LIKE GLACCOUNT_SCREEN_COA-TXT50_ML,         " LONG TEXT.
           WAERS LIKE GLACCOUNT_SCREEN_CCODE-WAERS,         " ACCOUNT CURRENCY.
           XSALH LIKE GLACCOUNT_SCREEN_CCODE-XSALH,         " ONLY BALANCES IN LOCAL CURRENCY.
           MITKZ LIKE GLACCOUNT_SCREEN_CCODE-MITKZ,         " RECONCILATION ACCOUNT FOR ACCOUNT TYPEGLACCOUNT_SCREEN_CCODE-MITKZ
           XOPVW LIKE GLACCOUNT_SCREEN_CCODE-XOPVW,         " OPEN ITEM MANAGEMENT.
           XKRES LIKE GLACCOUNT_SCREEN_CCODE-XKRES,         " LINE ITEM DISPLAY.
           ZUAWA LIKE GLACCOUNT_SCREEN_CCODE-ZUAWA,         " SORT KEY.
           FSTAG LIKE GLACCOUNT_SCREEN_CCODE-FSTAG,         " FIELD STATUS GROUP.
           XGKON LIKE GLACCOUNT_SCREEN_CCODE-XGKON,         " RELAVENT CASH FLOW.
           END OF IT_UPLOAD.
    *& Internal  Table FOR BDC DATA.
    DATA : IT_BDCDATA TYPE  BDCDATA OCCURS 0  WITH HEADER LINE.
    *& DATA DECLARATIONS.
    DATA : V_FILE LIKE RLGRAP-FILENAME.
    *&  SELECTION SCREEN.
    PARAMETER : P_FILE LIKE V_FILE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
         PERFORM GET_FILENAME.
    START-OF-SELECTION.
          PERFORM UPLOAD_DATA.
          PERFORM BDCDATA_OPEN.
          PERFORM BDC_POPULATE.
          PERFORM BDC_CLOSE.
    *&      Form  GET_FILENAME
    form GET_FILENAME .
      CALL FUNCTION 'F4_FILENAME'
       EXPORTING
         PROGRAM_NAME        = SYST-CPROG
         DYNPRO_NUMBER       = SYST-DYNNR
         FIELD_NAME          = 'P_FILE'
       IMPORTING
         FILE_NAME           = P_FILE.
    endform.                    " GET_FILENAME
    *&      Form  UPLOAD_DATA
    form UPLOAD_DATA .
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
       FILENAME                      =  P_FILE
       FILETYPE                      = 'DAT'
      TABLES
        data_tab                     = IT_UPLOAD.
    endform.                    " UPLOAD_DATA
    *&      Form  BDCDATA_OPEN
       FORM FOR BDC_OPEN_GROUP.
    form BDCDATA_OPEN .
    CALL FUNCTION 'BDC_OPEN_GROUP'
    EXPORTING
       CLIENT                    = SY-MANDT
       GROUP                     = 'GLMASTER'
       HOLDDATE                  = SY-DATUM
       KEEP                      = 'X'
       USER                      = SY-UNAME.
    endform.                    " BDCDATA_OPEN
    *&      Form  BDC_POPULATE
      POPULATING BDC DATA .
    form BDC_POPULATE .
    loop at it_upload.
    PERFORM BDC_SUB1 USING 'X' 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_SUB2 USING 'BDC_OKCODE' '=ACC_CRE'.
    PERFORM BDC_SUB2 USING 'BDC_CURSOR' 'GLACCOUNT_SCREEN_KEY-SAKNR'.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_KEY-SAKNR'    IT_UPLOAD-SAKNR.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_KEY-BUKRS'    IT_UPLOAD-BUKRS.
    PERFORM BDC_SUB1 USING 'X' 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_SUB2 USING 'BDC_OKCODE' '=2102_GROUP'.
    PERFORM BDC_SUB2 USING 'BDC_CURSOR' 'GLACCOUNT_SCREEN_COA-KTOKS'.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_COA-KTOKS'    IT_UPLOAD-KTOKS.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_COA-XPLACCT'  IT_UPLOAD-XPLACCT.
    PERFORM BDC_SUB1 USING 'X' 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_SUB2 USING 'BDC_OKCODE' '=2102_BS_PL'.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_COA-GVTYP'    IT_UPLOAD-GVTYP.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_COA-XBILK'    IT_UPLOAD-XBILK.
    PERFORM BDC_SUB1 USING 'X' 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_SUB2 USING 'BDC_CURSOR' 'GLACCOUNT_SCREEN_COA-TXT20_ML'.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_COA-TXT20_ML' IT_UPLOAD-SHORT.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_COA-TXT50_ML' IT_UPLOAD-LONG.
    PERFORM BDC_SUB1 USING 'X' 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_SUB2 USING  'BDC_OKCODE' '=TAB02'.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_CCODE-WAERS'  IT_UPLOAD-WAERS.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_CCODE-XSALH'  IT_UPLOAD-XSALH.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_CCODE-MITKZ'  IT_UPLOAD-MITKZ.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_CCODE-XOPVW'  IT_UPLOAD-XOPVW.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_CCODE-XKRES'  IT_UPLOAD-XKRES.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_CCODE-ZUAWA'  IT_UPLOAD-ZUAWA.
    PERFORM BDC_SUB1 USING 'X' 'SAPLGL_ACCOUNT_MASTER_MAINTAIN' '2001'.
    PERFORM BDC_SUB2 USING 'BDC_OKCODE' '=TAB03'.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_CCODE-FSTAG' IT_UPLOAD-FSTAG.
    PERFORM BDC_SUB2 USING 'GLACCOUNT_SCREEN_CCODE-XGKON' IT_UPLOAD-XGKON.
    CALL FUNCTION 'BDC_INSERT'
      EXPORTING
        TCODE                  = 'FS00'
       TABLES
         dynprotab              = IT_BDCDATA.
    endloop.
    endform.                    " BDC_POPULATE
    *&      Form  BDC_CLOSE
    FORM FOR CLOSING BDC_GROUP
    form BDC_CLOSE .
    CALL FUNCTION 'BDC_CLOSE_GROUP'.
    endform.                    " BDC_CLOSE
    *&      Form  BDC_SUB1
       FORM FOR BDCDATA.
    form BDC_SUB1   USING  A  B  C.
    CLEAR  IT_BDCDATA.
    IT_BDCDATA-DYNBEGIN = A.
    IT_BDCDATA-PROGRAM =  B.
    IT_BDCDATA-DYNPRO =   C.
    APPEND IT_BDCDATA.
    endform.                    " BDC_SUB1
    *&      Form  BDC_SUB2
          text
    form BDC_SUB2   USING  A  B.
    CLEAR  IT_BDCDATA.
      IT_BDCDATA-FNAM = A.
      IT_BDCDATA-FVAL = B.
      APPEND IT_BDCDATA.
    endform.                    " BDC_SUB2
    Points will be  rewarded.
    Thanks in advance.
    Francis.

    Hi,
    Once the program is executed..It will a BDC session..
    THen you have to use the transaction SM35..To process the BDC session..
    Thanks,
    Naren

  • Problem in BDC for F-32

    Hi Experts,
    I m facing a problem while doing the BDC for F-32, i want to make Normal OI check field as Uncheck  through BDC , while recording i have uncheck the check box and the field value appears to be ' ' in the recording , but when i process the BDC the field remains CHECKED by Default.
    pls help how can i unchecked the field.
    I have tried it by puting the value of the field 'X' also but still it remains checked .
    pls help me how can i UNCHECKED the Normal OI  screen field .

    Hi
    The output format of an amonut is managed by the currency, you shouldn't have any particular problem,
    In BDC program the field to be used to transfer the amount has to be char, so probably the easier solution is to write it into the bdc field in according to the currency:
    WRITE <AMOUNT> CURRENCY <CUURENCY> TO <BDC FIELD>.
    Max

  • Change transaction using BDC-problem for large number of lines on screen

    Hi All,
    I am developing BAPI (using BDC) which creates quality notification in SAP which is entered via front end web application. Structure p_qmsm contain 3 lines of task in notification. The code is as given below. To avoid problem of large no of lines on screen,code lines starting with * is used. This actually for pagedown after entering every 2 lines and creates new line. so that 2 lines always push up on screen and there will not be problem for creating large no of lines on screen
    perform bdc_dynpro using 'SAPLIQS0' '7200'.
    perform bdc_field using 'BDC_OKCODE' '=10\TAB11'.
    LOOP AT p_qmsm INTO wa_qmsm.
    *IF wa_qmsm_cntr > 2.
           wa_qmsm_cntr = 2.
           perform bdc_dynpro  using 'SAPLIQS0'                   '7204'.
           perform bdc_field   using 'BDC_OKCODE'                 '=PEND'.
    ENDIF.
    perform bdc_dynpro using 'SAPLIQS0' '7204'.
    perform bdc_field using 'BDC_OKCODE' '/00'.
    CONCATENATE 'VIQMSM-QSMNUM(' wa_qmsm_cntr ')' INTO wm_qmsm_qsmnum.
    CONCATENATE 'VIQMSM-MNGRP(' wa_qmsm_cntr ')' INTO wm_qmsm_mngrp.
    CONCATENATE 'VIQMSM-MNCOD(' wa_qmsm_cntr ')' INTO wm_qmsm_mncod.
    CONCATENATE 'VIQMSM-MATXT(' wa_qmsm_cntr ')' INTO wm_qmsm_matxt.
    perform bdc_field using wm_qmsm_qsmnum wa_qmsm-qsmnum.
    perform bdc_field using wm_qmsm_mngrp wa_qmsm-mngrp.
    perform bdc_field using wm_qmsm_mncod wa_qmsm-mncod.
    perform bdc_field using wm_qmsm_matxt wa_qmsm-matxt.
    wa_qmsm_cntr = wa_qmsm_cntr + 01.
    ENDLOOP.
    CALL TRANSACTION 'IQS2' USING wt_bdc
    MODE 'N' UPDATE 'A'  MESSAGES INTO P_MESSTAB.
    The same code is used in modify mode also. web application is sending all 3 lines in modify mode even if single line is modified. It is already decided to send all rows back from web application to SAP in same sequence. It is working fine if i comment 5 lines which is starting with *. But in modify mode, how can i ensure that correct row is modified? and how can i achieve problem of large no of lines on screen?Please suggest?

    Hi yogesh,
    how can i ensure that correct row is modified?
    1. For this we need to know two things ;
       a) the database table in which the entries are already stored
       b) the sequence in which they are displayed in the transaction.
    2. So before changing any line, we need to compare (the primary key values / important values)
       a) as per the database table and as per the incoming data from web application (using bapi)
      b) if the match is ok, it means that particular row was not modified, else modified.
    how can i achieve problem of large no of lines on screen?
    1. For this I am  not sure about the transaction and its screen. Manytimes for appending row on the screen,
      there is a PLUS + button on the grid toolbar. So for every entry, (inspite of some empty/filled rows already visible on the screen), we should use the + button, and this new row always appears on the top i.e. row number 1.
    hope this helps.
    regards,
    amit m.

  • Problem in BDC for PA41

    Hello,
    I have written BDC for pa41 ..it is not taking the second employee after first is updated.
    after first employee updation i need to press back button and then press "NO" to exit batch input.
    then it goes to next employee and same process.
    while executing this process i get " NO batch INput data for screen SAPMP50A 3200".
    My BDC program contains SAPMP50A 3200
    Kindly provide me with solution .
    loop at record.
    perform bdc_dynpro      using 'SAPMP50A' '3200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=DOIT'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RP50G-PERNR'.
    perform bdc_field       using 'RP50G-PERNR'
                                  record-PERNR_001.
    perform bdc_field       using 'RP50G-CCNTR'
                                  record-CCNTR_002.
    perform bdc_dynpro      using 'MP000000' '2000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'P0000-BEGDA'.
    perform bdc_field       using 'BDC_OKCODE'
                                  'UPD'.
    perform bdc_field       using 'P0000-BEGDA'
                                  record-BEGDA_003.
    perform bdc_field       using 'P0000-MASSG'
                                  record-MASSG_004.
    perform bdc_field       using 'PSPAR-WERKS'
                                  record-WERKS_005.
    perform bdc_field       using 'PSPAR-PERSG'
                                  record-PERSG_006.
    perform bdc_field       using 'PSPAR-PERSK'
                                  record-PERSK_007.
    perform bdc_dynpro      using 'MP000000' '0210'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'PA41MASSN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=MALL'.
    perform bdc_dynpro      using 'MP000000' '0210'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'PA41MASSN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=GOON'.
    perform bdc_dynpro      using 'SAPLSPO1' '0500'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=OPT1'.
    perform bdc_transaction using 'PA41'.
    endloop.
    perform close_group.
    Regards,
    Rachel

    OK CODE /EBCK (for back button) seems to be missing in your code.
    alternately..
    Try using PA30 - it is a better transaction code to deal with for BDC..

  • Problem in BDC for F-02 -- Currency Problem

    Dear Experts,
    I have written a BDC for F-02 to upload the opening balances of vendors.
    Problem is , this BDC is for Libya country,  where decimal places is 3.
    Now when i run my BDC, if the amount is  22.54, it will upload it as 22.540, which is ok, but if the amount is 22.543, it upload it as 22.540 instead of 22.543.
    can one provide some guidance in this....
    Regards,
    Maverick

    Hi
    The output format of an amonut is managed by the currency, you shouldn't have any particular problem,
    In BDC program the field to be used to transfer the amount has to be char, so probably the easier solution is to write it into the bdc field in according to the currency:
    WRITE <AMOUNT> CURRENCY <CUURENCY> TO <BDC FIELD>.
    Max

  • BDC PROBLEM for MIGO

    Dear all,
    there is problem in BDC MIGO report.  when i uploaded the p_file the bdc run but on some fields it gives the error message
    S Field GOITEM-ERFME . is not an input field
    S Field GOITEM-ERFMG . is not an input field
    S Field GOITEM-LSMNG . is not an input field
    S Field GOITEM-LSMEH . is not an input field
    S Field GOITEM-BWART . is not an input field
    S Field GOITEM-LGOBE . is not an input field
    S Field GOITEM-WEMPF . is not an input field
    S Field GOITEM-ABLAD . is not an input field
    S Field GOITEM-SGTXT . is not an input field
    these are all input fields and i defiend as
    perform bdc_field       using 'BDC_CURSOR'
                                  'GOITEM-ERFME'.
    perform bdc_field       using 'GOITEM-ERFME'
                                  IT_DATA-ERFME.
    perform bdc_field       using 'GOITEM-ERFMG'
                                  IT_DATA-ERFMG.
    perform bdc_field       using 'GOITEM-LSMNG'
                                  IT_DATA-LSMNG.
    perform bdc_field       using 'GOITEM-LSMEH'
                                  IT_DATA-LSMEH.
    *perform bdc_field       using 'GOITEM-MIGO_ELIKZ'
                                 '1'.
    perform bdc_field       using 'GOITEM-BWART'
                                  '101'.
    perform bdc_field       using 'GOITEM-LGOBE'
                                  IT_DATA-LGOBE.
    perform bdc_field       using 'GOITEM-WEMPF'
                                  IT_DATA-WEMPF.
    perform bdc_field       using 'GOITEM-ABLAD'
                                  IT_DATA-ABLAD.
    perform bdc_field       using 'GOITEM-SGTXT'              "
                                  IT_DATA-SGTXT.
    please solve my problem.
    Regards,
    Pankaj

    HI,
    May this will throw some light for u
    Geting problem in BDC prog of MIGO transaction
    Regards,
    Aditya

  • Screen size problem for schedule line bdc

    Hi All,
    I created a bdc for schedule line item maintainance of sales order thro' VA02,I did all coding on 20 inch color monitor in which the schedule line screen shows 18 lines using that i did recording for bdc.But when keyuser executes BDC on laptop it is not procceding.
    Please help me out with solution which is applicable on all kind of screens
    Regards
    Gaurav

    When you use BDC, you may have issues with screen size because number of lines displayed in table controls (and step loops) may vary according to the user screen, when the BDC is recorded (depending on recorder screen size), and then executed in A or E mode depending on user's screen size. When it's N mode, a default screen size is used by SAP.
    The only solution is then to both record and execute the BDC by activating the default/standard size checkbox (if you use CALL TRANSACTION: it's DEFSIZE field in CTU_PARAMS structure of the OPTIONS FROM keyword).
    For more information, refer to the documentation and the [BDC wiki|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInput-+BDC] + separate FAQ

Maybe you are looking for

  • View photos in full screen

    I'm sure this must have been answered before but I cannot find any references to it so here goes... I want to look at my photos...in full screen. Just click *somewhere* and it fills the screen, and then just use arrows to see the next photo. Click ag

  • SNMP Probe monitor query

    Hi , I have created SNMP Probe based monitor to check the Total RAM free on certain Network devices.  I have total 16GB RAM space and i want to alert if lesser than 3 GB of Total RAM. I had configured /DataItem/SnmpVarBinds/SnmpVarBind[1]/Value lesse

  • Equium A200 - Can't make password reset disk on CD

    W/Vista, Pioneer DVD-RW Can't make password reset disk on CD, all I get is - This feature requires removable media, such as floppy drive or USB flash drive. Are CD's or DVD's not classed as removable media now? In help and support it states - you'll

  • Just where ARE the site definition files?

    I've just received CS4.  I want to move it to my more powerful laptop when I install it.  I know how to do that and I can move site files, but where are the site definition files?  I really don't want to have to set up each site from scratch.  Is the

  • Run-time error '-2147024894 (80070002)': in Word 2003

    After installing Oracle BIP and attempting to use the add-in to login I get the following message: Run-time error '-2147024894 (80070002)': File or assembly name TBXDOUtilities, or one of its dependencies, was not found. I found another discussion ab