Error message in KP06 BDC

Hi,
I am running BDC for KP06,using CALL TRANSACTION.
When the BDC is successful,then the bdcmsgcoll contains no success message.
But,when the BDC fails due to wrong entries,the bdcmscoll has messages of Type 'S' as "No batch input data for screen SAPLKPP0 1000". Why is the message type coming as "S" in this case ?Why is it not coming as "E" ?
Please help in clearing the confusion.
Thanks&Regards
Ananya

Hi Ananya.
In BDC when ever a screen sequence is missing i.e. a screen for which no data is passed, we get this message.
If you want to check whether BDC is successful or not that you can easily do so by checking the SY-SUBRC after the CALL TRANSACTION statement and then do the processing as per your requirement.
Regards,
Mohan

Similar Messages

  • Error Message from BDC program

    Hi all,
    I'm facing the following situation: when i run a call transaction program for VL01:
      DATA:   MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
      CALL TRANSACTION 'VL01N' USING bdcdata MESSAGES into MESSTAB.
    sometimes when an item has no stock, i get the error message:
        MSGTYP = E
        MSGID = VL
        MSGNR = 643
        MSGV1 = '1'
        MSGV2  = 'UN'.
        MSGV3 = ''
        MSGV4 = ''
      the problem: when i compose this message with FM - FORMAT_MESSAGE, i dont get the material code, to wich the loss os stock error referes to, since is not returned from call transaction execution (in messtab). How can i determine to which material code the error refers to ?
      As anyone faced the same situation ?
       Best regards,
    Pedro Castro

    If you know the material number which you passed to the BDC, you can simply use that, if you are passing mulitple materials for one call of the BDC, then I don't think you can know which material it is erroring on if the message does not bring it back.
    Regards,
    RIch Heilman

  • How to handle error messages in BDC background mode

    Hi experts,
      I got one problem in BDC, We are uploading data throgh BDC program,that program is calling Standard Batch Input programs,
    Now we got one requirement, i.e., In some special cases we have to send one message as a error message.I handled this in foreground but, how to handle this in background.

    Hi,
    if session is being used
    automatically the log will begenereated in the sm35 transaction
    but if call transaction is used
    put all the error messages in the applicationserver using
    open data set
    and after the exectionof the program in the background
    you have to run another progam which reads the data stroed inthe application server
    that also with open data set only...
    thanks & regards,
    Venkatesh

  • How to store BDC error messages into oracle database table?

    Hello Experts,
    I have a peculier requirement wherein I need to store the error messages occured while executing the transaction using BDC (Call Transaction Method) in an Oracle Database table format. Is that possible, if yes, how?
    Thanks in advance.

    Hi,
    Structure of BDCMSGCOLL.
    TCODE -> BDC Transaction code
    DYNAME -> Batch input module name
    DYNUMB -> Batch input screen number
    MSGTYP ->Batch input message type
    MSGSPRA -> Language ID of a message
    MSGID -> Batch input message ID
    MSGNR -> Batch input message number
    MSGV1 -> Variable part of a message
    MSGV2 -> Variable part of a message
    MSGV3 -> Variable part of a message
    MSGV4 -> Variable part of a message
    FLDNAME -> Field name
    Ex :
    DATA : BDCMSGCOLL TYPE TABLE OF BDCMSGCOLL WITH HEADER LINE,
    BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE.
    CALL TRANSACTION 'MM01' USING BDCDATA MODE N UPDATE S MESSAGES INTO BDCMSGCOLL.
    IF SY-SUBRC 0.
    PERFORM ERR.
    CLEAR I_MSG.
    REFRESH I_MSG.
    ENDIF.
    *& Form ERR
    text
    --> p1 text
    <-- p2 text
    form ERR .
    DATA V_MSG(255) TYPE C.
    READ TABLE I_MSG WITH KEY MSGTYP = 'E'.
    IF SY-SUBRC = 0.
    CALL FUNCTION 'FORMAT_MESSAGE'
    EXPORTING
    ID = I_MSG-MSGID
    LANG = 'E'
    NO = I_MSG-MSGNR
    V1 = I_MSG-MSGV1
    V2 = I_MSG-MSGV2
    V3 = I_MSG-MSGV3
    V4 = I_MSG-MSGV4
    IMPORTING
    MSG = V_MSG
    EXCEPTIONS
    NOT_FOUND = 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.
    WRITE V_MSG. " Error Message Displayed Here.
    CLEAR V_MSG.
    ENDIF.
    endform. " ERR
    hope this will help you.
    Reward if found helpfull,
    Cheers,
    Chaitanya.

  • BDC error messages

    Hi Guys
         how can we trab error messages in BDC . We make use of BDCMSGCOLL .
    can anybody expalin me how can we capture them , I have to display the messages after running the BDC. i am running BDC on transaction sm30 .. view name is vusrextid. Add new enties ,type is NT and put external users as asian\hhh
    then SAPUSER  then click activate and lastly click save . Waiting for reply.

    Hi,
    Use:
    internal table to handle messages
    DATA : IT_MESSAGES LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
    DATA : V_MESG(50).
    CALL TRANSACTION 'MM01' USING IT_BDCDATA MODE 'N' UPDATE 'S'
                                       MESSAGES INTO IT_MESSAGES.
    all messages wiull come into it_messages and display them like:
    FORM ERROR_MESSAGES.
        CALL FUNCTION 'FORMAT_MESSAGE'
            EXPORTING
                 ID        = SY-MSGID
                 LANG      = '-D'
            IMPORTING
                 MSG       = V_MESG
            EXCEPTIONS
                 NOT_FOUND = 1
                 OTHERS    = 2.
      LOOP AT IT_MESSAGES WHERE MSGTYP = 'E'.
        WRITE : / 'Message :'(I06) ,V_MESG.
        CLEAR IT_MESSAGES.
      ENDLOOP.
    reward if useful
    regards,
    Anji

  • Error messages for indirect PO- bdc

    A)
    While doing bdc's for  Indirect PO, I am gettingthe following error messages.
    1. S06284 --> please either enter net price or refer to info record.
    2. S06138 --> not possible to determine a consumption account.
    3. EKI113 --> Purchasing across company codes is not allowed.
    please help me out in these errors...
    First time the net price field is 0. so I fixed it to 99.99. But again and again I am getiing this message
    net price field is filled but why I am getting this error.
    What is consumption account?
    Edited by: abi baski on Feb 9, 2008 6:12 PM

    Try checking the message class used inside BAPI_PO_Create and all the messages in ME21n .
    Then you will need to go to this message class and find out al the messages.
    But this can go for a long list from 'error for valid vendor numbers, materials , and all the fields etc
    Mathews

  • BDC to ELM Mapping of Business Partner - Error Message Collection??

    Dear Experts,
    I'm working on BDC for External List Management (ELM) : CRMD_MKTLIST transaction in CRM 5.0 System with Mappping format:
    <b>org_title_key; org_name1; org_name2;org_postl_cod1;org_countryiso.</b>
    I want to know the where the error or any messages are collected/?? <b>tables, FM, Error logs by using BDC(Call Transaction Method)?? and How ??</b>
    Can Any body help in this regard??
    Regards,
    Arjun

    Check the following notes:-
    1)  Note 882726 - SAP BP: Error message R11 244 (BP Transaction + BAPIs)
    2)  Note 1380576 - ECC BP to CRM BP address repln fails due to validity periods
    thanks
    G. Lakshmipathi

  • Want to output Error message in BDC recording(PA30)

    Hi all,
    Currently iam working on upload program,whic is done by BDC recording with transaction PA30.while loading the data to different infotypes,iam checking one condition
    in particular infotype,after that i need to give the error message(Type E) and i data should not get uploaded for that infotype,and it has to go to next infotype.i want to log this error also,how can i do this?

    The ERROR message will stop the processing of the program,  the message will need to be either an I(information) or a W(warning) message into for the program to continue processing.
    Log the message by writing it to an internal table.
    IF SOME_CONDITION = 'X'.
    MESSAGE W001(00) with 'Hey, here is a message'.
    itab-pernr = p_pernr.
    itab-msgid = '00'.
    itab-msgno = '001'.
    append itab.
    ENDIF.
    CALL TRANSACTION 'PA30'........
    Regards,
    Rich HEilman

  • Passing BAPI  Error Messages to BDC  Session.

    Hi,
    Can any one drive the idea how to convert rather passing BAPI error messages into BDC session.
    regards.

    Naveen,
    I am sure you already have the logic of "If the call transaction is errored out you create a BDC session for the same data".
    Now, when your BAPI fails, irrespective of the error, you need to build the BDCDATA table and pass the data to the session. So, I don't you really need to know the errors and pass them to the BDC Session.
    Check the RETURN table of the BAPI, if it has got E / A / X error types then you can build the BDCDATA table and create the session.
    Regards.
    Ravi
    Note : Please mark the helpful answers and close the thread if the issue is resolved.

  • BDC-Log Out from Production Server with out error message

    Hi all
    I have written one BDC for "FWZZ" transaction.
    It is wrking fine in dev & qual.
    But in prod it is logging out with out any error message.
    what might be the reason??
    Thaks & Regards
    Swathi

    Hi Swathi!
    There is little you can do. The BDC can only be shortened by avoiding unecessary steps (each return code needs some time) - but most likely you have already a short way through the transaction.
    But maybe there are some field exits / user exits / customizing settings, which start slow database actions. As long as in Dev and Qual aren't so much entries, there wasn't a problem, but now in Prod you have a performance problem.
    Make a runtime analysis or a SQL-trace to see what's happening during the call transaction. This should give you an idea, where to look for the slow parts.
    Regards,
    Christian

  • Problem in BDC: Catching error messages (Urgent)

    Hello Experts,
    I want to catch the error message coming in the form of popup using Call Transaction in background mode.
    I have used the following statement.
    CALL TRANSACTION 'FBZ5' USING bdcdata MODE 'N' messages into bdcmsg.
    But this statement catches only the messages which are displayed in the task bar. It doesn't catch the error message in the form of popup.
    Please suggest any solution to this.
    Thanks.
    Radhika

    Hi Radhika ,
    try this one,
    DATA : BDCMSGCOLL TYPE TABLE OF BDCMSGCOLL WITH HEADER LINE,
           BDCDATA TYPE TABLE OF BDCDATA WITH HEADER LINE.
    <b>CALL TRANSACTION 'MM01' USING BDCDATA MODE N UPDATE S MESSAGES INTO BDCMSGCOLL.</b>
    IF SY-SUBRC <> 0.
      PERFORM ERR.
      CLEAR I_MSG.
      REFRESH I_MSG.
    ENDIF.
    *&      Form  ERR
          text
    -->  p1        text
    <--  p2        text
    form ERR .
    DATA V_MSG(255) TYPE C.
    READ TABLE I_MSG WITH KEY MSGTYP = 'E'.
    IF SY-SUBRC = 0.
      CALL FUNCTION 'FORMAT_MESSAGE'
       EXPORTING
         ID              = I_MSG-MSGID
         LANG            = 'E'
         NO              = I_MSG-MSGNR
         V1              = I_MSG-MSGV1
         V2              = I_MSG-MSGV2
         V3              = I_MSG-MSGV3
         V4              = I_MSG-MSGV4
       IMPORTING
         MSG             = V_MSG
      EXCEPTIONS
        NOT_FOUND       = 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.
      WRITE V_MSG. " Error Message Displayed Here.
      CLEAR V_MSG.
    ENDIF.
    endform.                    " ERR
    Regards,
    Vijay.

  • KP06 Cost Center Planning - Error Message

    I tried to enter a budget into SAP. So far, so good. But when using this Cost Center I get the following error message:
    "Enter rate NZD / AUD rate type P for 01.04.2008 in the system settings"
    How can I correct this?
    Markus

    Hi Markus,
    When there is no entry in trx. OB08 then you have to maintain such an entry wikth button 'New entry' for exchange rate P currency NZD / AUD.
    IMG (Implementaion Guide) can be found under trx. SPRO. In trx. SPRO you can do all your customizing settings. In R/3 you will find the currency customizing as follows:
    SPRO --> General Settings --> Currencies --> Enter exchange rates (OB08)
    Cheers,
    Daniela
    Edited by: Daniela Kallenbach on Jun 6, 2008 4:28 PM

  • How do i get data when displaying error message in BDC

    hi,
    I have generated one internal table for displaying error message using BDCMSGCOLL, i want the the error to display according to the field name,
    Hw can i get it...
    ex: <Material name> Error message as name already created or unit doesnt exit...
    Pls reply,
    Regards,
    Divi.

    Hi Divya,
    Try the below
    CALL TRANSACTION 'MM01'
                        USING bdcdata
                        MODE   'N'
                        MESSAGES INTO MSGTAB.
    IF SY-SUBRC NE 0.
    move itab-matnr to jtab-matnr.
    append jtab.
    PERFORM CHECK.
    ENDIF.
    FORM CHECK.
    LOOP AT MSGTAB where msgtyp = 'E'.
    read table jtab index sy-index.
    write:/ jtab-matnr.
    CALL FUNCTION 'MESSAGE_PREPARE'
      EXPORTING
        LANGUAGE                     = sy-langu
        MSG_ID                       = MSGTAB-MSGID
        MSG_NO                       = MSGTAB-MSGNR
       MSG_VAR1                     = MSGTAB-MSGV1(50)
       MSG_VAR2                     = MSGTAB-MSGV2(50)
       MSG_VAR3                     = MSGTAB-MSGV3(50)
       MSG_VAR4                     = MSGTAB-MSGV4(50)
       IMPORTING
       MSG_TEXT                     = L_MSG
    EXCEPTIONS
       FUNCTION_NOT_COMPLETED       = 1
       MESSAGE_NOT_FOUND            = 2
       OTHERS                       = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE:   L_MSG.
    ENDLOOP.
    ENDFORM.
    - Satish

  • How to display error message ??

    Hi,
    I have a BDC program to upload data from an excel sheet. I could see that some records of data fail to pass and hence after my bdc run i would like to display error message for the failed records as follows:
    costcenter:
    cost element:
    fiscal year:
    etc etc
    is it possible ?? how to do that ? please explain in detail.
    for ur reference my program is pasted below.
    thanks
    *& Report  ZBDC_BUDGET_UPLOAD
    REPORT  ZBDC_BUDGET_UPLOAD.
    types: begin of tdata,
             rec(150) type c,
           end of tdata,
           begin of tmtgp,
             costcent LIKE CCSS-KOSTL,
             costelem LIKE CCSS-KSTAR,
             fisyear LIKE CCSS-GJAHR,
             jan(10),
             feb(10),
             mar(10),
             apr(10),
             may(10),
             jun(10),
             jul(10),
             aug(10),
             sep(10),
             oct(10),
             nov(10),
             dec(10),
           end of tmtgp.
    data: idata type table of tdata with header line.
    data: imtgp type table of tmtgp with header line.
    Data : fieldval(10) type c.
    selection-screen begin of block b1 with frame title text-001.
    parameters: p_file type localfile default 'C:\budget_data_csv.csv'.
    selection-screen end of block b1.
    include zbdcrecx1.
    at selection-screen on value-request for p_file.
    call function 'KD_GET_FILENAME_ON_F4'
            exporting            static    = 'X'
            changing            file_name = p_file.
    start-of-selection.
    perform upload_data.
    loop at imtgp.
    Write imtgp-fisyear to fieldval.
    perform open_group.
    perform bdc_dynpro      using 'SAPLKPP0' '1000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KPP0B-VALUE(04)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'KPP0B-VALUE(04)'
                                  fieldval.
    Write imtgp-costcent to fieldval.
    perform bdc_dynpro      using 'SAPLKPP0' '1000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KPP0B-VALUE(06)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'KPP0B-VALUE(06)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP0' '1000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KPP0B-VALUE(09)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-costelem to fieldval.
    perform bdc_field       using 'KPP0B-VALUE(09)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP0' '1000'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'KPP0B-VALUE(04)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=CSPB'.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(01)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-jan to fieldval.
    perform bdc_field       using 'Z-BDC03(01)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(02)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-feb to fieldval.
    perform bdc_field       using 'Z-BDC03(02)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(03)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-mar to fieldval.
    perform bdc_field       using 'Z-BDC03(03)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(04)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-apr to fieldval.
    perform bdc_field       using 'Z-BDC03(04)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(05)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-may to fieldval.
    perform bdc_field       using 'Z-BDC03(05)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(06)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-jun to fieldval.
    perform bdc_field       using 'Z-BDC03(06)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(07)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-jul to fieldval.
    perform bdc_field       using 'Z-BDC03(07)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(08)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-aug to fieldval.
    perform bdc_field       using 'Z-BDC03(08)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(09)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-sep to fieldval.
    perform bdc_field       using 'Z-BDC03(09)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(10)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-oct to fieldval.
    perform bdc_field       using 'Z-BDC03(10)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(11)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-nov to fieldval.
    perform bdc_field       using 'Z-BDC03(11)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(12)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    Write imtgp-dec to fieldval.
    perform bdc_field       using 'Z-BDC03(12)'
                                  fieldval.
    perform bdc_dynpro      using 'SAPLKPP2' '0110'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'Z-BDC03(12)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=CBUC'.
    perform bdc_transaction using 'KP06'.
    perform close_group.
    endloop.
    form upload_data.
    data: filename type string.
    clear idata.
    refresh idata.
    filename = p_file.
    call function 'GUI_UPLOAD'
        exporting            filename        = filename
        filetype        = 'ASC'
        tables            data_tab        = idata
        exceptions            file_open_error = 1
        file_read_error = 2
        no_authority    = 6
        others          = 17.
        check sy-subrc = 0.
        loop at idata.
        clear imtgp.
        split idata at ',' into imtgp-costcent imtgp-costelem imtgp-fisyear
    imtgp-jan imtgp-feb imtgp-mar imtgp-apr imtgp-may imtgp-jun imtgp-jul
    imtgp-aug imtgp-sep imtgp-oct imtgp-nov imtgp-dec.
        append imtgp.
        endloop.
    endform.

    check the below code,.,
    DATA : t_bdcmsgcoll TYPE STANDARD TABLE OF bdcmsgcoll WITH HEADER LINE.
      CALL TRANSACTION '<DELIVERYTRANSACTION>' USING t_bdctab
                              mode 'N'
                              MESSAGES INTO t_bdcmsgcoll.
      DESCRIBE TABLE t_bdcmsgcoll LINES g_lines.
      READ TABLE t_bdcmsgcoll INDEX g_lines.
      IF t_bdcmsgcoll-msgtyp = 'S' AND
         t_bdcmsgcoll-msgid = <Msg id> AND
         t_bdcmsgcoll-msgnr = <Msg number>.
    * Trap your Call Transaction messages
        t_success-deliverynumber = t_bdcmsgcoll-msgv1.
    * You can format the message returned by call transaction using function 'FORMAT_MESSAGE' which will return g_mesg
        t_success-message = g_mesg.
        APPEND t_success.
        CLEAR  t_success.
      ELSE.
    * If there an Error-Do this..
        READ TABLE t_bdcmsgcoll WITH KEY msgtyp = 'E'.
        IF sy-subrc = 0.
    * Format your message using FORMAT_MESSAGE "FM
         CLEAR g_mesg.
         t_error-msg   = g_mesg_incl.
         APPEND t_error.
         CLEAR  t_error.
       ENDIF.
    ENDIF.
    * Clear for next run
      CLEAR: t_bdcmsgcoll,
             t_bdctab.
      REFRESH: t_bdcmsgcoll[],
               t_bdctab[].

  • Error while running a BDC for the Transaction F-02

    Hi,
           I'm getting an error <b><i>"Parking not possible during Batch Input"</i></b> while running a BDC for the transaction F-02.
           When i click on the error message it displays the message [b<i>]"In Customizing, you can control whether an error message is issued."</b></i>
            How to solve this issue?.
            Waiting for ur replies.........
    Regards
    N.Senthil

    Hi,
    When you are doing the recording in SHDB, and in the same screen where the TCODE to be recorded is given, there are options that you can choose called "Recording Parameters"...Select the checkbox which says "Not a Batch Input Session", this will set the sy-binpt variable to " "(in a recording by default it is "X")...and you will not get this error...
    Also make sure while writing the BDC program to make use of the "bdc options" parameter which has this property to switch of sy-binpt...
        Refer below theard for sample bdc code for f-02.
    https://forums.sdn.sap.com/click.jspa?searchID=5126766&messageID=1538409
    Regards

Maybe you are looking for