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

Read IBAN value from FD02 subscreen

0 Likes
1,780

Hi. I need read all IBAN_VAL fields from FD02.

I try it using field symbols with ASSIGN ('(SAPMF02D)IBAN[]') but it doesn't work. The other option I try to use is DYNP_VALUES_READ but the function returns an 'INVALID_DYNPROFIELD' exception. If I use the dynpro number 7131 and the error is 'INVALID_DYNPRONAME'.

'

Does anybody know what is the problem? Thanks.

1 ACCEPTED SOLUTION
Read only

0 Likes
1,606

I find a solution for my case. In order to find the information of the IBAN values on the screen, the report create a memory table named XTIBAN[] and you can read it inside the exit through (SAPLIBMA)XTIBAN[]

 DATA: lw_field(50) TYPE c VALUE '(SAPLIBMA)XTIBAN[]'.
 FIELD-SYMBOLS: <f_xtiban> TYPE ANY TABLE,
                <f_iban> TYPE ANY.
 
 ASSIGN (lw_field) TO <f_xtiban>.
 IF <f_xtiban> IS ASSIGNED.
 LOOP AT <f_xtiban> ASSIGNING <f_iban>
         "Here we can read the IBAN value
 ENDLOOP.

Hi. I need read all IBAN_VAL fields from FD02.

I try it using field symbols with ASSIGN ('(SAPMF02D)IBAN[]') but it doesn't work. The other option I try to use is DYNP_VALUES_READ but the function returns an 'INVALID_DYNPROFIELD' exception. If I use the dynpro number 7131 and the error is 'INVALID_DYNPRONAME'.

'

Does anybody know what is the problem? Thanks.

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,606

Did you look at PBO logic of dynpro 7131 and 0130.

(Module xknbk_anzeigen, Form IBAN_PBO, FM READ_IBAN_EXT, etc.)

Read only

0 Likes
1,606

This FM read from TIBAN table but the IBAN data can be wrong. The validation I'm trying to do need read the dynpro in order to verify the IBAN data from the account instead of the table.

Read only

0 Likes
1,607

I find a solution for my case. In order to find the information of the IBAN values on the screen, the report create a memory table named XTIBAN[] and you can read it inside the exit through (SAPLIBMA)XTIBAN[]

 DATA: lw_field(50) TYPE c VALUE '(SAPLIBMA)XTIBAN[]'.
 FIELD-SYMBOLS: <f_xtiban> TYPE ANY TABLE,
                <f_iban> TYPE ANY.
 
 ASSIGN (lw_field) TO <f_xtiban>.
 IF <f_xtiban> IS ASSIGNED.
 LOOP AT <f_xtiban> ASSIGNING <f_iban>
         "Here we can read the IBAN value
 ENDLOOP.