08-21-2016 11:09 AM
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
08-23-2016 6:04 AM
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.
08-21-2016 11:13 AM
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
08-21-2016 11:33 AM
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
08-21-2016 12:13 PM
08-21-2016 2:14 PM
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
08-21-2016 2:26 PM
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
08-21-2016 2:33 PM
In debugging, is the module check_person_and_date being invoked? Are the values of structure SPLITIN populated when the module is entered?
08-21-2016 2:41 PM
Dear Jorg,
Yes, module CHECK_PERSON_AND_DATE is invoked and structure SPLITIN contains all values when entered in module.
Thanks,
MAN
08-21-2016 12:49 PM
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!!
08-21-2016 2:31 PM
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
08-21-2016 4:06 PM
Dear Experts,
Any input please. Issue still not resolved.
Thanks,
MAN
08-22-2016 10:15 AM
08-23-2016 6:04 AM
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.