Data Transfer#
Options#
- Direct Input (BMV0)
- Data Transfer Workbench (SXDA)
- ALE/XI
- Legacy System Migration Workbench (trx LSMW)
- CALL TRANSACTION USING
- Batch Input
See also Programming with the Background Processing System
Most used are option 5 + 6. See the difference here.
Batch Input#
- You can import data with "Batch Input Sessions".
- Batch Input are processed the same way as if the data are entered manually, so you need to care also about possible pop-ups occuring in the screens. The Dynamic Actions created with PA40 are not processed, though.
- Menu > System > Services > Batch Input > ...
- SAP Menu > Tools > Administration > Monitor > Batch Input
- Transactions:
x.SM35 | To view and process |
x.SHDB | Transaction Recorder |
r.RSBDCDRU | List content of batch input |
r.RSBDCSUB | general execution report, which can be wrapped in your own reports |
r.RSBDCDAT | Batch-Input: Export und Import von Mappen |
r.RSBDCTL6 | Mappen löschen |
r.RSBDC_REORG | Mappen löschen (nur "Processed") |
r.ZHRG_SM35_ERROR_EMPLOYEE | Fehleranalyse (customized) |
t.APQI | Queue INFO DEFINITION (DATATYP=BDC, GROUPID=Mappenname) |
t.APQD | Queue DATA DEFINITION |
t.APQL | Logging |
f.BDC_OBJECT_READ | Lesen BI Mappe |
f.HR_T588M_GET_DYNPRO | Get Dynpro number dynamically |
- Some fields like MA-Grp/Krs or PersBer/TeilBer can only be changed via an action (PA40), but generally you can use batch inputs on all screens.
Hintergrund / Vordergrund#
SM65 | Prüfen, ob Batchprozesse grundsätzlich laufen bzw. Server aktiv ist |
Error Message 00/329#
Message="&, Erzeugen Mappe .&. ist nicht zulässig, da letzte Mappe noch aktiv"en="BDC_OPEN_GROUP, create session .CPPB4N1104. not allowed, as last session is still active"
=> The map name is a temporary one, which you will not find anywhere (t.APQ*). The executing report is opening a map really twice. Check if there is an iteration in the report where the name is not changing the second time...
=> Or there may be multiple sessions from the user: SCN
Restart a locked batch input job#
see here
Menu > Mappe > Freigeben !
Then the remaining transactions are put into a new session. The processed ones are still available in the protocol.