MESSAGE_TYPE_X while creating vendor

Hi,
When I try to create a vendor in XK01, it terminates with an update terminated error.
The terminated update is as follows:
1  ADRESSE_WRITE_DOCUMENT         V2                   Initial
2  ADDR_SAVE_INTERN               V1                   Error
3  VENDOR_INSERT                  V1                   Initial
4  KRED_WRITE_DOCUMENT            V1                   Initial
The ST22 dump is " MESSAGE _TYPE _X" while updating table ADRC.
Please help.
Thanks,

Hi,
The activate field in disabled..hence I assume the table is already active.
Also, there are no inconsistencies in the table.
Thanks,
Saba.

Similar Messages

  • Pan number compulsory field while creating vendor code

    is it possible to make pan number compulsory field while creating vendor code

    Dear Sanjeev
    you can make PAN number mandatory use t.code shd0 in that first give transaction code than give screen variant detail for screen variant program go to xk01 and then go to pan field here click on f1 then click on technical specification u can copy the program and screen name after that click on create tab the xk01 screen field comes again go to pan field double click on that field and then select this as required field and save . then go to transaction variants give the transaction name and add a row in which insert row and gives screen  variant , program and screen then save it now move to standard variant give your  screen variant name and activate  now your pan field is mandatory . if you have any problem in understanding i can provide you the screen shot also on your mail. provide your email id
    Award points .
    Regards

  • Termination while creating vendor through XK01 IS-Retail

    Hi All,
    While creating vendor through XK01 ....update is getting terminated.
    When I checked the SM13 i got this error.
    Update was terminated
    System ID....   RDP
    Client.......   510
    User.....   PRASH
    Transaction..   XK01
    Update key...   4993DEF56A574020E1000000AC19005E
    Generated....   12.02.2009, 19:22:54
    Completed....   12.02.2009, 19:22:55
    Error Info...   B2 050: Change pointer ID already exists
    Please suggest.
    Regards,
    Prashant

    Hai,
    Please go through the link below, and analyse according to that.
    Also post the dumps or system logs if any.
    http://help.sap.com/saphelp_nw04/helpdata/en/e5/de874735cd11d3acb00000e83539c3/frameset.htm
    Regards,
    Yoganand.V

  • While creating vendor master , it should not accept duplicate VAT number

    while creating vendor master , it should not accept duplicate VAT number
    implement this with function exit.

    there is no link in vendor master creation that could check that company code and purchasing org are belonging together.
    the vendor master is in general just 3 more or less independend levels: general data, company code data, purchasing org data.
    Why should it not be possible to maintain a company code data view for any company code available in customizing?
    Why should it not be possible to maintainpurchasing org data view for any purchasing org available in customizing?
    Assume you have a system with 3 companies and 3 purchasing orgs maintained for one vendor, then you have 9 potential combinations. then 3 combinations would make sense, while 6 possible other combination would not give any sense.
    1 - 1 makes sense
    2 - 2 makes sense
    3 - 3 makes sense
    1 - 2 no sense
    1 - 3 no sense
    2 - 1 no sense
    2 - 3 no sense
    3 - 1 no sense
    3 - 2 no sense
    As there is no restriction (except auhtority) the user can create any meaningful and nonsense combination in vendor master creation in one go.
    But fact is that you  have to have 3 companies and 3 purchasing orgs maintained for one vendor. While creating purchase orders SAP checks if the combination entered in the PO does make sense.
    the users who are able to create vendors should have skills to do so.

  • Error while creating vendor invoice by FB60  Urgent!!!!!!!!!!

    While creating an vendor invoice by FB60 . the system is giving me an error message that this account cannot be directly posted to. Its an recon . Account. The user wants me to set it temporarily for some invoices and set back the GL account later on. Could anyon esuggest me. Its urgent please.
    Thanks in Advance.

    hi kavitha ,
    the acct 12501550 which is advance payments is an accrual acct which is not a recon a/c
    check the gl seetings
    in Type and Description tab
    make sure its a balance sheet acc
    in Control tab
    remove the recon. account for acct type  , i.e., leave the field blank
    generally , the line item display is clicked and sort key are filled.
    in Create/bank/interest Tab
    check the appropriate FSG and make sure to uncheck the post automatically field.
    and try to post it after the changes, it shoud work.
    regards
    Jay

  • Error while creating vendor bank details using MAINTAIN_BAPI of class VMD_ei_api

    hi, iam using maintain_bapi of class vmd_ei_api for bank details creation at the time of vendor creation. but im getting error: ' Invalid address:bank Country missing'.please suggest
    *    *** Bank details***************************************
        DATA: lt_bankdetails TYPE TABLE OF cvis_ei_cvi_bankdetail,
              ls_bankdetails TYPE cvis_ei_cvi_bankdetail.
        ls_bankdetails-data_key-banks = 'DE'. "Bank Country
        ls_bankdetails-data_key-bankl = 'BEBEDEBB'.     "Bank Key..
        ls_bankdetails-data_key-bankn = '3538174400' ."Bank account number.
        ls_bankdetails-data-bvtyp     = 'USA'.
        ls_bankdetails-data-bkref     = 'BEN'.           "Reference details.
        ls_bankdetails-datax-bvtyp     = 'X'.
        ls_bankdetails-datax-bkref     = 'X'.           "Reference details.
        ls_bankdetails-task            = 'I'.
        ls_bankdetails-data-iban      = 'DE24100200003538174400'.
        ls_bankdetails-datax-iban      = 'X'.
        APPEND  ls_bankdetails TO lt_bankdetails.
    *CLEAR : ls_bankdetails.
    *    ls_bankdetails-datax-iban      = 'X'.
    *   APPEND  ls_bankdetails TO lt_bankdetails.
    *  Inserting bank details,,,,
        ls_bank-bankdetails = lt_bankdetails[].
        ls_bank-current_state = ''.
        ls_vendors-central_data-bankdetail = ls_bank.
    And second question how/which method to use from this class to update bank details latter. Is it possible after creating vendor with mandatory fields and then update bank details?

    Hi Abhijeet,
    please check in transaction FI01, about your data consistencies. You can use this wiki help in terms of Address, it it found any useful facts for you
    Address Checks - Business Address Services (BC-SRV-ADR) - SAP Library

  • Error while creating vendor contact person using vmd_ei_api

    Hi,
    while craeting vendor contact person using maintain_bapi of vmd_ei_api class iam getting error like 'Specify address number or address handle'.
    code :
    CALL FUNCTION 'BAPI_PARTNEREMPLOYEE_GETINTNUM'
    EXPORTING
    quantity = 1
    IMPORTING
    * RETURN =
    contactid = lv_contactid
    * QUANTITY =
    * TABLES
    * CONTACT =
    ls_contacts1-task = 'I'.
    ls_contacts1-data_key-parnr = lv_contactid."ls_knvk-parnr.
    ls_contacts1-data-abtnr = '0002'."ls_knvk-abtnr.
    ls_contacts1-data-pafkt = '02'."ls_knvk-pafkt.
    ls_contacts1-data-parau = 'BNotes'."ls_knvk-parau.
    ls_contacts1-datax-abtnr = 'X'.
    ls_contacts1-datax-pafkt = 'X'.
    ls_contacts1-datax-parau = 'X'.
    * Inserting Phone ,Fax and email.
    ls_phone-contact-task = 'I'. "Phone
    ls_phone-contact-data-telephone = '89655696569'.
    ls_phone-contact-data-extension = '778548'.
    ls_phone-contact-datax-telephone = 'X'.
    ls_phone-contact-datax-extension = 'X'.
    APPEND ls_phone TO lt_phone.
    ls_phone-contact-task = 'I'.
    ls_phone-contact-data-r_3_user = 'X'.
    ls_phone-contact-data-telephone = '89845589369'.
    ls_phone-contact-data-extension = '858588'.
    ls_phone-contact-datax-updateflag = 'X'.
    ls_phone-contact-datax-telephone = 'X'.
    ls_phone-contact-datax-extension = 'X'.
    ls_phone-contact-datax-r_3_user = 'X'.
    APPEND ls_phone TO lt_phone.
    ls_fax-contact-task = 'I'.
    ls_fax-contact-data-fax = '8896589'.
    ls_fax-contact-data-extension ='44521'.
    ls_fax-contact-datax-fax = 'X'.
    ls_fax-contact-datax-extension ='X'.
    APPEND ls_fax TO lt_fax.
    ls_contacts1-address_type_3-communication-phone-current_state = ' '.
    ls_contacts1-address_type_3-communication-phone-phone = lt_phone.
    ls_contacts1-address_type_3-communication-fax-current_state = ' '.
    ls_contacts1-address_type_3-communication-fax-fax = lt_fax.
    ls_contacts1-address_type_3-communication-fax-current_state = ' '.
    ls_contacts1-address_type_3-communication-fax-fax = lt_fax.
    ls_contacts1-address_type_3-task = 'I'.
    ls_contacts1-address_type_3-POSTAL-data-FIRSTNAME = 'Roger'.
    ls_contacts1-address_type_3-postal-data-lastname = 'Fedrer'.
    ls_contacts1-address_type_3-POSTAL-datax-FIRSTNAME = 'X'.
    ls_contacts1-address_type_3-postal-datax-lastname = 'X'.
    APPEND ls_contacts1 TO lt_contacts1.
    ls_vendor1-header-object_instance = p_lifnr.
    ls_vendor1-header-object_task = 'M'.
    ls_vendor1-central_data-contact-contacts = lt_contacts1.
    ls_vendor1-central_data-contact-current_state = 'X'.
    ls_vendor1-central_data-central-data-adrnr = ls_adrnr.
    ls_vendor1-central_data-central-datax-adrnr = 'X' .
    APPEND ls_vendor1 TO lt_vendor1.
    gs_vmds_extern-vendors = lt_vendor1.
    DATA:gs_succ_messages TYPE cvis_message,
    gs_vmds_error TYPE vmds_ei_main,
    gs_err_messages TYPE cvis_message,
    gs_vmds_succ TYPE vmds_ei_main.
    * Call the Method for creation of Vendor.
    CALL METHOD vmd_ei_api=>maintain_bapi
    EXPORTING
    is_master_data = gs_vmds_extern
    IMPORTING
    es_master_data_correct = gs_vmds_succ
    es_message_correct = gs_succ_messages
    es_master_data_defective = gs_vmds_error
    es_message_defective = gs_err_messages.
    if sy-subrc  = 0.
    commit work.
    Please suggest which fields else i have to pass??

    Hi Abhijeet,
    here i am showing you some scn help to use maintain bapi of vmd_ei_api class, i think you are missing some data to be uploaded along with there are methods in lsmw, bdc too for this, please go through below links carefully , i hope you will able to solve your problem.
    Vendor Master Upload Program - ABAP Development - SCN Wiki
    unable to vendor master record update using class vmd_ei_api
    Creation of Vendor - VMD_EI_API

  • Run time error while create Vendor master via MK01

    Dear Experts,
    when i try to create vendor master by MK01.....system throws run time error as below:
    "The exception 'CX_BADI_MULTIPLY_IMPLEMENTED' was raised, but it was not caught
    anywhere along
    the call hierarchy.
    Since exceptions represent error situations and this error was not
    adequately responded to, the running ABAP program
    'CVI_MAP_TITLE=================CP' has to be
    terminated."
    My current system is ECC 6 along with DBM. Business partner configuration is activated in the current system. I am getting this error after BP configuration. Could you please help me to fix this issue?.......Is it due to configuration or a dump from abap program?
    Regards
    Vetrivelan

    Hii,
       please search sdn before posting the threads.
    check these  links, it may help u............
    Short Dump - CX_BADI_MULTIPLY_IMPLEMENTED - BADI Q1SR1
    Short Dump - CX_BADI_MULTIPLY_IMPLEMENTED - BADI Q1SR1
    CX_BADI_NOT_IMPLEMENTED
    thanks.

  • Error while creating vendor master data via ALE

    Dear All
    I am trying to create vendor master data via ALE.
    I am using message type CREMAS.
    I get following error message in inbound system
    No batch input data for screen SAPMF02K 0610
    Message no. 00344
    If i try to manually create vendor , there is no error.  This particular screen belong to withholding tax, however all customizing settings for withholding tax are okay.
    please help.
    Thanks
    Sanjeev

    Try SAP Note # 96312 if that helps.

  • Error while creating vendor

    Hi,
    I am creating a new vendor using VMD_EI_API-maintain. However on rare occassions i get an error  "LIFNR: Invalid value (foreign key check failed) .Entry 000000XXXX does not exist in LFA1 (check entry) ". Please note that the vendor number mentioned in the error message is the one that would have been assigned to the new vendor had it been created successfully.
    Could this be a buffer issue ?
    Kindly help me resolve this.
    Thanks,
    Meera.

    What a co-incidence,
    even I am facing the same issue.
    Seems to be happening a little incoherently

  • Error while creating vendor master (xk01)

    i am trying to create a vendor master in t.code
    xk01, using standard objects, ie company code
    R300, purchasing org- R300, account group---LIEF.
    In  address screen, i entered country as US,
    system is giving an error
    *Communication error with the external tax system (VERTEX_MS0018)
    Message no. TAX_TXJCD864*
    pls give me a solution as soon as possible.
    rewards assured.

    Dear Pavan,
                   Check the input tax settings have been done in your  tax procedure with related to the country US.
    I hope it will help you
    Regards,
    Murali.

  • Making PAN Number Field MANDATORY in Vendor Master while CREATING VENDOR

    Dear Experts,
    I want to create a Vendor Master with PAN Number Field Mandatory.
    Is there any input for making PAN Number Field Mandatory at the time of creating a vendor.
    Regards - Manjunath

    Please post in the right forum >

  • ABAP/4 processor: MESSAGE_TYPE_X while creating bulk shipment cost

    Hi All,
    while bulk shipment cost creation using SAP program    'ROIGTRSL' in background , some jobs are failing very raarly in prodcution, if i check in job log it's showing message 'ABAP/4 processor: MESSAGE_TYPE_X'
    how to avoid this error, is there any OSS note?
    regards,
    DSK

    Hi kumar,
    see this link
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapdocu.txt
    chk below....
    Try this program RS_TRANSTRU_ACTIVATE_ALL to activate
    Check if any transports imported in the system ( some one else might have transported BI objects for other requirements, they might have missed to check the dependency ). if so recollect your objects in development system and transport those objects again.
    Check if any support packs or OSS notes are imported in your system. Massage type X error is so
    generic error so please review the system logs( tcode : SLG1) and analyize the problem.
    Cheers
    nagendra

  • Problem creating vendor

    Hi Guys,
             i was just creating a vendor for my own use. while creating vendor using transaction xk01 the account group field is creating problems. Can you please give me an example of step by step creation of a vendor using xk01

    Hi,
    The account group specifies that whether a Vendor number has to be assigned by us or you wants the system to generate an internal number depending on the different Company Codes and Pur.Orgns'.
    Do you wants to creat some vendors using BDC.
    Here is the sample code of BDC for vednor creation:
    REPORT zmm_vendor_master_upload
           NO STANDARD PAGE HEADING
           LINE-SIZE 255.
    ABAP Name   :   ZMM_VENDOR_MASTER_UPLOAD
    Description :   This Program is used to Upload the Vendor Master.
      Modification Log:
      Date         Programmer          Correction    Description
    Standard Include for Selection Screen
    INCLUDE bdcrecx1.
    Internal Table for Upload Data
    DATA: BEGIN OF i_vendor OCCURS 0,
            bukrs(004),             " Company Code
            ekorg(004),             " Purchase Orgn
            ktokk(004),             " Account Group
    Address Screen
            anred(015),             " Title
            name1(035),                                         " Name1
            sortl(010),             " Sort Field
            name2(035),                                         " Name2
            name3(035),             " Contact Person1
            name4(035),             " Contact Person 2
            stras(035),             " Street
            pfach(010),             " PO Box
            ort01(035),             " City
            pstlz(010),             " Postal Code
            land1(003),             " Country
            spras(002),             " Language
            telf1(016),             " Telephone No
            telfx(031),             " Fax Number
            lfurl(132),             " URL-Mail Id
    Material Group Characteristics
           klart(003),             " Class Type '010'
           class(018),             " Class 'Vendor'
           mname_01(030),          " Characteristic
           mname_02(030),          " Characteristic
           mname_03(030),          " Characteristic
            mwert_01(030),          " Charct.Value
            mwert_02(030),          " Charct.Value
            mwert_03(030),          " Charct.Value
    Control Data
            emnfr(010),             " Manufact.Part No
    Bank Details
            banks_01(003),          " Country of Bank1
            banks_02(003),          " Country of Bank2
            bankl_01(015),          " Bank Key of 1
            bankl_02(015),          " Bank Key of 2
            bankn_01(018),          " Account No Bank1
            bankn_02(018),          " Account No Bank2
    Accounting Info
            akont(010),             " Reconcillation Account
            zuawa(003),             " Sort Key
            fdgrv(010),             " Cash Management Group
    Payment Transactions
            zterm(004),             " Payment terms
           reprf(001),             " Check Double Inv.
            zwels(010),             " Payment Method
            hbkid(005),             " House Bank
           xpore(001),             " Individ.Payment
    Correspondence
            mahns(001),             " Dunning Level
            xausz(001),             " Account Statement
    Withholding Tax Details
            qland(003),             " Withholding Tax Country
            witht_01(002),          " WH tax Type
           wt_withcd(002),        " WH Tax Code
           wt_subjct(001),        " Indicator:WH Tax
    Purchasing Data
            waers(005),             " Currency
            zterm1(004),            " Payment Terms
          END OF i_vendor.
    Data Variables & Constants
    CONSTANTS : c_x     VALUE 'X'.  " Flag
    Paramters
    PARAMETERS: p_file LIKE ibipparms-path.  " Filename
    At selection-screen on Value Request for file Name
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    Get the F4 Values for the File
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = syst-cprog
          dynpro_number = syst-dynnr
        IMPORTING
          file_name     = p_file.
    Start of Selection
    START-OF-SELECTION.
    Open the BDC Session
      PERFORM open_group.
    Upload the File into internal Table
      CALL FUNCTION 'UPLOAD'
        EXPORTING
          filename                = p_file
          filetype                = 'DAT'
        TABLES
          data_tab                = i_vendor
        EXCEPTIONS
          conversion_error        = 1
          invalid_table_width     = 2
          invalid_type            = 3
          no_batch                = 4
          unknown_error           = 5
          gui_refuse_filetransfer = 6
          OTHERS                  = 7.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Upload the Data from Internal Table
      LOOP AT i_vendor.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0100'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF02K-KTOKK'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '/00'.
        PERFORM bdc_field       USING 'RF02K-BUKRS'
                                      i_vendor-bukrs.
        PERFORM bdc_field       USING 'RF02K-EKORG'
                                      i_vendor-ekorg.
        PERFORM bdc_field       USING 'RF02K-KTOKK'
                                      i_vendor-ktokk.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0110'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFA1-SPRAS'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=KLAS'.
        PERFORM bdc_field       USING 'LFA1-ANRED'
                                      i_vendor-anred.
        PERFORM bdc_field       USING 'LFA1-NAME1'
                                      i_vendor-name1.
        PERFORM bdc_field       USING 'LFA1-SORTL'
                                      i_vendor-sortl.
        PERFORM bdc_field       USING 'LFA1-NAME2'
                                      i_vendor-name2.
        PERFORM bdc_field       USING 'LFA1-NAME3'
                                      i_vendor-name3.
        PERFORM bdc_field       USING 'LFA1-NAME4'
                                      i_vendor-name4.
        PERFORM bdc_field       USING 'LFA1-STRAS'
                                      i_vendor-stras.
        PERFORM bdc_field       USING 'LFA1-PFACH'
                                      i_vendor-pfach.
        PERFORM bdc_field       USING 'LFA1-ORT01'
                                      i_vendor-ort01.
        PERFORM bdc_field       USING 'LFA1-PSTLZ'
                                      i_vendor-pstlz.
        PERFORM bdc_field       USING 'LFA1-LAND1'
                                      i_vendor-land1.
        PERFORM bdc_field       USING 'LFA1-SPRAS'
                                      i_vendor-spras.
        PERFORM bdc_field       USING 'LFA1-TELF1'
                                      i_vendor-telf1.
        PERFORM bdc_field       USING 'LFA1-TELFX'
                                      i_vendor-telfx.
        PERFORM bdc_field       USING 'LFA1-LFURL'
                                      i_vendor-lfurl.
        PERFORM bdc_dynpro      USING 'SAPLCLCA' '0602'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RMCLF-KLART'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ENTE'.
        PERFORM bdc_field       USING 'RMCLF-KLART'
                                      '010'. "i_vendor-klart.
        PERFORM bdc_dynpro      USING 'SAPLCLFM' '0500'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RMCLF-CLASS(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=AUSW'.
        PERFORM bdc_field       USING 'RMCLF-CLASS(01)'
                                      'Vendor'."i_vendor-class.
        PERFORM bdc_dynpro      USING 'SAPLCTMS' '0109'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RCTMS-MWERT(03)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=BACK'.
        PERFORM bdc_field       USING 'RCTMS-MNAME(01)'
                           'MATERIALGROUP'." i_vendor-mname_01.
        PERFORM bdc_field       USING 'RCTMS-MNAME(02)'
                           'MATERIALGROUP'." i_vendor-mname_02.
        PERFORM bdc_field       USING 'RCTMS-MNAME(03)'
                           'MATERIALGROUP'." i_vendor-mname_03.
        PERFORM bdc_field       USING 'RCTMS-MWERT(01)'
                                      i_vendor-mwert_01.
        PERFORM bdc_field       USING 'RCTMS-MWERT(02)'
                                      i_vendor-mwert_02.
        PERFORM bdc_field       USING 'RCTMS-MWERT(03)'
                                      i_vendor-mwert_03.
        PERFORM bdc_dynpro      USING 'SAPLCLFM' '0500'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RMCLF-CLASS(01)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=ENDE'.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0110'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFA1-ANRED'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=VW'.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0120'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFA1-EMNFR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=VW'.
        PERFORM bdc_field       USING 'LFA1-EMNFR'
                                      i_vendor-emnfr.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0130'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFBK-BANKN(02)'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                          '=VW'.
        PERFORM bdc_field       USING 'LFBK-BANKS(01)'
                                      i_vendor-banks_01.
        PERFORM bdc_field       USING 'LFBK-BANKS(02)'
                                      i_vendor-banks_02.
        PERFORM bdc_field       USING 'LFBK-BANKL(01)'
                                      i_vendor-bankl_01.
        PERFORM bdc_field       USING 'LFBK-BANKL(02)'
                                      i_vendor-bankl_02.
        PERFORM bdc_field       USING 'LFBK-BANKN(01)'
                                      i_vendor-bankn_01.
        PERFORM bdc_field       USING 'LFBK-BANKN(02)'
                                      i_vendor-bankn_02.
       PERFORM bdc_dynpro      USING 'SAPMF02K' '0130'.
       PERFORM bdc_field       USING 'BDC_CURSOR'
                                     'LFBK-BANKS(01)'.
       PERFORM bdc_field       USING 'BDC_OKCODE'
                                     '=VW'.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0210'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFB1-FDGRV'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=VW'.
        PERFORM bdc_field       USING 'LFB1-AKONT'
                                      i_vendor-akont.
        PERFORM bdc_field       USING 'LFB1-ZUAWA'
                                      i_vendor-zuawa.
        PERFORM bdc_field       USING 'LFB1-FDGRV'
                                      i_vendor-fdgrv.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0215'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFB1-XPORE'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=VW'.
        PERFORM bdc_field       USING 'LFB1-ZTERM'
                                      i_vendor-zterm.
        PERFORM bdc_field       USING 'LFB1-REPRF'
                                      c_x. "i_vendor-reprf.
        PERFORM bdc_field       USING 'LFB1-ZWELS'
                                      i_vendor-zwels.
        PERFORM bdc_field       USING 'LFB1-HBKID'
                                      i_vendor-hbkid.
        PERFORM bdc_field       USING 'LFB1-XPORE'
                                      c_x. "i_vendor-xpore.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0220'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFB5-MAHNS'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=VW'.
        PERFORM bdc_field       USING 'LFB5-MAHNS'
                                      i_vendor-mahns.
        PERFORM bdc_field       USING 'LFB1-XAUSZ'
                                      i_vendor-xausz.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0610'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=VW'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFBW-WT_SUBJCT(01)'.
        PERFORM bdc_field       USING 'LFB1-QLAND'
                                      i_vendor-qland.
        PERFORM bdc_field       USING 'LFBW-WITHT(01)'
                                      i_vendor-witht_01.
       PERFORM bdc_field       USING 'LFBW-WT_WITHCD(01)'
                                     i_vendor-wt_withcd.
        PERFORM bdc_field       USING 'LFBW-WT_SUBJCT(01)'
                                       c_x.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0310'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'LFM1-ZTERM'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=VW'.
        PERFORM bdc_field       USING 'LFM1-WAERS'
                                      i_vendor-waers.
        PERFORM bdc_field       USING 'LFM1-ZTERM'
                                      i_vendor-zterm1.
        PERFORM bdc_dynpro      USING 'SAPMF02K' '0320'.
        PERFORM bdc_field       USING 'BDC_CURSOR'
                                      'RF02K-LIFNR'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=VW'.
        PERFORM bdc_dynpro      USING 'SAPLSPO1' '0300'.
        PERFORM bdc_field       USING 'BDC_OKCODE'
                                      '=YES'.
    Call the Transaction
        PERFORM bdc_transaction USING 'XK01'.
      ENDLOOP.
    Close the BDc Session
      PERFORM close_group.
    Regards,
    Anji

  • Creating vendor

    while creating vendor can any body tell how vendor,company code and account group has to be taken?

    Hi Phani,
    While creating vendor, the following points has to be taken into account.
    1. For which company code, you are going to create the vendor? You can get possible entries by pressing F4.
    2. For which account group you are going to create the vendor? Account groups like vendor, one time vendor, finance vendor etc. This account group controls the screen layout of vendor master and the numbering of vendor master ie internal/external number. If it is internal number, there is no need to input any number in vendor field else if it is external numbering then you have to input the vendor number that you want to create, this number must be in the external number range defined in the system.
    Hope this helps and clarifies.
    Thanks
    Viswanath

Maybe you are looking for