Multiple Bank Account Number Issue.
Previously, we were having only 1 Bank account number for each Vendor in T-Code XK03.
Now, Scenario has been change and now we have 2 account nos. for some vendors.
Problem is when we print RTGS (customise program) its always capture first account Number.
Its there any way by which user can select bank account number by its choice from multiple account number at the time of printing form??
Sample code as follows:
DATA: BEGIN OF SPOPLIST OCCURS 15.
INCLUDE STRUCTURE SPOPLI.
DATA: END OF SPOPLIST.
DATA: ANTWORT TYPE C.
Loop at it_lfbk into wa_lfbk.
SPOPLIST-VAROPTION = wa_lfbk.
CALL FUNCTION 'POPUP_TO_DECIDE_LIST'
EXPORTING TITEL = 'SELECT'
TEXTLINE1 = 'SELECT BANK ACCOUNT NUMBER'
MARK_MAX = 1
IMPORTING ANSWER = ANTWORT
TABLES T_SPOPLI = SPOPLIST
EXCEPTIONS TOO_MUCH_ANSWERS = 1
TOO_MUCH_MARKS = 2.