Problem in posting multiple documents in FB70 through BDC...

Hi,
   I am facing a problem while posting multiple documents from a flat file in FB70 thourgh BDC batch input by using session method. However, the session is getting terminated after posting the first document. Please clarify my problem.
Below is a sample of the data in my flat file -
Customer,Invoice Date,Posting Date,Amount,G/L Account,Amount in doc. Curr.
34,03.06.2009,03.06.2009,100,211000,100
34,03.06.2009,03.06.2009,200,211000,200
34,03.06.2009,03.06.2009,300,211000,300
And below is the sample code of my program.
REPORT ZANI2_BDC_FB70
       NO STANDARD PAGE HEADING LINE-SIZE 255.
TYPES: BEGIN OF TY_STR_FB70,
         ACCNT(20)      TYPE C,     "Customer
         BLDAT(20)      TYPE C,     "Invoice Date
         BUDAT(20)      TYPE C,     "Posting Date
         WRBTR(20)      TYPE C,     "Basic Data - Amount
         HKONT(20)      TYPE C,     "G/L Account
         ITEM_WRBTR(20) TYPE C,
         "Line Item Amount In Document Currency
       END OF TY_STR_FB70,
      BEGIN OF TY_STR_FILEDATA,
         FIELDS TYPE STRING,
      END OF TY_STR_FILEDATA.
*   data definition
*       Batchinputdata of single transaction
DATA:   BDCDATA LIKE BDCDATA    OCCURS 0 WITH HEADER LINE,
*       messages of call transaction
        MESSTAB LIKE BDCMSGCOLL OCCURS 0 WITH HEADER LINE.
DATA: IT_STR_FILEDATA TYPE STANDARD TABLE OF TY_STR_FILEDATA,
      WA_STR_FILEDATA TYPE TY_STR_FILEDATA,
      IT_STR_FB70 TYPE STANDARD TABLE OF TY_STR_FB70,
      WA_STR_FB70 TYPE TY_STR_FB70,
      G_STR_FILENAME TYPE STRING,
      G_FLG_ERROR TYPE I,
      G_INDEX TYPE I,
      G_STR_INDEX TYPE STRING,
      G_STR_FIELDNAME TYPE STRING.
SELECTION-SCREEN BEGIN OF BLOCK INPUT.
PARAMETERS: P_FILE TYPE IBIPPARMS-PATH,
            P_SES  TYPE APQI-GROUPID.
SELECTION-SCREEN END OF BLOCK INPUT.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_FILE.
  CALL FUNCTION 'F4_FILENAME'
    EXPORTING
      PROGRAM_NAME  = SYST-CPROG
      DYNPRO_NUMBER = SYST-DYNNR
      FIELD_NAME    = 'P_FILE'
    IMPORTING
      FILE_NAME     = P_FILE.
Continued in the next thread..

