sap-le
Use when working on LE module tasks — shipping, transport, warehouse management, delivery processing, or handling units. Provides process flows, key table relationships, common query patterns, field notes, SAP quirks, and customizing tables for the LE module.
- License 许可
- AGPL-3.0
- 最近更新
- 2026-11-14
- Stars
- ★ 25
- Forks
- 9
01 前言 Front Matter
- name
- sap-le
- owner
- le-analyst
- scope
- co-abap
- status
- active
- version
- 1.0.0
- metadata
- { "type": "module", "triggers": [ "sap-le", "shipping", "transport", "warehouse", "delivery", "handling unit" ] }
- relates_to
- [ { "type": "composes_with", "skill": "sap-sd" }, { "type": "follows", "skill": "sap-pp" } ]
- description
- Use when working on LE module tasks — shipping, transport, warehouse management, delivery processing, or handling units. Provides process flows, key table relationships, common query patterns, field notes, SAP quirks, and customizing tables for the LE module.
- last_reviewed
- 1786752000000
- prerequisites
- vsp MCP server
03 SKILL.md 正文
LE Analyst Context — Logistics Execution
Load this skill when activating the LE Analyst role. Provides deep domain knowledge for shipping, transport, and warehouse processes.
Process Flow
VL01N (Create Delivery ← SD Sales Order)
└─► VL02N (Picking Instruction / Quantity Confirmation)
├─► LT01 (Create Transfer Order — WM Warehouse)
│ └─► LT0A (Confirm TO)
└─► VL02N PGI (Post Goods Issue)
└─► VT01N (Create Shipment)
└─► VT02N (Execute Shipment / Check-in & Check-out)
- Delivery Type:
LF(Standard),LR(Return),NL(Replenishment) - Transport Type: Road (
01), Rail (02), Air (04) - Warehouse Management: IM (Inventory Management) → WM (Warehouse Management) → EWM (Extended Warehouse Management)
Key Table Relationships
LIKP (Delivery Header)
├── LIPS (Delivery Item)
│ └── VBFA (Document Flow → Sales Order Backtrace)
└── VEKP (Handling Unit Header)
└── VEPO (Handling Unit Item)
VTTK (Shipment Header)
└── VTTP (Shipment Stage)
└── VTTS (Shipment Stage Stop)
└── VTSP (Stop-Delivery Assignment)
LTAK (Transfer Order Header — WM)
└── LTAP (Transfer Order Item)
└── LGPLA (Storage Location Info)
Common Query Patterns
-- Deliveries with Incomplete Goods Issue Search
SELECT vbeln, erdat, kunnr, lfart, wbstk
FROM likp
WHERE wbstk <> 'C' AND erdat >= '20260101'
ORDER BY erdat DESCENDING
-- Handling Unit Content Search
SELECT a~exidv, a~brgew, a~gewei, b~matnr, b~lgmng, b~meins
FROM vekp AS a JOIN vepo AS b ON a~venum = b~venum
WHERE a~vpobj = '02' AND a~vpobjkey = '<DELIVERY_NUMBER>'
-- Delivery Mapping per Shipment
SELECT a~tknum, a~tpbez, b~vbeln AS delivery, c~vstel
FROM vttk AS a
JOIN vttp AS b ON a~tknum = b~tknum
JOIN vtsp AS c ON b~tknum = c~tknum AND b~tsnum = c~tsnum
WHERE a~tpbez >= '20260501'
-- Unconfirmed WM Transfer Orders
SELECT a~tanum, a~lgnum, a~bdatu, b~matnr, b~sollm, b~istme
FROM ltak AS a JOIN ltap AS b ON a~lgnum = b~lgnum AND a~tanum = b~tanum
WHERE a~kquit = ' ' AND a~bdatu >= '20260101'
Key Field Notes
| Table | Field | Description |
|---|---|---|
| LIKP | WBSTK | Goods Issue Status: =Not Processed, A=Partial, C=Completed |
| LIKP | KODAT | Picking Date |
| LIPS | PIKMG | Picking Quantity |
| VEKP | EXIDV | External HU Number (Barcode) |
| VTTK | TKNUM | Shipment Number |
| LTAK | KQUIT | TO Confirmation Status: =Unconfirmed, Q=Confirmed |
SAP Quirks & Known Issues
- PGI Reversal:
VL09transaction — cancellation of goods movement. Cancellation document created in MSEG. - WM-IM Integration: All WM TOs must be confirmed (LTAK.KQUIT = 'Q') before IM PGI.
- EWM vs WM: EWM is a separate system (/SCWM/ namespace), WM uses LG* tables within the same SAP system.
- Handling Unit Nesting: VEKP is a recursive structure — VEPO.VENUM can refer to another VEKP.
- Shipment Consolidation: VTTP.VBELN groups multiple deliveries into a single shipment.
Standard Customizing Tables
| Table | Purpose |
|---|---|
| TVLK | Delivery Types |
| T173 | Shipping Conditions |
| T001L | Storage Location (IM) |
| T300 | Warehouse Number (WM) |
| T301 | Storage Type (WM) |
Strategic BAPIs & APIs
Outbound Delivery Change (Picking / PGI)
BAPI: BAPI_OUTB_DELIVERY_CHANGE
DELIVERY: Delivery number (VBELNfromLIKP)DELIVERY_HEADER_CHANGES:ACTUAL_GI_DATE,BILL_OF_LADING,ROUTEDELIVERY_HEADER_CONTROL:GOODS_ISSUE=Xto trigger Post Goods IssueDELIVERY_ITEM_CHANGES:DELIV_QTY,MATERIAL,BATCH— item-level updatesRETURN: Standard BAPI return — commit withBAPI_TRANSACTION_COMMIT
Outbound Delivery Goods Issue Confirmation / Cancellation
BAPI: BAPI_OUTB_DELIVERY_CONFIRM_DEC
DELIVERY: Delivery number to confirm or reverse (VBELN)CONFIRM_DEC_CONTROL:ACTION—C=Confirm Goods Issue,R=Reverse/Cancel Goods IssuePOSTING_DATE: Date for the confirmation postingRETURN: Standard BAPI return — commit withBAPI_TRANSACTION_COMMIT- Note: Cancellation creates a reversal goods movement in
MSEG; mirrorsVL09transaction
WM Transfer Order Creation
BAPI: BAPI_WHSE_TO_CREATE
WAREHOUSE_NO: Warehouse Number (LGNUMfromT300)REFERENCE_DOC_NO: Source document (e.g., delivery number or TO reference)TRANSFER_ORDER_ITEMS:MATNR,WERKS,LGORT,SOLLM(target qty),NLTYP(dest. storage type),NLPLA(dest. bin)RETURN: Standard BAPI return — confirm TO separately viaLT0AorBAPI_WHSE_TO_CONFIRM
WM Transfer Order Confirmation
BAPI: BAPI_WHSE_TO_CONFIRM
WAREHOUSE_NO: Warehouse Number (LGNUM)TANUM: Transfer Order Number to confirmCONFIRMED_ITEMS: Table ofTAPOS(item number),MATNR,ISQUI(confirmed qty),ISEUM(UoM) — leave empty to confirm all items at target quantitiesRETURN: Standard BAPI return — setsLTAK.KQUIT = 'Q'; commit withBAPI_TRANSACTION_COMMIT
Context
This skill provides the LE Analyst with comprehensive domain knowledge for the Logistics Execution module in SAP. It is loaded when the active task involves shipping, transport management, warehouse operations (WM), delivery processing, or handling unit management. The skill covers outbound logistics flows, WM integration, query patterns, and standard BAPIs for delivery and warehouse operations.
When to Use
- Creating or modifying outbound deliveries and picking instructions (VL01N/VL02N)
- Managing shipping, transport, and shipment completion (VT01N/VT02N)
- Working with Warehouse Management transfer orders (LT01/LT0A)
- Analyzing handling units, packing, or nested HU structures (VEKP/VEPO)
- Processing or reversing goods issue for deliveries (MIGO/VL09)
- Building queries against LE tables (LIKP, LIPS, VTTK, LTAK, VEKP)
Execution Steps
- Review the Process Flow section to understand the delivery-to-shipment-to-WM chain.
- Query key tables using the Key Table Relationships section — trace from LIKP/LIPS (delivery) through VTTK/VTTP (shipment) to LTAK/LTAP (WM).
- Apply Common Query Patterns for incomplete deliveries, handling unit content, shipment mapping, and unconfirmed transfer orders.
- Check SAP Quirks & Known Issues for PGI reversal behavior, WM-IM integration sequence, EWM vs WM differences, and HU nesting.
- Use Standard Customizing Tables to validate delivery types, shipping conditions, and warehouse/storage configuration.
- Leverage Strategic BAPIs & APIs for delivery change, goods issue confirmation, and WM transfer order creation/confirmation.
Output Format
Structured analysis output should include: delivery and shipment reference numbers, warehouse and storage location context, picking and GI status indicators, handling unit content summaries, and transport stage timelines. Include WM transfer order status when warehouse operations are in scope.
Related Skills
abap-dev— ABAP development patterns for LE custom programs and delivery user exitssap-sd— SD integration for sales order-to-delivery document flowsap-fi— FI integration for goods issue postings and shipment cost settlementsap-mm— MM integration for stock transport and replenishment deliveriespost-write-chain— Post-write review and validation workflowperformance-tuning— Query optimization for LIPS and LTAP high-volume tables
04 同仓库更多 Skills
discovery
暂无简介
x
暂无简介
root-skill
暂无简介
update-bun-packages
Scans, updates, and upgrades Bun dependencies and packages across the AI workspace (L0) or standalone project (L2/L3) while ensuring lockfile consistency, package.json version bumps, and security compliance. Use when: updating bun dependencies, upgrading packages to @latest, checking outdated packages in workspace or templates.
ui-ux-design-intelligence
Provides comprehensive UI/UX design capabilities including design system creation, component design, visual hierarchy, and user-centered design principles. Use when: building design systems, creating visual designs, designing UI components, or establishing design specifications.
translate
Translation helper for README and documentation files with diff preview and guidance