Enterprise Resource Planning Blogs by SAP
Get insights and updates about cloud ERP and RISE with SAP, SAP S/4HANA and SAP S/4HANA Cloud, and more enterprise management capabilities with SAP blog posts.
cancel
Showing results for 
Search instead for 
Did you mean: 
mahesh_sardesai
Product and Topic Expert
Product and Topic Expert
96,168

WARNING: PLEASE NOTE THIS BLOG IS ONLY FOR MIGRATION TO S/4HANA 1511. PLEASE USE MIGRATION OBJECT MONITOR INSTEAD OF LSMW FOR S/4HANA 1610 ONWARDS.

You want to mass migrate Business Partner data from your existing system to S/4HANA 1511. This blog explains how to import data from tab delimited text files residing on FrontEnd computer (PC) using transaction code LSMW - Direct Input method together with a custom program provided.

Please note that the LSMW tool is to be used for creating and updating Business Partner data directly in S/4HANA system with New Implementation. It is not intended to be used for ECC to S/4HANA conversion.

1. DOWNLOAD AND EXTRACT FILES:

Download file BP.ZIP and extract into a dedicated folder ( e.g. C:\TEMP\BP) on the FrontEnd Computer (PC). Each Excel file listed below corresponds to different Master data segments of the Business Partner Object as input parameters of function module RFC_CVI_EI_INBOUND_MAIN::

          01_CVIS_BP_GENERAL.xlsx

          02_CVIS_BP_ROLES.xlsx

          03_CVIS_BP_INDUSTRY.xlsx

          04_CVIS_BP_IDENT_NUMBERS.xlsx

          05_CVIS_BP_BANK_DETAILS.xlsx

          06_CVIS_BP_TAX_NUMBER.xlsx

          07_CVIS_BP_TAX_NUMBER_COMMON.xlsx

          08_CVIS_BP_ADDRESS.xlsx

          09_CVIS_BP_ADDRESS_USAGE.xlsx

          10_CVIS_BP_ADDRESS_TELENO.xlsx

          11_CVIS_BP_ADDRESS_FAXNO.xlsx

          12_CVIS_BP_ADDRESS_EMAIL.xlsx

          13_CVIS_BP_ADDRESS_URL.xlsx

          14_CVIS_BP_RELATION.xlsx

          15_CVIS_CUSTOMER_GENERAL.xlsx

          16_CVIS_CUSTOMER_COMPANY.xlsx

          17_CVIS_CUSTOMER_SALES.xlsx

          18_CVIS_CUSTOMER_COMP_DUNNING.xlsx

          19_CVIS_CUSTOMER_SALES_FUNC.xlsx

          20_CVIS_CUSTOMER_TAX_INDICATOR.xlsx

          21_CVIS_CUSTOMER_GENERAL_VAT.xlsx

          22_CVIS_SUPPLIER_GENERAL.xlsx

          23_CVIS_SUPPLIER_COMPANY.xlsx

          24_CVIS_SUPPLIER_COMPANY_WTAX.xlsx

          25_CVIS_SUPPLIER_PURCHASING.xlsx

          26_CVIS_SUPPLIER_GENERAL_VAT.xlsx

2. CREATE STRUCTURES IN S/4HANA SYSTEM:

You can use program in BP.ZIP (file ZLSMW_STRUCTURES.TXT) to create structures. Activate the structures.

Alternatively you can manually create structures (SE11) according to specifications in provided Excel files as described below. Choose a transportable package in customer namespace and put this into new transport request.

Using transaction SE11 generate the following structures with “CHAR” data types copying the exact parameter name and data type length in the “Z” structure. Name the “Z” structures as defined in the following table:


