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 on Screen Exit

Former Member
0 Likes
1,443

Good day experts,

I would like to seek your help after I exhausted all possible solutions I knew in my mind and some research I did on net.

I am working right now in tcode, WB21, WB22, WB23 --Trading Contract...

My requirement is.

a. Add 5 additional fields/columns in tables WBGT/ WBHK/ WBHI (SAP standard trans table) and;

b. Add subscreens on the header and on the items. On the header screen, add 5 input fields. While on the item screen, add 20 input fields.

c. In this input fields, once the user saves it, it will be saved on the fields/columns added on the table, WBGT/ WBHK/ WBHI.

With this, I have found an enhancement which corresponds to my requirement. The enhancement is LWB2B001. This has three (3) FM exits and two (2) Screen Exits. I have successfully added the screens for the header and for the item. Now, I successfully added also the input fields in each subscreen, on the header and on the items. On the header, I can navigate from one tab to another.

My problem is on the item screen. Once I click it for the first time, it is ok. But when I click the other tab, an error now occurs.

The error message differs when I used different data samples. Here are the error messages

1. Entry 002 does not exist in TB2BK (check entry).

2. Item type for item 00001/material 8347841 could not be determined.

I hope I will hear some advises/solution to solve my problem. Thank you very much in advace.

Edited by: levis 501 on Jun 24, 2010 3:04 PM

Edited by: levis 501 on Jun 24, 2010 3:05 PM

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,129

Hi ,

Please check if you might have used some Standard fields on the item screen where those fields have the Check table .

Regards,

Kishore.S

5 REPLIES 5
Read only

Former Member
0 Likes
1,130

Hi ,

Please check if you might have used some Standard fields on the item screen where those fields have the Check table .

Regards,

Kishore.S

Read only

0 Likes
1,129

thank you pal for your comment.

Eventually I solve it now. There was a problem in the data since the MATNR field is connected with trading contract. So the solution is, the functional consultant must do some configurations first. As an abaper, I dont know what is the specific config of it but what I am sure is, once you remove the material in the item, the subscreen works fine. You can click other tabs on the items subscreen. But if you include a material on the item list, then the new subscreen doesnt work anymore.

I hope it will give some points to everyone who works on screen-exits on tcode WB21, WB22 and WB23.

Read only

0 Likes
1,129

Hi Levi,

could you please tell me how you move the fields from screen exit into sap standard tables ?

Thank you

Read only

0 Likes
1,129

Hi Toni,

First, append structures to this standard tables WBGT/ WBHK/ WBHI. The structures must corresponds to your screenfields. Use SE11 to append structures to this standard tables.

Second, after appending the structures, use the necessary exits. As far as I recall, we used a userexit I mentioned above. Also I implemented BADI WB2_ADDITIONAL_DATA to pass values from standard transactions like WB22.

I think these are the only thing that we did to implement such. Sorry but I can't give you the full detail now as I did this project almost three years now.

Regards,

Levi

Read only

0 Likes
1,129

Thank you Levi

Best regards,

Toni