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

Record_tab not containing all column data.

Former Member
0 Likes
485

Hi,

We are creating a z search help for a standard search help existing for Agreement(Konnr) in iw32.(PM module)

When f4 is pressed on Agreement , standard search help displays 7 columns .

However,in the program exit,Out of 7 , 3 column's values has been merged and is appearing in record_tab ,

But When the output is displayed,it is showing all the 7 column data.

But i need all the 7 fileds to be merged and displayed in the Record_tab for further processing

Please help....

Thanks in advance.

Viswanadh

Hi,

We are creating a z search help for a standard search help existing for Agreement(Konnr) in iw32.(PM module)

When f4 is pressed on Agreement , standard search help displays 7 columns .

However,in the program exit,Out of 7 , 3 column's values has been merged and is appearing in record_tab ,

But When the output is displayed,it is showing all the 7 column data.

But i need all the 7 fileds to be merged and displayed in the Record_tab for further processing

Please help....

Thanks in advance.

Viswanadh

1 REPLY 1
Read only

Former Member
0 Likes
397

Hi,

Not sure I understand your problem but .. Are you using the function module F4UT_RESULTS_MAP, to format the record_tab data?

something like:


*  Selección de datos...
    SELECT bkpf~BUKRS BELNR GJAHR bkpf~BLART bLDAT
                 BUDAT USNAM CPUDT LOTKZ
        UP TO callcontrol-maxrecords ROWS
          INTO TABLE tbkpf FROM bkpf JOIN zispsclasesdoc ON bkpf~bukrs =
                                                                  zispsclasesdoc~bukrs and  bkpf~blart = zispsclasesdoc~blart
     WHERE bkpf~bukrs IN r_bukrs
         AND belnr IN r_belnr
         AND gjahr IN r_gjahr
         AND bkpf~blart IN r_blart
         AND bldat IN r_bldat
         AND budat IN r_budat
         and usnam in r_usnam
         and cpudt in r_cpudt
         and lotkz in r_lotkz.
 
     REFRESH: record_tab.
    CALL FUNCTION 'F4UT_RESULTS_MAP'
*   EXPORTING
*       SOURCE_STRUCTURE         =
*       APPLY_RESTRICTIONS       = ' '
        TABLES
          shlp_tab                  =  shlp_tab
          record_tab              = record_tab    <== record_tab to fill
          source_tab             = tbkpf              <== your data
       CHANGING
          shlp                        = shlp
          callcontrol               = callcontrol
*  EXCEPTIONS
*    ILLEGAL_STRUCTURE        = 1
*     OTHERS                   = 2
              .