...Continued from the previous thread.
PERFORM OPEN_GROUP.
    G_INDEX = 1.  
    LOOP AT IT_STR_FB70 INTO WA_STR_FB70.
       PERFORM BDC_DYNPRO      USING 'SAPMF05A' '1200'.
      PERFORM BDC_FIELD       USING 'RF05A-BUSCS'
                                     'R'.
     "Customer
      PERFORM BDC_FIELD       USING 'INVFO-ACCNT'
                                     WA_STR_FB70-ACCNT.  
      "Invoice Date
      PERFORM BDC_FIELD       USING 'INVFO-BLDAT'
                                    WA_STR_FB70-BLDAT.                               
      "Posting Date
      PERFORM BDC_FIELD       USING 'INVFO-BUDAT'
                                    WA_STR_FB70-BUDAT.                                
     "Basic data - Amount
      PERFORM BDC_FIELD       USING 'INVFO-WRBTR'
                                    WA_STR_FB70-WRBTR.     
      PERFORM BDC_FIELD       USING 'INVFO-WAERS'
                                    'EUR'.
      G_STR_INDEX = G_INDEX.
      IF G_INDEX < 10.
        CONCATENATE '0' G_STR_INDEX INTO G_STR_INDEX.
      ENDIF.
      CONDENSE G_STR_INDEX NO-GAPS.
      CLEAR G_STR_FIELDNAME.
      CONCATENATE  'ACGL_ITEM-WRBTR(' G_STR_INDEX ')' INTO
      G_STR_FIELDNAME.
      PERFORM BDC_FIELD       USING 'BDC_CURSOR'
                                    G_STR_FIELDNAME.
                                    "'ACGL_ITEM-WRBTR(01)'.
      "G/L Acct
      CONCATENATE  'ACGL_ITEM-HKONT(' G_STR_INDEX ')' INTO
      G_STR_FIELDNAME.
      PERFORM BDC_FIELD       USING  G_STR_FIELDNAME       
                                     WA_STR_FB70-HKONT.    
        "Amount .
      CONCATENATE  'ACGL_ITEM-WRBTR(' G_STR_INDEX ')' INTO
      G_STR_FIELDNAME.
      PERFORM BDC_FIELD       USING G_STR_FIELDNAME   
                                    WA_STR_FB70-ITEM_WRBTR.
      "PERFORM BDC_DYNPRO      USING 'SAPMF05A' '1200'.
      PERFORM BDC_FIELD       USING 'BDC_OKCODE'
                                    '=BU'.
      CLEAR WA_STR_FB70.
    ENDLOOP.
    IF G_FLG_ERROR IS INITIAL.
      PERFORM BDC_TRANSACTION USING 'FB70'.
    ENDIF.
    IF G_FLG_ERROR IS INITIAL.
      PERFORM CLOSE_GROUP.
      MESSAGE 'Session created successfully.' TYPE 'I'.
    ENDIF.
  ENDIF.
Continued in the next thread..

