Thứ Sáu, 10 tháng 11, 2017

SAP ERP Interface - How to make decision

Cty bạn sử dụng SAP ERP, và rồi chắc chắn có thêm nhiều hệ thống khác phục vụ việc quản lý, kinh doanh...Và rồi nhu cầu tích hợp, trao đổi, chia sẽ dữ liệu giữa các hệ thống này xảy ra, có thể trong giai đoạn dự án hoặc thời gian sau...SAP có nhiều cách để tích hợp. Nội dung sau giúp bạn có thêm kiến thức để quyết định lựa chọn 1 solution phù hợp nhất cho việc tích hợp này

1.
Style
Description
Type
Considerations
Send IDoc to SAP via IDoc framework
“Intermediate Document”
Asynchronous
Use SAP Connector
Standard or extended (customized) formats
XML profiles
Exchange directly through SAP framework
Submit IDoc directly to SAP IDoc importer

Atom must have direct connectivity to SAP (local install)
Receive outbound IDocs from SAP
“Intermediate Document”
Asynchronous
Use SAP Connector
Standard or extended (customized) formats
XML profiles
Exchange directly through SAP framework
Receive IDocs from SAP real time/event based

Single listener process

Atom must have direct connectivity to SAP (local install)
IDoc import/export via file
Same as above but IDocs are communicated as standalone files
Asynchronous
Use file-based connector such as Disk or FTP Connector
Scheduled SAP jobs export/import files
User Defined EDI profiles (can be difficult/tedious to configure by hand)

Atom may be local or remote depending on file location
BAPI/RFM
“Business API” or “Remote-enabled Function Module”
Synchronous
Use SAP Connector
Call SAP native API functions directly
XML profiles
Function may get or send data from SAP
Can connect to BAPIs and public RFMs

It is common to create custom functions (a.k.a. “Z functions”) to augment/wrap standard functions to meet specific integration requirements

Atom must have direct connectivity to SAP (local install)
Web Services
SAP Gateway
Synchronous
HTTP Client / OData Connector
REST, OData
SAP NW Gateway Installation and Configuration (SAP)

Content development and publishing (SAP ABAP Development)

Network considerations applicable as for other webserservices
Web Services
Web service gateway
Synchronous
For SOAP, use Web Services SOAP Connector
SOAP, REST, XML-over-HTTP
For REST or XML-over-HTTP, use HTTP Client Connector
Often just exposing BAPI/RFM as web service endpoint- Synchronous request/reply
XML profiles

Atom may be local or remote depending on web service accessibility

SOAMANAGER configuration (SAP)
Database
Direct integration to the SAP database.
N/A
This approach should not be used.

2.
SAP Interface
Sync. 
Async. 
Guaranteed Delivery
Reusable
Large Amount of Data
Scheduling 
Transactionality
Security
IDOC (inbound/outbound)
n/a
YES
YES
YES
YES
YES
YES
YES
ALE
n/a
YES
YES
YES
YES
YES
YES
YES
RFC/BAPI
YES
A
YES
YES
NO
n/a
YES
YES
Web Service with RM
YES
A
YES
YES
NO
n/a
YES
YES
Web Service w/o RM
YES
A
NO
YES
NO
n/a
NO
YES
File (FTP)
n/a
YES
NO
NO
YES
YES
NO
NO
SFTP
n/a
YES
NO
NO
YES
YES
NO
YES


Thứ Bảy, 21 tháng 10, 2017

ERROR => ShmCreate(62, 86526992) failed 1 - Multi System on 1 OS

Tình hình là mình có 1 cái server nghèo..., đã setup 2 SAP ECC 6.05 systems, đang chạy bình thường, nay thêm 1 system nữa thì không thể startup được 2 system, tức là cái thứ hai startup xong rồi là shutdown

Xem trace thì có 1 vài dòng ghi lỗi, những chắc cho developer nên rất khó hiểu.

Error đầu tiên là: ERROR => ShmCreate(62, 86526992) failed 1

Liên quan error này là việc thiếu Memory (Swap)

Solution: Tăng Swap lên cho đến khi start được cả 3 systems.

Tăng bao nhiêu thì xem thêm SNote đã đề cập trong những post trước - lâu lắm rồi


Thứ Tư, 18 tháng 10, 2017

Notes When Doing SAP Remote Client Copy SCC9

1. Run Report RSSPACECHECK for source client to check the size -refer SNote 118823 for more information

