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/Regards
Hi,
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
Similar Messages
-
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. -
Custom program to download texts from the Customer master
Hi team,
I want to create a Functional specification for downloading texts from the Customer master.
Means we are trying to come up with a Zprogram development so that this program can be used later to download texts from the customer master.
Can any one advice me what are the steps to do this....and what procedure be followed to finish this task
Kindly advice from the Functional aspect
Regards,
saprules.Yes indeed.
This mass download functionality would be very interesting to share.
Thanks a lot!
Best regards,
Roel -
How to Copy Sales Text Data from Customer Master to Sales Order.
Hi SAP Guru's
I have Completed Configuration for Central Text for Customer Master for two texts 1)Additional Attachments 2) Wooden Packing
I got these two fields in Customer Master.
I need these data to be copied from Customer Master to sales order. But i am unable get these two in to sales order.
Steps which I have done for Text Determination.
1) Text Id in for Text Object KNA1
2)Placed Text Id in Text Procedure and assigned this procedure to Customer Account Group.
Could you please advice me
Thanks in Advance.Text Control
In this IMG activity, you define the rules for text determination. You must carry out the following steps:
Select a text object and define the rules for text determination for this object. Text objects are, for example, the sales texts in the customer master record or the sales document header.
Define the permitted text types for every text object. If the text types contained in the standard SAP R/3 System are not sufficient, create new ones.
Define the access sequences. This way, you define how the SAP System should determine the texts for a text type.
Group the text types together in text determination procedures. The SAP System then proposes the text types from the procedure when you maintain a customer master record or a sales & distribution document. The search for the respective text is carried out using the access sequence which you have stored for each text type in the procedure.
Allocate the text determination procedures so that a procedure applies to the following criteria in each case:
account group customer
sales & distribution document type
item category -
Text Determination from Customer Master Central Text
Hi Experts,
I have small query, i entered the text in Customer Master Data in xd02 in the General Data.It does not figure in the sales order in the Header
I entered the text in general data tab -Extras - Text .
Can you please answer this query.
Regards
DeepakHi,
That alone is not sufficient.
You should not only configure the text ID for central texts but also for sales document header.
1. First you have to do the text id creation, text id assignment to procedure and procedure assignment to account group for customer master central texts. I think the text ID object is KNVV
2. Second you have to go to Sales header in VOTXN and assign the same text ID to sales document header procedure
You have to ensure that in both steps, the text ID should be assigned to the same access sequence.
Once these are done, you create the texts for a customer. Use this customer in a sales order, now you can see the texts getting copied in the sales document header.
Lemme know if you have any problem in this. -
Text copy from customer master to Sales order and invoice
Dear friends,
when i maintain the text in the customer master ther needs to copy to sales order and from sales order to invoice.
Can you please guide me how to do this config
Thanks
Raju.Dear Raju,
First you need to do the Text determination for all areas(i.e Customer Sales and distribution,Sales order header,delivery header and billing header) through VOTXN transaction.
-->Create the Customer text ID under Object KNVV
Maintain the text for Text ID in the customer master >sales area data>Extras-> Text
To copy the customer text to the sales order you need to keep KNVV table as Text object in the sales order text access sequence for the text ID.
If you want to copy the sales order header text to the invoice header first you need to copy the sales order header text to the delivery header from delivery you can copy to invoice.
When you want to copy the Text from Sales order to delivery the Access sequence will place a role
If you want to copy the sales order text to the delivery document The Text Object should be VBBK in the delivery Header Text determination access sequence for that Text ID
Again you can copy the text from delivery to Billing document through checking the Delivery Text field in the billing document detail screen (Top most bottom of the screen).
Go to VOFA transaction select your billing document type then go in to the details here you can find the Delivery Text field you just check that check box.
Now system will copy the sales order header text to the delivery header then it will copy to the invoice header.
I hope this will help you,
Regards,
Murali. -
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 -
Search for BAdi for Customer Master Data (XD01)
Hi experts,
i am looking for a BAdi for Customer Master data (XD01). Can anyone suggest me which one can i use?
thanks in advance.
Regards,
akshhi
execute this report
*& Report ZNAGBADI
REPORT ZNAGBADI.
*report zbadi_find .
tables : tstc,
tadir,
modsapt,
modact,
trdir,
tfdir,
enlfdir,
sxs_attrt ,
tstct.
data : jtab like tadir occurs 0 with header line.
data : field1(30).
data : v_devclass like tadir-devclass.
parameters : p_tcode like tstc-tcode,
p_pgmna like tstc-pgmna .
data wa_tadir type tadir.
start-of-selection.
if not p_tcode is initial.
select single * from tstc where tcode eq p_tcode.
elseif not p_pgmna is initial.
tstc-pgmna = p_pgmna.
endif.
if sy-subrc eq 0.
select single * from tadir
where pgmid = 'R3TR'
and object = 'PROG'
and obj_name = tstc-pgmna.
move : tadir-devclass to v_devclass.
if sy-subrc ne 0.
select single * from trdir
where name = tstc-pgmna.
if trdir-subc eq 'F'.
select single * from tfdir
where pname = tstc-pgmna.
select single * from enlfdir
where funcname = tfdir-funcname.
select single * from tadir
where pgmid = 'R3TR'
and object = 'FUGR'
and obj_name eq enlfdir-area.
move : tadir-devclass to v_devclass.
endif.
endif.
select * from tadir into table jtab
where pgmid = 'R3TR'
and object in ('SMOD', 'SXSD')
and devclass = v_devclass.
select single * from tstct
where sprsl eq sy-langu
and tcode eq p_tcode.
format color col_positive intensified off.
write:/(19) 'Transaction Code - ',
20(20) p_tcode,
45(50) tstct-ttext.
skip.
if not jtab[] is initial.
write:/(105) sy-uline.
format color col_heading intensified on.
Sorting the internal Table
sort jtab by object.
data : wf_txt(60) type c,
wf_smod type i ,
wf_badi type i ,
wf_object2(30) type c.
clear : wf_smod, wf_badi , wf_object2.
Get the total SMOD.
loop at jtab into wa_tadir.
at first.
format color col_heading intensified on.
write:/1 sy-vline,
2 'Enhancement/ Business Add-in',
41 sy-vline ,
42 'Description',
105 sy-vline.
write:/(105) sy-uline.
endat.
clear wf_txt.
at new object.
if wa_tadir-object = 'SMOD'.
wf_object2 = 'Enhancement' .
elseif wa_tadir-object = 'SXSD'.
wf_object2 = ' Business Add-in'.
endif.
format color col_group intensified on.
write:/1 sy-vline,
2 wf_object2,
105 sy-vline.
endat.
case wa_tadir-object.
when 'SMOD'.
wf_smod = wf_smod + 1.
select single modtext into wf_txt
from modsapt
where sprsl = sy-langu
and name = wa_tadir-obj_name.
format color col_normal intensified off.
when 'SXSD'.
For BADis
wf_badi = wf_badi + 1 .
select single text into wf_txt
from sxs_attrt
where sprsl = sy-langu
and exit_name = wa_tadir-obj_name.
format color col_normal intensified on.
endcase.
write:/1 sy-vline,
2 wa_tadir-obj_name hotspot on,
41 sy-vline ,
42 wf_txt,
105 sy-vline.
at end of object.
write : /(105) sy-uline.
endat.
endloop.
write:/(105) sy-uline.
skip.
format color col_total intensified on.
write:/ 'No.of Exits:' , wf_smod.
write:/ 'No.of BADis:' , wf_badi.
else.
format color col_negative intensified on.
write:/(105) 'No userexits or BADis exist'.
endif.
else.
format color col_negative intensified on.
write:/(105) 'Transaction does not exist'.
endif.
at line-selection.
data : wf_object type tadir-object.
clear wf_object.
get cursor field field1.
check field1(8) eq 'WA_TADIR'.
read table jtab with key obj_name = sy-lisel+1(20).
move jtab-object to wf_object.
case wf_object.
when 'SMOD'.
set parameter id 'MON' field sy-lisel+1(10).
call transaction 'SMOD' and skip first screen.
when 'SXSD'.
set parameter id 'EXN' field sy-lisel+1(20).
call transaction 'SE18' and skip first screen.
endcase.
reward for useful answers
regards
Nagesh.Paruchuri -
Badi for Customer Master adding Subscreens
Hi,
I am working on BADI for Customer master. Basically I am adding Subscreen for Z Table Fields, So I got the screen and designed the screen.
I have written some code
Data: txtCMSDP(40) type c, which I declared in Subscreen text field name
txtCMSBL(40) type c, which I declared in Subscreen textfield name
txtCustomerNumbercms(7) type c.
Data: wa_zdt_sm_kna1_attr type zdt_sm_kna1_attr,
it_data type table of zdt_sm_kna1_attr.
select * from zdt_sm_kna1_attr into corresponding fields of table it_data where kunnr = i_kunnr.
loop at it_data into wa_zdt_sm_kna1_attr.
txtCMSDP = wa_zdt_sm_kna1_attr-dpguid.
txtCMSBL = wa_zdt_sm_kna1_attr-blguid.
txtCustomerNumbercms = wa_zdt_sm_kna1_attr-cms_num.
endloop.
Here I have only Import parameter I_kunnr but I dont have Export parameters for the fields dpguid, blguid and cms_num
I am using BADI customer_add_data and Method READ_ADD_ON_DATA.
I need to display the data in Subscreen form the Ztable , Please help some sample code for Display values in subscreen fields.
Thanks in Advance
vanajaHi Vanaraja,
You are very close . But chosen a different BADI. You need to implement BADI 'CUSTOMER_ADD_DATA_CS' where you will get a Tab strip. Display your data on the tab strip either as label or as input fields greyed out.
Pls reward if useful.
Regards,
Laxman Nayak. -
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 -
"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 -
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 -
Migration of customer master data
hi guys
while uploading the customer master data from legacy to sap r/3 with lsmw
if some files are not uploaded, in which transaction code we see that filesHi Krishna,
You can use the standard batch input program RFBIDE00 in LSMW to update the customer master data. However, there might be scenarios where you might be required to update the fields which do not get updated by the standard bacth input program. If any of such fields are defined as mandatory, then you wont be able to use this method directly.
In such cases you will have to either create a recording to poplate the fields which do not get updated by the standard program and use both the recording and the standard batch input program to update the customer master data OR create a recording for customer master create and use the same in LSMW.
Best regards,
Harsh -
Output types for customer master
Hi,
How do I create an output type for customer master and assign it to an output determination procedure for customers. Thanks for the help in advance.
Regards,
VijayAny bright ideas guys?
-
What to do if my master page is too small for custom master page column, I need to change the papersize from A4 to US letter size *
My 2nd gen works fine with WPA2 and AES encryption.
You may need to go back and start over. Reset the router back to factory defaults, log on as the admin, set up security, DHCP, and make sure the IP address pool has enough IP addresses to lease to ALL of the computers/devices that will connect to that the router.
Maybe you are looking for
-
Blackberry Bold 9930 Verizon OS - 7.1.0 Bundle 2705 Blackberry Desktop Software Version - 7.1.0.41 PC - Windows 7 I have a problem which recently surfaced when connecting my 9930 to my PC. In the past, when I have connected my PC, I have gotten three
-
i created a movie in imovie. then i shared it to idvd and created a dvd. no matter if i do it in 16;9 or 4:3 when i watch it on most tv screens, parts of it are cut off at the top. is there any way to avoid this?which is my betst choice 4:3 or 16:9?
-
Full Strength Airport Network, No Web, Can access through neighbors!
Simly put, I get full strength from my Airport Express, open system (no WEP or WPA) but it will no go to the web! My MB Pro, MB, iBook, Powerbook all work fine, just the iMac. I can mooch from two of my neighbors open networks (for testing purposes o
-
MTS / COM+ distributed transactions
How much support for Microsoft's MTS / COM+ distributed transactions is contained within the ODBC driver for Oracle that is distributed with Oracle9i for Windows? Does the ODBC driver support the Oracle Services for MTS that comes with the 9i client?
-
I know this violates platform independence, but does anyone know of a tool to convert a jar that runs a class based on its manifest into an executable for a given platform (I assume such a tool would merge parts of the JRE with the jar itself)?