Show TOC

 Batch Input Procedure: Notes

Copying business partners

Problem:

In the dialog, you select the role of the partner by double-clicking on the corresponding line; however, this is not possible for the batch input procedure.

Solution:

There are two possibilities:

Position cursor for batch input

Restrict values (SAP recommendation)

Using BDC_CURSOR, position the cursor for batch input.

bdcdata-fnam = BDC_CURSOR.

bdcdate-fval = 03/02.

append bdcdata.

The value for bdcdata-fval indicates the position (line/column) on the screen. Note that the first role is not in the first row but the third.

Disadvantage: For this procedure, you have to know the exact line in which the role to be selected appears. If the role assignment is changed in Customizing, the position of the roles may also change in the list.

On the screen containing the list of roles

  1. Choose Restrict values (Ctrl+F5).

  2. A dialog box appears in which you enter the role.

  3. After leaving the dialog box, you return to the partner list; the role you entered now appears right at the top and can be selected by using 'BDC_CURSOR' , as shown opposite.