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

dictionary structures on minisap

Former Member
0 Likes
1,123

Hi,

I'm working on Minisap installed on my PC.While writing a program that uses dictionary structures like sy-datum, sy-uname or tables like Mara,the system gives an error as unable to interpret sy-datum etc.

what is the error?

pls. help as i'm unable to proceed.

Thanks in Advance,

Sipra Jain

Hi,

I'm working on Minisap installed on my PC.While writing a program that uses dictionary structures like sy-datum, sy-uname or tables like Mara,the system gives an error as unable to interpret sy-datum etc.

what is the error?

pls. help as i'm unable to proceed.

Thanks in Advance,

Sipra Jain

11 REPLIES 11
Read only

Former Member
0 Likes
1,097

check the table syst.

and find the datum field is there or not.

Read only

Former Member
0 Likes
1,097

Hi Sipra,

Have you defined MARA table in Tables definition? If not define like this in ur program.

Tables: MARA.

For Sy-Subrc and Sy-datum, Please check in SE11 transaction for SYST table.

Reward points if it helps you.

Regards,

Sudhakar.

Read only

Former Member
0 Likes
1,097

hi,

i've already checked in syst table.the fields exist there & also i've defined the table using the tables statement.pls suggest other option.

Read only

0 Likes
1,097

where exactly using and how are you using?

please let me know?

vijay

Read only

0 Likes
1,097

hi vijay,

i'm using it to create a report on my pc where i've got minisap installed but it is giving errors in interpreting dictionary structures though these exist in the dictionary as i've already checked.

pls suggest what to do?

thanks in advance,

Sipra Jain

Read only

0 Likes
1,097

I think some where you did the mistake in coding..

so please show the code..then we can fix..

vijay

Read only

0 Likes
1,097

hi Vijay,

I'd just started the coding which i'm sending u.

REPORT ZSIP_REPORT.

start-of-selection.

TOP-OF-PAGE.

write: /'Date:' sy-datum,

30 'User:' sy-uname.

write: /'time:' sy-uzeit.

tables: mara, mard, mkat, mbew.

for the sake of correctness,i'd checked it & found that it gives error.

pls help.

Sipra

Read only

0 Likes
1,097

are you able to navigate by clicking on sy-datum or

sy-uname,mara,.. by clicking on it.

please check that.

Read only

0 Likes
1,097

Vijay,

i'm able to navigate by clicking syst structures but not to mara.it says mara does not exist and when i try to create it it does not happen saying it can only be created in SAP package.

What do u suggest?

Sipra

Read only

0 Likes
1,097

Hi

You can create ZMARA,or MARA with access key.

if you have access key, or you can get it from table <b>DEVACCESS</b>

by providing username.

try that..

Read only

Former Member
0 Likes
1,097

Hi Sipra,

Check in SE11 transaction wheter MARA table is exist or not.

Regards,

Sudhakar.