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

Error while creating T code for SAPMV45A

Former Member
0 Likes
1,912

Hi,

I am trying to create a t code let us say ZT_VA03 for VA03 i.e. SAPMV45A screen no 102. When I execute this transaction, this gives me error "NO entry in table T180" . Please suggest what needs to be done to get rid of this.

Thanks,

Anuranjan

Message was edited by: Anuranjan Sharma

14 REPLIES 14
Read only

Former Member
0 Likes
1,466

Hi Anuranjan,

This is actually not so easy.

Table T180 is a screen sequence control table which is used extensively in SAPMV45A to control which screens it should display and which actions it should take when users click on buttons or select options from the menu.

One of the keys of this table is transaction code, so when you create a new transaction code ZT_VA03 it will look up the T180 (this is not the only table, there is a sequence of quite a few of them) to determine what it should do when the transaction is first run, and then what it should do for every FCODE the user hits.

To remove the error (for the initial call, and also during screen processing), you would need to add entries for every action and screen into T180 (and others).

This is quite a large task.

Cheers,

Brad

Read only

Former Member
0 Likes
1,466

Actually,

One way around it, would be to create a z report which has only one line of code:

ZREPORT_VA03.

CALL TRANSACTION 'VA03'.

You could then assign your ZT_VA03 transaction code to the ZREPORT_VA03.

This should work.

BTW - why do you want to assign a different TCODE to VA03?

Cheers,

Brad

Read only

0 Likes
1,466

Hi Brad,

Thanks for reply . I wanted to create a new t code and would asssign screen variant for this. We want only few fields to be displyed to certain users.

Thanks,

Anuranjan

Read only

0 Likes
1,466

Hi Anuranjan,

Is the problem solved?

If so, can you please award points to the responses that were useful and close the thread.

To award points you click on the little stars next to each of the responses.

Brad

Read only

0 Likes
1,466

Hi Brad,

Problem still persists. I can see that some other developers have done this earlier.They have created a Z transaction for VA01. I won;t be able to achieve the same thing with report. As I want to restrict screen flow and display.

Thanks,

Anuranjan

Read only

0 Likes
1,466

Then you'll need to maintain the T180 (and related) table(s) - as stated in my first post.

Don't think there is any way around this.

Brad

Read only

0 Likes
1,466

Hi Brad,

How do I maintain it?

Thanks,

Anuranjan

Read only

0 Likes
1,466

Its a big job (there are lots of entries).

It could take days to get it all working correctly.

Essentially you just use good old SM30. You need to copy all the entries for VA03 to make them ZXXX entries with the same values.

I don't remember all the table names off the top of my head, but do a search on 180 and T1* in SE11 to make sure you get them all.

I am pretty sure that the table class means that SAP allows you to make your own entries in here as long as they are within the customer namespace (generally starting with Z).

Another potential solution to your problem is to use the IAC (internet application component) for sales order entry if you want to create a dumbed down version for some users.

Brad

Read only

0 Likes
1,466

Can't seem to leave this one alone.

There is another option. The function module that reads the T180 table is SCREEN_SEQUENCE_CONTROL (pretty sure I got that right).

You could do a simple modification in here to substitute the transaction code to VA03 whenever the transaction code passed is Z...

This way you can leave the tables exactly how they are and whenever SAP does a lookup it will search for VA03 entries.

Its a small modification which should have no impact on standard processing.

Brad

Read only

0 Likes
1,466

Just looking at another thread and found something to help with maintaining T185.

Transaction is VFBS.

Check out the following response:

Cheers,

Brad

Read only

0 Likes
1,466

Hi Anuranjan,

Have you tried creating a Variant Transaction? In SE93, create your tcode with type 'varaint transaction'. That should allow you to enter the transaction code and the initial screen values as you wish to control.

Use transaction code SHD0 for creating transaction variants.

Hope this is what you are looking for.

Srinivas

Read only

0 Likes
1,466

Hi,

I used Sm30 to insert entry for V_T180 and it worked.

Regards,

Anuranjan

Read only

0 Likes
1,466

Hi Anuranjan

I have read your problem and im doing something very similar with VA03 transaction.

My problem is that when im doing my z copy of the va03 transaction I can not see the menus of the transaction.

Do you know what could be happend?

Best regards,

Read only

Former Member
0 Likes
1,466

Check out also GuiXT, web site:

http://www.synactive.net/site/index.htm

This is the software that the SAPGui runs when you have the "New visual display" option of the sapgui on.

If you use the full version of the product, however, you can customise transactions how you want.

Brad