2008 Jan 24 9:04 AM
Hi All,
How can i Includ custom developments in the LSMW. please help me.plz don't send link.
2008 Jan 24 9:19 AM
Hi Friend,
if it help full to u please give me max reward point.
3 main actions need to be taken
Creation of the target structures as structures in the datadictionary
Updating SAP tables SXDA0, SXDA1, SXDA2 and SXDA3.
Adapting the ABAP development
2.1 Creation of target structures
Go to SE11 to create the target tables: These will be similar to the input structures, but done forget to add the following to fields in from of the structure, STYPE (containing the record identifier) and TBNAM (containing the name of the structure).
This is necessary because only one file will be delivered to the custom program, even in the case of several inputfiles. The linking of different files will be done in the readstep.
2.2. Updating SXDA SAP tables
For the different tables a maintain table view is created, so transaction SM30 can be used to change tables SXDA0, SXDA1, SXDA2 and SXDA3.
Create an object with short texts in table SXDA0 (Agree on a number range for the custom programs, for example from 900 to 999)
Link in SXDA1, the just created object with the custom development
Create for every target structure an entry in table SXDA2, when the custom program is a BDC session, it is a good idea to make structure BGR00 the first structure.
In this table it is possible to build up the needed tree structure, by defining the sequences, the hierarchy level and the parent structures of the target structure.
Check for example object 050 (customer master) on how to fill the different fields
In table SXDA3, the standard defaults for fields can be defined, it is best practise to already predefine the STYPE and the TBNAM fields. Also for structure BGR00, most of the fields can be defaulted in this table.
Hi All,
How can i Includ custom developments in the LSMW. please help me.plz don't send link.
2008 Jan 24 9:06 AM
I think you can only insert recordings (created by LSMW).
In case of a custom development BI or DI program for example, you could try to register them via the data transfer workbench.
Transaction SAPLDX_REGISTRATION
Position on the object e.g. KNA1 for customer master
Press "create registration"
Don t know if this works, never done before
2008 Jan 24 9:43 AM
I double checked and the SXDA_REGISTER works fine.
Note: please make sure not to update standard SAP tables directly, this will lead to inconsistencies.
2008 Jan 24 9:19 AM
Hi Friend,
if it help full to u please give me max reward point.
3 main actions need to be taken
Creation of the target structures as structures in the datadictionary
Updating SAP tables SXDA0, SXDA1, SXDA2 and SXDA3.
Adapting the ABAP development
2.1 Creation of target structures
Go to SE11 to create the target tables: These will be similar to the input structures, but done forget to add the following to fields in from of the structure, STYPE (containing the record identifier) and TBNAM (containing the name of the structure).
This is necessary because only one file will be delivered to the custom program, even in the case of several inputfiles. The linking of different files will be done in the readstep.
2.2. Updating SXDA SAP tables
For the different tables a maintain table view is created, so transaction SM30 can be used to change tables SXDA0, SXDA1, SXDA2 and SXDA3.
Create an object with short texts in table SXDA0 (Agree on a number range for the custom programs, for example from 900 to 999)
Link in SXDA1, the just created object with the custom development
Create for every target structure an entry in table SXDA2, when the custom program is a BDC session, it is a good idea to make structure BGR00 the first structure.
In this table it is possible to build up the needed tree structure, by defining the sequences, the hierarchy level and the parent structures of the target structure.
Check for example object 050 (customer master) on how to fill the different fields
In table SXDA3, the standard defaults for fields can be defined, it is best practise to already predefine the STYPE and the TBNAM fields. Also for structure BGR00, most of the fields can be defaulted in this table.
2008 Jan 24 9:21 AM
Hi,
look at this thing it may be help full to u.if it help full to u please give me max reward point.
Adaptations in the ABAP program
Build a program that expects a simple file with different record identifiers, the file path can be found in table /SAPDMC/LSOFIL (field file_conv)
Following code can be used to get the filenames
IMPORT /SAPDMC/LSMEMORY FROM MEMORY ID '/SAPDMC/LSMW'.
call function '/SAPDMC/LSM_FILE_INFO_GET'
EXPORTING
PROJECT = /SAPDMC/LSMEMORY-project
SUBPROJ = /SAPDMC/LSMEMORY-subproj
OBJECT = /SAPDMC/LSMEMORY-object
X_ONLY_USED_FILES = 'X'
importing
FILE_READ =
FILE_CONV =
PATH_CONV_LOG =
FILE_CONV_LOG =
EXCEPTIONS
NO_SUCH_OBJECT.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |