Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Multiple Bank Account Number Issue.

Hello Guys,

    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??

Former Member
Former Member replied

Hi Gaurav,

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.

  APPEND SPOPLIST.

Endloop.

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.

0 View this answer in context

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question