SlideShare a Scribd company logo
1 of 16
Uploading Customer Master Extended Address using BAPI
method
By Ansumesh Kumar Samal, IBM

Readers of this post can refer to my earlier post Uploading Customer Master Data using Direct Input
Method for detailed level of explanation of each LSMW steps.

Customer Master Data is the key object in all Order-To-Cash related operations for an organization. It
consists of several category/types of data among which Customer Address data is one.

Almost all type of customer master data can be migrated to SAP using Standard Batch/Direct Input
Method (Using program: RFBIDE00). Even Customer Address can also be migrated using program
standard program RFBIDE00.However there are few specific reasons which lead us to use different
approach for uploading Customer Master Extended Address Data,

Reason

There are many additional address fields which are not available in the structure of standard program
RFBIDE00.In an alternative approach we created one more LSMW object using BAPI method available
under LSMW and used Business Object BUS4001 & Method SAVEREPLICA for address migration. All
detailed steps with screen-shots are given below.

    Source System:              File from Presentation Server

    Target System:              SAP ECC.

Prerequisite

•    Data cleansing is performed

•   Customers are already created in the system through customer master load LSMW for all account
    groups

•    All configuration data should be available in the system.

•    User’s executing conversion should have access to XD01/VD01/FD32 transaction

Doing Customer address load using BAPI method will generate IDOC, and by generated IDOC
data will be posted/migrated to SAP.

Below shown configuration is required for doing this LSMW object. One port needs to be
created. Destination system details (Partner and Partner Type) needs to be provided as shown
below
LSMW Details Step by Step.

LSMW : Initial Screen

Create One project ZDEMO_O2C and a sub-project OTC under that in t-code LSMW

Create a LSMW object 2_CUSTOM_ADDRESS under sub-project OTC
Click on Execute button which will display initial screen with all the available steps for all techniques.
However after first step based on the techniques used for the LSMW, few steps will be removed.

STEP 1: Maintain Object Attributes




Based on the LSMW techniques the below are the final steps which we need to execute for ADDRESS
load.
STEP 2: Maintain Source Structures

Create source structure name as CUSTOMER_ ADDRESS for Structure of Legacy data customer
address respectively.




STEP 3: Maintain Source Fields

Created all source fields under above Source Structure. And one important point here i.e. field sequence
under the source structure should be created in the same sequence what it is given by the customer in
the flat file. Click here for the file format. Before uploading we saved the XLS file into TXT format and then
passed to the LSMW object.
STEP 4: Maintain Structure Relations

Here in this step we need to map the custom source structure created by us with the standard structure available in the
standard program interface. We need not to map the custom source structure with all available standard structures
which are in scope. We need to consider those source structures of standard program which contains any of the source
fields that defined in step number 3 above




STEP 5: Maintain field mappings and conversion rules
This is a very important step and needs to be done very carefully. Here we need to carry out mapping between each
and every custom sources fields with the standard structure fields.
Use menu path EXTRAS-> Auto field mapping and also do manually mapping where ever required




For manual mapping put the cursor on the destination structure field and then click on Source field button
as shown below. For example OBJ_TYPE
Click on Rule button to insert initial check Rule.
Now after rule insertion, mapping looks like below.




There are also few other possible features are available under Rule button which can be used according and
effectively based on the requirement.

STEP 6: Maintain Fixed Values, Translations, User-Defined Routines

If there are more than one LSMW object which makes use of a similar section of code, in that case a
global routine can be defined at this steps which will be accessible by all LSMW objects under a LSMW
Project.
Double click on the routine, you can see the source code.




STEP 7: Specify Files

In this step we specify the path and different other attributes of the input flat file which is there in your
presentation server of the system.

Create one source file with following properties.
File contents: Select data for one source structure (table) Radio button.
Delimiter:      Select as per the source file (In my case TAB as already explained)
File structure: Check Field names at start of file if 1st row belongs to the filed names.
                File type:      Check record end marker radio button.
Code page: Check ASCII radio button.




At the end of this step two files will be created in the application server as shown above.
First file will contain data which read from presentation server.
Second file will contain data which is the converted format of read data in LSMW program format.

STEP 8: Assign Files
Assign the respective files defined in previous step to the custom source structures for LSMW object. So
that when ever data read from the flat file, Read data sit in respective fields under the custom source
structure




STEP 9: Read Data

The Data has to be read from the Presentation Server to the Application Server files for each LSMW
objects. When we execute this step data read from the presentation server and store in respective files
which explained in earlier step.




STEP 10: Display read data

The data read can also be displayed by executing this step.

STEP 11: Convert Data

Execute the this step to convert the read data into a format for posting which system can understand and
LSMW program can process
STEP 12: Display converted data

The data converted following the above step are store in a respective file in the application server as
mentioned in earlier step can also be displayed by executing this step.




STEP 13: Start IDOC Generation

Execute this step to generate IDOC based on the converted file content




Information message will be displayed as shown below
STEP 13: Start IDOC Processing

Execute to see and process the generated IDOC and its posting status message
RED highlight sections are our result sections which are actually additional address fields we have update
through this method.
Note: Here we have updated customer address for all existing customers in the system. There was a
separate LSMW object which created all customers in the system. That time one record got created in
table KNA1.So while doing Address LSMW by this method, we need to have same data related to
customer (Example Customer name) and it will be updated in table ADRC

EX: Say during customer master LOAD we have customer name as GBS Pvt Ltd and during address
load we are providing a different customer name. Then the same customer number will have two different
names in tables KNA1 and ADRC respectively. This point needs to be considered

More Related Content

What's hot

Asug82928 whats new in sap s4 hana for advanced atp
Asug82928   whats new in sap s4 hana for advanced atpAsug82928   whats new in sap s4 hana for advanced atp
Asug82928 whats new in sap s4 hana for advanced atpNigelw17
 
SAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration documentSAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration documentSubhrajyoti (Subhra) Bhattacharjee
 
Migration Cockpit (LTMC)
Migration Cockpit (LTMC)Migration Cockpit (LTMC)
Migration Cockpit (LTMC)Jayababu M
 
GST_Configuration Document_GANESH_SAPSD
GST_Configuration Document_GANESH_SAPSD GST_Configuration Document_GANESH_SAPSD
GST_Configuration Document_GANESH_SAPSD Ganesh Tarlana
 
How to View/ open/ update/ close SOLMAN tickets
How to View/ open/ update/ close SOLMAN ticketsHow to View/ open/ update/ close SOLMAN tickets
How to View/ open/ update/ close SOLMAN ticketsyuppy
 
Business partner-2
Business  partner-2Business  partner-2
Business partner-2abc
 
How to use abap cds for data provisioning in bw
How to use abap cds for data provisioning in bwHow to use abap cds for data provisioning in bw
How to use abap cds for data provisioning in bwLuc Vanrobays
 
Framework Of Sap Material Management Blueprint
Framework Of Sap Material Management BlueprintFramework Of Sap Material Management Blueprint
Framework Of Sap Material Management BlueprintCitra Nudiasari
 
LSMW - Multiple Line of Material Master Long Text
LSMW - Multiple Line of Material Master Long TextLSMW - Multiple Line of Material Master Long Text
LSMW - Multiple Line of Material Master Long TextRidzuan
 
Sd configuration steps for automatic batch determination in delivery
Sd   configuration steps for automatic batch determination in deliverySd   configuration steps for automatic batch determination in delivery
Sd configuration steps for automatic batch determination in deliveryShivaprakash Shastri Hiremath
 
04.pricing and conditions_sdbfpr
04.pricing and conditions_sdbfpr04.pricing and conditions_sdbfpr
04.pricing and conditions_sdbfprPiyush Bose
 
SAP STO config
SAP STO configSAP STO config
SAP STO configsamitchak
 
Scrap sales configuration
Scrap sales configurationScrap sales configuration
Scrap sales configurationManas Padhy
 
Sameers LE Shipping & Transportation
Sameers LE Shipping & TransportationSameers LE Shipping & Transportation
Sameers LE Shipping & Transportationsameerbarde74
 
Automatic picking configuration in delivery in sap sd
Automatic picking configuration in delivery in sap sdAutomatic picking configuration in delivery in sap sd
Automatic picking configuration in delivery in sap sdsarath chandran
 
SAP Configuration Guide for Functional Modules (Based on IDES)
SAP Configuration Guide for Functional Modules (Based on IDES)SAP Configuration Guide for Functional Modules (Based on IDES)
SAP Configuration Guide for Functional Modules (Based on IDES)sapdocs. info
 

What's hot (20)

Text determination
Text determinationText determination
Text determination
 
Asug82928 whats new in sap s4 hana for advanced atp
Asug82928   whats new in sap s4 hana for advanced atpAsug82928   whats new in sap s4 hana for advanced atp
Asug82928 whats new in sap s4 hana for advanced atp
 
SAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration documentSAP Logistics - CS - Standard Process & Configuration document
SAP Logistics - CS - Standard Process & Configuration document
 
SAP SD Copy Controls
SAP SD Copy ControlsSAP SD Copy Controls
SAP SD Copy Controls
 
Material listing & exclusion
Material listing & exclusionMaterial listing & exclusion
Material listing & exclusion
 
Migration Cockpit (LTMC)
Migration Cockpit (LTMC)Migration Cockpit (LTMC)
Migration Cockpit (LTMC)
 
GST_Configuration Document_GANESH_SAPSD
GST_Configuration Document_GANESH_SAPSD GST_Configuration Document_GANESH_SAPSD
GST_Configuration Document_GANESH_SAPSD
 
How to View/ open/ update/ close SOLMAN tickets
How to View/ open/ update/ close SOLMAN ticketsHow to View/ open/ update/ close SOLMAN tickets
How to View/ open/ update/ close SOLMAN tickets
 
Business partner-2
Business  partner-2Business  partner-2
Business partner-2
 
How to use abap cds for data provisioning in bw
How to use abap cds for data provisioning in bwHow to use abap cds for data provisioning in bw
How to use abap cds for data provisioning in bw
 
Framework Of Sap Material Management Blueprint
Framework Of Sap Material Management BlueprintFramework Of Sap Material Management Blueprint
Framework Of Sap Material Management Blueprint
 
LSMW - Multiple Line of Material Master Long Text
LSMW - Multiple Line of Material Master Long TextLSMW - Multiple Line of Material Master Long Text
LSMW - Multiple Line of Material Master Long Text
 
Sd configuration steps for automatic batch determination in delivery
Sd   configuration steps for automatic batch determination in deliverySd   configuration steps for automatic batch determination in delivery
Sd configuration steps for automatic batch determination in delivery
 
04.pricing and conditions_sdbfpr
04.pricing and conditions_sdbfpr04.pricing and conditions_sdbfpr
04.pricing and conditions_sdbfpr
 
SAP STO config
SAP STO configSAP STO config
SAP STO config
 
Scrap sales configuration
Scrap sales configurationScrap sales configuration
Scrap sales configuration
 
Sameers LE Shipping & Transportation
Sameers LE Shipping & TransportationSameers LE Shipping & Transportation
Sameers LE Shipping & Transportation
 
Sap sd ppt
Sap sd pptSap sd ppt
Sap sd ppt
 
Automatic picking configuration in delivery in sap sd
Automatic picking configuration in delivery in sap sdAutomatic picking configuration in delivery in sap sd
Automatic picking configuration in delivery in sap sd
 
SAP Configuration Guide for Functional Modules (Based on IDES)
SAP Configuration Guide for Functional Modules (Based on IDES)SAP Configuration Guide for Functional Modules (Based on IDES)
SAP Configuration Guide for Functional Modules (Based on IDES)
 

Similar to Uploading customer master extended address using bapi method

Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorialraonivaz
 
Lsmw for master data upload simple explanation
Lsmw for master data upload simple explanationLsmw for master data upload simple explanation
Lsmw for master data upload simple explanationManoj Kumar
 
Ad basic tech_workshop
Ad basic tech_workshopAd basic tech_workshop
Ad basic tech_workshopmanisherp084
 
Step by-step-lsmw-tutorial-101208040548-phpapp02
Step by-step-lsmw-tutorial-101208040548-phpapp02Step by-step-lsmw-tutorial-101208040548-phpapp02
Step by-step-lsmw-tutorial-101208040548-phpapp02johnbryan26
 
Scm lsmw steps_onweb
Scm lsmw steps_onwebScm lsmw steps_onweb
Scm lsmw steps_onwebHarsha Reddy
 
A step by-step guide on i doc-ale between two sap servers
A step by-step guide on i doc-ale between two sap serversA step by-step guide on i doc-ale between two sap servers
A step by-step guide on i doc-ale between two sap serverskrishna RK
 
Informatica cloud Powercenter designer
Informatica cloud Powercenter designerInformatica cloud Powercenter designer
Informatica cloud Powercenter designerRameswara Reddy
 
Legacy system migration workbench
Legacy system migration workbenchLegacy system migration workbench
Legacy system migration workbenchSD Tutorial
 