SAP DELIVEREDZ STRUCTURE
CVIS_BP_ADDRESSZZCVIS_BP_ADDRESS
CVIS_BP_ADDRESS_EMAILZZCVIS_BP_ADDRESS_EMAIL
CVIS_BP_ADDRESS_FAXNOZZCVIS_BP_ADDRESS_FAXNO
CVIS_BP_ADDRESS_TELENOZZCVIS_BP_ADDRESS_TELENO
CVIS_BP_ADDRESS_URLZZCVIS_BP_ADDRESS_URL
CVIS_BP_ADDRESS_USAGEZZCVIS_BP_ADDRESS_USAGE
CVIS_BP_BANK_DETAILSZZCVIS_BP_BANK_DETAILS
CVIS_BP_GENERALZZCVIS_BP_GENERAL
CVIS_BP_IDENT_NUMBERSZZCVIS_BP_IDENT_NUMBERS
CVIS_BP_INDUSTRYZZCVIS_BP_INDUSTRY
CVIS_BP_RELATIONZZCVIS_BP_RELATION
CVIS_BP_ROLEZZCVIS_BP_ROLE
CVIS_BP_TAX_NUMBERZZCVIS_BP_TAX_NUMBER
CVIS_BP_TAX_NUMBER_COMMONZZCVIS_BP_TAX_NUMBER_COMMON
CVIS_CUSTOMER_COMP_DUNNINGZZCVIS_CUSTOMER_COMP_DUNN
CVIS_CUSTOMER_COMPANYZZCVIS_CUSTOMER_COMPANY
CVIS_CUSTOMER_GENERALZZCVIS_CUSTOMER_GENERAL
CVIS_CUSTOMER_GENERAL_VATZZCVIS_CUSTOMER_GENERAL_VAT
CVIS_CUSTOMER_SALESZZCVIS_CUSTOMER_SALES
CVIS_CUSTOMER_SALES_FUNCZZCVIS_CUSTOMER_SALES_FUNC
CVIS_CUSTOMER_TAX_INDICATORZZCVIS_CUSTOMER_TAX_IND
CVIS_SUPPLIER_COMPANY_WTAXZZCVIS_SUPPLIER_COMP_WTAX
CVIS_SUPPLIER_COMPANYZZCVIS_SUPPLIER_COMPANY
CVIS_SUPPLIER_GENERALZZCVIS_SUPPLIER_GENERAL
CVIS_SUPPLIER_GENERAL_VATZZCVIS_SUPPLIER_GENERAL_VAT
CVIS_SUPPLIER_PURCHASINGZZCVIS_SUPPLIER_PURCHASING

For example, structure CVIS_BP_ROLE will match ZZCVIS_BP_ROLE component names as shown below.


Make sure that you set all data types to “CHAR” in the “ZZ” structures and add component STYPE to all structures as the first component in the structure. Activate the Structures.

3. CREATE REPORT PROGRAM IN S/4HANA SYSTEM:

Using LSMW Program source code provided in BP.ZIP (file ZLSMWDSPRG_CVI.TXT), create a program (SE38). Create a transportable package in customer namespace, adding to above transport request. Remember to add the text elements specified in the LSMW Program text elements file. Activate the program. You do not need to execute the program, it will be run by LSMW.
 

4. MAINTAIN LSMW CUSTOMIZING TABLES:

Using transaction code SM30, maintain tables SXDA0, SXDA1, and SXDA2 as below:

Add following entry for Business Partner in table SXDA0.


DXOBJ9900
DX obj. short textBusiness Partner
DX typeD
Object typeBUS1006

Add following entry in table SXDA1.


DXOBJ9900
SUBDX0000
DXPRGZLSMWDSPRG_CVI
DXPTYD
FILENAMEZLSMWCVIBPOUT

If you have problems to maintain entries in table SXDA1 check the following note:2192586 - Table maintenance dialog of SXDA1 dumps.

Please use SE16 SXDA1 and then /h to edit table in debug mode to add record.
Create following entries in table SXDA2:


