Lsmw for customer master
Can anyone give the steps to create a lsmw for Customer master(XD01) using recording method or Standard/Direct input method
thanks,
Dinesh
Enter T-code LSMW
Enter project name (LSMW-DEMO)
Click on create entry button (shift+F1)
Enter the description
Press enter button
Enter sub project name & description
Press enter button
Enter object & object name
Press enter button
Click on continue (F8) button
System displays 21 steps
(Focus on the 1st step)
Step (1): - Maintain object attributes
Click on object attributes
Click on execute button (ctrl +F8)
Click on display change (ctrl+F1)
Click on batch INPUT recording (radio button)
Click on go to and select recordings overview
Click on u201Ccreate recordingu201Dbutton. (Ctrl+F1)
Enter name (RECCUST) of recording & description (RECORDING FOR CUSTOMER)
Enter owner (SAPUSER)
Press enter button
Enter the transaction code (VDOL)& press enter button
Create CMR using the general process
System displays the newly created customer number
Click on default ALL
System displays field names for which date is maintained
Note these fields names in a text tile
Click on save button
Click on back button
Click on back button
Enter the recording name in recoding field ex RECCUST
Press enter button
Click on save button
Click on back button
Observation: -
1) The cursor position is automatically changed to second step. After every step completion the cursor position is changed to succeeding step.
2) Steps are reduced to 14
Step (2) :- Maintain source structures
Click on execute button
Click on display change button
Click on create a structure button
Enter source structure name 2 description,& 2 press enter button
Click on save button
Click on back button
Step(3) :- Maintain source fields
Click on execute button
Click on display change button
(note)try to maintain the source field names same as target fields names
Click on the source structure
Click on copy fields button
Select upload (text separated with tabs) & press enter button
Click on save button
Click on back button
Step (4) :- Maintain structure relations
Click on execute button
Click on display change button
Observations :-source structure & target structure relations is already maintained
Click on save button
Click on back button
Step (5) :- Maintain field mapping 2 convention rules
Click on execute button
Click on display change button
Select the first field (under fields)
Click on u201Cextrasu201D & select u201Cauto field mappingu201D
Click on ok button(continue button)
Click on accept proposal
Continue clicking on accept proposal till all the fields are mapped
System displays auto field mapping complete
Press enter button
Click on save button
Click on back button
Step(6) :- Maintain fixed values transudation user defined routines
This step is optional
We may use this when creation changes are to be made like dollar to euro etc.
Step(7) :- Specify files
Select specify files
Click on enecute button
Click on display change button
Click on legacy data
Click on u201CAdd entryu201D button
Specify the file name (customer records file path)
Specify the name (CMR RECORDS)
Click on tabulator
Press enter button
Click on save button
Click on back button
Step(8) :-Assign files
Click on execute button
Click on display change button
Click on save button
Click on back button
Step(9):-import data
Click on execute button
Click on execute button again
Observations:-transactions read & transactions written are same & and equal to the no. of records maintained in text file.
Click on back button
Again click on back button
Step(10) :-Display imported data.
Click on execute button
Press enter button.(imported data is displayed)
Click on back button
Step(11) :-Convert data
Click on execute button
Again click on execute button
Observations :- transactions red & transactions written are same and are equal to records in the text file
Click on back button
Again click on back button
Step(12) :-Display converted data
Click on execute button
Press enter button
Click on back button
Step(13) :-Create batch input session
Click on create button
Again click on execute button
System displays a message saying that a u201Cbatch input folderu201D is created with specified number of transactions
Press enter button
Click on back button
Step(14) :- Run batch input session
Click on execute button
Select the required u201Csession nameu201D and click on u201Cprocess buttonu201D
Select u201Cforeground processu201D or u201Cbackground processu201Detc
Click on u201Cprocess buttonu201D
Similar Messages
-
Reg lsmw for customer master data transfer
Hello All,
I want to know while transfering data by lsmw for customer master data .
Scenario : There are more then one ship-to-party and bill to party so how to upload the data in this case?????
Thanks,
Sunnyhi
just refer to the link below
http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g
<b>step by step procedure with screen shots</b>
regards
vijay
<b>plz dont forget to reward points if helpful</b> -
LSMW for Customer master text upload
Hi
I would want to upload the customer master text using LSMW. I see a message type /DSD/HH_CUSTMASTEXT (Customer master additions) being available.
has anybody used this for text upload??
I am not sure how it works, i dont see the provision to enter the text unlike the "SAVE_TEXT function module.
If any one of you have used it, kindly let me know.
Thanks
ManjuHi Srinivas,
yes we could do the text upload using direct input method. I need to invoke it from web methods, it would be difficult with direct input method and hence i was looking for using IDOC's.
Regards
Manju -
While doing LSMW standard method for Customer master creation..
while doing LSMW standard method for Customer master creation.....
In 13th step I am getting this king of error
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name ZPROJ was opened
FB109 Trans. 1 : Transaction xd01 is not supported
FB016 ... Last header record ...
FB014 ... BKN00-STYPE 1
FB014 ... BKN00-TCODE xd01
FB014 ... BKN00-KUNNR
FB014 ... BKN00-BUKRS
FB014 ... BKN00-VKORG A1
FB014 ... BKN00-VTWEG 00
FB014 ... BKN00-SPART 0
FB014 ... BKN00-KTOKD
FB014 ... BKN00-KKBER BP01
FB013 ....Editing was terminated
Can anyone help how to solve this?Hello TJK,
<b>FB012 Session 1 : Special character for 'empty field' is /</b>
This is the special function in LSMW, for empty field system will put / sign automatically, so you need not to worry about that.
<b>FB007 Session 1 session name ZPROJ was opened</b> It is opening session ZPROJ which is your project name/object name.
<b>FB109 Trans. 1 : Transaction xd01 is not supported</b>
Check out your field mapping and conversion rule for object.
<b>FB013 ....Editing was terminated</b>
It is not finding proper field mapping rule / file inputs so the sytem terminates the LSMW object.
Check your field mapping and conversion rule, check your source fields, save the file in tab delimited format.
Hope this helps.
Regards
Arif Mansuri -
LSMW FOR MATERIAL MASTER USING BAPI_MATERIAL_SAVEDATA -Adding Custom Fields
Hi Gurus,
I'm developing LSMW for Material Master Upload using BAPI method.
Object:BUS1001006
BAPI:BAPI_MATERIAL_SAVEDATA
MESSAGE TYPE: MATMAS_BAPI
BASIC TYPE : MATMAS_BAPI03.
There is a requirement to use/map a custom field. Upon research custom field can be added to the parameter EXTENSIONIN and EXTENSIONINX, but I have no Idea on how to do it with LSMW. Please advise what approach is needed.
Thanks and Regards,
JayHi Gurus,
I got the following code below.
The custom field won't get updated.... Please advise on what should I do... I've checked different forums and still can't come up with the solution... Please advise..
REPORT ztest_extend_matmas1.
STRUCTURE
TABLES:
bapimathead, "Headerdata
bapi_mara, "Clientdata
bapi_marax, "Clientdatax
bapi_marc, "Plantdata
bapi_marcx, "Plantdatax
bapi_makt, "Material description
bapiparex, "Extensionstruktur
bapiparexx,
bapiret2. "Return messages
DATA:
bapi_te_mara LIKE bapi_te_mara,
bapi_te_marax LIKE bapi_te_marax,
v_file TYPE string.
INTERNAL TABLE
*to store the output data
DATA:BEGIN OF it_material_number OCCURS 0.
INCLUDE STRUCTURE bapimatinr.
DATA:END OF it_material_number.
*for materialtext
DATA:BEGIN OF it_materialdesc OCCURS 0.
INCLUDE STRUCTURE bapi_makt .
DATA:END OF it_materialdesc.
*für z-feld
DATA:BEGIN OF it_bapiparex OCCURS 0.
INCLUDE STRUCTURE bapiparex.
DATA:END OF it_bapiparex.
*für z-feldx
DATA:BEGIN OF it_bapiparexx OCCURS 0.
INCLUDE STRUCTURE bapiparexx.
DATA:END OF it_bapiparexx.
*to return messages
DATA:BEGIN OF it_return2 OCCURS 0.
INCLUDE STRUCTURE bapiret2.
DATA:END OF it_return2.
DATA:BEGIN OF it_return OCCURS 0.
INCLUDE STRUCTURE bapiret1.
DATA:END OF it_return.
DATA
lt_messages TYPE bapiret2_t.
PROCESSING
*bapimathead-material = it_material_number-material.
bapimathead-material = '100-2520'.
bapimathead-ind_sector = 'P'.
bapimathead-matl_type = 'AEM'.
bapimathead-basic_view = 'X'.
bapimathead-purchase_view = 'X'.
bapimathead-inp_fld_check = 'I'.
*bapimathead-BASIC_VIEW = 'X'.
*bapimathead-SALES_VIEW = 'X'.
*bapimathead-PURCHASE_VIEW = 'X'.
*bapimathead-MRP_VIEW = 'X'.
*bapimathead-FORECAST_VIEW = 'X'.
*bapimathead-WORK_SCHED_VIEW = 'X'.
*bapimathead-PRT_VIEW = 'X'.
*bapimathead-STORAGE_VIEW = 'X'.
*bapimathead-WAREHOUSE_VIEW = 'X'.
bapi_mara-matl_group = '0001'.
bapi_mara-old_mat_no = '100-251'.
bapi_mara-base_uom = 'ST'.
bapi_marax-matl_group = 'X'.
bapi_marax-old_mat_no = 'X'.
bapi_marax-base_uom = 'X'.
bapi_marc-plant = '1000'.
bapi_marcx-plant = '1000'.
it_materialdesc-langu = 'EN'.
it_materialdesc-matl_desc = 'DESC'.
APPEND it_materialdesc.
*bapi_te_mara-material = it_material_number-material.
bapimathead-material = '100-2520'.
*bapi_te_mara-zzforst = '4148'.
bapi_te_mara-material = '100-2520'.
bapi_te_mara-zzmar_field1 = '4148'.
*bapi_te_marax-material = it_material_number-material.
bapimathead-material = '100-2520'.
*bapi_te_marax-zzforst = 'X'.
bapi_te_marax-material = '100-2520'.
bapi_te_marax-zzmar_field1 = 'X'.
it_bapiparex-structure = 'BAPI_TE_MARA'.
it_bapiparex-valuepart1 = bapi_te_mara.
APPEND it_bapiparex.
it_bapiparexx-structure = 'BAPI_TE_MARAX'.
it_bapiparexx-valuepart1 = bapi_te_marax.
APPEND it_bapiparexx.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = bapimathead
clientdata = bapi_mara
clientdatax = bapi_marax
plantdata = bapi_marc
plantdatax = bapi_marcx
IMPORTING
return = it_return2
TABLES
materialdescription = it_materialdesc
extensionin = it_bapiparex
extensioninx = it_bapiparexx
returnmessages = lt_messages.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
THanks and Regards,
Jay
Edited by: jhayyy on May 17, 2011 6:54 AM -
Issue in LSMW for material master using standard input program RMDATIND!!
Hello guys,
I have a issue in LSMW for material master.
I have a custom field in MARA table. which I want to add in my LSMW.
I added the field in BMMH1 structure. I'm passing the value to this field, But it is not populated in the table when I run it.
Is there anything else I need to do apart from addition of field in the structure BMMH1.
Thanks in advance for your help.
Regards,
Sumeet....see oss note 44410, it gives you a step by step overview.
https://service.sap.com/sap/support/notes/44410 -
Text Migration for Customer Master ?
Hi all,
I am involved in the migration of the customer master and so have to migrate text sitting on the customer master.
Can somebody please provide me some help on this?
As a start off point I have a SAP Sandbox system from where I can see what all text is being maintained at the customer master level which i should be bringing on to the Production system. What tables can I look into to see all the text maintained for the customer master.
Help will be really appreciated.
We intend to use the standad idoc for migration.
Thanks/RegardsHi,
Jason is correct that you will need the READ_TEXT function if you want to either spot check some texts (use SE37 and READ_TEXT to view a sample of customers) or if you want to extract the data.
However, if for example during an extract or during an upload you merely wanted to check whether a customer had texts, you can check on table STXH. Each customer text (of one or multiple lines) will have one header record in table STXH. STXH does not allow you to see the data as Jason pointed out, but it does show whether it exists or not.
An easy way when dealing with long texts to fnd out the object, id and name of any text is to go into the text record intself in the display transaction (eg, XD03 for customer master) and in the menu path click Goto>Header. That will give you the header information for the text and allow you to see what you need to code into your ABAP program or LSMW.
Ben
http://www.harlex-ltd.com -
LSMW FOR MATERIAL MASTER USING BAPI_MATERIAL_SAVEDATA
Hi Gurus,
Im trying to develop lsmw for material master upload using bapi method.
Object:BUS1001006
BAPI:BAPI_MATERIAL_SAVEDATA
MESSAGE TYPE: MATMAS_BAPI
BASIC TYPE : MATMAS_BAPI01.
I m unable to find parameters to load gross_weight volume and volume unit and also problem loading the custom fields of material master. Any body who has worked on this one, can you please help me.
Thanks
venkatThe BAPI_MATERAIL_SAVEDATA support the gross_weight or the volume via the tables UNITSOFMEASURE and UNITSOFMEASUREX.
eg.
UNIT_OF_WT =KG
ALT_UNIT = PCS
NUMERATOR = 1
DENOMINATR =1
GROSS_WT =1000
All the customer specific field are supported by the EXTENSIONIN and EXTENSIONINX tables. -
Error in the LSMW for vendor master using standard batch/direct input
I am facing the problem in the LSMW for the Vendor master data. The vendor is initially created for the company code 350 by using LSMW. NOw when I try to uploasd the same vendor using the same LSMW for the company code 450 then I get the error in the Bach input creation as follows:
Batch Input Interface for Vendors
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name VNDR_CREATE_ was opened
FB104 Trans. 2 XK01 : Acct already exists; general area not being processed
FB125 ... Data in table BLFA1 cannot be processed
FB016 ... Last header record ...
FB014 ... BLF00-STYPE 1
FB014 ... BLF00-TCODE XK01
FB014 ... BLF00-LIFNR 300951
FB014 ... BLF00-BUKRS 402
FB014 ... BLF00-EKORG /
FB014 ... BLF00-KTOKK VEND
FB017 ... Last data record ...
FB014 ... BLFA1-STYPE 2
FB014 ... BLFA1-TBNAM BLFA1
FB014 ... BLFA1-ANRED /
FB014 ... BLFA1-NAME1 SAVOIE AUTOMATISME DEXIS
This is because when we use XK01 to create the vendor by using thePlease check this answered link:
Re: LSMW for Vendor Master
LSMW Upload vendor master data
Edited by: Afshad Irani on May 5, 2010 12:42 PM -
"Partner Determination Steps for Customer Master" clarification
Hi,
Let me clear myself at the outset itself, that I searched SDN for my below mentioned query, however I could not find any answer to my satisfaction....here I am posting again
In "Partner Determination for Customer Master", the following steps are undertaken -
Step 1:
1.a.) Create New Partner Determination Procedure
1.b.) For each Partner Determination Procedure, different Partner Functions, which are applicable for that specific determination procedure, are assigned. (along with other properties like if the PF is mandatory, not modifiable )
Step2:
"Partner Determination Procedure Assignment", here we assign different Partner Determination Procedure to different Account Groups. In other words, indirectly, we assign the partner functions to account groups. Right? (Please correct me if I am wrong)
Step3:
"Partner Function". Here we define new partner functions, (which are used in Step 1...)
Step4:
"Account Group- Function Assignment" - Here we assign the Partner Functions to Account Groups
Now My Question
(A) Since the Partner Functions are assigned (via partner determination procedure) to account groups in Step 1, then why Partner Functions are assigned AGAIN to account groups in Step 4. What is the significance of this assignment in Step 4.
(B) Is there is particular sequence of Steps (1 to 5), one should follow when somebody has to create new customer account group and/or new partner function.
Thanking you all in advance.Dear SR
Leave SAP Partner Determination screen for 2 minutes and first understand the logic
1. Create the new partner functions
2. Create the new determination procedure
3. Link the new partner functions to the new determination procedure and add mandatory, non modifiable ,optional creteria
4. Assign the new determination procedure to the document type or account group at appropriate level
This is essence and this is for all 8 levels like CMR,sales doc header,item etc
Now coming to your qn
When you define a new account group ( you might be aware account group controls partner functions of CMR) you will say that your new account group will carry out patner functions like SP,SH,BP,PY
That is ACCOUNT GROUPS function assignment
Whenever you create a new account group you will do field selection in OBD2 like suppress optional.reqd etc,create no ranges and assign no ranges and also mainly this activity partner determination
These are must settings for a new account group
AG is the german key for sold to party Partner determination procedure
This is step 1
Then in next step you will tell AG will carry out such and such partner functions Step 2 like mandatory not modifiable etc
Step 3 is link the AG to your account group
Step 4 is partner functions say if you want to create a new partner function say SB special stock partner
(in concept this is the firststep)
Step 5 is once again partner function account group assignment
So when you create a new partner function you will do step 4 first and step 5 and then 1 and 2 and 3
when you create a new account group you will do step 5 and then 1 and 2 and 3
Hope you understand now
Partner functions are relatives in your family
Say in a family we have Father ,mother sister, brother (these 4 partner functions)
This is called as Happy Family and this Happy Family is the Partner determination procedure in SAP
This Happy Family is linked to the account group
So Happy family means there are 4 partner functions
So whenever you create a CMR in the account group this father.mother,brother,sister will come as default
Suppose you add another partner function say Uncle
First you have to create uncle
Then you have to tell this account group will accept uncle
Then link the uncle in the happy family that is determination procedure of SAP along with the 4
Then assign happy family to the account group
Now when you create a CMR along with father.mother,brother,sister along with that uncle will also come
Regards
Raja -
Change Message Control for Customer Master data
Hi Friends,
I have to choose/populate a message when the user is about to create an already existing customer.
In SPRO --> Financial Accounting --> Accounts Receivable and Accounts Payable --> Customer Accounts --> Master Data --> Preparations for creating customer master data --> "change message control for customer master data" ...
OK...
When u click this it goes into Change View "message control by User" Overview screen wherein u can insert new messages and texts and the type of message ....
Now .....
I want to display the 145th message (F4 help of the Message column) ..... it picks up the text "Customer found with same address;check"..... with Online mesasage type 'I' and batch type 'I' and with standard type '-' ..
I want to have the same message with message types 'E','E', and 'I' respectively.......
How is this possible (or) what should i do to meet my requirement :-|
Expecting ur answers
Thanks in advance ........
Cheers,
R.Kripa.Hey yes it is not possible (as of now
I ve met the requirement by just using message statement in the program itself ............
My requirement is met but still if anyone knows about this do answer / reply
Thanks
Cheers,
R.Kripa. -
LSMW for Vendor Master (t-code XK01)
Hi guys,
I'm creating a LSMW for Vendor Master (t-code XK01) using direct input but the following error message appears:
In the step "Create batch input session", I get the following error:
FB012 Session 1 : Special character for 'empty field' is /
FB007 Session 1 session name VENDOR was opened
FB112 Trans. 1 : No transaction code was transferred
FB016 ... Last header record ...
FB014 ... BLF00-STYPE 1
FB014 ... BLF00-TCODE /
FB014 ... BLF00-LIFNR DETES998
FB014 ... BLF00-BUKRS /
FB014 ... BLF00-EKORG /
FB014 ... BLF00-KTOKK 0001
FB013 ....Editing was terminated
I mapped the TCODE filed using xk01 and the same error still displays; in the first step I select Object 0040, method 0002 and the program is RFBIKR00, is this correct?
Some of the fields are stored ina different table; How can I mapped this fileds?
Any you can provide will be great......Hi,
Are you getting this error immediatly or later half?
1. This could be with same Vendor number which would be existing in the system.
2. Data inconsistencies.
What are the flat files that you have is it a single file or more than one?
Thanks,
Prashanth -
Hi All,
I am trying to use LSMW for Vendor Master upload.
I have gone through all the steps and it is showing correct data in "Display Read Data".
Also the data in "Display Converted Data" is correct.
However when i am running step "Create Batch Input Session" , it is giving following errors:
(1) Transaction XK01 is not supported
(2) editing ws terminated.
Wt could be possible reason for this,I am using standard Batch method for object 0040 and program name RFBIKR00.
("Maintain Object Attributes" details).hello,
in the field mapping step, check whether tcode field has been assigned as XK01 properly.
Reward Points if it is Useful.
Thanks,
Manjunath MS -
Generate outbound idoc for Customer Master
Hi Developers,
I have requirement to generate outbound IDOC for Customer Master Data. I need to send customer master data through an Outbound IDOC. Can we generate an outbound DEBMAS06 idoc? Can someone help me finding a solution to this problem?
Thanks in advance for helping.
Regards,
GajendraHi,
If you have done all the required settings (logical system, partner profiles, distribution model), then either transaction BD10 / BD14 will help you generate the IDOC.
If you want to send the idocs automatically, then you will to configure some program.
Unlike transaction data, Master data IDOCS are not triggered immediately, you will have to do the required configuration in SPRO.
Transaction SPRO
SAP Customizing Implementation Guide -->
SAP Web application Server --> Application Link Enabling --> Modeling and Implementing Business Processes -->
Master Data distribution --> Replication of Modified Data --> Creating IDOCS from Change Pointers
Take a look at this thread.
Re: automatic Idoc outbound
Regards,
Ravi
Note : Please mark the helpful answers
Message was edited by: Ravikumar Allampallam -
LSMW for Vendor Master using Batch Input/Direct
Hi Folk,
I'm trying to create a LSMW for Vendor Master using Batch Input/Direct Input and in the step Create Batch Inout Session a error message appears:
Trans. 1 XK01: Acct already exists; general area not being processed.
Can somebody help me with this...........Hi,
Check manually create vendor. Check with recording steps means strucutre creadred while you choose BDC recording option. With same data r u able to create vendor.
Regards
Md.MahaboobKhan
Maybe you are looking for
-
CS5.5 Web Premium Download?
I just got a new computer, and I was hoping to download Photoshop, Flash, etc. to give 'em all a spin, but I can't seem to find a download link anywhere. I do own Web Premium CS5.5, but the computer I'm using lacks an optical drive for me to put my d
-
Is there a script available to make an alternate size layout of a book?
Hello: I was referred to this forum from this thread: How can I export a pdf of an InDesign alternate layout from a book? I have a book that is in a 6×9″ layout and I would like to make an alternate layout of the same content for 8.5×11 (and other fo
-
Menu Bar for Struts application
Hi All, We are developing the Struts based Web Application using Hibernate and for this we need the Menu Bar for all the pages in the application.But we are unable to write the code for the menu bar using java classes. If possible please send the cod
-
Creative Cloud Hong Kong release date ?
When can creative cloud be expected for Hong Kong / Asia release ? Our trial runs out soon, yet it is not available for our HK business ? Suggestions ? After testing and happy to subscribe for 1 year in Australia, we weren't impressed to learn the co
-
Can Toshiba NB205 run Windows 7 Professional?
Hello everyone. It's my first time here in this forum. I just want to ask if Toshiba NB205 can run Windows 7 Professional? I wanna upgrade my Windows 7, 'cause Starter is **bleep**. So please. I wanna upgrade my Windows from any Windows 7 except Star