Bdc BATCH DATA COMMUNICATION
Bdc BATCH DATA COMMUNICATIONBdc BATCH DATA COMMUNICATION
Bdc BATCH DATA COMMUNICATIONHitesh Gulani
 
B2B add on implementation scenarios po. part I inbound edi
B2B add on implementation scenarios po. part I inbound ediB2B add on implementation scenarios po. part I inbound edi
B2B add on implementation scenarios po. part I inbound ediRoberto Cantero Segovia
 
Lsmw by guntupalliharikrishna
Lsmw by guntupalliharikrishnaLsmw by guntupalliharikrishna
Lsmw by guntupalliharikrishnaHari Krishna
 
LSMW-STEP-BY-STEP-RECORD.pdf
LSMW-STEP-BY-STEP-RECORD.pdfLSMW-STEP-BY-STEP-RECORD.pdf
LSMW-STEP-BY-STEP-RECORD.pdfKaveriBangar1
 
Final Internship Presentation
Final Internship PresentationFinal Internship Presentation
Final Internship PresentationThekra Alqaeed
 
130297267 transformations
130297267 transformations130297267 transformations
130297267 transformationsSunil Pandey
 

Similar to Uploading customer master extended address using bapi method (20)

Using idoc method in lsmw
Using idoc method in lsmwUsing idoc method in lsmw
Using idoc method in lsmw
 
Step by step lsmw tutorial
Step by step lsmw tutorialStep by step lsmw tutorial
Step by step lsmw tutorial
 
Lsmw for master data upload simple explanation
Lsmw for master data upload simple explanationLsmw for master data upload simple explanation
Lsmw for master data upload simple explanation
 
Ad basic tech_workshop
Ad basic tech_workshopAd basic tech_workshop
Ad basic tech_workshop
 
Step by-step-lsmw-tutorial-101208040548-phpapp02
Step by-step-lsmw-tutorial-101208040548-phpapp02Step by-step-lsmw-tutorial-101208040548-phpapp02
Step by-step-lsmw-tutorial-101208040548-phpapp02
 
Scm lsmw steps_onweb
Scm lsmw steps_onwebScm lsmw steps_onweb
Scm lsmw steps_onweb
 
Sure BDCs
Sure BDCsSure BDCs
Sure BDCs
 
A step by-step guide on i doc-ale between two sap servers
A step by-step guide on i doc-ale between two sap serversA step by-step guide on i doc-ale between two sap servers
A step by-step guide on i doc-ale between two sap servers
 
LSMW.pptx
LSMW.pptxLSMW.pptx
LSMW.pptx
 
Informatica cloud Powercenter designer
Informatica cloud Powercenter designerInformatica cloud Powercenter designer
Informatica cloud Powercenter designer
 
Biztalk
BiztalkBiztalk
Biztalk
 
Legacy system migration workbench
Legacy system migration workbenchLegacy system migration workbench
Legacy system migration workbench
 
Lsmw Anilkumar chowdary
Lsmw  Anilkumar chowdaryLsmw  Anilkumar chowdary
Lsmw Anilkumar chowdary
 
Bdc BATCH DATA COMMUNICATION
Bdc BATCH DATA COMMUNICATIONBdc BATCH DATA COMMUNICATION
Bdc BATCH DATA COMMUNICATION
 
B2B add on implementation scenarios po. part I inbound edi
B2B add on implementation scenarios po. part I inbound ediB2B add on implementation scenarios po. part I inbound edi
B2B add on implementation scenarios po. part I inbound edi
 
Lsmw by guntupalliharikrishna
Lsmw by guntupalliharikrishnaLsmw by guntupalliharikrishna
Lsmw by guntupalliharikrishna
 
R12 MOAC AND PAYABLES
R12 MOAC AND PAYABLESR12 MOAC AND PAYABLES
R12 MOAC AND PAYABLES
 
LSMW-STEP-BY-STEP-RECORD.pdf
LSMW-STEP-BY-STEP-RECORD.pdfLSMW-STEP-BY-STEP-RECORD.pdf
LSMW-STEP-BY-STEP-RECORD.pdf
 
Final Internship Presentation
Final Internship PresentationFinal Internship Presentation
Final Internship Presentation
 
130297267 transformations
130297267 transformations130297267 transformations
130297267 transformations
 

Recently uploaded

Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfFIDO Alliance
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIES VE
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCzechDreamin
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...FIDO Alliance
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101vincent683379
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastUXDXConf
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyJohn Staveley
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKUXDXConf
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...CzechDreamin
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Patrick Viafore
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsUXDXConf
 
Buy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptxBuy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptxEasyPrinterHelp
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2DianaGray10
 
Buy Epson EcoTank L3210 Colour Printer Online.pdf
Buy Epson EcoTank L3210 Colour Printer Online.pdfBuy Epson EcoTank L3210 Colour Printer Online.pdf
Buy Epson EcoTank L3210 Colour Printer Online.pdfEasyPrinterHelp
 
The UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, OcadoThe UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, OcadoUXDXConf
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?Mark Billinghurst
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfFIDO Alliance
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreelreely ones
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekCzechDreamin
 

Recently uploaded (20)

Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdfIntroduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
Introduction to FDO and How It works Applications _ Richard at FIDO Alliance.pdf
 
IESVE for Early Stage Design and Planning
IESVE for Early Stage Design and PlanningIESVE for Early Stage Design and Planning
IESVE for Early Stage Design and Planning
 
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya HalderCustom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
Custom Approval Process: A New Perspective, Pavel Hrbacek & Anindya Halder
 
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
ASRock Industrial FDO Solutions in Action for Industrial Edge AI _ Kenny at A...
 
AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101AI presentation and introduction - Retrieval Augmented Generation RAG 101
AI presentation and introduction - Retrieval Augmented Generation RAG 101
 
Designing for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at ComcastDesigning for Hardware Accessibility at Comcast
Designing for Hardware Accessibility at Comcast
 
Demystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John StaveleyDemystifying gRPC in .Net by John Staveley
Demystifying gRPC in .Net by John Staveley
 
Connecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAKConnecting the Dots in Product Design at KAYAK
Connecting the Dots in Product Design at KAYAK
 
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
Integrating Telephony Systems with Salesforce: Insights and Considerations, B...
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Syngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdfSyngulon - Selection technology May 2024.pdf
Syngulon - Selection technology May 2024.pdf
 
Strategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering TeamsStrategic AI Integration in Engineering Teams
Strategic AI Integration in Engineering Teams
 
Buy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptxBuy Epson EcoTank L3210 Colour Printer Online.pptx
Buy Epson EcoTank L3210 Colour Printer Online.pptx
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
Buy Epson EcoTank L3210 Colour Printer Online.pdf
Buy Epson EcoTank L3210 Colour Printer Online.pdfBuy Epson EcoTank L3210 Colour Printer Online.pdf
Buy Epson EcoTank L3210 Colour Printer Online.pdf
 
The UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, OcadoThe UX of Automation by AJ King, Senior UX Researcher, Ocado
The UX of Automation by AJ King, Senior UX Researcher, Ocado
 
The Metaverse: Are We There Yet?
The  Metaverse:    Are   We  There  Yet?The  Metaverse:    Are   We  There  Yet?
The Metaverse: Are We There Yet?
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 
THE BEST IPTV in GERMANY for 2024: IPTVreel
THE BEST IPTV in  GERMANY for 2024: IPTVreelTHE BEST IPTV in  GERMANY for 2024: IPTVreel
THE BEST IPTV in GERMANY for 2024: IPTVreel
 
AI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří KarpíšekAI revolution and Salesforce, Jiří Karpíšek
AI revolution and Salesforce, Jiří Karpíšek
 