Data transfer objectDX Object Subcat.Item+Import StructureHierarchy levelParent segment?Mandatory segmentMinimum numberMaximum numberActive
990001GeneralZZCVIS_BP_GENERAL1XX11X
990002RoleZZCVIS_BP_ROLE1  00X
990003IndustryZZCVIS_BP_INDUSTRY1  00X
990004Ident_NumbersZZCVIS_BP_IDENT_NUMBERS1  00X
990005Bank_DetailsZZCVIS_BP_BANK_DETAILS1  00X
990006Tax_NumberZZCVIS_BP_TAX_NUMBER1  00X
990007Tax_Num_CommonZZCVIS_BP_TAX_NUMBER_COMMON1  00X
990008AddressZZCVIS_BP_ADDRESS1  00X
990009Address_UsageZZCVIS_BP_ADDRESS_USAGE1  00X
9900010Address_TelenoZZCVIS_BP_ADDRESS_TELENO1  00X
9900011Address_FaxnoZZCVIS_BP_ADDRESS_FAXNO1  00X
9900012Address_EmailZZCVIS_BP_ADDRESS_EMAIL1  00X
9900013Adress_UrlZZCVIS_BP_ADDRESS_URL1  00X
9900014RelationZZCVIS_BP_RELATION1  00X
9900015Cust_GeneralZZCVIS_CUSTOMER_GENERAL1  00X
9900016Cust_CompanyZZCVIS_CUSTOMER_COMPANY1  00X
9900017Cust_SalesZZCVIS_CUSTOMER_SALES1  00X
9900018Cust_Comp_DunnZZCVIS_CUSTOMER_COMP_DUNN1  00X
9900019Cust_Sales_FuncZZCVIS_CUSTOMER_SALES_FUNC1  00X
9900020Cust_Tax_IndZZCVIS_CUSTOMER_TAX_IND1  00X
9900021Cust_General_VaZZCVIS_CUSTOMER_GENERAL_VAT1  00X
9900022Supp_GeneralZZCVIS_SUPPLIER_GENERAL1  00X
9900023Supp_CompanyZZCVIS_SUPPLIER_COMPANY1  00X
9900024Supp_Company_TZZCVIS_SUPPLIER_COMP_WTAX1  00X
9900025Supp_PurchasingZZCVIS_SUPPLIER_PURCHASING1  00X
9900026Supp_General_VaZZCVIS_SUPPLIER_GENERAL_VAT1  00X

5. CONFIGURE BUSINESS PARTNERS:

Configure Business Partners in your S/4HANA 1511 system according to the Best Practices Building Block Configuration Guide "J61_S4HANAX_BB_ConfigGuide_EN_XX.docx". This guide is also included in the BP.ZIP file.

6. UPLOAD LSMW PROJECT FILE:

Using transaction LSMW -> Extras -> Import Projects upload LSMW Project File LSMW_S4H_ZLSMWCVI_BP.TXT
At the screen below please click on Import button.

7. PREPARE DATA FIELDS FOR UPLOAD:

Open all Excel Files (Templates), rows 1-4 give you description of fields. After you input all your legacy business partner data into rows 5 onwards in each file, remove rows 2,3,4 and export the file as a tab-delimited text file, retaining the file name but saving to extension .TXT.

In the resulting upload text file, row 1 must contain the field names and row 2 and above contain the data. (Note: since certain fields such as address may have a comma in the field, we do not recommend .CSV files.). Place the upload text files into the same folder (C:\TEMP\BP).

8. ASSIGN INPUT FILES:

Assign input files to LSMW data structure only if your PC upload path is not C:\TEMP\BP). As shown below execute step “Specify Files” in your LSMW Project, and switch into change mode (Ctrl+F1).

For each file, click on the file name to open the “File on FrontEnd: Maintain Properties”.  Click the drop down button of the File field, and select your input file, navigating to the pertaining upload directory of your FrontEnd PC. The other settings should remain as follows -:

  • File Contents: Data for One Source Structure (Table)
  • Delimiter: Separator Tabulator
  • File Structure: Field Names at Start of File
  • File Type: With Record End Indicator (Text File)
  • Code Page: Code Page ASCII

9. PERFORM INITIAL UPLOAD:

For the creation of new Business Partner records proceed according to standard LSMW process i.e., Read Data, Display Read Data, Convert Data, Display Converted Data and Start Direct Input Program. At the last step of Start Direct Input Program, please enter Physical filename as "ZLSMWCVI_BP_ZLSMWCVI_BP_ZLSMWCVI_BP.lsmw.conv"


For each BP, the following input data has to be prepared:

A. 01_CVIS_BP_GENERAL.xlsx file
a. Column C BPARTNERGUID field: blank
b. Column F OBJECT_TASK field: Enter “I” (for Insert)

B. All input files
a. Column A RUN_ID field: Enter the BP number for reference across multiple input files.

C. Single entry for each BP in the following files:
a. 01_CVIS_BP_GENERAL.xlsx (Mandatory)
b. 15_CVIS_CUSTOMER_GENERAL.xlsx (Optional)
c. 22_CVIS_SUPPLIER_GENERAL.xlsx (Optional)

D. Other required master data files
a. Multiple entries are allowed for each BP in all other files based on the business requirements.

E. Not relevant files:
For the data files not applicable to the business, save the blank file with only the title row into its corresponding txt file without any data.

