07-21-2005 10:58 AM
Hi All,
I want to create a transaction code for an LSMW object,
For Eg,
Once We go to lsmw transaction
it asks For Project,Subproject,Object
Suppose i give values as,
Project : Ztest_proj
Subproject : Ztest_sub
Object : Ztest_obj
it takes me to a screen where i can do further things,
now i want to create a transaction code say ztest
when i enter the tcode as ztest it should directly take me to that screen.
It's very urgent
Thanks in advance
07-21-2005 9:39 PM
USe SE93 to create Transaction and Select Transaction with Parameters
You have to give the Project , Sub Project and Object Names in the Default values section and give the OKCODE to execute.
07-21-2005 11:05 AM
Hello,
The LSMW objects can be grouped in a Sub project / Project in a data migration acitvity. This is a logical grouping only.
for Ex.
PLANT_XYZ ( PROJECT ),
MM ( SUB PROJECT ),
PP ( SUB PROJECT ),
SD ( SUB PROJECT ),
WM ( SUB PROJECT ),
You can create different LSMW Objects in these sub projects based on the requirement.
Please refer to the ONLINE Documentation which gives more details:
http://help.sap.com/saphelp_erp2004/helpdata/en/87/f3ae63e68111d1b3ff006094b944c8/content.htm
Regards, Murugesh AS
07-21-2005 9:39 PM
USe SE93 to create Transaction and Select Transaction with Parameters
You have to give the Project , Sub Project and Object Names in the Default values section and give the OKCODE to execute.
07-22-2005 5:07 AM
Hi Abap_FL,
Please clarify a bit on the okcode .rest all is fine
thanks a lot
07-26-2005 7:00 PM
07-26-2005 7:28 PM
You could write a small custom report program with the following code and attach your Z tcode as a report tcode. This will skip the first screen of the LSMW transaction.
report zrich_0002.
type-pools: tumls.
data: project type tumls_project,
subproj type tumls_subproj,
object type tumls_objectnew.
project = 'CUST01'.
subproj = 'CUST02'.
object = 'BOM01'.
call function '/SAPDMC/LSM_OBJ_STARTER'
exporting
project = project
subproj = subproj
object = object
exceptions
no_such_object = 1
others = 2.
Regards,
Rich Heilman
07-27-2005 7:19 AM