SP 적용 중 buffer 관련 에러가 발생하면서 작업이 진행이 되지 않을 때
SP 적용 중 IMPORT_PROPER 단계에서 다음과 같은 에러가 발생함
- Error in phase: IMPORT_PROPER
- Reason for error: TP_BUFFER_INCONSISTENCY
- Return code: 0008
- Error message: Pkgs. in queue don"texist in the tp buffer (e.g. SAPKB64010)
- Error message: Wrong sequence of Packages in the tp buffer (e.g.SAPK-60001INFINBASIS)
※ 에러 메세지 유형은 여러가지 경우가 있음
※ 실제 이번에 발생한 케이스는 Wrong sequence 에러였음.
아래와 같은 방법으로 해결함
1. SP Queue를 buffer에서 제거
tp DELFROMBUFFER <SP_Number> SID U1pf=TP_Profile tag=spam -DCTC=0 -Dtransdir=/usr/sap/trans
tp DELSYNCMARK <SP_Number> SID pf=TP_Profil -DCTC=0 -Dsourcesystems=tag=SPAM -Dtransdir=/usr/sap/trans
2. SP Queue를 buffer에 재등록
tp ADDTOBUFFER <SP_Number> SID U1pf=TP_Profile tag=spam -DCTC=0 -Dtransdir=/usr/sap/trans
tp SETSYNCMARK <SP_Number> SID U1 pf=TP_Profile -DCTC=0 -Dsourcesystems=tag=SPAM -Dtransdir=/usr/sap/trans
3. buffer 확인
tp pf=TP_Profile showbuffer SID client=000