Problem in LSMW - Vendor master upload

Hello Experts,
I am doing vendor upload using LSMW direct input (RFBIKR00) program. I am uploading files in LFA1, LFB1, LFBK, LFM1 and MAIN - total 5 files, MAIN file has all the key fields which is in(BLF00) structure. Other files has same table structure as its names are.
Now When I run the batch input session. It works for the first vendor, but if there is record for the same vendor with other company code, then it gives error as no data available for screen 102.
for eg. MAIN file has records as below
KTOKK,EKORG,BUKRS,LIFNR,TCODE
LIEF, 0990, US01, 0001234567, XK01
LIEF, , CH01, 0001234567, XK01
In above records, same vendor has 2 company codes, so for the 2nd record, I think Accounting Information screen should come directly, but when I saw session run in foreground, it takes all the fiels blank , and then gives error as no data available for the screen, and it does not create record for CH01.
Please suggest If I have to do something else for it, or am I doing anything wrong!?!
Regards,
bh_hir

HI,
In step 12, I see both the records, but in the 2nd record - I also see LFA1 and LFM1 structure filled with LFB1.
so I think for 2nd record It should just fill LFB1 and header(BLF00) right?
But dont know how to achieve this...
please suggest.
Thanks,
bh_hir

Similar Messages

  • Vendor Master Upload Problem with Check Box

    Hi All,
    I have a problem with Vendor Master Upload program. In one of the screen of XK01 transaction depending upon the PO Box, Postal Code, Other City and Other Region i have to check the PO Box w/o no check Box. So in my program after i check the PO Box, Postal Code, Other City and Other Region values how to write a code that i can check the PO Box w/o no. Or other wise how can i send value to the Po Box w/o no check box. field
    Thanks in advance.

    The call to the first screen should look something like:
        perform dynpro
          tables bdcdata
          using:
         'X' 'SAPMF02K'     '0105',         "Create Vendor: Initial Screen
          ' ' 'RF02K-BUKRS'             'COCO',
          ' ' 'RF02K-KTOKK'             'YYYY',
          ' ' 'USE_ZAV'                 'X'.
    I'm using screen 105, not 100 here.
    Rob

  • No batch input problem with Vendor master Upload

    Hi All,
    I am getting a problem with Vendor Master upload conversion. We have'nt change the code and configuration but when i try to run the code today its giving an error for particular Account group. I run this code yesterday and its work fine with that particluar Account group. But i am getting an error when i run the code today. The error is as follows "No batch input data for screen SAPMF02K 0610".When i got through the code i have'nt find that screen number.
    Can anyone suggest how to resolve that problem.

    Double click on the session name in SM35 and click on the screens tab there you can find the screen number.
    process the same session in foreground mode and see if you are getting the same error.
    If so, the new screen number you got is due to some change in the settings some where, show the new screen to Your Functional guy and he can help you.
    There is one more chance where some data is missing in the flat file, just check it out.
    Reward points if usefull.
    Thanks ,
    Veeru.

  • Vendor Master Upload

    hi,
    Am facing a problem whileuploading the vendor master.First i have uploaded the details using the standard program RFBIKR00.It is working fine.Then I need to upload the missing address details using the idoc <b>ADRMAS</b>( message type ADRMAS & IDOC type: ADRMAS03). There is a segment for telephone number (E1BPADTEL) available with the idoc type.I can follow the steps & do the upload.
    But the problem is if mobile number is in the flat file with the telephone number, then we need to generate the segment E1BPADTEL again & pass the consnumb as '002'.I am strucked at this point as I don't know to generate the segemnt again.
    Please help and Thanks a lot.

    Hi,
    If you look at the structure of the IDOC type in WE30 you will see that the cardinality of segment E1BPADTEL is 1:999999999 (i.e. min number of this segment is 1 and the max can be 999999999).
    Hence this segment will be automatically generated if there are multiple telephone numbers (just like in a sales order there is one header and multiple items).
    Just the mapping from file to idoc segment needs to maintained somewhere (I this you have a program which does this mapping).
    Hope this helps.
    Regards,
    Gajendra.

  • I have encountered a peculiar problem in MM01 material master upload.

    I have encountered a peculiar problem in MM01 material master upload. The
    BDC program uploads data using Session method. The problem is when i
    process the session in foreground mode the data uploads successfully, but
    when i process it in background mode it gives the following errors in the
    log.
    'Control Framework: Fatal error - GUI cannot be reached'.
    'Runtime error RAISE_EXCEPTION has occurred'.
    When i debugged the program i found that this error is encountered when
    data is being input in 'Purchase Order text' editor of MM01 transaction.
    There is no problem with the BDC recording or the program as i could see.
    The only problem what i believe is the system is unable to call the text
    editor for inputting purchase order text data in background mode.

    Hi
    Try uploading a BAPI it would be better
    http://www.saptechies.com/mm01-upload-using-bapi/
    Regards
    Shiva

  • RFBIKR00 : Vendor master upload

    hi
    For uploading Vendor master upload i tried to use standard prg RFBIKR00, but some of the fields related to address  are not found in RFBIKR00.The fields which are missing are:
    SORT2     BUILDING     ROOMNUMBER     FLOOR     NAME_CO     STR_SUPPL1     STR_SUPPL2     STREET     HOUSE_NUM1     STR_SUPPL3    LOCATION.
    Please let me know how to  populate those fields.
    thanks in advance

    look into the docu of that abap.
    you must use add. BAPIS to fill all adr.data
    regards
    Andreas

  • Vendor master upload mapping issue in LSMW

    We need to upload Vendor Master Data and it contains 72 fields we identified 69 fields for mapping through standard program (RFBIKRK0) through Batch Input in LSMW.
    We are having issues to identify three fields which belongs to Address and these are not getting mapped in the program.the fields are street street1 street2 street3 street4 street5 and address notes.the mentioned fields are maintained in ADRC table but the structure is not getting populated in the standard program RFBIKRK0 in LSMW mapping section.
    In  the input file from legacy we have the following fields street street1 street2 street3 street4 street5 and this should get mapped in the LSMW .how to go about this problem.whether we need to do seperate conversion program  for the address fields .could you please any one help me .

    Hi!
    You don't have access to all fields of the address with batch input - you need to do something in addition:
    - migrate addresses beforehand (central address handling)
    - select the (hopefully few) vendors with street3 filled and migrate this later
       - manually
       - own batch input (recording in LSMW / eCATT)
    Regards,
    Christian

  • LSMW -- Vendor master data upload / e-mail address

    Hi Expert,
    I would like to use LSMW to upload some data of vendor master.
    Who can tell me which structure include the filed of " E-mail " which shown in the address view of vendor master ?
    Thanks and Regards
    Shubin

    Hi,
    When you are doing the recording for FK02 or XK02
    Try to check
    Address Check box
    USE CENTRAL ADDRESS MANAGEMENT (if you do not check this check box, your email address and standard communication method will not be available)
    Hope this solves your problem.
    Regards,
    Anupam

  • Vendor Master uploading Problem

    Hi Gurus,
    I'm a MM guy.I'm uploading sample Vendor Master.Everything I've maintained properly.But in assign files system is giving an error like "File Name 'Converted Data': Max. 45 Characters. Remaining data saved"
    Message no. /SAPDMC/LSMW_OBJ_060028
    How to slove it.
    Any help will be appreciated.
    Thanks & regrds
    PKB

    Hi Pranaya,
    Solution to the problem which you are facing is only one which I mentioned in my previous reply. This time I will try to describe it more thoroughly:
    Step no 7. Specify Files (the step in which you are facing problem)
        Now go to Converted data tab:
            Open the file name infront of converted data(system generated) in edit mode:
                   Lets say your file name is
                   "PROJECT00_CUTOVER_VENDORMASTER_XK01_UPLOAD.lsmw.conv"
    Change this file name to : "PROJECT00_CUTOVER_XK01_UPLOAD.lsmw.conv" which is less then 45 character.
    In this way this step is to be followed.
    Regards,
    Brajvir

  • LSMW-Vendor master data and Vendor Open items Upload

    Dear Experts,
    I need help on the following
    Do you have any docs with you where I can familiarize myself with the AP upload programs in LSMW?
    sample template for me  to test the upload via LSMW? sample template and the programs used to upload the vendor master and Vendor open items.how to use the program for example like some instruction docs step by step doc etc.
    Thanks n Regards
    Rena.

    hi
    there are 14 steps u have to go through while uploading...
    first u create Project and Sub Projects...
    1 Maintain Object Attributes
       select Batch Input Recording.
               click on Overview.
       enter Recording
    Then it wil ask for the Transaction code there u enter XK01 for creation
    u enter all The details Which are Given to u in Excel by ur CTM Members.
    note: Dont use Mouse while Entering the data.Use Only Key Board.
    After Entering all the required details  click on  Save...
    select Default All
    System-> List -> Save -> Local File
    Convert Excel to Text File(Text Tab Limited)
      2 Maintain Source Structures
         Create Source Structure.
    3 Maintain Source Fields
         click on Copy Fields
         Select From Data File
         Select Max Len
         save + back
      4 Maintain Structure Relations
         save+back
       5 Maintain Field Mapping and Conversion Rules
          Extras -> Auto Field Mapping
          select Edit All Target Fields
          save + Back
       7 Specify Files
         Click on Execute Button or press F8.Select u201CSPECIFY FILESu201D click on Execute or press ctrl+F8.
         then double click on the u201CLEGACY DATA FILEu201D and select the text file to be uploaded
         Then select u201CTABULATORu201D and u201CFIELDS NAMES AT START OF FILEu201D
        8 Assign Files
           SAVE AND CLICK ON BACK
         9 Read Data
             Execute + back
        10 Display Read Data
             Back
        11 Convert Data
              Execute + back
        12 Display Converted Data
             back
        13 Create Batch Input Session
             Select u201CKeep Batch Input Folderu201D click on Execute.
         14 Run Batch Input Session
              Select Processing mode
               1)     Process in Foreground: Executes Each Step.
                2)     Display Errors Only: Displays only the Errors.
              3)     Background: Skips The Errors.
    Select Extended Log and Click on Process as shown in Screen Shot.
    Edited by: Smitha KB on Feb 24, 2009 10:32 AM

  • Vendor Master Upload error in LSMW

    Dear Forum members
    While Uploading Vendor Master data through LSMW
    i completed all steps upto read data upto this step i am not facing any issue after converting data   system display converted data  in display converted data it is showing some error in sort key in text file i mentioned sortkey 002 but system display 201..ie instead of 002 system diplay 201
    finally i run batch input session it is showing error in batch input session bacuse of sort key
    is there any possibility to change sort key 002 in lsmw for all master records at a same time because i can't change manually i have thousands of vendors
    Any one Have idea about this issue Plz give me a solution
    Thanks in Advance
    Regards
    Srikanth

    Hi ,
    First of all if i am not wrong then your vendors are not created rite .
    So if you want to keep the sort key as 002 then i LSMW in field mapping you can keep the sort key as constant 002 .
    The error that you are facing might be due to field lenght , i guess at the time of selection of file you would not have selecte the TAB DELIMITED selection so due to filed lenght the field might have ovelapped .
    So to sum up in the input file you can remove the column for sort key and in field mapping put the sort key as constant .
    Hope this helps .
    Regards ,
    Dev

  • Re : Vendor master upload

    Hi ,
    I have  arequirement to upload the vendor contact persons address,business address and private address.
    Can any one help.
    points will be rewarded to all contributors
    thanks.

    Sorry,
    I don't have a SAP R/3 system available at the moment... but either it would be a workarea where you'd give the information, or you'll refer to a number of a contact (or employee) which has been previously created.
    But also from the top of my head...
    You're using RFBIKR00 with your LSMW right? Vendor master that would be object 0040 (or 0050? one of those is the customer master you'd know the correct one anyway)...
    It should come with 2 methods... (0001 and 0002) in one of those there is a structure BKNVK in which you can populate contact information. I'm guessing you're using the method that doesn't contain that structure.
    Test the other method and look for the structure BKNVK. It should help you with your problems without having to resort to FM's.
    Hope this helps.

  • Vendor Master Upload Program

    Check this code to upload vendor master through SHDB transaction.
    report ZVEND_MST no standard page heading line-size
    255.
    *include bdcrecx1.
    *parameters: dataset(132) lower case default
    'c:\vend.mst'.
       DO NOT CHANGE - the generated data section - DO
    NOT CHANGE    ***
      If it is nessesary to change the data section use
    the rules:
      1.) Each definition of a field exists of two lines
      2.) The first line shows exactly the comment
          '* data element: ' followed with the data
    element
          which describes the field.
          If you don't have a data element use the
          comment without a data element name
      3.) The second line shows the fieldname of the
          structure, the fieldname must consist of
          a fieldname and optional the character '_' and
          three numbers and the field length in brackets
      4.) Each field must be type C.
    Generated data section with specific formatting -
    DO NOT CHANGE  ***
    data: begin of record,
    data element: LIF16
            LIFNR_001(016),
    data element: BUKRS
            BUKRS_002(004),
    data element: EKORG
            EKORG_003(004),
    data element: KTOKK
            KTOKK_004(004),
    data element: NAME1_GP
            NAME1_005(035),
    data element: SORTL
            SORTL_006(010),
    data element: LAND1_GP
            LAND1_007(003),
    data element: SPRAS
            SPRAS_008(002),
    data element: BSTWA
            WAERS_009(005),
          end of record.
    End generated data section ***
    DATA : ITAB TABLE OF RECORD WITH HEADER LINE.
    start-of-selection.
    *perform open_dataset using dataset.
    *perform open_group.
    *do.
    *read dataset dataset into record.
    *if sy-subrc <> 0. exit. endif.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'C:\VENDOR.TXT'  
    "TEXT FILE
       FILETYPE                      = 'ASC'
       HAS_FIELD_SEPARATOR           = 'X'
      TABLES
        DATA_TAB                      = ITAB
    EXCEPTIONS
       FILE_OPEN_ERROR               = 1
       FILE_READ_ERROR               = 2
       NO_BATCH                      = 3
       GUI_REFUSE_FILETRANSFER       = 4
       INVALID_TYPE                  = 5
       NO_AUTHORITY                  = 6
       UNKNOWN_ERROR                 = 7
       BAD_DATA_FORMAT               = 8
       HEADER_NOT_ALLOWED            = 9
       SEPARATOR_NOT_ALLOWED         = 10
       HEADER_TOO_LONG               = 11
       UNKNOWN_DP_ERROR              = 12
       ACCESS_DENIED                 = 13
       DP_OUT_OF_MEMORY              = 14
       DISK_FULL                     = 15
       DP_TIMEOUT                    = 16
       OTHERS                        = 17
    IF SY-SUBRC <> 0.
         MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LOOP AT ITAB.
    *In Loop Change Record With ITAB
    like record-lifnr_001 with itab-lifnr_001 
      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-LIFNR'
                                  record-LIFNR_001.
      perform bdc_field       using 'RF02K-BUKRS'
                                  record-BUKRS_002.
      perform bdc_field       using 'RF02K-EKORG'
                                  record-EKORG_003.
      perform bdc_field       using 'RF02K-KTOKK'
                                  record-KTOKK_004.
      perform bdc_dynpro      using 'SAPMF02K' '0110'.
      perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-SPRAS'.
      perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
      perform bdc_field       using 'LFA1-NAME1'
                                  record-NAME1_005.
      perform bdc_field       using 'LFA1-SORTL'
                                  record-SORTL_006.
      perform bdc_field       using 'LFA1-LAND1'
                                  record-LAND1_007.
      perform bdc_field       using 'LFA1-SPRAS'
                                  record-SPRAS_008.
      perform bdc_dynpro      using 'SAPMF02K' '0120'.
      perform bdc_field       using 'BDC_CURSOR'
                                  'LFA1-KUNNR'.
      perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
      perform bdc_dynpro      using 'SAPMF02K' '0130'.
      perform bdc_field       using 'BDC_CURSOR'
                                  'LFBK-BANKS(01)'.
      perform bdc_field       using 'BDC_OKCODE'
                                  '=ENTR'.
      perform bdc_dynpro      using 'SAPMF02K' '0210'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'LFB1-AKONT'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
      perform bdc_dynpro      using 'SAPMF02K' '0215'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'LFB1-ZTERM'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
      perform bdc_dynpro      using 'SAPMF02K' '0220'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'LFB5-MAHNA'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
      perform bdc_dynpro      using 'SAPMF02K' '0310'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'LFM1-WAERS'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '/00'.
      perform bdc_field       using 'LFM1-WAERS'
                                    record-WAERS_009.
      perform bdc_dynpro      using 'SAPMF02K' '0320'.
      perform bdc_field       using 'BDC_CURSOR'
                                    'RF02K-LIFNR'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=ENTR'.
      perform bdc_dynpro      using 'SAPLSPO1' '0300'.
      perform bdc_field       using 'BDC_OKCODE'
                                    '=YES'.
      perform bdc_transaction using 'XK01'.
    endLOOP..
    Check It, Activate it and process in SM35.

    HI
    What is the problem in you coding it is working fine. What is ur requirement
    Regards
    Pavan

  • LSMW Vendor Master Using BAPI

    Hi,
    Which BAPI is used for uploading Vendor Master including withholding tax details and bank details through LSMW Method
    or please suggest me the direct input program for the above details mentioned
    Method : LSMW
    immdetiate solution  is appreiciable
    Thanks

    Hi,
    You can use message CREMAS for your requirement..
    Regards,
    John.

  • LSMW - Vendor Master DATA - IBAN management

    Dear SAP guru's,
    I'm trying to integrate the IBAN in vendor master data with my LSMW (batch recording techno).
    unfortunately, I do not have the IBAN information in structure BLFBK
    BLFBK Vendor Master Record Bank Data (Batch Input Structure)
    DO you know how we can integrate an IBAN by LSMW? Batch recording seems to be too risky..
    And I do not have the BBAN info, I only receive the IBAN...
    Thanks for your comments,
    Karim

    Hello,
    With batch, it is not possible to have IBAN details updated in Vendor master data. This should be done manually, when the IBAN
    number is entered system will do the validation checks as per the legal requirements using the specific Function modules for each country.
    Nevertheless, there is batch input program RFBIKR00 which is used for processing the following data:
    - Creating and changing vendor master data
    - Creating bank master data
    Please, note that the program RFBIKR00 cannot import master data which contains the usual account number and the IBAN at the same time. There has to be either an IBAN or an account number in the imported file.
    There are 2 scenarios how to get all the data imported, depending from
    the source system:
    1. If the source is also an SAP system, you can import the account numbers using the RFBIKR00 and then transport the IBANs separately using the ALE distribution (RFIBAN_ALE).
    2. If the source is a non SAP System, then file contains always two entries for a payment instruction. In the first one the account number will be imported, in the second one the IBAN. The functionality "IBAN without account number" is prerequisited and has to be active in the target system. In this scenario 2 payment instructions would be created in the vendor master(LFBK), one with the account number, another one with the IBAN.
    I hope this helps to resolve the problem.
    Thanks and regards,
    Suresh Jayanthi.

Maybe you are looking for