10. PERFORMING DELTA UPLOADS:

Function module, RFC_CVI_EI_INBOUND_MAIN, called in LSMW BP upload tool only allows changes to existing data in 01_CVIS_BP_GENERAL.xlsx. Besides BP General Data, Customer General Data and Supplier General Data views, additional entries could be added to the existing BP, e.g. telephone numbers, new sales area customer SD data, additional addresses, bank accounts, etc.

For the update of existing Business Partners with changed and/or additional data records proceed as follows:

A. 01_CVIS_BP_GENERAL.xlsx file
a. Column C, fieldname BPARTNERGUID: Enter the BP GUID which can be extracted from BUT000 table fieldname BUT000-PARTNER_GUID.
b. Column F fieldname OBJECT_TASK: Enter “U” (for Update).
c. Make necessary data changes in this file.

B. Prepare other input files to add more data views to the existing BP.

NOTE: Files 15_CVIS_CUSTOMER_GENERAL.xlsx and 22_CVIS_SUPPLIER_GENERAL.xlsx can only be uploaded once and cannot be changed by this LSMW tool. The value of the field OBJECT_TASK in these 2 files is ignored by LSMW program.

ADDITIONAL INFORMATION:
If a BP is to be created under internal number range, the BPARTNERGUID filed has to be filled with an unique sequential number in 1_CVIS_BP_GENERAL.TXT file

As LSMW tool cannot cover all the Business Partner Data structure requirements, please consider using:
1. function module CVI_EI_INBOUND_MAIN or
2. Webservices
-BusinessPartnerSUITEBulkReplicateRequest
-BusinessPartnerRelationshipSUITEBulkReplicateRequest

3. Use this LSMW tool to upload most of the BP data first, then create a new LSMW project to upload the remaining BP data.

Also, please refer to note 2287723 - LSMW in SAP S/4HANA on-premise edition

DATA SERVICES - Data Integrator
SAP S/4HANA customers have access to a basic Data Integrator license key that comes with the underlying SAP HANA license (HANA REAB or HANA Enterprise). This key code applied to SAP Data Services provides full ETL functionalities (Extract, Transform, Load). Thus, it replaces a mapping and load tool like LSMW with the Rapid Data Migration content. With this basic data load functionality of SAP Data Services and together with the Rapid Data Migration content, legacy data can be loaded into SAP S/4HANA (on premise) including data validation but without further Data Quality (de-duplication, data cleansing) and reporting capabilities. For this use case with the aforementioned functionality, SAP Data Services is free of charge and there is no additional cost.

For Asset Management data import workarounds, please refer:note 2208321 - FAQ for legacy data transfer in SAP_FIN 720 and subsequent

Thank you,

The S/4 HANA RIG AMERICAS TEAM
(Patrick Fiegl, Michael Foo, Jorge Baltazar & Mahesh Sardesai)

182 Comments
ross_goodman
Participant
0 Kudos

It is official I am giving up! I cannot get anything other than the general BP created. It is so complex and incredibly time consuming to get this LSMW working that it is simply not worth the effort. Whilst I applaud the effort of the developers in attempting to provide a concise solution, this simply is not it.

Perhaps a model data set showing the mandatory (for successful creation of the general plus sold to partner and vendor) that was used for testing before publication may have helped in light of the type of issues people are having. And perhaps an explanation of the grouping of inputs that were involved in each stage. eg files 1, 2, 5 7 for step 1 then update using files 1, 10, 11, 16 etc (not real numbers there obviously).

Hope you get your BP's created folks.

Former Member
0 Kudos

Hi, Search team is not unique for BP in my business  scenario.

mahesh_sardesai
Product and Topic Expert
Product and Topic Expert
0 Kudos

This blog was created to help with S/4HANA 1511 implementation as a low cost option since there was license cost for Data Services. Since then limited use of Data Integrator is allowed as per note 2287723 - LSMW in SAP S/4HANA on-premise edition.

In future versions of S/4HANA it is PLANNED to include more migration features within the S/4HANA product and the legacy LSMW will not be developed further.

0 Kudos

Hi Guys.

I am trying to create a customer linked to a business partner and i am using file 1 2 3 4 6 8 10 11 12 13 14 15 17 19.  The lsmw is creating me the business partner with role FLCU01 but is not creating (Updating) the tab of SALES AND DISTRIBUTION(17)/ PARTNER FUNCTION(19) of this customer. The function module is not returning errors. Also i checked tcode  mds_ppo2 but no errors were found. Perhaps i am doing something wrong with the mapping. I enter in run_id a unique number and also in object_task the value 'I'.

