To Pass data from one screen to other using Module Pool
I have an Issue.I have to make changes in standard transaction CIC0 (Complaints) in CRM.For that i have to add a new field 'Product Hierarchy' on 2 screens.
1. Fast entry screen
2.Customer fields screen
This field 'Product Hierarchy' should get populated depending on other field 'Product'.
The 'Product Hierarchy' field on Fast entry screen is populated by fetching the data from a Function Module with input as 'Product'.
The 'Product Hierarchy' field on Customer fields screen is populated using a BADI.
There is a condition that when for a 'Product' the respective 'Product hierarchy' field is empty user should be able to select a value from F4 help.
The problem is I am unable to relate this 2 screens having the same field 'Product Hierarchy'. When i select some value in 'Product hierarchy' using F4 on Fast entry screen the same value should appear on the Customer fields screen as well and vice-versa.But this is not happening.I am able to put 2 different values in 2 different screens having same Field name 'Product Hierarchy' which is not acceptable.The screen field name for both the fields are same.
Is some thing missing in the PBO and PAI?Do i need to do any kind of validations.
Please send me your valuable replies.