Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

T-code for LSMW

kiran_k8
Active Contributor
0 Likes
7,355

Hi Folks,

How to create a T-code for LSMW ?.

K.Kiran.

20 REPLIES 20
Read only

amit_khare
Active Contributor
0 Likes
5,281

We cannot have tcode for LSMW Projects...they can be access through LSMW only.

Read only

Former Member
0 Likes
5,281

Hi,

Go to transaction code SDMO -> it will promt for description(here give LSMW) ->

press F8 -> it will give the transactions related the description you entered (here lsmw) -> thus you can get the required transaction.

Thanks,

Anitha

Read only

0 Likes
5,281

Anitha,

I want to know whether we can create a t-code for LSMW or not? If so,how?

K.Kiran.

Read only

Former Member
0 Likes
5,281

hi Kiran,

It is not possible

You can also use program RDXRUNSTART with a variant for your project

Read only

0 Likes
5,281

Chandrasekhar,

It seems that this report is exclusively for lsmw.Am I right?

We can copy this program as z and then give a tcode right?

K.Kiran.

Read only

0 Likes
5,281

Chandrasekhar,

When I run the report rdxrunstart it is showing an error that no authorisation for execution.What does that mean?

Does this report is solely used to LSMW?

K.Kiran.

Read only

0 Likes
5,281

This report will initiate a LSMW project its like an alternative to use instead of using LSMW tcode....with not much different except you have a facility of saving variants.

Regards,

Amit

Reward all helpful replies.

Read only

kiran_k8
Active Contributor
0 Likes
5,281

Hi Folks,

We can create a T-code for LSMW too by using SE93 itself.The thing is that we have to LSMW project names at the 3rd Subscreen of SE93 having the text Default Values.

Just now I had created one.

Thanks,

K.Kiran.

Read only

Former Member
0 Likes
5,281

Hi Kiran,

Can You Explain me how to create T-Code for LSMW.

Thanks In advance.

Ramesh

Read only

kiran_k8
Active Contributor
0 Likes
5,281

Ramesh,

While creating a t-code in SE93 after giving the short text for the tcode you will find START OBJECT where in you will get to see 4 options choose the "Transaction with Parameters(parameter transaction)

Then in the next screen you will get to see a sub screen at the bottom with text as DEFAULT VALUES,in the screen

give the OBJECT under the name of the screen field and in the value give the Object name and SubProject and its name.

Name of the screen field -


value

OBJECT----


ZXX

SUBPROJECT----


ZXX

Revert if you have any queries.

K.Kiran.

Read only

Former Member
0 Likes
5,281

Hi Kiran,

Thanks for your Quick Reply . I Got solved the probelm.

Can we write the code for LSMW With Input as parameter filed. (File Location)

And there is one small probelm with this T-Code for LSMW.

When i Click back it coming again As LSMW T-Code Screen

Can u Tell me how restrict it.

Thanks in Advance,

Ramehs.

Read only

Former Member
0 Likes
5,281

Hi Kiran,

Thanks for the valuable inputs.

When i tired to create TCODE, it is asking to enter program or transaction.

Can you explain which other things needs to be entered so that i can call LSMW application.

Regards

Edited by: akshay sonurkar on Feb 15, 2012 10:15 AM

Read only

Former Member
0 Likes
5,281

Hi Akshay,

Below are the steps to create.

i) Go to se93 and give your t-code name

ii) after that one pop-up will be open and in that select the last option (Transaction with Parameter)

iii) give the Transaction name as LSMW

iv) Check "Skip initial Screen" check-box

v) at the lower end give the below details in the Name of the screen fields and value respectively.

/SAPDMC/LSSCREEN-PROJECT Give your project name

/SAPDMC/LSSCREEN-SUBPROJ sub project name

/SAPDMC/LSSCREEN-OBJECT Object Name

Hope the above details is sufficient, if not reply me

Thanks and Regards,

Gopal Gupta

Read only

kiran_k8
Active Contributor
0 Likes
5,281

Problem Solved

Read only

Former Member
0 Likes
5,281

Hi Kiran,

I too have a same requirement as yours... need to create a tcode for LSMW project.... did go through your forum question N answeres... could u please elaborate it a bit more ... i couldnt find the sub screen u wur talkin abt... if u could send me steps fr the same i wuld really appreciate tht... waiting fr ur reply...

Vicky...

Read only

Former Member
0 Likes
5,281

Hello,

I have tried your solution, but when I enter the field name, I have an error message "The field /SAPDMC/LSSCREEN-PROJECT does not exist on the called screen"

How can I solve this issue ?

thanks a lot

Vincent

Read only

Former Member
0 Likes
5,281

It's OK, it's just a warning message

Thanks

Read only

Former Member
0 Likes
5,281

Well I have an issue... I have managed to create a specific TCODE which is linking to LSMW, to the right object. I thought it was entirely successfully.

When I go to the created transaction, I have the right screen. If I click on the buttom 'Back", I go back to the initial screen of transaction LSMW which is not expected because, then, user will have access to other objects

How can we avoid this issue ?

Thanks

Vincent

Read only

Former Member
0 Likes
5,281

Well I have an issue... I have managed to create a specific TCODE which is linking to LSMW, to the right object. I thought it was entirely successfully.

When I go to the created transaction, I have the right screen. If I click on the buttom 'Back", I go back to the initial screen of transaction LSMW which is not expected because, then, user will have access to other objects

How can we avoid this issue ?

Thanks

Vincent

Read only

0 Likes
5,281

Hi. I have the same requirement today, after searching solution in forums without success, I have to figure it out myself.

YES, IT CAN BE DONE.

I assump that you already have a functionable LSMW project

1. Open your desired LSMW project and go to Extras->User Menu.

2. Select the following unselected steps there

- Generate Read Program

- Display Read Program

- Generate Conversion Program

- Display Conversion Program

3. Run the step Generate Read Program  then Generate Conversion Program to generate programs and then active them

4. Run step Display Read Program and copy the program name in Report field

5. Run step Display Conversion Program and copy the program name in Report field

6. With the 2 newly generated programs, you can try to run them using SE30 (Program mode)

7. Assign T-code for these programs

8. For the Create batch input step, you can run it in LSMW and try to get the program code in the task bar. In my case it is /SAPDMC/SAP_LSMW_BI_RECORDING

Now you already have 3 T-codes with 3 separate steps in a specific LSMW project, you can consider to assign them to the desired users.

Good luck

Harry