BDC Bank Details upload

hi friends,
            i have done a BDC for xk01 i am trying to insert two bank details for a particular customer but it is not working plz give me suggestion.
Edited by: indirajit ramasubbu on Aug 25, 2008 12:23 PM
Edited by: indirajit ramasubbu on Aug 25, 2008 12:24 PM

Hi,
Check if you can BAPI instead of BDC.
BAPI_BUPA_BANKDETAIL_ADD
Thanks,
Kartavya

Similar Messages

  • Uploading vendor bank details

    hi
    i want to use call transaction method to uplaod the vendor bank details. now i want to create a flat file for a vendor with two bank details. can anyone tell me how should be the flat file i.e., how to differentiate the two bank details for a single vendor. also should i declare two internal tables in the BDC program one for the vendor information and one for the bank details to upload the data from flat file using GUI_UPLOAD. please can anyone explain with an example.
    thanks in advance.
    regards
    sandeep.

    I would suggest having two files and two internal tables,  one for the vendor information, and one for the bank details, upload both using GUI_UPLOAD.  Loop at the first one, this one should only have one record per vendor,  inside that loop, loop at the second itab where vendor = the vendor of the first loop.  do the transaction to enter the bank details.
    Loop at itab1.
    * Do transaction to update vendor information.
    loop at itab2 where lifnr = itab1-lifnr.
    * Do transaction to enter bank details.
    endloop.
    endloop.
    Regards,
    Rich Heilman

  • Multiple bank details of vendor-BDC

    Hi Experts,
      i want to upload bank details of vendor thru xk02 t-code.i want to do this with bdc.iam having multiple bank details for single vendor.iam able to update only one bank data.if i want to update multiple bank data's how.
    can u provide me the sample code and how to put multiple data in file.
    Thx,
    Neelima.N

    Hi,
    Below link program may help in uploading Vendor Bank details including IBAN ; only once the vendor has been created. Where the code mentioned below can upload upto 20 banks for each vendor, more banks can be added by small modifications.
    Please check the below link.
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/simple%2bbdc%2bto%2bupload%2bvendor%2bbank%2bdetails%2bwith%2biban
    Regards
    Pugal.P

  • Upload Bank Details

    Hi All,
    I want to upload All Bank Details from flat file with one report for all the countries.
    Report-RFBVALL_0 (T code-BAUP) uploads only for one country at a time.
    There are more that 150 countries.
    Is there some standard report exist? Or some function module by using we can upload all banks data in one execution.
    Regards

    Put RFBVALL_0 in a wrapper program that calls it once for each country.
    Rob

  • Problem while uploading bank details in Vendor Master - XK01

    Hello Experts,
    I am encountering a problem while uploading Vebndor Master Details in Quality server . The bank details for a given bank (Eg : BankABC and Bank Key IN) throws an error saying BANK IN BANKABC DOES NOT EXIST . But , with the same details i am able to upload in Sandbox and Development Servers. Pls suggest on the same.

    Hello again,
    Thank you for the inputs.
    Venkat,
    All the required fields are active. Please give some more input.
    Rob,
    Bank is supposed to be created during the upload. The bank details which already exists in the sytem are not throwing the error. Please give suggestions for this scenario.
    Regards,
    Trishna

  • Hi All, How we can handle a table control in bdc - in detail its urgent pls

    Hi All, How we can handle a table control in bdc - in detail its urgent. Please send me the explanation in detail.
    Thanks&regards.
    Bharat

    hi,
    Create Table Control
    • Step 1 (Create new structure for table control)
    Type is name of structure (ZTC_EKKO) and press create
    • Step 2 (Create Program)
    Goto transaction SE80(Object Navigator) -> Repository Browser -> Program.
    Enter your program name, please ensure that is begins with SAPMZ…… as this is a module pool (dialog program).
    Press enter to create, and press yes!
    Ensure that you create a top include, and press Enter.
    Accept the name created for the top include.
    Press Enter.
    Press Save
    • Step 3 (Create TOP include)
    Double click on the top include and enter following ABAP code:
    Tables: ZTC_EKKO.
    controls: tc100 type tableview using screen 100.
    data: ok_code type sy-ucomm.
    data: it_ekko type standard
    table of ZTC_EKKO initial size 0,
    wa_ekko type ZTC_EKKO.
    data: ok_code type sy-ucomm.
    Press Save and Activate
    • Step 4 (Create screen)
    Right click the program to create a screen 100 for the dialog. Enter Short description, set screen type to Normal and enter 0 or blank into Next screen. Then move to Element List tab and enter the OK code as OK_CODE (i.e. the same as what you declared in the top include with data: ok_code type sy-ucomm).
    • Step 5 (Create table control)
    Press the Layout button to bring up the screen painter editor.
    Press table control button and drag it on to the screen, enter the name of table control created in TOP include (TC100). Now press the yellow button for attributes and set the table control as below options
    • Step 6 (Populate table control )
    Press the orange button (Fields). On the next screen enter ZTC_EKKO and press the ‘Get from Dict’ button. Select the fields you want (all) and press enter. Now drag them onto your Table Control.
    Below is the result, there will been syntax errors if we check now! So Save and go back into the flow logic tab.
    • Step 7 (Create flow control )
    Within the flow logic of screen 100 and create two modules, one to select the data from the database and the other to move the selected fields into the table control. Also insert the two loop statements to populate and retrieve the lines of the table control.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_0100.
    module data_retrieval.
    loop at it_ekko into wa_ekko with control TC100.
    module populate_screen.
    endloop.
    PROCESS AFTER INPUT.
    loop at it_ekko.
    endloop.
    MODULE USER_COMMAND_0100.
    Double click the module data_retrieval to create and click yes to get past the popup. Ensure that a new include is created to hold all the PBO modules (default). Press enter.
    Select 10 rows of data from the EKKO table and load into the internal table it_ekko. Go back to the flow logic to load this data into the Table Control.
    check this one
    REPORT ZCALL_TRANS_TAB1 .
    TABLES: LFA1,LFBK,lfb1.
    data: BEGIN OF it_vendor occurs 0,
    LIFNR LIKE LFA1-LIFNR,
    bukrs like lfb1-bukrs,
    END OF it_vendor.
    DATA: BEGIN OF IT_BANK occurs 0,
    LIFNR LIKE LFA1-LIFNR,
    BANKS LIKE LFBK-BANKS,
    BANKL LIKE LFBK-BANKL,
    BANKN LIKE LFBK-BANKN,
    koinh like lfbk-koinh,
    END OF IT_BANK.
    data: it_bdcdata like bdcdata occurs 0 with header line.
    data: it_messages like bdcmsgcoll occurs 0 with header line.
    *selection screen.
    selection-screen: begin of block b1 with frame.
    parameters: p_file like rlgrap-filename default 'c:/vendor.txt'
    obligatory.
    parameters: p_file1 like rlgrap-filename default 'c:/xyz.txt'
    obligatory.
    selection-screen: end of block b1.
    *at selection screen.
    at selection-screen on value-request for p_file.
    perform f4_help using p_file.
    at selection-screen on value-request for p_file1.
    perform f4_help1 using p_file1.
    *start of selection
    start-of-selection.
    *******uploading file
    perform upload_file using p_file P_FILE1.
    ******open session.
    perform populate_data.
    *& Form f4_help
    form f4_help using p_p_file.
    data: l_file type ibipparms-path.
    call function 'F4_FILENAME'
    importing
    file_name = l_file.
    p_file = l_file.
    endform. " f4_help
    *& Form POPULATE_DATA
    form populate_data .
    DATA: L_STRING TYPE STRing.
    DATA: L_COUNTER(2) TYPE n.
    loop at it_vendor.
    perform bdc_dynpro using 'SAPMF02K' '0106'.
    perform bdc_field using 'BDC_CURSOR'
    'RF02K-D0130'.
    perform bdc_field using 'BDC_OKCODE'
    '/00'.
    perform bdc_field using 'RF02K-LIFNR'
    it_vendor-lifnr.
    perform bdc_field using 'RF02K-BUKRS'
    it_vendor-bukrs.
    perform bdc_field using 'RF02K-D0130'
    'X'.
    perform bdc_dynpro using 'SAPMF02K' '0130'.
    perform bdc_field using 'BDC_CURSOR'
    'LFBK-bankn(03)'.
    perform bdc_field using 'BDC_OKCODE'
    '=UPDA'.
    *********bank details
    CLEAR l_COUNTER.
    LOOP AT IT_BANK WHERE LIFNR = IT_VENDOR-LIFNR.
    l_COUNTER = l_COUNTER + 1.
    clear l_string.
    CONCATENATE 'lfbk-banks(' l_counter ')' into l_string.
    perform bdc_field using l_string
    it_bank-banks.
    clear l_string.
    CONCATENATE 'lfbk-bankl(' l_counter ')' into l_string.
    perform bdc_field using l_string
    it_bank-bankl.
    clear l_string.
    CONCATENATE 'lfbk-bankn(' l_counter ')' into l_string.
    perform bdc_field using l_string
    it_bank-bankn.
    endloop.
    ******CALL TRANSACTION.
    call transaction 'FK02' using it_bdcdata mode 'A'
    messages into it_messages.
    write:/ sy-subrc.
    perform format_messages.
    clear it_bdcdata.
    refresh it_bdcdata.
    endloop.
    endform. " POPULATE_DATA
    *& Form FORMAT_MESSAGES
    form format_messages .
    data: l_msg(100).
    loop at it_messages.
    call function 'FORMAT_MESSAGE'
    exporting
    id = it_messages-msgid
    lang = sy-langu
    no = it_messages-msgnr
    v1 = it_messages-msgv1
    v2 = it_messages-msgv2
    v3 = it_messages-msgv3
    v4 = it_messages-msgv4
    importing
    msg = l_msg
    exceptions
    not_found = 1
    others = 2
    write:/ l_msg.
    endloop.
    endform. " FORMAT_MESSAGES
    *& Form bdc_dynpro
    form bdc_dynpro using value(p_program)
    value(p_screen).
    it_bdcdata-program = p_program.
    it_bdcdata-dynpro = p_screen.
    it_bdcdata-dynbegin = 'X'.
    append it_bdcdata.
    clear it_bdcdata.
    endform. " bdc_dynpro
    *& Form bdc_field
    form bdc_field using value(p_fnam)
    value(p_fval).
    it_bdcdata-fnam = p_fnam.
    it_bdcdata-fval = p_fval.
    append it_bdcdata.
    clear it_bdcdata.
    endform. " bdc_field
    *& Form upload_file
    form upload_file using p_p_file
    p_p_file1.
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    CODEPAGE = ' '
    FILENAME = P_P_FILE
    FILETYPE = 'DAT'
    HEADLEN = ' '
    LINE_EXIT = ' '
    TRUNCLEN = ' '
    USER_FORM = ' '
    USER_PROG = ' '
    DAT_D_FORMAT = ' '
    IMPORTING
    FILELENGTH =
    TABLES
    data_tab = IT_VENDOR
    EXCEPTIONS
    CONVERSION_ERROR = 1
    FILE_OPEN_ERROR = 2
    FILE_READ_ERROR = 3
    INVALID_TYPE = 4
    NO_BATCH = 5
    UNKNOWN_ERROR = 6
    INVALID_TABLE_WIDTH = 7
    GUI_REFUSE_FILETRANSFER = 8
    CUSTOMER_ERROR = 9
    NO_AUTHORITY = 10
    OTHERS = 11
    IF sy-subrc <> 0.
    MESSAGE I000(ZZ) WITH 'UNABLE TO UPLOAD'.
    STOP.
    ENDIF.
    *******UPLOADING BANK DETAILS
    CALL FUNCTION 'WS_UPLOAD'
    EXPORTING
    CODEPAGE = ' '
    FILENAME = P_P_FILE1
    FILETYPE = 'DAT'
    HEADLEN = ' '
    LINE_EXIT = ' '
    TRUNCLEN = ' '
    USER_FORM = ' '
    USER_PROG = ' '
    DAT_D_FORMAT = ' '
    IMPORTING
    FILELENGTH =
    TABLES
    data_tab = IT_BANK
    EXCEPTIONS
    CONVERSION_ERROR = 1
    FILE_OPEN_ERROR = 2
    FILE_READ_ERROR = 3
    INVALID_TYPE = 4
    NO_BATCH = 5
    UNKNOWN_ERROR = 6
    INVALID_TABLE_WIDTH = 7
    GUI_REFUSE_FILETRANSFER = 8
    CUSTOMER_ERROR = 9
    NO_AUTHORITY = 10
    OTHERS = 11
    IF sy-subrc <> 0.
    MESSAGE I000(ZZ) WITH 'UNABLE TO UPLOAD'.
    STOP.
    ENDIF.
    endform. " upload_file
    *& Form f4_help1
    -->P_P_FILE1 text
    form f4_help1 using p_p_file1.
    data:l_file1 type ibipparms-path.
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
    FILE_NAME = l_file1.
    p_file1 = l_file1.
    endform. " f4_help1
    http://sap-img.com/abap/bdc-example-using-table-control-in-bdc.htm
    Regards,
    Sankar

  • Change pointers triggering problem for vendor bank details

    Hi,
    I have configured change pointers for vendor master  data. IF I change already existing bank account then that account is coming with deletion indicator and it is picking all other bank details with resend indicator. But if only new account added then idoc is not creating. At the same time entry in table BDCPV also not creating.
    Is there any solution to create idoc if new accounts created.
    Note: I am not changing any other information except bank details.
    Thanks in advance.
    Rgds,
    Sudhakar

    hi ,
    How are you changing the information either via direct table update or Bdc, change pointers will be created only if you do transcation it means Bdc
    i guess.
    regards
    sarath

  • IBAN update for vendor bank details using  rfbikr00

    Hello,
    I am trying to update the IBAN details of vendor using standard upload program rfbikr00.While doing the same, the IBAN is not updated to the corresponding bank details line, rather it is creating a new line with IBAN only.
    I am using the below code for the IBAN update
    * IBAN Details.
        PERFORM clear_structure CHANGING s_blfbk_iban.
        MOVE-CORRESPONDING s_blfbk TO s_blfbk_iban.
        s_blfbk_iban-stype = '2'.
        s_blfbk_iban-tbnam = 'BLFBK_IBAN'.
        s_blfbk_iban-iban  = t_input_data-iban.
        MOVE s_blfbk_iban TO t_output_data.
    Can anybody point some inputs, why a new line is created for the IBAN?
    Any kind of help wil be appreciated.
    Thanks
    Mishra

    Did you tried using 'BAPI_IBAN_CHANGE' and 'BAPI_IBAN_CREATE' ?
    Thanks,
    K.Kiran.

  • How to find the no.of rows of bank details existed previously for XK02

    Hi all,
    In bdc(table control) i am updatibg the data for the t.code xk02.
    In xk02 transaction i am adding bank details data.the no.of rows of bank details changing for each vendor.now i want to know how many rows of bank details are existed previously. so that i can continue the bank details from the next row onwards.
    pls help with logic
    Thanks
    Mythily

    Hi,
    Its difficult to get it done by BDC!
    Use LSMW instead, it would take care of it.
    Cheers,S
    Somnath

  • Customer Bank Details creation in Lockbox using EDI

    Hi Experts,
    I am working on a Lockbox implementation project. Here we migrate the BAI2 based file processing to the IDOC (FINSTA01 ) based one.
    When we used BAI2, in the standard program RFEBLB20, there was a logic to create the customer bank details, if they are not present in the KNBK Table. I do not see any such logic in the IDOC file processing Function Module IDOC_INPUT_LOCKBX. Is this functionality missing and we need to do it manually?
    Any help on this would be greatly appreciated.
    Thanks,
    Ajith Cheruvally

    Thanks Nithin,
    I am aware of that configuration. And there is a corresponding subroutine in the BAI2 file processing program to create the BDC Session with the name that we mention there.
    However, I am unable to find any relevant code for creating the BDC session in the FINSTA IDOC's IDOC_INPUT_LOCKBX function module.
    No worries, I have implemented an exit with the required logic in that FM.
    Thanks,
    Ajith Cheruvally

  • Transaction F-40/F110 Bills of Exchange payable bank details missing

    Hello All,
    When I use transaction F-40 and then press enter, the system brings me to the next screen where I can
    enter the BOE data. Now in the bank details field, I would expect the system to upload or at least to let me choose our house bank details like it does for BOE receivables. However it does not. In the bank details fields remain blank and I cannot choose between my house bank.
    Is it possible to do that?
    Many thanks for your help

    Hi,
    F110 Automatic payment programme the System will pick the House from Vendor Master Data, there is no option to Select Hosue bank
    Regards
    Akmal

  • BDC overview details step by step

    Can any one give BDC overview details step by step.
    thanks,
    krishna

    Hi
    Check the Database tables of that Transaction, whether the correct number of records equal to your file were updated or not.
    Process the Session in SM35 for the error records till all the records were completely uploaded into database.
    see the BDC doc:
    BDC:
    Batch Data Communication (BDC) is the process of transferring data from one SAP System to another SAP system or from a non-SAP system to SAP System.
    Features :
    BDC is an automatic procedure.
    This method is used to transfer large amount of data that is available in electronic medium.
    BDC can be used primarily when installing the SAP system and when transferring data from a legacy system (external system).
    BDC uses normal transaction codes to transfer data.
    Types of BDC :
    CLASSICAL BATCH INPUT (Session Method)
    CALL TRANSACTION
    BATCH INPUT METHOD:
    This method is also called as ‘CLASSICAL METHOD’.
    Features:
    Asynchronous processing.
    Synchronous Processing in database update.
    Transfer data for more than one transaction.
    Batch input processing log will be generated.
    During processing, no transaction is started until the previous transaction has been written to the database.
    CALL TRANSACTION METHOD :
    This is another method to transfer data from the legacy system.
    Features:
    Synchronous processing. The system performs a database commit immediately before and after the CALL TRANSACTION USING statement.
    Updating the database can be either synchronous or asynchronous. The program specifies the update type.
    Transfer data for a single transaction.
    Transfers data for a sequence of dialog screens.
    No batch input processing log is generated.
    For BDC:
    http://myweb.dal.ca/hchinni/sap/bdc_home.htm
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/bdc&
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/69/c250684ba111d189750000e8322d00/frameset.htm
    http://www.sapbrain.com/TUTORIALS/TECHNICAL/BDC_tutorial.html
    Check these link:
    http://www.sap-img.com/abap/difference-between-batch-input-and-call-transaction-in-bdc.htm
    http://www.sap-img.com/abap/question-about-bdc-program.htm
    http://www.itcserver.com/blog/2006/06/30/batch-input-vs-call-transaction/
    http://www.planetsap.com/bdc_main_page.htm
    call Transaction or session method ?
    Reward points if useful
    Regards
    Anji

  • How to run the Transaction Code - BIC for Bank keys uploading

    Hi
    How to run the Transaction Code - BIC for Bank keys uploading.
    please give me suggestion.
    Thanks
    Indu

    Go to BIC transaction screen
    Fill the selection screen parameters as below
    1. Update Run (Test Run: Check Off: Real Run:Check On)
    2. Set Deletion Flag (Check On)
    3. Maximum no. of records: 999999
    4. Detail List (Check On)
    5. Display variant: 1SAP
    6. Presentation server (Select Radio Button)
    7. Application server (Deselcet Radio button)
    8. File name and Path: Select relavant file which is to be upload
    9. Bank country: If needed (Give respective country name)
    10. Select execute button or F8
    NOTE: Make sure that before executing run execute TEST RUN by deselecting Update Run check box
    Hope this will meet your requirement
    Thanks.

  • Electronic bank statement upload - SWIFT MT940 format...

    Hi All,
    i am first doing the electronic bank statement upload to SAP.
    i already done the related config for this.  i did check with my Client bank about the statement format and they able to provide the statement in SWIFT MT940 only not in multi cash format.
    Is any body done this before i mean upload the MT940 format to SAP. If so please share your experience with me.
    i need:
    1) The format of SWIFT MT940 file.
    2) Is any SAP notes related to this format?
    one important thing is -> 1) is this SWIFT MT940 format got two files(statement file  and line item file )  like mult icash format  or only one file.
      2) if this format got only one file  in which field we have to use  to upload this file in TCODE. FF_5. -> Line item field or statement filed.
    Thank you very much.
    Sandhya

    Hi ,
    Check SAPnote 13283. This has information on
    Multicash
    SWIFT MT940
    DTAUS
    BAZ
    MAOBE
    SAP.TXT and SAPKURZ.TXT
    Also you can see the link  http://www.swedbank.lv/lib/en/SWIFT_MT_940_formata_apraksts_ENG.doc
    for the detailed description of SWIFT MT940 File.
    Hope it helps
    SJ

  • HT3702 i am unable to purchase as consistently says bank details are wrong. They are correct. what could be wrong?

    i need help with something. for the past 3 months i have been travelling between Hong King and New York, I have a US itunes account that will not accept my US credit card details . "doesnt match the banks details"
    My details are correct and this message has continued to come up
    Thoughts?

    Thanks Eric for responding.
    I checked and it does not appear in the Applications folder.
    I tried yesterday on an ethernet connection with a download speed of 2 Mbps but, unfortunately the connection died(It happened from the ISP end, which is out of my control) in between after which there was no trace of the download that happened for so long(till the internet connection death). 
    One more serious query which I am unable to understand. If the internet connection, dies in the midst of the download is in progress why is it so that the state does not persist and one has to restart the entire process again. Is there no solution for this?
    I tried so many times and its the same case after some amount of download it vanishes. So many unsuccessful attempts. I am ****** off now. Is it not possible to see Mavericks? Why does different machines of Apple behave differently? Somewhere it goes smoothly and somewhere like my mine. Why did not Apple release a non apple store version? Is this not a bad sign of letting the users struggle when something is being offered for free?
    The reason I asked as whether we can download the .app of Mavericks is that, there are so many applications that I have downloaded web and have installed. All that works fine. Can't we do the same here? You download a copy of Mavericks installer application and upload it for me in Google drive or like online storage places which can be downloaded and used by me? Help me understand.
    Thanks again.

