16.12.10

SAP Note 13882 - Handling of POPUP_TO_CONFIRM in batch input

Symptom:

You find a confirmation dialog box (pop-up window) in an application and want to provide it with data in batch input. You do not know how to do so because the OK code input does not work.

Cause and prerequisites

These dialog boxes (POPUP_TO_CONFIRM) do not have any input-capable fields; only pushbuttons.

Solution

Solution 1:
Enter the prefix '=' for OK CODE field (function code) BDC_OKCODE.
For example:

=NO or
=YES or
=CANC

Do not use notation '/00' in BDC_OKCODE for data release!


Solution2:
You position the cursor on the pushbutton and press Enter.
How does this work technically?

  • Use F1 and technical info to find out the name of the key field behind the pushbutton.
Provide batch input field "BDC_CURSOR" with the key field name and do not enter BDC_OKCODE.
(Do not use notation '/00' in BDC_OKCODE for data release!)

Example: 'POPUP_TO_CONFIRM_STEP'
Screen: SAPLSPO1 0100
-------------------------------------------------------------------

Field name Value Description
---------- -------------- ------------------------------
BDC_CURSOR SPOP-OPTION1 for YES
or
BDC_CURSOR SPOP-OPTION2 for NO
or
BDC_CURSOR SPOP-OPTION2 for CANCEL

Additional key words

Batch input
SAPLSPO1 0100
SAPLSPO1 0200
SAPLSPO1 0300
SAPLSPO1 0400

No comments:

Post a Comment