Skip to Content
0
Former Member
Nov 09, 2005 at 01:22 PM

Problem with a call transaction

42 Views

Hi!

When I create a call transaction into a method the system put in the screen one value only but I have two values that I want to put into the screen.

For example:

DATA: BDC_LINE TYPE BDCDATA.
DATA: BDC_TAB  TYPE table of BDCDATA.

    clear bdc_tab.
    BDC_LINE-FNAM = 'KPP0B-VALUE(01)'.
    BDC_LINE-FVAL = '1'.
    APPEND BDC_LINE TO BDC_TAB.

    
    BDC_LINE-FNAM = 'KPP0B-VALUE(02)'.
    BDC_LINE-FVAL = '2'.
    APPEND bdc_line to BDC_TAB.


    CALL TRANSACTION 'KP06' USING bdc_tab
                            MODE 'A'
                            UPDATE 'S'.

I need a loop or what?

Thanks!!