This are the fileds that i am trying to enter in sales and distribution tab :

VKORG KZAZU VWERK VTWEG SPART BZIRK VKBUR WAERS KALKS  KZAZU VSBED MRNKZ BOKRE PRFRE INCO1 INCO2 ZTERM KKBER KTGRD KVGR1

As you can see i have  entered all the necessary  obligatory fields that are needed to create the view of the customer.

Thanks in advance  guys.

Erdi.

Former Member
0 Kudos

Hi Erdi,

I am not sure whether you are providing the value for field KTOKD in file 15 or not.

Could you please check by filling field KTOKD in File 15 with value 'CUST'?

Thanks n Regards,

Durga Prasad

Former Member
0 Kudos

Hello Mahesh,

I want to update vendor partner function,can we update via FM RFC_CVI_EI_INBOUND_MAIN?

If yes can you tell me procedure how to update the same.

Thank you in advance

Regards,

Sankalp

0 Kudos

Hi Durga.

In file 15 i am adding :  Run_id(unique number), object_task = 'I', vbund, ktokd = 'UEBP' (European Union Customer Group)... i don't know if a am missing something. Also i am trying for the moment the file 15 and 17  without 19....  i don't know if this is a problem. The weird think is that FM is not returning any error type 'E' and the lsmw is still creating me, only general data tab without sales data.

Is any problem with the mapping ? or perhaps i am missing something...

Can you please send me a mapping example ...

Thank you,

Erdi.

Former Member
0 Kudos

Hi Erdi,


We were able to create the customer by providing the below details.


FILE 1

RUN_ID - A1000080; BPARTNER - A1000080;OBJECT_TASK - I; CATEGORY - 2;

GROUPING - BPAB ; NAME1- LSMW Test 1


FILE 2

Row 1

RUN_ID - A1000080; DATA_KEY - FLCU00; ROLECATEGORY - 2

Row 2 (Only provide values)

RUN_ID - A1000080; DATA_KEY - FLCU01; ROLECATEGORY - 2


FILE 8

RUN_ID - A1000080; STANDARDADDRESS - X; CITY - Test01; POSTL_COD1 - 12301; STR_SUPPL1 - Street 01; STR_SUPPL2 - Street 2_01; STR_SUPPL3 - Street 4_01; LOCATION - Street 5_01; COUNTRY - US; REGION - PA; TAXJURCODE - PA000000000; LANGU - EN; LANGUISO - E


FILE 9

RUN_ID - A1000080; ADDRESSTYPE - XXDEFAULT; STANDARD - X


FILE 12

RUN_ID - A1000080; E_MAIL- test1@email.com


FILE 15

RUN_ID - A1000080; KUNNR - A1000080; OBJECT_TASK - I; KTOKD - CUST


FILE 16

RUN_ID - A1000080; BUKRS - XX01; AKONT - 100000


FILE 17

RUN_ID - A1000080; VKORG - XX01; VTWEG - 00; SPART- 10; KALKS- 01; KONDA - C1; INCO1 - EXW; INCO2- Ex-Works; VSBED- 01; WAERS - USD; ZTERM - 0001; VWERK- XX01


FILE 19

Row 1

RUN_ID - A1000080; VKORG- XX01; VTWEG- 00; SPART- 10; PARVW- AG PARTNER - ##

Row 2 (Only provide values)

RUN_ID - A1000080; VKORG- XX01; VTWEG- 00; SPART- 10; PARVW- WE; PARTNER - ##

Row 3 (Only provide values)

RUN_ID- A1000080; VKORG- XX01; VTWEG- 00; SPART- 10; PARVW- RG; PARTNER - ##

Row 4 (Only provide values)

RUN_ID - A1000080; VKORG - XX01; VTWEG- 00; SPART- 10; PARVW- RE; PARTNER -  ##


FILE 20

RUN_ID- A1000080; ALAND- US; TATYP- UTXJ; TAXKD- 0


BLANK FILES

FILE 3 to 7,10,11,13,14,18,21 - Only Technical Names


Thanks n Regards,

Durga Prasad

0 Kudos