Similar Messages

  • Problem while posting FI document through BAPI - Multiple Exchange Rates

    I am able to post FI document with multiple exchange rates for the same currency using FB01. But, when I try to post the same document details using BAPI_ACC_DOCUMENT_POST , it throws an error F5 701 - Inconsistent Rate for Currency XXX .
    How can we avoid this error while posting through BAPI ?
    Thanks & Regards,
    Nidhi

    Hi Nidhi,
    Value range
        The field CURR_TYPE (currency type) describes the role played by a
        currency in the SAP System.
        The currency type can take on the following values, for example:
        o   00      Transaction currency
        o   10      Company code currency
        o   20      Controlling area currency
        o   30      Group currency
        o   40      Hard currency
        o   50      Index-based currency
        o   60      Global company currency
        If an entry is not made in the field CURR_TYPE, the default value "00"
        is retained.
        If only one data record is transferred in transaction currency for each
        line item, the field CURR_TYPE does not need to be filled out. If
        several data records are transferred for each line item, the currency
        type must be entered for each record.
    If the parameter CurrencyAmount is filled with the currency fields,
    a complete document check including characteristics and value
    components of profitability analysis (CO-PA). Otherwise, the account
    assignment objects are checked.
    Check the BAPI documentation SE37.
    Regards,
    Boobalan Suburaj

  • Problem in Posting Parked Document for Asset Retirement

    Hi
    I had parked asset retirement document with document type AR. At that time fields such as Plant, Asset Retirement tick, Asset No. etc. were available and I had filled up the fields.
    Now I want to post the document with FBV0. When I check the line items the above mentioned fields are not visible. When I post the document system give following message:
    Formatting error in the field RF05A-XAABG; see next message
         Message no. 00298
    Diagnosis
         During batch input or when executing CALL TRANSACTION... USING a screen
         field was filled with an invalid input format.
    System Response
         Processing was terminated.
    Procedure
         The screen field has the technical name RF05A-XAABG . The cause of the
         error is described in the following message.
         Correct  the appropriate BDC data.
    Please suggest what is the problem and how to solve it.
    Thanks & Regards
    Shripal

    Hi Sridevi
    Thanks for the reply
    It may be possible that I had not ticked Indicator Post retirement of assets directly ?
    But the real problem is that I while trying to post the parked document this field is not available. I have alread mentioned the fields which were originally available while parking but now they are not available while posting.
    Please suggest what should be done to make these fields visible while posting. If I try to create new document these field are available. They are only not available when parked document is posted.
    Thanks & Regards
    Shripal

  • Problem in Posting a document using BAPI_ACC_DOCUMENT_POST

    Hi,,
    I am using the function module "BAPI_ACC_DOCUMENT_POST" to post a vendor Invoice (KR). i think the t-code to post this is FV60.when i post the document, the document number is getting generated but amount is missing  in t-code fbv3 but bseg table is getting updated properly. Can any one help the actual input to be given to create a document and tax
    Regards

    I have a suggestion:
    Try to post this kind of document (KR) with transaction code FB01. If you can see the document correctly with FBV3 transaction, then you can use BAPI you mention.
    The following function modules may be useful for calculating taxes:
    CALCULATE_TAX_FROM_NET_AMOUNT
    CALCULATE_TAX_FROM_GROSSAMOUNT
    Regards.
    Rafael Rojas.

  • Problem when posting GR for Inboun Delivery through MIGO

    Hi All,
          I am trying to post a GR for an Inbound Delivery by using the Function Module 'BAPI_GOODSMVT_CREATE'. The problem is that after the GR has been posted successfully through the report I am still able to post GR through MIGO. This happens only for few Inbound Deliveries and not for all. What could be the reason for this? Also are there any user exits for MIGO using which I can stop the multiple posting of GR for a single Inbound Delivery.
    Thanks in Advance,
    Regards,
    Sowmya.

    Hi !
    Try setting the parameter NO_MORE_GR in the cases you don't wand any more GRs.
    This could also be set automatically - wich has to be customized in MM-PUR customizing.
    Also you shuld check the overdelivieries tolerances of the purchases ! They may be "unlimited" ....
    Regards
    Rainer
    Some points would be nice if that helped.

  • Problem while Posting a Document Using BAPI_ACC_DOCUMENT_POST

    Hi All,
    When i try to post my General Ledger Document using BAPI_ACC_DOCUMENT_POST, i face a situation due to the exchange rate. The field EXCH_RATE in CURRENCYAMOUNT table accepts only 5 decimals. But according to my scenario it should accept more than 5 decimals. Is there any BAPI or other way to solve this issue.
    Thanks & Regards,
    Venkatesh. R

    We restricted our entry to five decimals and solved the issue.

  • Posting Multiple Documents using Contribute 4

    My organization is attempting to put our ~400 job
    descriptions online in PDF format. How can I make a list of 400 job
    titles more user-friendly using Contribute 4? Can I add
    searchability? Is there a way to allow users to sort the documents
    (by department, job title, union, etc) using Contribute 4? I am
    able to edit our website using Contribute 4, but all other types of
    development must go through our IT department (which I'd prefer to
    aviod). Any suggestions are much appreciated.
    JT

    Disregard - I've asked our IT people to set up something
    "fancy" - thanks anyway!

  • Problem in merging multiple documents in Adobe Acrobat Standard 6.0

    Hi,
    When I tried to merge multiple (1000+) PDFs at a shot, some of the PDF are missing from the merged PDF.
    When I tried this a couple of time I found that PDF are not at all included when I first select them for merging.
    I selected the option 'from Multiple Files' from 'Create PDF' option. Then I browsed for the files which I want to merge.
    At this step I found that all the files I selected are not listed in the dialogue box.
    is there any limitation in the number of files being merged?

    Hi,
    When I tried to merge multiple (1000+) PDFs at a shot, some of the PDF are missing from the merged PDF.
    When I tried this a couple of time I found that PDF are not at all included when I first select them for merging.
    I selected the option 'from Multiple Files' from 'Create PDF' option. Then I browsed for the files which I want to merge.
    At this step I found that all the files I selected are not listed in the dialogue box.
    is there any limitation in the number of files being merged?

  • Problem with posting GL document  in QA

    Iam upload data using BAPI "BAPI_ACC_DOCUMENT_POST"
    "We were not able to successfully upload an Excel spreadsheet into SAP in QA area . When we attempted to do the upload in QA, SAP displayed a blank screen and then froze. No error messages were displayed. ( We were able to successfully do uploads in DEV)"

    Hi Siva,
    You need to talk with your basis guys.
    regs

  • PRoblem when posting more than one document

    Hi all,
    I'm using BAPI    BAPI_GOODSMOVEMENT_CREATE to post the documents for PO_GR.when i post one document through text file it is done succesfuully. when i'm posting more than one document it is giving error "posting not possible".
    My code is as follows:
    loop at i_data.
    concatenate '0'   i_data-stor_loc  into i_data-stor_loc.
    concatenate '00'  i_data-plant     into i_data-plant.
        i_item-po_number  = i_data-po_no.
        i_item-po_item    = i_data-po_item.
        i_item-move_type  = i_data-mvt_type.
        i_head-doc_date   = doc_date.
        i_head-pstng_date = post_date.
        i_head-ref_doc_no = i_data-del_note.
        i_item-entry_qnt  = i_data-entry_qty.
        i_item-stge_loc   = i_data-stor_loc.
        i_item-plant      = i_data-plant.
        i_item-stck_type  = i_data-stk_type.
        i_item-batch      = i_data-batch.
    I_ITEM-move_val_type      = i_data-move_batch.
        APPEND: i_item,i_head.
        CLEAR:i_item.
      ENDLOOP.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
       EXPORTING
         goodsmvt_header             = i_head
         goodsmvt_code               = i_code
       TESTRUN                     = ' '
      IMPORTING
      GOODSMVT_HEADRET            =
        MATERIALDOCUMENT            = matdoc
       MATDOCUMENTYEAR             =
       tables
         goodsmvt_item               = i_item
       GOODSMVT_SERIALNUMBER       =
         return                      = return
      IF return IS INITIAL.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ENDIF.
      LOOP AT return.
        WRITE: return-message.
      ENDLOOP.
      WRITE: matdoc.
    PLease specify where i'm going wrong.
    Regards,
    SImha.

    Hi,
    I had used the same FM to post multiple documents, but never faced this error.
    *- Header
      MOVE: sy-datum TO bapigm_head-pstng_date,
            sy-datum TO bapigm_head-doc_date,
            sy-uname TO bapigm_head-pr_uname,
            v_mblnr  TO bapigm_head-ref_doc_no,
            con_bfwms_bestand TO bapigm_head-ext_wms.
    *- Item
    *- Populate item data
      LOOP AT i_items_trans.
        CLEAR ibapigm_item.
    *- Convert the matnr backto 18 char form (External)
        CALL FUNCTION 'CONVERSION_EXIT_MATN2_INPUT'
          EXPORTING
            input            = i_items_trans-matnr
          IMPORTING
            output           = i_items_trans-matnr
          EXCEPTIONS
            number_not_found = 1
            length_error     = 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.
        ibapigm_item-material   = i_items_trans-matnr.
        ibapigm_item-plant      = i_items_trans-werks.
        ibapigm_item-stge_loc   = i_items_trans-lgort.
        ibapigm_item-move_type  = '101'.   "Goods Receipt
        ibapigm_item-mvt_ind    = 'B'.     "Goods Movement for PO
        ibapigm_item-po_number  = i_items_trans-ebeln.
        ibapigm_item-po_item    = i_items_trans-ebelp.
        ibapigm_item-entry_qnt  = i_items_trans-ktmng.
        ibapigm_item-entry_uom  = i_items_trans-meins.
        APPEND ibapigm_item.
      ENDLOOP.
    *-Call FM
      CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header  = bapigm_head
          goodsmvt_code    = bapigm_code
        IMPORTING
          goodsmvt_headret = bapigm_headret
        TABLES
          goodsmvt_item    = ibapigm_item
          return           = ibapigm_ret.
    *- Commit on Success
      IF NOT bapigm_headret-mat_doc IS INITIAL.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    Regards,
    Raj

  • Need Code For PO-GR through MiGO for multiple documents through BAPI

    Hi All
    Im using BAPI_GOODSMVT_CREATE to post goods for PO-GR.
    When im posting multiple documents its giving error.
    When im posting individually, it's working fine.
    Please send me the code for PO-GR through BAPI.
    Urgently required.
    Regards,
    SImha.

    Is this not working???
    BAPI_GOODSMVT_CREATE to post Goods Movement
    The following is an abap program making used of the BAPI function BAPI_GOODSMVT_CREATE to do Goods Receipts for Purchase Order after importing the data from an external system.
    BAPI TO Upload Inventory Data
    GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order
                         02 - MB31 - Goods Receipts for Prod Order
                         03 - MB1A - Goods Issue
                         04 - MB1B - Transfer Posting
                         05 - MB1C - Enter Other Goods Receipt
                         06 - MB11
    Domain: KZBEW - Movement Indicator
         Goods movement w/o reference
    B - Goods movement for purchase order
    F - Goods movement for production order
    L - Goods movement for delivery note
    K - Goods movement for kanban requirement (WM - internal only)
    O - Subsequent adjustment of "material-provided" consumption
    W - Subsequent adjustment of proportion/product unit material
    report zbapi_goodsmovement.
    parameters: p-file like rlgrap-filename default
                                     'c:\sapdata\TEST.txt'.
    parameters: e-file like rlgrap-filename default
                                     'c:\sapdata\gdsmvterror.txt'.
    parameters: xpost like sy-datum default sy-datum.
    data: begin of gmhead.
            include structure bapi2017_gm_head_01.
    data: end of gmhead.
    data: begin of gmcode.
            include structure bapi2017_gm_code.
    data: end of gmcode.
    data: begin of mthead.
            include structure bapi2017_gm_head_ret.
    data: end of mthead.
    data: begin of itab occurs 100.
            include structure bapi2017_gm_item_create.
    data: end of itab.
    data: begin of errmsg occurs 10.
            include structure bapiret2.
    data: end of errmsg.
    data: wmenge like iseg-menge,
          errflag.
    data: begin of pcitab occurs 100,
            ext_doc(10),           "External Document Number
            mvt_type(3),           "Movement Type
            doc_date(8),           "Document Date
            post_date(8),          "Posting Date
            plant(4),              "Plant
            material(18),          "Material Number
            qty(13),               "Quantity
            recv_loc(4),           "Receiving Location
            issue_loc(4),          "Issuing Location
            pur_doc(10),           "Purchase Document No
            po_item(3),            "Purchase Document Item No
            del_no(10),            "Delivery Purchase Order Number
            del_item(3),           "Delivery Item
            prod_doc(10),          "Production Document No
            scrap_reason(10),      "Scrap Reason
            upd_sta(1),            "Update Status
          end of pcitab.
    call function 'WS_UPLOAD'
      exporting
        filename                      = p-file
        filetype                      = 'DAT'
    IMPORTING
      FILELENGTH                    =
      tables
        data_tab                      = pcitab
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      OTHERS                        = 6
    if sy-subrc <> 0.
      message id sy-msgid type sy-msgty number sy-msgno
              with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      exit.
    endif.
    gmhead-pstng_date = sy-datum.
    gmhead-doc_date = sy-datum.
    gmhead-pr_uname = sy-uname.
    gmcode-gm_code = '01'.   "01 - MB01 - Goods Receipts for Purchase Order
    loop at pcitab.
      itab-move_type  = pcitab-mvt_type.
      itab-mvt_ind    = 'B'.
      itab-plant      = pcitab-plant.
      itab-material   = pcitab-material.
      itab-entry_qnt  = pcitab-qty.
      itab-move_stloc = pcitab-recv_loc.
      itab-stge_loc   = pcitab-issue_loc.
      itab-po_number  = pcitab-pur_doc.
      itab-po_item    = pcitab-po_item.
      concatenate pcitab-del_no pcitab-del_item into itab-item_text.
      itab-move_reas  = pcitab-scrap_reason.
      append itab.
    endloop.
    loop at itab.
      write:/ itab-material, itab-plant, itab-stge_loc,
              itab-move_type, itab-entry_qnt, itab-entry_uom,
              itab-entry_uom_iso, itab-po_number, itab-po_item,
                                                  pcitab-ext_doc.
    endloop.
    call function 'BAPI_GOODSMVT_CREATE'
      exporting
        goodsmvt_header             = gmhead
        goodsmvt_code               = gmcode
      TESTRUN                     = ' '
    IMPORTING
        goodsmvt_headret            = mthead
      MATERIALDOCUMENT            =
      MATDOCUMENTYEAR             =
      tables
        goodsmvt_item               = itab
      GOODSMVT_SERIALNUMBER       =
        return                      = errmsg
    clear errflag.
    loop at errmsg.
      if errmsg-type eq 'E'.
        write:/'Error in function', errmsg-message.
        errflag = 'X'.
      else.
        write:/ errmsg-message.
      endif.
    endloop.
    if errflag is initial.
      commit work and wait.
      if sy-subrc ne 0.
        write:/ 'Error in updating'.
        exit.
      else.
        write:/ mthead-mat_doc, mthead-doc_year.
        perform upd_sta.
      endif.
    endif.
          FORM UPD_STA                                                  *
    form upd_sta.
      loop at pcitab.
        pcitab-upd_sta = 'X'.
        modify pcitab.
      endloop.
      call function 'WS_DOWNLOAD'
        exporting
          filename                      = p-file
          filetype                      = 'DAT'
    IMPORTING
      FILELENGTH                    =
        tables
          data_tab                      = pcitab
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      OTHERS                        = 6
    endform.
    *--- End of Program
    REgards,
    Ravi

  • Multiple Document using RFBIBLOO

    Hi,
    Any one please confirm is it possible to post multiple documents or records using RFBIBLOO standard program under one file.
    Thanks and Regards,
    Paul.

    hi,
    don't get it.
    you can post all kinds of documents, as you've
    internal number ranges or external ranges with non duplcate document no.
    nice weekend to ALL
    God bless
    A.

  • What is the ok code for Save (to post a document)

    Hi all Technos
    How to post a document(Save it) in BDC In Tr Code F-02 after all entry? What is code for that.
    In simple what is the ok code for SAVE. For your kind infromation ENTER is not taking.
    Plz any body help me For that.
    Every usefull answer will be rewarded with points..
    Thanks in advance
    shovan

    Hi Shovan,
    OK-code for save is =BU
    Check this recording..Award points if useful
    perform bdc_dynpro      using 'SAPMF05A' '0100'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BKPF-BLDAT'
                                  '06.05.2008'.
    perform bdc_field       using 'BKPF-BLART'
                                  'SA'.
    perform bdc_field       using 'BKPF-BUKRS'
                                  'BP01'.
    perform bdc_field       using 'BKPF-BUDAT'
                                  '19.05.2008'.
    perform bdc_field       using 'BKPF-MONAT'
                                  '5'.
    perform bdc_field       using 'BKPF-WAERS'
                                  'USD'.
    perform bdc_field       using 'FS006-DOCID'
    perform bdc_field       using 'RF05A-NEWBS'
                                  '40'.
    perform bdc_field       using 'RF05A-NEWKO'
                                  '630020'.
    perform bdc_dynpro      using 'SAPMF05A' '0300'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BSEG-WRBTR'
                                  '100'.
    perform bdc_field       using 'BSEG-MWSKZ'
                                  'I0'.
    perform bdc_field       using 'BSEG-TXJCD'
                                  'ca0000000'.
    perform bdc_field       using 'DKACB-FMORE'
                                  'X'.
    perform bdc_dynpro      using 'SAPLKACB' '0002'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTE'.
    perform bdc_field       using 'COBL-KOSTL'
                                  '1201'.
    perform bdc_dynpro      using 'SAPMF05A' '0700'.
    perform bdc_field       using 'BDC_OKCODE'
                                  *'=BU'.* 
    Thanks,
    Rvaee..

  • 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

  • Runtime error while posting a document (FB70/FBS1)

    Hi
    I am getting a runtime error while posting a document through FB70 or FBS1 .
    The erro description tells The type "CL_BCS_OBJHEAD" is unknown.
    And the program dumps in Function module SO_KPRO_DECIDE.
    Has any one faced this problem?

    Hi,
    Please check the psoting date and also the reversal  date in FBS1. Please check when you have posted the document and when you want ot reverse the same.
    Thank you,
    Shilpa.

Maybe you are looking for