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

LSMW - help required.

Former Member
0 Likes
2,424

Hi,

I want to create a cost centre thru LSMW... I was able to go till step 9. where in I have to import data there when I execute it gives a dump saying "No authorization to open the file "LSMW_DEMO_COSTCENTER_COCTR_REC.lsmw.read"."... Now I go back to Specify Files step & clicked the legacy data (On the PC (frontend)), gave file path as c:/ks01.txt, File Content as- Data for one source structure(table), Seperators as Tabulators, File Structure - checked - Field Order matches Source structure definition, File type as Record End marker (Text File) & Code Page as ASCII....

In the same Specify Files step I clicked Imported data then clicked on LSMW_DEMO_COSTCENTER_COCTR_REC.lsmw.read... & it dumps there itself..

I have created a flat file (by giving tab ) data in notepad & saved in C drive ...

Please tell me which way I should rectify this problem....

Regards,

Seema.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,972

Hi Seema,

If I understood your problem correctly, you are getting this error when you try to read a file from the application server(most probably UNIX), but not when you do the same from the presentation server(your PC file).

If this is correct, then the problem you are having is to do with your access rights to the unix box. Ask your basis person to give you the necessary permissions to create and read files on that unix box.

Regards,

Srinivas

10 REPLIES 10
Read only

Former Member
0 Likes
1,972

Hi !

Kindly reduce your LSMW name i.e. keep it COSTCENTER only .And try it again with Delete all the Import data file path and Import Again .

Regards

Sachin S M

Read only

Former Member
0 Likes
1,972

Hi Seema,

Can you check with basis team to see if you have autorization for below profiles:

1. B_LSMW_EXEC

2. B_LSMW_CHG

Regards,

Jeet

Read only

Former Member
0 Likes
1,972

Hi ,

Wish u a very happy new year... I am still getting the same error... it says no authorization to open dataset... I am enclosing the snap shot of the error that I am getting...

Runtime errors OPEN_DATASET_NO_AUTHORITY

Exception CX_SY_FILE_AUTHORITY

Occurred on 01/03/2005 at 14:42:31

No authorization to open the file "LSMW_DEMO_COSTCENTER_COCTR_REC.lsmw.read".

What happened?

Error in ABAP application program.

The current ABAP program "/SAPDMC/SAPLLSMW_OBJ_060 " had to be terminated

because one of the

statements could not be executed.

This is probably due to an error in the ABAP program.

==============================================================

==============================================================

Runtime errors OPEN_DATASET_NO_AUTHORITY

Exception CX_SY_FILE_AUTHORITY

Occurred on 01/03/2005 at 14:35:15

No authorization to open the file "LSMW_DEMO_COSTCENTER_COCTR_REC.lsmw.conv".

What happened?

Error in ABAP application program.

The current ABAP program "/SAPDMC/SAPLLSMW_OBJ_060 " had to be terminated

because one of the

statements could not be executed.

This is probably due to an error in the ABAP program.

The same program I am able to do in my practising server but its giving problem in the client server...

Could you please help me.

Regards,

Seema.

Read only

Former Member
0 Likes
1,973

Hi Seema,

If I understood your problem correctly, you are getting this error when you try to read a file from the application server(most probably UNIX), but not when you do the same from the presentation server(your PC file).

If this is correct, then the problem you are having is to do with your access rights to the unix box. Ask your basis person to give you the necessary permissions to create and read files on that unix box.

Regards,

Srinivas

Read only

0 Likes
1,972

Hi Seema,

Has this issue been resolved? If so, could you please mark it as complete and assign points to the persons who helped you?

Thanks,

Srinivas

Read only

0 Likes
1,972

Hello

When the user has the profile SAP_ALL, no problem, but when the user has the only the profiles B_LSMW_ALL, B_LSMW_CHG, B_LSMW_EXEC y B_LSMW_SHOW the problem is similar to:

Runtime errors OPEN_DATASET_NO_AUTHORITY

Exception CX_SY_FILE_AUTHORITY

Occurred on 01/03/2005 at 14:42:31

No authorization to open the file "LSMW_DEMO_COSTCENTER_COCTR_REC.lsmw.read".

What happened?

Error in ABAP application program.

The current ABAP program "/SAPDMC/SAPLLSMW_OBJ_060 " had to be terminated

because one of the

statements could not be executed.

This is probably due to an error in the ABAP program.

==============================================================

==============================================================

Runtime errors OPEN_DATASET_NO_AUTHORITY

Exception CX_SY_FILE_AUTHORITY

Occurred on 01/03/2005 at 14:35:15

No authorization to open the file "LSMW_DEMO_COSTCENTER_COCTR_REC.lsmw.conv".

What happened?

Error in ABAP application program.

The current ABAP program "/SAPDMC/SAPLLSMW_OBJ_060 " had to be terminated

because one of the

statements could not be executed.

Thanks

Read only

Former Member
0 Likes
1,972

hi there

i have just signed in as a member of sdn.

i am not finding the link to post a question.

can any one help me plz.? thanks

Read only

0 Likes
1,972

Hi Ave,

After you login, go to the 'Forums' section and pick up the appropriate forum for you. ABAP forum is under the 'Web Application Server' section. There you will find a link 'Post New Topic'. Use that to post yout message.

Hope this helps,

Srinivas

Read only

0 Likes
1,972

Hello,

It is just above the topics (or questions) list and it is called "Post New Topic".

Best Regards,

Mauricio

Read only

0 Likes
1,972

thanks Srinivas and Mauricio Mião.

i found it. now i can move on to more concrete thing.

regards