BDC while uploading one extra record is coming in Itab

Hi
while uploading data using FM am getting one extra record with few '0000000' kind of initial values for few of the fields like begda ,endda  and object id  code is like this,
TYPES: BEGIN OF tt_record,
plvar  type   hrp1000-plvar,
otype  type   hrp1000-otype,
seark  type   hrp1000-objid,
begda  type   hrp1000-begda,
endda  type   hrp1000-endda,
short  type   hrp1000-short,
stext  type   hrp1000-stext,
END of tt_record.
DATA:gt_record TYPE TABLE OF tt_record,
     gs_record TYPE tt_record.
include bdcrecx1.
start-of-selection.
CLEAR : gt_record,gs_record.
CALL FUNCTION 'GUI_UPLOAD'
  EXPORTING
    FILENAME                      = 'C:\ABC.TXT'
  FILETYPE                      = 'ASC'
   HAS_FIELD_SEPARATOR           = 'X'
  TABLES
    DATA_TAB                      = gt_record
EXCEPTIONS
   FILE_OPEN_ERROR               = 1
   FILE_READ_ERROR               = 2
   NO_BATCH                      = 3
   GUI_REFUSE_FILETRANSFER       = 4
   INVALID_TYPE                  = 5
   NO_AUTHORITY                  = 6
   UNKNOWN_ERROR                 = 7
   BAD_DATA_FORMAT               = 8
   HEADER_NOT_ALLOWED            = 9
   SEPARATOR_NOT_ALLOWED         = 10
   HEADER_TOO_LONG               = 11
   UNKNOWN_DP_ERROR              = 12
   ACCESS_DENIED                 = 13
   DP_OUT_OF_MEMORY              = 14
   DISK_FULL                     = 15
   DP_TIMEOUT                    = 16
   OTHERS                        = 17
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
pls let me know why is so ?
Regards
Meeta

Hi  Txs for your response  i have created new file and my that problem solved but i want to know when i run in forground then only it works fine and update records but when i try in background it immd turn into incorrect log and when i run in Display error mode  i got these errors in error log,
Runtime error RAISE_EXCEPTION has occurred
Transaction error
Processing statistics
3 transactions read
0 transactions processed
3 transactions with errors
0 transactions deleted
Batch input processing ended
Any idea any one can guide me on this,
Regards
Meeta

Similar Messages

  • Bdc while uploading Itab one extra record is coming with 000000 values

    Hi
    am getting one extra record with 00000 values for begda ,endda and object id  dont know why ?
    code is like,
    TYPES : BEGIN OF tt_record,
    plvar  type   hrp1000-plvar,
    otype  type   hrp1000-otype,
    seark  type   hrp1000-objid,
    begda  type   hrp1000-begda,
    endda  type   hrp1000-endda,
    short  type   hrp1000-short,
    stext  type   hrp1000-stext,
    END of tt_record.
    DATA:gt_record TYPE TABLE OF tt_record,
         gs_record TYPE tt_record.
    include bdcrecx1.
    start-of-selection.
    CLEAR : gt_record,gs_record.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'C:\ABC.TXT'
      FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = 'X'
      TABLES
        DATA_TAB                      = gt_record
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards
    Meeta

    Hi  Txs for your response  i have created new file and my that problem solved but i want to know when i run in forground then only it works fine and update records but when i try in background it immd turn into incorrect log and when i run in Display error mode  i got these errors in error log,
    Runtime error RAISE_EXCEPTION has occurred
    Transaction error
    Processing statistics
    3 transactions read
    0 transactions processed
    3 transactions with errors
    0 transactions deleted
    Batch input processing ended
    Any idea any one can guide me on this,
    Regards
    Meeta

  • How to handle table control in BDC while uploading item details for anorder

    How to handle table control in BDC while uploading item details for an order?
    What is the use of CTU_PARAMS structure in BDC?
    In Finance I have done some changes to the layout set by coping to a zscript(duning letter) and how can assign the print program?
    What is the process to test the finance script?
    How can I see the print preview whether it is coming correctly or not?
    Thanks in advance.
    Regards.
    Abhilash.

    hi,
    for the bdc control refer the following link:
    http://www.sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    ctu_params:
    refer to the link
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/dataTransfers-LSMW%2CALE%2C+BDC
    reward if useful,
    thanks and regards

  • An error occurred while uploading one of your files. Please check your network connection and click Retry to resend your file

    Just for the record:
    I had received the error message "An error occurred while uploading one of your files. Please check your network connection and click Retry to resend your file" after all data apparently had been uploaded.
    After trying everything recommended on the internet, I finally found the culprit: Glimmerblocker, an ad blocker!
    (GlimmerBlocker version 1.4.16, Mac OS X 10.7.2 Lion)
    Actually, the credit goes to the very patient German Apple support: they had finally asked me: "what software have you installed lately" ... a big applause to the guys there!
    Best,
    Gabriel.

         In our case, it was not third party software, but a problem with our router not accepting pings.  If you are using a router be sure to set-up Enable WAN Ping Respond,  in the advanced settings.  I reviewed my wireless router's logs and found that it was blocking ICMP Type 3 packets from Apple's server.  As a result, it would give the message, "An error occurred while uploading one of your files.  Please check your network connection and click Retry to resend your file."  You can find the blocked packets in your log based on the time you clicked the buy button for your iPhoto purchase (in my case about a dozen times).  If your packets are blocked, then that is your problem.
         I should have suspected it was the connection since the message plainly said, "...check your network connection...".  However, I discounted this along with so many others based on the forums, since I could connect to the internet.  If there only was a way the message could have gave a little more saying, "Enable your WAN Ping Respond now, or else!"
    Good fortune on your road to Macenlightenment!

  • IPhoto cards: "An error occurred while uploading one of your files."

    Hey, all.
    I've been trying to print some cards via iPhoto (version 6.0.6) but, while some are successful on the first attempt, others just keep generating the following error message no matter how many times I try them: "An error occurred while uploading one of your files."
    I'm at a loss. They assemble fine. They connect fine. They transfer fine. Then I just get this irritating message over and over and over...plus my credit card company keeps calling about "unusual activity" (which would be the multiple "pending" charges for the same dollar amount that each of these tries generate).
    I've tried searching these forums and, while others seem to have had this problem, I've yet to read an actual solution.
    And I've tried contacting Apple but they've been, in a word, useless. Polite, but useless.
    Any suggestions?
    Thanks!
    Message was edited by: theshadowalker

    theshadowwalker
    like, say, panning the image
    What do you mean by "panning"? The only time I've heard this term is with video, referring to moving the camera from right to left. So, if you can explain how what you mean by this it might help.
    While there are reports on this forum about folks having issues uploading, compared to the sheer volume of photo orders Apple process it's quite a small amount, and certainly not enough to suggest a systemic fault.
    And I'd already tried removing the pictures and cards from iPhoto, then halving the pictures' size (MB) in Photoshop, then recreating the whole lot from scratch. Still, no effect.
    Can you explain how you did this? What interaction have you set between iPhoto and Photoshop?
    Other than that: Start with the troubleshooting basics:
    1. Repair Permissions using Disk Utility
    2. Delete the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. You'll need to reset your User options afterwards.
    3. Create a new account (systempreferences -> accounts) and see if the problem is repeated there. If it is, then a re-install of the app might be indicated. If it's not, then it's likely the app is okay and the problem is something in the main account.
    4. What color profile are these images? Have they been processed in Adobe Lightroom or other software before iPhoto? What's the source of the images - Camera? Scanner? Other?
    Regards
    TD

  • "an error has occurred while uploading one of your files "

    Using iLife '06, I've completed a book in iPhoto. I'm trying to buy it -- it goes through the assembling process and right before it's finished it says:
    "an error has occurred while uploading one of your files"
    But no other explanation is given. Same thing over and over and it always happens right beofre it finishes.
    Any ideas what's causing this?

    I can't tell you whats wrong but all i do is reboot iphoto, or worst case, restart the mac. and the next time it goes through like a whiz. I placed orders for 24 separate books this week and i have had everything imaginable go wrong but almost everything worked after restaring iphoto.....corrupt file, cannot authenticate user, cannot get credit card approval, problem with file transfer. Don't bother to use the RETRY button. email support was courteous and within 48 hours for other matters not solved by restarting.
    Van
    Using iLife '06, I've completed a book in iPhoto. I'm
    trying to buy it -- it goes through the assembling
    process and right before it's finished it says:
    "an error has occurred while uploading one of your
    files"
    But no other explanation is given. Same thing over
    and over and it always happens right beofre it
    finishes.
    Any ideas what's causing this?

  • Issue in BDC while uploading vendors in FK01 when processing mode is N

    Hello all,
    Created a BDC program for uploading vendors using FK01 and it was working fine in both the modes ( A and N). A new requirement came for which few postal codes will have tax mandatory jurisdiction code. After entering the adderss details in screen    'SAPMF02K' '0110' , a pop up box appers with the list of jurisdiction code for few postal codes. We need to select the first record and proceed (     'SAPMSSY0' '0120'.) .  This works perfectly in foreground.
    And I know that these pop up diaglog boxes will not appear in background mode.
    Can anyone help me in solving this. The pop up box displays the jurisdiction code from the structure TAX_TXJCD_POPUP_ADDRESS .
    below is the code sinnipet.
        PERFORM bdc_dynpro      USING 'SAPMSSY0' '0120'.
        PERFORM bdc_field       USING 'BDC_CURSOR' '04/96'.
        PERFORM bdc_field       USING 'BDC_OKCODE' '=ENTR'.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0120'.
        PERFORM bdc_field       USING 'BDC_CURSOR' 'LFA1-KUNNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
    Thanks & Regards,
    Sinthu

    Hi,
    I used the FM  "TAX_TXJCD_DETERMINE_TABLE" to get the tax jurisdiction code for a postal code and i passed it accordingly. Still I get the same error. Here is the code before and after the change.
    Before:
              PERFORM bdc_dynpro      USING 'SAPMSSY0' '0120'.
           PERFORM bdc_field       USING 'BDC_CURSOR' '04/03'.   "  for F4
            PERFORM bdc_field       USING 'BDC_OKCODE' '=ENTR'.
            PERFORM bdc_dynpro      USING 'SAPMF02K' '0120'.
            PERFORM bdc_field       USING 'BDC_CURSOR' 'LFA1-KUNNR'.
            PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
    After using the FM:
          CALL FUNCTION 'TAX_TXJCD_DETERMINE_TABLE'
          EXPORTING
            im_country                   =  gw_data-land1
            im_region                    =  gw_data-regio
            im_zipcode                   =  gw_data-pstlz
    *   IM_CITY                      = ' '
    *   IM_COUNTY                    = ' '
          TABLES
            t_jurtab                     =  gi_taxcode
    * EXCEPTIONS
    *   INPUT_INCOMPLETE             = 1
    *   NO_TAX_PROCEDURE             = 2
    *   NO_TAXJURCODE_REQUIRED       = 3
    *   RFCDEST_NOT_FOUND            = 4
    *   TAXJURCODE_NOT_FOUND         = 5
    *   OTHER_ERROR                  = 6
    *   OTHERS                       = 7
        clear gw_taxcode.
        IF gi_taxcode IS NOT INITIAL.
          READ TABLE gi_taxcode INTO gw_taxcode INDEX 1.
          IF sy-subrc IS INITIAL.
            PERFORM bdc_dynpro      USING 'SAPMF02K' '0120'.
            PERFORM bdc_field       USING 'BDC_CURSOR' 'LFA1-KUNNR'.
            PERFORM bdc_field       USING 'BDC_OKCODE' '/00'.
            PERFORM bdc_field       USING 'LFA1-TXJCD' gw_taxcode-txjcd.
          endif.
    endif.
    Where am I going wrong? I am getting the value for txjcd.

  • Performance while uploading 50,000 records

    Hi
    I have to create an application which reads records from a file.
    The records can exceed upto 50,000.
    Then these records are to be processed using a web service.
    Now, I need to design an optimized solution.
    Simple design would be to read all records from file store them in context and then loop them through web service model.
    I think there has to be one more optimal solution.
    Even ahead of performance comes runtime memory issue !! (What if it falls short to hold all 50,000 records in context at same time)
    How can I break this application.
    Thanks

    money321 wrote:
    Question 1:
    After 30 minutes or so.. the browser displays "This page cannot be displayed".
    While I am debugging this code and setting breakpoints, I noticed that code is actually executing when browser displays "This page cannot be displayed" message.
    Can I increase browser settings so that It can wait for some more time before displaying above message.
    So, that my java code can complete its execution.
    It is the request timeout, it is a webserver setting, not a webbrowser setting. Even though the request times out, the code should still continue to execute until the process finishes; you just don't get the response in your browser.
    Question 2 :
    I am using vector to store all 80,000 records at one go. Will the use of ArrayList or some other collection type increase performance.
    Probably yes, because a Vector is thread safe while the ArrayList is not. It is a similar situation as StringBuffer/StringBuilder.
    Question 3 :
    What if I break vector in parts.
    i.e. instead of keeping 1 single vector of 80,000 records, if I store 10,000 records each in different vectors and then process them separately.Wouldn't make much of a difference I'd say. The biggest performance hit is the webservice call, so try to save as much time as you can there. By the way, are you doing one webservice call, or 80000?
    >
    Please comment.
    Thanks.

  • Error occurred while uploading iPhoto book

    I have been trying to upload (buy) a photobook through iPhoto. It builds OK and seems to transfer all the data (60MB) then stops and displays an error message:
    "An error occurred while uploading one of your files. Please check your network connection and click Retry to resend your file"
    Network is fine and I have tried the following suggestions:
    Rebuild iPhoto
    Throttle restricted upload (this seemed counter intuitive but the data tx seemed correct)
    Would appreciate any workable ideas.

    David (Apple Photo Services) wrote:
    If it helps I will also leave you with a few steps I have when it comes to errors in the account >stopping the purchases. If the steps Old Toad said did not help, I am hoping this is what it takes:
    A) Please delete your net services folder. To do so, please follow the path below:
    MacintoshHD ->Library -> Application Support -> NetServices
    Single-click on the NetServices folder and delete the entire folder.
    B) Make corrections in Apple Store
    1. Go to the Apple Store online and click Your Account in the navigation bar:
    http://store.apple.com/us
    2. Sign in using your Apple ID and password.
    3. Click "Change account information" on the right and sign in again.
    4. Verify or enter your Billing and Shipping address information.
    5. Delete your credit card information in the Method of Payment section, and then re-enter it. Do >not enter spaces in your credit card number. Click Continue.
    C) Next go back to iPhoto:
    1) Select the "Buy Book" button.
    2) Click on "Account Info" and then "Edit Billing information".
    3) Change the type of card, and then blank out the remaining fields: card number, security code, >and expiration date.
    4) Click "Save".
    5) You should then receive an error that you will need to fill in those fields.
    6) Complete all the fields again and click "Save".
    Subsequently, please attempt to submit your order.
    Thank you for your patience in this matter. I hope to hear from you soon.
    Sincerely,
    David H
    Apple Photo Services Customer Support
    http://www.apple.com/support/photoservices/ww/
    Thanks OT. I've done this with no improvement, David H from Apple suggested a similar solution. 
    I've since copied the iPhoto library to the MacBook Pro and tried to upload from there. I'm now getting a billing error so think I must have made an error when I re-typed. Trying again....
    mrtotes

  • '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.

  • Suppose one lack records having in BDC uplaod,which one can i propose uploa

    Suppose one lack records having in BDC uplaod,which one can i propose uploading these records?call transaction or session method which one is better?How?

    Hi Hassan,
    The Session method is better and used for processing large amount of data and it will give error log itself if any comes. and the other thing is you can run session method in background but call transaction is not possible to run in background.
    Session method can handle multiple transactions at a time, while in call transaction , only one at a time.
    But call transaction is much faster than Session.
    Database update is synchronous in Session,while it is either synchronous or asynchronous in Call Transaction.
    here is the exact differences..
    Call transaction:
    Session is used to handle larger amount of data and error handling in implicit, while in call transaction, you have to explicitly handle error situation.
    1.Synchronous Processing
    2.You can update the database both synchronously and asynchrounously.
    3.Transfer of data for individual transaction
    4.No batch input session is created.
    5.Faster than other batch input techniques.
    6.No automatic error log and restart capability is available here.
    7.Not recommended for bulk data transfer
    Session.
    1.Asynchronous Processing
    2.Synchronous database updates
    3.Transfer of data for multiple transaction
    4.Batch input sesssion is created here.
    5.Automatic error handling and efficient restart capability incase of error transaction.
    6.SAP's standard approach for data transfer
    7.Highly recommended for Bulk data transfer.
    8.Execution is slower than CALL TRANSACTION.
    for details you can go thru this link
    BDC
    Please go thru this link.
    Reagrds,
    Amit.
    Reward points if useful

  • To Tackle duplicate data while uploading through BDC

    Dear All,
    I am uploading data through BDC in HR for Infotype 2011. While uploading the data i want to check for data which is already available for same date & time and display error accordingly.
    Kindly help me in this. Also is it possible to handle this by setting infotype charactertics to accept only single values or we can handle it through our code.
    Thanks in advance.
    Regards,
    Swapnil

    Hi,
    The only characteristic that handle the availibility of record at one time is the time constraint indicator and won't be very usefull to you for a time event infotype. In your case you will have to check if the entry you are creating already exist in TEVEN table.
    Kr,
    m.

  • Error while uploading through bdc

    Hi All,
    While uploading data throgh bdc i am getting error in error file for few employees as " No batch input data for screen SAPLRPBS 2000 " ..what i need to do to solve this problem.
    Thanks.

    Hello absap,
    if your requirement is an enhancement of a program that uses BDC to update OR populate a particular screen,
    set your bdc mode to "A" to display the entire bdc processing.
    you can basically find this in the line:
    CALL TRANSACTION <command>
    USING <bdctab>
    MODE <mode>.     <--- by defualt this should be MODE N.
    the error that you have encountered is due to an UNpopulated REQUIRED field in the screen of the transacation or command you called in the BDC process.
    you can easily trace this error by setting the mode to A to display the bdc process itself.
    alternatively, if you are creating new program, revisit your bdc recording and check if all the required fields are being populated.
    trick:
    when you record in SHDB, open a new window of the transaction.command that you are going to use.
    and from there, populate the fields specified in your requirement and by this, you should not miss any required field in you bdc.
    hope it helps,
    Mark

  • Error  while uploading data in table t_499s through BDC Prog

    Hi
    am facing problem while uploading data in table t_499s through BDC Program  , if there is more than 15 records in file its not allowing to upload kindly suggest what to do
    Thanx
    Mukesh s

    Hi,
    See if you want to update only single table, which has User maintenance allowed
    Use Modify statement.
    EX:
    LOOP AT ITAB INTO WA_TAB.
        MOVE-CORRESPONDING WA_TAB TO T499S.
        MODIFY T499S.
        CLEAR T499S.
      ENDLOOP.
    It will update the table, to check go to sm30 , and check in V_T499S.
    Rgds
    Aeda

  • Long text problem while uploading Inspection plan through BDC.

    Hi,
    I am facing some problem while uploading the inspection plan. There are few MICs for which we are having long text, while uploading the inspection plan through BDC - some other long text is getting copied into the MIC's long text. After checking I came to know that in function module, read_text - some text which is stored in ABAP memory is getting copied into the inspection plan.
    I am working in SAP release 4.7. I have checked with SAP notes: 97419, but it is also not satisfying.
    Waiting for quick solution.
    Thanks in advance.
    Fahié

    Hi a®s,
    Thanks a lot for your kind reply.
    My requirement is I want to maintain long text for few MICs (which are not having long texts at MIC level) in inspection plan (QP01).
    When I am trying to manually assign the MIC's to inspection plan (QP01), long text is copied whereas I am not clicking the long text icon in (QP01). Long text is not maintained in MIC level, still some long text is copied to this MIC. This was also happening while uploading the inspection plan thro' BDC.
    I believe what you have mentioned about function module SAVE_TEXT cannot be used here since long text is already copied before we pass the long text. Also if we pass some long text, still apart from the long text what we have passed there is some other long text copied (extra long text).
    Waiting for quick solution.
    Thanks in advance.
    Fahié

Maybe you are looking for

  • Spry.Utils.loadURL problem with IE7

    Hello there. First of all sorry for my english. I have a problem with Spry.Utils.loadURL function in Internet Explorer 7 only. In firefox works fine. So i have an asp file that returns a string with some stuff. I load this asp file with Spry.Utils.lo

  • TV@nywhere Duo in MEGA180

    Dear all, I'm using a Tv@nywhere Duo in a MEGA 180. I've installed everything according to the instructions, but get the error messages "Failed to initialize application. Program will be stopped now!" and "DTV card was not found" when I try to run th

  • Page headers repeat for every record on *.CSV export in Crystal 8.5

    I am a MAS 90 reseller.  I have encountered this issue: When I try to export a report to a *.csv format in Crystal Reports version 8.5 page headers repeat for every record in the export file.  The Sage MAS 90 database provides this solution: This is

  • Running SQL script at a certain time

    Please suggest in application express what I need to do to run a sql script say 6.00 AM every day

  • I'm a newbee to DVD burning.

    I have 174 pictures in iPhoto (2/0/1) and would like to burn them to DVD and have each picture run for about 10 sec. What do I do first and then next & ect. to get this done? I have iDVD 3.0.1 and iMovie 3/0/3 and a supperdrive plus about 60G free me