Uploading customer master extended address using bapi method

  • 1. Uploading Customer Master Extended Address using BAPI method By Ansumesh Kumar Samal, IBM Readers of this post can refer to my earlier post Uploading Customer Master Data using Direct Input Method for detailed level of explanation of each LSMW steps. Customer Master Data is the key object in all Order-To-Cash related operations for an organization. It consists of several category/types of data among which Customer Address data is one. Almost all type of customer master data can be migrated to SAP using Standard Batch/Direct Input Method (Using program: RFBIDE00). Even Customer Address can also be migrated using program standard program RFBIDE00.However there are few specific reasons which lead us to use different approach for uploading Customer Master Extended Address Data, Reason There are many additional address fields which are not available in the structure of standard program RFBIDE00.In an alternative approach we created one more LSMW object using BAPI method available under LSMW and used Business Object BUS4001 & Method SAVEREPLICA for address migration. All detailed steps with screen-shots are given below. Source System: File from Presentation Server Target System: SAP ECC. Prerequisite • Data cleansing is performed • Customers are already created in the system through customer master load LSMW for all account groups • All configuration data should be available in the system. • User’s executing conversion should have access to XD01/VD01/FD32 transaction Doing Customer address load using BAPI method will generate IDOC, and by generated IDOC data will be posted/migrated to SAP. Below shown configuration is required for doing this LSMW object. One port needs to be created. Destination system details (Partner and Partner Type) needs to be provided as shown below
  • 2. LSMW Details Step by Step. LSMW : Initial Screen Create One project ZDEMO_O2C and a sub-project OTC under that in t-code LSMW Create a LSMW object 2_CUSTOM_ADDRESS under sub-project OTC
  • 3. Click on Execute button which will display initial screen with all the available steps for all techniques. However after first step based on the techniques used for the LSMW, few steps will be removed. STEP 1: Maintain Object Attributes Based on the LSMW techniques the below are the final steps which we need to execute for ADDRESS load.
  • 4. STEP 2: Maintain Source Structures Create source structure name as CUSTOMER_ ADDRESS for Structure of Legacy data customer address respectively. STEP 3: Maintain Source Fields Created all source fields under above Source Structure. And one important point here i.e. field sequence under the source structure should be created in the same sequence what it is given by the customer in the flat file. Click here for the file format. Before uploading we saved the XLS file into TXT format and then passed to the LSMW object.
  • 5. STEP 4: Maintain Structure Relations Here in this step we need to map the custom source structure created by us with the standard structure available in the standard program interface. We need not to map the custom source structure with all available standard structures which are in scope. We need to consider those source structures of standard program which contains any of the source fields that defined in step number 3 above STEP 5: Maintain field mappings and conversion rules
  • 6. This is a very important step and needs to be done very carefully. Here we need to carry out mapping between each and every custom sources fields with the standard structure fields. Use menu path EXTRAS-> Auto field mapping and also do manually mapping where ever required For manual mapping put the cursor on the destination structure field and then click on Source field button as shown below. For example OBJ_TYPE
  • 7. Click on Rule button to insert initial check Rule.
  • 8. Now after rule insertion, mapping looks like below. There are also few other possible features are available under Rule button which can be used according and effectively based on the requirement. STEP 6: Maintain Fixed Values, Translations, User-Defined Routines If there are more than one LSMW object which makes use of a similar section of code, in that case a global routine can be defined at this steps which will be accessible by all LSMW objects under a LSMW Project.
  • 9. Double click on the routine, you can see the source code. STEP 7: Specify Files In this step we specify the path and different other attributes of the input flat file which is there in your presentation server of the system. Create one source file with following properties.
  • 10. File contents: Select data for one source structure (table) Radio button. Delimiter: Select as per the source file (In my case TAB as already explained) File structure: Check Field names at start of file if 1st row belongs to the filed names. File type: Check record end marker radio button. Code page: Check ASCII radio button. At the end of this step two files will be created in the application server as shown above. First file will contain data which read from presentation server. Second file will contain data which is the converted format of read data in LSMW program format. STEP 8: Assign Files
  • 11. Assign the respective files defined in previous step to the custom source structures for LSMW object. So that when ever data read from the flat file, Read data sit in respective fields under the custom source structure STEP 9: Read Data The Data has to be read from the Presentation Server to the Application Server files for each LSMW objects. When we execute this step data read from the presentation server and store in respective files which explained in earlier step. STEP 10: Display read data The data read can also be displayed by executing this step. STEP 11: Convert Data Execute the this step to convert the read data into a format for posting which system can understand and LSMW program can process
  • 12. STEP 12: Display converted data The data converted following the above step are store in a respective file in the application server as mentioned in earlier step can also be displayed by executing this step. STEP 13: Start IDOC Generation Execute this step to generate IDOC based on the converted file content Information message will be displayed as shown below
  • 13. STEP 13: Start IDOC Processing Execute to see and process the generated IDOC and its posting status message
  • 14. RED highlight sections are our result sections which are actually additional address fields we have update through this method.
  • 15.
  • 16. Note: Here we have updated customer address for all existing customers in the system. There was a separate LSMW object which created all customers in the system. That time one record got created in table KNA1.So while doing Address LSMW by this method, we need to have same data related to customer (Example Customer name) and it will be updated in table ADRC EX: Say during customer master LOAD we have customer name as GBS Pvt Ltd and during address load we are providing a different customer name. Then the same customer number will have two different names in tables KNA1 and ADRC respectively. This point needs to be considered