Basic Product Creation
Create simple products with essential attributes, categories, and basic pricing structure
Basic Product Creation
Create simple products with essential attributes, categories, and basic pricing structure
Требования
Предварительные Условия
- Catalog structure exists
- Category hierarchy defined
- Understanding of product types
Версия SAP Commerce
Необходимые Модули
Метаданные
Влияние на Бизнес
Establishes basic product catalog foundation for e-commerce
Параметры
tools.sapCommerceImpexLibrary.ui.parameterGuide
Код Impex
# Basic Product Creation
# Creates simple products with essential attributes
INSERT_UPDATE Product;code[unique=true];catalogVersion(catalog(id),version)[unique=true];name[lang=en];description[lang=en];unit(code);approvalStatus(code);supercategories(code,catalogVersion(catalog(id),version))
;PROD001;$catalogVersion;Smartphone Basic;High-quality basic smartphone with essential features;pieces;approved;$categoryCode:$catalogVersion
;PROD002;$catalogVersion;Smartphone Pro;Advanced smartphone with premium features;pieces;approved;$categoryCode:$catalogVersion
;PROD003;$catalogVersion;Smartphone Max;Top-tier smartphone with cutting-edge technology;pieces;approved;$categoryCode:$catalogVersion
# Set product prices
INSERT_UPDATE PriceRow;productId[unique=true];unit(code[unique=true,default=pieces]);currency(isocode)[unique=true];price;minqtd;unitFactor;net
;PROD001;pieces;USD;$basePrice;1;1;false
;PROD002;pieces;USD;#{($basePrice * 1.5)};1;1;false
;PROD003;pieces;USD;#{($basePrice * 2.0)};1;1;false
# Set stock levels
INSERT_UPDATE StockLevel;available;warehouse(code)[default='default'][unique=true];inStockStatus(code)[default='forceInStock'];maxPreOrder;maxStockLevelHistoryCount;overSelling;preOrder;productCode[unique=true];reserved
;100;default;forceInStock;0;-1;0;0;PROD001;0
;50;default;forceInStock;0;-1;0;0;PROD002;0
;25;default;forceInStock;0;-1;0;0;PROD003;0
# Add product attributes
UPDATE Product;code[unique=true];ean;manufacturerName;manufacturerAID;weight;summary[lang=en]
;PROD001;1234567890123;TechCorp;TC-SB001;0.18;Reliable smartphone for everyday use
;PROD002;1234567890124;TechCorp;TC-SP001;0.19;Professional smartphone with advanced features
;PROD003;1234567890125;TechCorp;TC-SM001;0.20;Premium smartphone with maximum performance
tools.sapCommerceImpexLibrary.ui.sections.relatedSnippets
How to find SAP Commerce Impex snippets?
Access enterprise-grade SAP Commerce Impex snippet library with professional templates. Find solutions for common tasks, data imports, and system configuration. Features include categorized snippets, documentation, and best practices.
Функции
- Comprehensive Impex library with 20+ prebuilt snippets
- Snippet categories covering all major SAP Commerce areas
- Advanced search and filtering capabilities
- Snippet preview and parameter configuration
- Risk assessment and difficulty ratings
- SAP Commerce version compatibility
- Module requirements validation
- Copy to clipboard functionality
- Favorites and usage history tracking
- Enterprise-grade templates and examples
Как использовать
- Browse snippets by category or use search to find specific functionality
- Preview snippet details including parameters and prerequisites
- Check SAP Commerce version compatibility and module requirements
- Configure snippet parameters for your specific environment
- Copy Impex code to your SAP Commerce HAC Import/Export tool
- Test in development environment before production use
- Save favorite snippets for quick access and reuse
Часто задаваемые вопросы
What is SAP Commerce Impex?
Impex is SAP Commerce's data import/export framework that uses CSV-like syntax to create, update, and manage commerce data including products, customers, orders, and system configurations.
Are these Impex snippets safe for production?
All snippets include risk assessments and prerequisites. Always review carefully, test in development first, ensure proper backups, and validate parameters before production use.
Can I modify the snippets for my specific needs?
Yes, you can copy any snippet and modify it according to your requirements. The parameter system allows for easy customization of snippet behavior and values.
What SAP Commerce versions are supported?
Snippets support multiple SAP Commerce versions from 6.7 to 2211. Each snippet shows compatible versions and required modules for proper functionality.
How do I execute an Impex snippet?
Copy the snippet code, paste it into SAP Commerce HAC (Hybris Administration Console) Import/Export tool, configure parameters, and execute. Always test with dry-run first.
What are the different risk levels?
Risk levels indicate potential impact: Low (safe operations), Medium (moderate changes), High (significant impact), Critical (major system changes requiring careful planning).