2. To avoid data inconsistencies, all the users in the source and target clients should logoff from the system.

3. RSCLICHK program should be run in the target system remotely before doing a client export. This program will give information about the missing definitions from the data dictionary in the target. After executing this program and getting successful results you can ensure that the client copy will have no problems. In case some tables are different; you can use SE11 to compare and adjust the table structure in both the system before the client copy. A remote test client copy also can be executed to know the differences between source client and target client

Thứ Sáu, 30 tháng 6, 2017

1131831 - Note Assistant: Activating objects after termination

Lúc Implement hay Deimplement a note hoặc thực hiện Reset Obsolete notes, thỉnh thoảng ta gặp lỗi cú pháp ở code của các chương trình ABAP, không release or active được.

SAP có note trên để help:
1131831 - Note Assistant: Activating objects after termination

Nội dung là:
  • Call transaction SE38 and run the report "SCWB_NOTE_ACTIVATE".
  • Enter the note number and choose "Execute".
  • Activate the affected objects.
Tuy nhiên, đã lỗi cú pháp nên lúc Active phải chọn:
 
you must choose "Activate anyway" in the dialog box

Như ở SAP note 71551 - Implementing advance corrections in the allocation processor

Thứ Ba, 23 tháng 5, 2017

Setup VS6 on WinXP SP3 Loop at Update Java - Fixed

Cái này ngoài SAP chút...

Khi setup VS6 on XP SP3, nó check và update Java VM gì đó rồi kêu restart nhưng cứ bị lặp lại, không cách nào thoát.

Giải pháp sau thành công với mình:

Tạo 1 file trống ở folder windows có tên là msjava.dll


Thứ Sáu, 12 tháng 5, 2017

Account uid="S-1-5-32-544" does not exist. Error when installing SAP ERP EhP 7

Chả biết SAP build SWPM kiểu gì mà Setup 608 thì OK

Sau đó Setup 607, đến phase gần cuối rồi (depool...) lai bị lỗi kiểu này

Account uid="S-1-5-32-544" does not exist

SAP có Note sau:
2445952 - Correct user account authorization to run SWPM / 70SWPM on Microsoft Windows

Trong đó có nói đến việc không sử dụng windows build-in account administrator

Nhưng có một số thắc mắc không biết các expert của SAP có nghĩ tới không?

- Tài liệu Install Guide nói vậy, nhưng cái đó không thể đảm bảo. Tại sao không check và dừng ngay từ đầu nếu thấy người dùng logon với administrator - Cái này SUM làm được mà.
- Nếu cho chạy sao rất nhiều bước config/db actions trước đó lại được mà đến bước gần cuối mới failed.
- Không đề xuất solution gì tiếp theo cho user

**************************************************************************
Cách của mình là: Stop nó thôi, đâu có lựa chọn nào.
Có thể Restart OS
Sau đó tạo 1 OS Account khác, bỏ vô Group Administrators
Sau đó Logon với Account mới này
Phải start SAP ở MMC
Sau đó chạy Setup lại, chọn tiếp tục...là chạy thành công

Thứ Hai, 24 tháng 4, 2017

SUM 14 and Later With Java Version and SAP Host Agent

Hệ thống hiện hành là SAP ECC 6.05/ Netweaver 7.02

- Theo một số thông tin thì bất kỳ Version nào của SUM cũng chạy được
Tuy nhiên mình thử với SUM version >14 trên NW 7.02 thì không được, lúc mới mở lên chỉ hiện câu như sau:
"The standalone Software Update Manager GUI is no longer supported. You have to use the browser-based SL Common GUI. For more information,  see section SL Common Graphic User Interface of the SUM user guide"

Cái này có lẽ như cần nâng cấp và kết hợp với SAP Host Agent?!?
Vì chưa có thời gian nên chưa xác minh lại việc này

-Trở lại sử dụng SUM14
-SUM14 báo lỗi sau:

java.security.cert.CertificateException: Certificates does not conform to algorithm constraints

SAP có note sau nói về vấn đề này, solution là dùng SUM16- nhưng dùng 16 thì lại có vấn đề như ở trên...luẫn quẫn

2274237 - Software Update Manager (SUM) SDTGUI error:java.security.cert.CertificateException: Certificates does not conform to algorithm constraints

Vậy quay lại dùng SUM14 thì bạn phải setup Java 6 là chạy được nhé