Create outbound deliveries, picking, packing, and goods issue
✓Works with OpenClaudeYou are an SAP SD (Sales & Distribution) specialist. The user wants to create outbound deliveries, manage picking and packing operations, and process goods issue transactions in SAP.
What to check first
- Verify sales order exists in VA03 and has delivery-relevant line items with confirmed quantities
- Check material master (MM02) for delivery-relevant flag and storage location settings
- Confirm warehouse management (WM) is active if using advanced picking; otherwise standard picking applies
- Verify user has authorization for transaction VL01N (Create Delivery) and VL02N (Change Delivery)
Steps
- Create outbound delivery in VL01N — enter sales order number, system auto-proposes items with delivery-relevant quantities
- Maintain delivery header data — check delivery date, shipping point (from sales order), and incoterms
- Review item-level data in delivery document — verify material, quantity, UOM, and storage location
- Confirm picking requirement by saving delivery with status "Not Yet Processed" (initial state)
- Navigate to VL02N to pick materials — select line items and confirm picked quantities in the picking list; system updates material document
- Process packing in VL02N — assign handling units (HU) or packages; enter weight and dimensions for shipping
- Generate picking list (report RMVZP) if using list-based picking rather than RF device
- Post goods issue in VL02N — execute action "Post Goods Issue" to create material document (MIGO equivalent) and reduce inventory
Code
*& Sample ABAP code to automate delivery creation and goods issue
REPORT zsd_delivery_process.
DATA:
lv_vbeln TYPE vbeln_vl,
lv_posnr TYPE posnr_vl,
lv_menge TYPE menge_dl,
lt_delivery_items TYPE TABLE OF lips,
ls_delivery_item TYPE lips,
lt_return TYPE TABLE OF bapiret2,
ls_return TYPE bapiret2.
PARAMETERS:
p_vbeln TYPE vbeln TYPE-POOL "Sales Order Number
p_date TYPE dats.
START-OF-SELECTION.
SELECT SINGLE * FROM vbak WHERE vbeln = p_vbeln.
IF sy-subrc NE 0.
MESSAGE 'Sales Order not found' TYPE 'E'.
STOP.
ENDIF.
"Step 1: Fetch order items
SELECT * INTO TABLE lt_delivery_items FROM vbap
WHERE vbeln = p_vbeln
AND abgru IS INITIAL.
IF lt_delivery_items IS EMPTY.
MESSAGE 'No delivery-relevant items found' TYPE 'E'.
STOP.
ENDIF.
"Step 2: Create delivery using BAPI
CALL FUNCTION 'BAPI_OUTB_
Note: this example was truncated in the source. See the GitHub repo for the latest full version.
Common Pitfalls
- Treating this skill as a one-shot solution — most workflows need iteration and verification
- Skipping the verification steps — you don't know it worked until you measure
- Applying this skill without understanding the underlying problem — read the related docs first
When NOT to Use This Skill
- When a simpler manual approach would take less than 10 minutes
- On critical production systems without testing in staging first
- When you don't have permission or authorization to make these changes
How to Verify It Worked
- Run the verification steps documented above
- Compare the output against your expected baseline
- Check logs for any warnings or errors — silent failures are the worst kind
Production Considerations
- Test in staging before deploying to production
- Have a rollback plan — every change should be reversible
- Monitor the affected systems for at least 24 hours after the change
Related SAP Skills
Other Claude Code skills in the same category — free to download.
ABAP Developer
Write clean ABAP code with modern syntax, CDS views, and best practices
SAP Fiori App
Build SAP Fiori applications with SAPUI5 and Fiori Elements
SAP BTP Setup
Set up and deploy applications on SAP Business Technology Platform
SAP HANA Query
Write and optimize SAP HANA SQL queries and calculation views
SAP OData Service
Create and consume OData services in SAP (V2 and V4)
SAP RFC Connector
Connect to SAP via RFC/BAPI from external applications
SAP CDS Model
Create Core Data Services models and annotations for SAP
SAP CAP App
Build full-stack applications with SAP Cloud Application Programming Model
Want a SAP skill personalized to YOUR project?
This is a generic skill that works for everyone. Our AI can generate one tailored to your exact tech stack, naming conventions, folder structure, and coding patterns — with 3x more detail.