Maybe you are looking for

  • What is the best way to pass the web url of a link embedded in a PDF document?

    I have a WPF app in which is hosted an instance of axAcroPDF. I've included it via a System.Windows.Forms.UserControl that is a child of a System.Windows.Forms.Integration.WindowsFormsHost. The PDF Document is essentially a flow chart in which there

  • Error while saving shipment document

    Dear Gurus, While saving Shipment document i am getting this error Transportation planning point not allowed for export shipment. Please note i am not doing export shipment. Thanks KS

  • Restore Points Deleted w/dual boot & Windows 7

    Dual booting with two partitions on another disk with Windows 7 / Windows 10 and when I returned to Windows 8.1 or Windows 10 from Windows 7, restore points are deleted and remain in Windows 7? Is there a solution? Thanks Hello

  • Feature Suggestion // CUDA GPU Acceleration for Lightroom 4

    GPU CUDA Acceleration for rendering image previews, exporting images, and playing video in Lightroom 4, I'd like to see Lightroom 4 make use of  GPU processing.  Similar to the Mercury Playback engine in Premiere Pro CS5.5 GPU acceleration should be

  • No Help in QuickTime Pro

    I'm having the same problem as several others in that the Help feature does not work. I tried fixing the permissions with disk utility but that did not work even when attempting to do so from the Install Disk. The following appeared in the log: 2009-