Thank you Durga. It Works perfect... Apparently  every  customer need the 4 partner function written above obligatory or it will not create a Customer.

Thanks, Good Day!

Former Member
0 Kudos

Hello Sankalp,

You can not use FM RFC_CVI_EI_INBOUND_MAIN to update BP. To update BP, you must use Use class method cl_md_bp_maintain=>maintain.

I have already asked same question to Author of this blog.

Thanks

0 Kudos

Hi Sankalp.

If you want to update BP, vendor or Customer  you can use Idoc :

CVI_EI_INBOUND_MAIN_M.. Just fill :

E101BUS_EI_HEADER-OBJECT_TASK = M,

Partner_guid and fill all the required data of tree :  E101VMDS_EI_EXTERN (for vendors) with object_task =  'U' and it should do the update for vendors and for partner function of vendors...

Cheers!

Erdi

Former Member
0 Kudos

Hi,

While Creating Vendor, it is giving error

"Sales tax numbers for other countries are provided from the BP"

if I by-pass this error in debugging, it is giving error in MDS_PPO2

"Mandatory partner role OA is missing for purchasing org."

due to which I am not able to create Vendor.

Please help.

-Regards

Rohit

0 Kudos

Hi Rohit.

Uselly when you create vendor, in purchase- partner function tab automaticlly are filled some roles( in mine case are 3 ). So even if you dont upload un partner function file in your lsmw you should insert in your lsmw those obligatory partner function for every purchase row. And dont forget to do the conversion routine for this partner function.

Hope it helps.

By Erdi.

Former Member
0 Kudos
Hi,

I am having an issue while trying to create customer. Customer Sales data is not getting populated and after looking at the comments in this blob, I did enter obligatory Partner functions which is 4 in my case. Despite having this set up, I am still getting below error. Did anyone had this same error??
Customer ## / XXXX / XX / XX: Data is incomplete; check data.
Customer, Vendor, Personnel Number, Contact Person: Plausibility check failed.
Former Member
0 Kudos
I was able to load once I set PARTNER to '##'.  Although I am still  trying to figure out how Vendor Partner Functions  (Obligatory)can be loaded. I don't see anything similar to Customer_Sales_Func for Vendor creation at purchase org. Was any one successful in creating Vendor at purchase org.
Former Member
0 Kudos
Hi,

When trying to add one new company or one new sales organization for an existing Customer, I have an error. It seems that it's not possible to use the mode update to do this kind of operation.

It seems that it's not possible to create one BP category 1.

Did someone this test ?

Thanks in advance.

KR.
former_member297846
Discoverer
0 Kudos
Hey Vinay,

Do you solve this issue? Because i got same error in here.
Thank you.. 🙂
former_member193437
Participant
0 Kudos
I had success. Great blog!


I just created the General Data. The nest step is create Purchasing, Sales and Financial data.

Thanks

Fabio Dezan
pranay_suyash
Explorer
0 Kudos
Hi All,

I have successfully used the same for new customer creation. The problems arise when i try to extend sales area data using Object_type = U as suggested in step 10. When i enter the runid and GUID of the already created customer in the 1st file i.e., general data and maintain sales area data in the sales area file and run the same, i get the following error:


I have checked both the files and none contain any Business partner 1. I also got it debugged by an ABAPer and he could not find the cause.

Kindly suggest, as we have around 10k customers to be extended which isn't possible to do manually for 5 divisions.

Thanks
franz_schmauer
Explorer
0 Kudos
Hello Erdi,

could you tell me what process code (and assigned function modul) in partner profile for IDoc CVI_EI_INBOUND_MAIN_M.. you are using?
In my S4HANA 1511 SP02 environment I can not find a suitable process code and inbound processing function module.
Kind regards
Franz
 
tmt-cpro
Explorer
0 Kudos

Hello,

i have the same issue as Mr.Quidacciolu . I try to add second Company code to an existing Debtor by setting:

CVIS_BP_GENERAL: RUN_ID + BPARTNERGUID + BPARTNER + OBJECT_TASK (= ‘U’)
CVIS_CUSTOMER_COMPANY: RUN_ID + BUKRS + AKONT +…
error message is: “Task Insert is not supported for the existing customer”.

Obviously the System recognized correctly, that i want to add the Company code, but it does not support it,

Has anybody already successfully added a second Company code to an existing debtor or creditor by LSMW? This is absolutely necessary for us to go live with S/4.

