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

Match-code depending on STRASS field.

Former Member
0 Likes
571

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

1 ACCEPTED SOLUTION
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
495

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.

2 REPLIES 2
Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
496

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.

Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
495

You want to fetch value of other field from custom table based on banks and user can modify it to anything...right?

Nabheet