Application Development 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: 

Screen Fields

Former Member
0 Kudos

Can we have our own custom fields on the Additional Data tab in IW32 (Service order ) Txn ??

Thanks

1 ACCEPTED SOLUTION

Former Member

Hi Reshmi,

The short answer is a qualified yes. You can have your own fields, but they appear on a new tab.

The following thread contains details of the userexit and the steps you need to perform to get this done (read through all the posts in the thread, the good stuff comes near the end):

Hope that helps.

Brad

Message was edited by: Brad Williams

Message was edited by: Brad Williams

24 REPLIES 24

Former Member

Hi Reshmi,

The short answer is a qualified yes. You can have your own fields, but they appear on a new tab.

The following thread contains details of the userexit and the steps you need to perform to get this done (read through all the posts in the thread, the good stuff comes near the end):

Hope that helps.

Brad

Message was edited by: Brad Williams

Message was edited by: Brad Williams

0 Kudos

Thanks. I have a new tab now with 2 push buttons. On the click of the one button a Z program is called and after the Z program is executed it comes back to the Enhancement tab but then the ok code of the pushbutton does not get erased and hence an error message appears. I have cleared the ok code at the PAI still it doesn't work. Any tips ??

0 Kudos

Hi Reshmi,

It would be great if you can specify the error message you are getting - the message class and the message number.

One possibility is that you will get the message V0 - 104, which says <i>Requested function <fucntion code> is not available here</i>.

Please do confirm if that is what you're getting.

Regards,

Anand Mandalika.

0 Kudos

Hi Remshi,

The field that is capturing the ok code musn't be being cleared properly. You must clear the field

OK-CODE

, otherwise you will confuse the standard program!!!

In your code, try implementing something like this (i copied this exactly from the IW32 program):


*-> ab jetzt mit temporären FCode arbeiten
  TMP_FCODE = OK-CODE.
  CLEAR OK-CODE.
* You can then do your processing based on TMP_FCODE

If you still have problems, try clearing OK-CODE after you call the Z program. Maybe ok codes from this program are passing back to IW32 (not sure how, but possible).

Hope that helps.

Brad

0 Kudos

Hi Anand,

I am getting exactly the same message.

"Requested function (fcode of my push button) is not available here".

It tries to validate this fcode with T185 table for program SAPLCOIH and since it cannot find the fcode there is gives out this message.

How do i avoid this message or any tips on this ??

Many Thanks ,

Reshmi

0 Kudos

Hi Remshi,

I take it that my suggestion didn't help?

Brad

0 Kudos

Hi Brad,

Unfortunately it didn't work. Will let you know if someone else replies to my question.

Reshmi

0 Kudos

Hi Reshmi,

This has turned out to be a bit more complicated than I had imagined. In SAP, there's this concept of screen sequence groups which applies to the transaction (IW32) we are now dealing with, as well to some others in the area of Plant Maintenance (and other areas). Here, the tables T185* are used to control screen sequences. The system queries the tables (using the Function Module SCREEN_SEQUENCE_CONTROL) to see if the screen sequence is proper and permitted in the application context.

There's a transaction called VFBS which is to be used for customizing these screen sequences. Since we are using an enhancement to cause a minor diversion to sequence of screens called in the IW32 application, we have to do the necessary configuration. I have tried to replicate your scenario and have been successful in avoiding the errors. Here's the procedure to be followed -

1. Make the Function Code of your Push Button to begin with Z8 or Z9. That is the allowed namespace for the entries in this table. You can verify that using the report RDDKOR54, by choosing the table name as T185F. Also, though not mandatory, try to make your Function code only 4 characters in length. Let us say, for the purpose of this discussion, that the function code you are using is Z8XY

2. Go to transaction VFBS. Give the program name as SAPLCOIH. Select the table T185F (First Radio button Option) and go into the change mode. Make a New Entry in the table as follows:

Program = SAPLCOIH
TTyp (Transaction Type) = *
FCode = Z8XY.

Save the data and come back to the initial screen of VFBS

3. From the initial screen of VFBS, give the program name as SAPLCOIH again and select the table T185 (Second Radio Button Option) and go into the change mode. Make a new entry in this table as follows -

Program: SAPLCOIH
Scr.seq.group = *
It.gr.scr.seq. = *
Screen group = *
Panel = *
Processing Location Function code = Z8XY
Next Location Function Code = Z8XY
Parameter source = A

Save the data and come out of the transaction. In this step as well as in the above one, you will be prompted to give a transport request.

4. Now go to IW32 and test the new push button again.

If you're still having some problems, please revert to me, I shall try to see what can be done.

If the problem is resolved, reward the points and mark the thread as answered.

Regards,

Anand Mandalika.

P.S. The above procedure, to the best of my knowledge, is the standard way of resolving the kind of errors we have encountered. It is not to be considered just as a means of circumventing the problem.

0 Kudos

Hi Anand,

Here again i seek your help. R'ber about the VFBS to add the function codes for SAPLCOIH. Now i am facing another problem.

When i click on the button on the screen exit subscreen it takes me correctly to another screen but when i back out and click on another button ( not present in the subscreen) it carries the original OK CODE and hence a wrong screen comes up.

I thought it had to do with the screen sequence so i tried changing the screen sequence in T185 through VFBS but didn't work.

Can you send me some suggestions regarding this ??

Many Thanks,

0 Kudos

Hi Reshmi,

Let me tell you waht steps I have followed -

1. I hit on the pushbutton on the subscreen, I go to another screen/transaction.

2. I hit the BACK button on the called transaction's screen. I come back to the new tab of IW32 that we have added (and from where I have navigated to the new transaction).

3. I hit another button in IW32, for example, another tab, which is not present on this subscreen that we have added as an enhancement. come back, everything is working okay.

I don't see any problem with the old function code. Have I missed out something?

Regards,

Anand Mandalika.

0 Kudos

Hi Reshmi,

I have faced similar problem with IW52 trasaction.

What I did might not be a correct way. but it has worked.

Use one of the std Function Code already available in T185 table .Just ensure that it is not affecting your functionality anywhere.

Hope this helps.

Regards

Amruta

0 Kudos

Anand, I also have a similar functionality. I have to add table control to SAPMV45A 8459 screen. And I will have some custom functions on the table control (Mass update, insert, delete, etc)... But I get the same message that 'Function code is not maintained here'..

What are the steps that I need to follow in VBFS to include all my custom functions? Thanks for your help..

0 Kudos

Hi All,

If you come to know any method to add the funciton codes in the table T185F then please let me know also.

Thanks & Regards,

Pankaj

0 Kudos

You can let me know as well for all other tables ;T185F, T185, T185V, T185D, T185E, TAXITABS ...

Edited by: B. Krebbers on Aug 4, 2009 4:26 PM

0 Kudos

Hallo Poonam, I have a similar problem. i have customised the IW31 screen using the IMG customisation. and i have used the screen exit IWO10018 to add a button and 5 new fields.Also i have added entries to the T185* now when i click this button I can open a new screen .

However when I go back to the initial screen (img customised screen) and click anywhere except the buttons or even if i hit a simple enter or do a scroll . it recognises the functioncode and takes me again to the new screen.

Can you suggest somthing.

Thanks

0 Kudos

Hi

I got a similar problem with QA02, I followed the same procedure and made an entry with SAPLQPL1 in the table .Now i am getting a new error "Flow control: Entry SAPLQPL1, RW , * , * , * , 02 is missing in T185". How to rectify it?

Regards

Neelima

0 Kudos

Hi

bruno_esperanca
Contributor
0 Kudos

Yup I have exactly the same problem. I was thinking about using table T185 where you can define the next function code so I would use something that wouldn't mess my program up, but the problem is that when I try to define the next function code I get an error message saying

Source = prohibits specification of follow-on parameters

Message no. V0301

By the way, my program is SAPLCJWB and I am using customer screens for CJ02.

0 Kudos

Hai Poornanand Mandalika,

                  You answer works for me..

Thank you very much...

Warm Regards,

Nellai Muthu..

EdwarSoto
Participant

Thank you!

Your response was correct,

but additional I was to setting 3 record in T185F for my Tx: Z8CU.

like this ,

all this is for A=View, H=Create, V= Modify from VA03, VA02, VA01.

0 Kudos

For me, also, it worked only after adding these three entries (program SAPMV45B for sales order maintenance)!

Thank you Poornanand Mandalika & Edwar Soto!!!

0 Kudos

hi Edwar,

Error is not coming after the configuation but whenever press any standard button then systm gives the same error for standard FCODE.

please suggest

Thanks

DIpak

dipak_khatavkar
Participant
0 Kudos

Thanks Poornanand Mandalika. its worked

dipak_khatavkar
Participant
0 Kudos

Hi All,

Error is not coming after the configuation but whenever press any standard button then systm gives the same error for standard FCODE.

please suggest

Thanks

DIpak