Regards
Torsten Manhardt

Former Member
0 Kudos
Hi Mahesh,
Thanks for the useful information. May I ask if we have BP configuration for customers.
Former Member
0 Kudos
Hi Mahesh,

Please help we are currently testing your solution and we are having errors.




































Entry 0063100096 does not exist in KNA1 (check entry)
KNA1-KUNN2: Invalid value (foreign key check failed)
Customer: Plausibility check failed
Customer 63100096 has not been created for sales area 6310 10 00
Customer 63100096 has not been created for sales area 6310 10 00
The tax number for tax number category PH1 is already maintained
Bank details with ID 0001 already exists
Bank details PH 630040001 42372314196 in the validity period are not unique
Business partner 63300096 already exists
BP role FLVN00 already exists for partner 63300096
BP role FLVN01 already exists for partner 63300096

Did we miss anything? Do we need to configure anything? Or did we mistakenly commit any error in one of your steps?

Really appreciate your response.

Thanks,
EC
0 Kudos
Hi Franz.

I am using process code APLI  e il inbound function module is APPL_IDOC_INPUTI.

Hope it helps.

By
Erdi
0 Kudos
Hi Torsten.

The SAP is correct.If you want to add a new company code for the customer you need to go in modify in  business partner, and update in IT_CUST_GENERAL (here you insert the customer ) and insert in IT_CUST_COMPANY.  I have already done it and it work perfect. The logic the same for company data used in vendor.

Hope it helps.
Bye.
Erdi
Former Member
0 Kudos
Hi

I have the next error in step "Start Direct Input Program":

First record in sequential file ZLSMWCVI_BP_ZLSMWCVI_BP_ZLSMWCVI_BP.lsmw.conv not a session record (type 0)
Message no. MG004

Diagnosis
The first record in the sequential file must always be a session record. Otherwise, no session can be created.

Some Help?

Regards
tmt-cpro
Explorer
0 Kudos
Hi Erdi,
it seems that SAP made a code modification, since it doesn't work anymore. Now customers and suplliers are always treated as INSERT task, regardless what you say in IT_BP_GENERAL or IT_BP_CUST_GENERAL.Time to make a OSS call.



Regards,
Torsten
tmt-cpro
Explorer
0 Kudos
Hello Mahesh,
thank you for this helpful blog.

I agree to Corrado, that function module RFC_CVI_EI_INBOUND_MAIN always switches into insert mode, regardless what you set in field OBJECT_TASK, at least for customer and supplier data. There was a code change, as you see in SE37 (on HANA 1511)


This has the effect, that you cannot add company codes to existing customers or suppliers, because you will get error message CVI_EI 042 "Task Insert is not supported for the existing customer”.

Regards
Torsten
tmt-cpro
Explorer
0 Kudos
Hello Mahesh,
i just downloaded a fresh copy of BP.ZIP. I do not find a structure for vendor partner functions, only sales partner functions (ZZCVIS_CUSTOMER_SALES_FUNC). How can i set vendor functions?
Regards
Torsten

 
0 Kudos
Hello Mahesh,

We are also facing this problem. Due to this we are not able to extend the vendor for a new company codes.

Regards,
Ramesh-
Former Member
0 Kudos
Hi,

I have one problem with this LSMW. How to migrate BP's with internal number range ?

In this case I left field "Business Partner Number" empty. As a result I get error message:

"Specify at least one number for the business partner".

And of course, when I put the number to the file I get another error:

"Grouping DEBI has internal number assignment; do not enter a number"

Is it possible to migrate BP's with internal number range ? I do not have any problems with external number ranges.

Please advice.

Thanks in advance.

Best regards,
Pawel.
mh79161
Discoverer
0 Kudos
Hi I tried to fill template according to your example, but but when I fill kunnr in file 15_CVIS_CUSTOMER_GENERAL I'm getting error:

When I let it empty, everything seems to be OK, but customer is not created.
Did anyone have this issue?
former_member344828
Discoverer
0 Kudos
Hi Mahesh,

The zip file link BP.ZIP is not opening, can you please share the zip file again.

Thank you.

Pavan.
Former Member
0 Kudos
Thanks for the useful information in this blog. We managed to create BP General Data and Purchasing record. And for the Purchasing (Vendor Partner Functions) part, you have to use the structure ZZCVIS_SUP_PURCH_FUNCTIONS (and corresponding file for the mapping). This file is not included in the BP.ZIP file.
JWMolenaar1
Explorer
0 Kudos
Hi Rajesh,

