2005 Sep 05 1:13 PM
HI All,
Can any one help me out in uploading data using LSMW.
The requirement is for a single customer i want to enter multiple <b>Payment Transactions</b> in Transaction <b>XD02</b>.The problem is every time a new record is being processed it is <b>updating</b> the existing record but <b>not creating a new record</b>.Plz help me out in this.
Thanks,
Swamy Mantha
HI All,
Can any one help me out in uploading data using LSMW.
The requirement is for a single customer i want to enter multiple <b>Payment Transactions</b> in Transaction <b>XD02</b>.The problem is every time a new record is being processed it is <b>updating</b> the existing record but <b>not creating a new record</b>.Plz help me out in this.
Thanks,
Swamy Mantha
2005 Sep 05 1:16 PM
2005 Sep 05 1:18 PM
2005 Sep 27 9:50 PM
You have probably to use the transaction XD01.
Kind regards
Matthias Kabel
2005 Sep 27 9:55 PM
You can make use of the direct input programs for customer creation. It will give better performance comapare to BDC.
Thanks & Regards,
Govind.
2005 Sep 27 10:10 PM
Hi
The transaction XD02 is only to update the customer data, not create a new customer.
You have to use transaction XD01.
So you ahould insert a control in your LSMW project:
IF CUSTOMER EXIST
TRANSACTION = XD02
ELSE.
TRANSACTIOn = XD01.
ENDIF
2005 Sep 27 10:24 PM
I'm not quite sure what you're trying to do. You create and change customers using XD01 and XD02. You enter payment transactions with something like FB01.
Rob
2005 Sep 28 10:08 AM
hi, as you already know the tcode you need, you can develop your LSMW project choosing the Batch Input way.
In LSMW, you can record a BDC script like you can do in SHDB, and after that, creata the source structure, mapping the fields of target and source structure.
The way you achieve in LSMW is very similar with the inbound application for BDC, but you do LSMW in a configuration way.
After that, read the source file and do the inbound test.
Hope it will be helpful
thanks
2005 Sep 28 10:20 AM
Hi swamy,
try with below links
http://www.sap-img.com/sap-data-migration.htm
http://help.sap.com/saphelp_erp2004/helpdata/en/87/f3ae74e68111d1b3ff006094b944c8/frameset.htm
hope this also helps you.
Create project, Subproject, Object (freely definable, for the purpose of
identification) Use create icon in the menu. For example
Project FI Finance
Subproject GL GL MASTER
Object GL GL Master
2. Continue F8, Now you will see series of steps. Select the step and execute
it (Ctrl-F8). In each steps, we will do some activity and save it. Then
system prompts for the next activity.
3. Maintain object attributes. By default the screen in display mode, Click
on pencil button to get into change mode. (This is applicable to upto the
activity assign files). In this screen select Batch input recording and
in Recording give name (freely definable) sal GL01 and click on Overview.
In this screen button (Recordings overview). Now click on create button for
recording. Give name and description, Now it will ask for the transaction
code, enter the transaction code and enter the data, the way you want fill in
the SAP screens/fields with legacy data. Then save the transaction. Now save
again to save the recording. After that you select the button default all,
then save it. And come back, now the cursor is on next activity.
4. Maintain source structures. Here create the structure by specifying name
(freely definable).
5. Maintain source fields. In this screen, click on copy fields (Ctrl+F8),
here select From data file(field names in 1st line). Now the system asks
for the file, select your text file, the system will copy the fiedls from
text file (tab delimited file. It contains field names in the first row).
Save it.
6. Maintain structure relations. Generally, we need not do anything here.
7. Maintain field mapping and conversation rules. Here put the cursor on the
field and click on source field, now you can see the list of field available,
from which select one which is equal to the field on which you out the
cursor. You can also write coding (ABAP Code) on any field for the purpose of
validation of data. Save it.
8. Maintain fixed values, translations, user-defined routines. Here also you
can maintain values, if required.
9. Specify files. In this screen, place the cursor on Legacy data, then click
on create button. The system asks for the file name, (the text file, in which
the legacy data is there), enter the file name, description and select Data
for one source structure (table), delimiter as Tabulator, file structure
as Field names at the beginning of the file.
10. Assign files. The file name you specified in earlier step comes
automatically here, If the file name does not come, then click
on assignment button and assign the file.
11. Read data. Here specify the transaction number (the number not less
than the number of rows in the text file). Execute it.
12. Display read data. Here, you can see the values, how the system read the
data.
13. Convert data. Here specify the transaction number (the number not less
than the number of rows in the text file). Execute it.
14. Display converted data. Here, you can see the values, how the system
converted the data, after interpreting conversion rules specified in the
earlier steps. This is the data that is actually goes into SAP, once the
Batch Input session is run.
15. Create batch input session. Specify the batch input session name for
identification and also select the keep session.
16. Run Batch Input Session. Select the batch input and click Process, from
there select foreground or background. Now the program runs and update
the data in to SAP. You can analyze the batch input for the successful
postings, errors.
reward points for helpful answers and close the thread if your question is solved.
regards,
venu
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |