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

Problem creating t-code for classical report?

achin_tomer
Explorer
0 Likes
1,292

Hello Everyone,

I have searched a lot and everyone has suggested to use t-code se93 , i also tried the same way. but it is still not working showing the same error (can't save in foreign namespace). I have tried to create it by saving my report and t-code both in package but no improvement , can anyone help me out.

1 ACCEPTED SOLUTION
7 REPLIES 7
Read only

matt
Active Contributor
1,089

Is that the exact error you see? "can't save in foreign namespace"? What is the name of your T-Code and what is the name of your report.

Read only

kiran_k8
Active Contributor
0 Likes
1,089

Achin,

Usually we create Custom Objects with Z or Y or any other naming convention that your client has registered with.

Did you checked the existing Custom Tcodes (TSTC) naming pattern in your system and tried to name your t code in a similar way ?

K.Kiran.

Read only

mmcisme1
Active Contributor
1,089

Another thought is to check the development class. But really we are all guessing at this point without your program / tcode. A screen shot would help too!

Read only

Former Member
1,089

Hi Achin,

In your development instance you will create the report in the Standard area then you will use SE93 to create the custom tcode to access the report.

In SE93 create the tcode by first providing a name (such as 'ZMYREPORT'). The 'Default values for': 'Transaction' should be 'START_REPORT'. Check all options (if desired) for the 'GUI Support' section. In the default values block provide the following:

D_SREPOVARI-NOSELSCRN (Leave empty)

D_SREPOVARI-REPORTTYPE AQ

D_SREPOVARI-EXTDREPORT (Provide the report name)

D_SREPOVARI-REPORT (Provide the report user group name)

Save SE93 and add to a transport request. Test out in the Dev environment and transport when ready.

HTH,

Dennis

Read only

achin_tomer
Explorer
0 Likes
1,089

Hi sir,

I am sorry for replying late, but the exact error is "Test objects cannot be created in foreign namespaces". Tcode name i am providing is SD_REPORT and Report Name is ZREPORT.

Read only

achin_tomer
Explorer
0 Likes
1,089

Hi ,

My issue is got resolved, i simply did it ,the way we do for module pool using SE80.

But thanks to all for the concern.

Thank you.