How did you manage to upload the Vendor partner functions? It seems that function module RFC_CVI_EI_INBOUND_MAIN has no structure for vendor partner functions.

Thanx,

Jan Willem
0 Kudos
Hello Mahesh,

thanks a lot for the detailed explanation. Is this functionality also usable in release 1610?

Thanks in advance.

 

Best regards,

Constantin
Former Member
0 Kudos

Hi Jan,

The FM RFC_CVI_EI_INBOUND_MAIN has IT_SUP_PURCH_FUNCTIONS (structure –  (CVIS_SUPPLIER_PURCH_FUNC) for Vendor Partner Functions.

Also update table SXDA2 with ZZCVIS_SUP_PURCH_FUNCTIONS and then you can map this structure in the LSMW.

 

Regards

Former Member
0 Kudos
Hi Constantin,

Yes this is very much usable in Release 1610.

Regards

Rajesh
mahesh_sardesai
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi  Constantin,

Note 2287723 has been revised to include Migration Cockpit as the preferred option.

LSMW should be used as a last option and still works as mentioned by Rajesh Kumar Dadwal.

  • Mahesh

mahesh_sardesai
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Pavan,

 

Please find the share details:

https://mdocs.sap.com/mcm/public/v1/open?shr=PCg2kHMdUqCASh5fqdBKFudWm_7PVpP8Uoa90RAb4kY

I haven’t changed anything and able to access from another account. So Please get back if you still have issues accessing BP.ZIP.

Thanks,

  • Mahesh
JWMolenaar1
Explorer
0 Kudos
Hi Rajesh (and others),

I got the missing link... after applying the SAP Notes 2354420 and 2331298, the structure is available in our S/4HANA 1511.

Kind regards,

Jan Willem
former_member298164
Discoverer
0 Kudos
Hi Thorsten,

I have the same problem. You can solve this problem? I have successfully created customers, but I can not create customer company data for existing customers.

Thanks for any advice.
Former Member
0 Kudos

 

Hi Mahesh,

I want to creat vendor information.
I can both uplolad general information & company code information successfully.

for file
25_CVIS_SUPPLIER_PURCHASING ‘ content
I can not upload the content.

do you have any idea about that?
Thanks,
Ethan

Former Member
0 Kudos
Hi Mahesh,

Thanks for a useful instruction of uploading BP Data using LSMW. I know it is dedicated for 1511 release, but I tried to implement your solution to S/4HANA 1605. It didn't work. There is one structure missing: CVIS_BP_RETURN. I am not able to create structures using your program in BP.ZIP. Can you help me with this problem?

Do you know any other ways of migrating BP Data to S4HANA system? RDM tool requires too much time to implement. LSMW would be the best solution.

Regards,

Wiktoria
Former Member
Hi Magesh,

Thanks for sharing detailed document.

I am facing issue in converting data where BP_GENERAL informations are not converted. Due to this I am getting an error 'ZLSMWCVI_BP_ZLSMWCVI_BP_ZLSMWCVI_BP.lsmw.conv not a session record (type 0)'.

I also don't see Form convert_001 in the conversion program.

Thanks,

Sathish

 
Former Member
0 Kudos
Hello Mahesh,

we are just trieing to create suppliers. When we run LSMW the partner role LF is missing. We are looking for a structure like supplier_purchasing_func, but this structure doesn´t exist. Do you have  a new BP.ZIP file.

Thanks

Thorsten
Er_c
Explorer
Hi Sathish,

Do you solve the converting problem? I have the same error. The converting step didn't have any Transactions Written.

 
Former Member
0 Kudos
What is the recommendation to load the Business Partner Credit Master using BP, after the business partner is created.
Former Member
0 Kudos
Hi Mahesh,

Thanks for sharing useful document.

We are just trying to create vendor master data. The general data of the suppliers will be transferred with program. After then we want to transfer vendor purchasing view with this LSMW. The converting step didn’t have any transactions written.

Do I just have to upload the vendor files or should I upload all the files?

What should I enter into the set type field?

I appreciate your help.

Thanks,

Gizem
mtalaat8
Explorer
0 Kudos
Dear Jose;

Have you managed to Solve this issue, I'm facing the same issue

Please Help



Regrds