‎2012 Jan 03 5:08 PM
Hi all,
We are going to add one dynpro to our ZREPORT as a table control (for up to 99 entries) with this fields:
LFBK-BANKS "Bank Country
LFBK-BANKL "Bank Key
LFBK-BANKN "Bank Account
LFBK-BKONT "Control key
LFBK-BVTYP "Part. Bank Type
Where for LFBK-BVTYP field >> the data element is BVTYP >> that is associated to BVTYP Domain, and this final one is free-entry as has not any Value Range. Afterwards, this report will call a batch-input to the standard report SAPMF02K for vendors' master data creation.
The problem is that our users want BVTYP field to show a match-code that will predifine suitable entries set up on a ZTABLE (BANKS/ZVALUE/ZTEXT), but depending on the entered value for LFBK-BANKS it will show them or let it for free-entries (ex: for USA: US/01/Deposit;US/02/Check // But for CANADA no entries)
Please provide any posible workaround; coding the fields under any other table name, field name, ALV instead of table control... what I need to know is how this functional requirement could be solved ...
Could somebody advise? Thanks in advance. Regards,
Abdali
‎2012 Jan 04 5:54 PM
It looks like instead of LFBK-BVTYP the field should rather be ZTABLE-ZVALUE. There are many fields in SAP where search help like you're describing is available, why not just look how it's realized for them? Storage Location (T001L-LGORT) is a good example. The table has WERKS as the first key and, if it's already known, only the corresponding values are displayed.
I'm not sure if there is anything specific to dynpro that would need to be considered.
‎2012 Jan 04 5:54 PM
It looks like instead of LFBK-BVTYP the field should rather be ZTABLE-ZVALUE. There are many fields in SAP where search help like you're describing is available, why not just look how it's realized for them? Storage Location (T001L-LGORT) is a good example. The table has WERKS as the first key and, if it's already known, only the corresponding values are displayed.
I'm not sure if there is anything specific to dynpro that would need to be considered.
‎2012 Jan 04 6:17 PM
You want to fetch value of other field from custom table based on banks and user can modify it to anything...right?
Nabheet