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: 

Value disappear on Pressing Enter in Table Control

ayaz1
Explorer
0 Kudos

Dear Experts,

I am working on tcode CO01 and requirement is to disable f4 help and validation on the attached screen shot field and also to change the field label.

I am able to do so by modification.
Problem is when I press enter values disappears and I am unable to trace why this happening.

Anyone had same issue earlier?
Your support is highly appreciated.

Thanks,

MAN

1 ACCEPTED SOLUTION

ayaz1
Explorer
0 Kudos

Dear All,

Thank you for your valuable time. Issue was identified at the PBO level.

Let me make points which can help others in future.

Tcode : CO01

1) Did the required modification in the PAI module to disable F4 Help and Field validation on field SPLITIN-PERSON.

2) Renamed the Table control field Person through screen layout. 
3) In PBO, an internal table is created and  move the passed values to internal table first and then MODIFY it in the internal table used by SAP to display data on screen.Further entries in the table are moved to the structure CYSPLITIN.

12 REPLIES 12

jrgkraus
Active Contributor
0 Kudos

Hello,

it seems that your modification disturbs the transport of data from the screen to the program. Could you provide your modification coding?

Best regards

Jörg

0 Kudos

Dear Jorg,

Attached are the screenshots of the modifications.
In Table SPLITIN, I am getting the passed values.

Basically, I need to Disable f4 and validation of the field because user can pass free text to that field as per the requirement rather than the suggested help by F4.

Thanks,
MAN

0 Kudos

Dear Jorg,

Any advice on this please.

Thanks,
MAN

jrgkraus
Active Contributor
0 Kudos

Hello,

try to replace "on request" with "on chain-request" in the dynpro logic. As soon as you use chain/endchain you have to use chain-request instead of request.

Best regards

Jörg

0 Kudos

Dear Jorg,

Thanks for your reply.
I tired but didn't get the required result.

Any other help from your side will be highly appreciated.

Thanks,
MAN

jrgkraus
Active Contributor
0 Kudos

In debugging, is the module check_person_and_date being invoked? Are the values of structure SPLITIN populated when the module is entered?

0 Kudos

Dear Jorg,

Yes, module CHECK_PERSON_AND_DATE  is invoked and structure SPLITIN contains all values when entered in module.

Thanks,
MAN

Chintu6august
Contributor
0 Kudos

Hi,


there are other two cases which you need to consider :

1. When the fields on screen are not declared/present in the program as variable i.e there existence of the field is only on the screen.

2. may be the Field variables are getting cleared either in PAI or in PBO.

thank you!!

0 Kudos

Dear Chintu,

Thank you for your reply.
The field I am working on, is the standard field, so it is already maintained at the screen level and in program as well.

I tired debugging to find place where it may get clear, but didn't find any.

Please any other help from your side?

Thanks,
MAN

ayaz1
Explorer
0 Kudos

Dear Experts,

Any input please. Issue still not resolved.

Thanks,
MAN

shashank_agarwal
Participant
0 Kudos

This message was moderated.

ayaz1
Explorer
0 Kudos

Dear All,

Thank you for your valuable time. Issue was identified at the PBO level.

Let me make points which can help others in future.

Tcode : CO01

1) Did the required modification in the PAI module to disable F4 Help and Field validation on field SPLITIN-PERSON.

2) Renamed the Table control field Person through screen layout. 
3) In PBO, an internal table is created and  move the passed values to internal table first and then MODIFY it in the internal table used by SAP to display data on screen.Further entries in the table are moved to the structure CYSPLITIN.