Application Development 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: 

BDC Recording - select column in table control

0 Kudos

Hello,

I am having trouble with BDC recording while trying to refresh Standard Sales Price for promotions (WAK2). There are 3 steps in the recording after entering the promtion.

  1. Select Standar SP column in Price Planning tab.
  2. Click on Mass Maintain button which will open a pop-up window.
  3. Execute the pop-up window with Only refresh standard sales price radio button selected.

Unfortunately, the event (Ok-code) of selecting the table control column in step 1 is not captured in the BDC recording. This results in an information message "No column was selected" when we proceed to step 2.

Is there a way in ABAP to capture selection of column in BDC ?

Thank you,

M

1 ACCEPTED SOLUTION

Sandra_Rossi
Active Contributor
0 Kudos

Unfortunately, Ctrl + Space (column selection) is not assigned an internal key number (70561 - Function key codes for OKcode field in batch), so it's not possible. One of the many limits of Batch Input... Try SAP GUI Scripting if you can run it online/dialog by users.

2 REPLIES 2

Sandra_Rossi
Active Contributor
0 Kudos

Unfortunately, Ctrl + Space (column selection) is not assigned an internal key number (70561 - Function key codes for OKcode field in batch), so it's not possible. One of the many limits of Batch Input... Try SAP GUI Scripting if you can run it online/dialog by users.

dev_parbutteea
Active Contributor
0 Kudos

hi,

In step 2 , you should code for 'select all' button. Selecting individual rows will be difficult.

then step 3 --> 'Mass maintain