T4S4  18.2 C7549 A21431
Teamcenter Gateway for SAP S/4HANA API Reference
TPSAP::ZPTC Namespace Reference

Functions

 ZPTC_Delete ?Tagged? ?Id?
 Calls the corresponding ZPTC delete ABAP function in SAP to delete one line of the T4S ZPTC database table. More...
 
 ZPTC_Dyn_Delete ?Tagged? ?Where0? ?Where1? ?Where2? ?Where3? ?Where4? ?Where5? ?Where6? ?Where7? ?Where8? ?Where9? args
 Calls the corresponding ZPTC dyn_deleted ABAP function in SAP to delete all records matching the search criteria. More...
 
 ZPTC_Dyn_Search ?Where0? ?Where1? ?Where2? ?Where3? ?Where4? ?Where5? ?Where6? ?Where7? ?Where8? ?Where9? ?MaxRows? args
 Calls the corresponding ZPTC dyn_search ABAP function in SAP to retrieve all records matching the search criteria. More...
 
 ZPTC_Get_Detail Id args
 Calls the corresponding ZPTC get_detail ABAP function in SAP to retrieve detailed information of one specific ZPTC record. More...
 
 ZPTC_Insert ObjTyp ObjId ObjDesc ?Reason1? ?Reason2? ?Status_E2S? ?ErrMsg1? ?ErrMsg2? ?ErrMsg3? args
 Calls the corresponding ZPTC insert ABAP function in SAP to insert one line into the T4S ZPTC database table. More...
 
 ZPTC_Update Id ?ObjTyp? ?ObjId? ?ObjDesc? ?Reason1? ?Reason2? ?Status_E2S? ?ErrMsg1? ?ErrMsg2? ?ErrMsg3? ?Deleted? ?Reset? args
 Calls the corresponding ZPTC update ABAP function in SAP to update one line of the T4S ZPTC database table. If one of the optional parameters is passed empty, no action will be performed on it. If the value '!leer!' is passed, the parameter will be deleted in SAP. More...
 

Function Documentation

◆ ZPTC_Delete()

TPSAP::ZPTC::ZPTC_Delete   ?Tagged? ?Id?  

Calls the corresponding ZPTC delete ABAP function in SAP to delete one line of the T4S ZPTC database table.

Parameters
Tagged(optional - empty) - (X or empty) if 'X' is provided, the table entry will only be marked as deleted. Otherwise it will be deleted physically.
Id(optional - empty) if an ID is provided, only the corresponding table entry will be deleted. If 0 or an empty string is provided, all entries will be deleted.
Returns
Number of affected records or ERROR.

References TPSAP::getSessionLogChannel().

◆ ZPTC_Dyn_Delete()

TPSAP::ZPTC::ZPTC_Dyn_Delete   ?Tagged? ?Where0? ?Where1? ?Where2? ?Where3? ?Where4? ?Where5? ?Where6? ?Where7? ?Where8? ?Where9? args  

Calls the corresponding ZPTC dyn_deleted ABAP function in SAP to delete all records matching the search criteria.

Parameters
Tagged(optional - X) - (X or empty) if 'X' is provided, all table entries matching the search criteria will only be marked as deleted. Otherwise they will be deleted physically.
Where0(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where1(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where2(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where3(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where4(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where5(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where6(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where7(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where8(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where9(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
argsnone
Returns
Amount of records deleted in SAP or ERROR

References TPSAP::getSessionLogChannel().

◆ ZPTC_Dyn_Search()

TPSAP::ZPTC::ZPTC_Dyn_Search   ?Where0? ?Where1? ?Where2? ?Where3? ?Where4? ?Where5? ?Where6? ?Where7? ?Where8? ?Where9? ?MaxRows? args  

Calls the corresponding ZPTC dyn_search ABAP function in SAP to retrieve all records matching the search criteria.

Parameters
Where0(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where1(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where2(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where3(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where4(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where5(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where6(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where7(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where8(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
Where9(optional - empty) SQL search criterion according to the ABAP SQL format. Only values up to 72 chars are allowed.
MaxRows(optional - 1000) Amount of records which should be retrieved.
argsnone
Returns
Amount of records found in SAP and global TCL array ::sap_result_array or ERROR.

References TPSAP::getSessionLogChannel().

◆ ZPTC_Get_Detail()

TPSAP::ZPTC::ZPTC_Get_Detail   Id args  

Calls the corresponding ZPTC get_detail ABAP function in SAP to retrieve detailed information of one specific ZPTC record.

Parameters
IdID of ZPTC table record
argsnone
Returns
0 (= OK) and global TCL array ::sap_result_array or ERROR

References TPSAP::getSessionLogChannel().

◆ ZPTC_Insert()

TPSAP::ZPTC::ZPTC_Insert   ObjTyp ObjId ObjDesc ?Reason1? ?Reason2? ?Status_E2S? ?ErrMsg1? ?ErrMsg2? ?ErrMsg3? args  

Calls the corresponding ZPTC insert ABAP function in SAP to insert one line into the T4S ZPTC database table.

Parameters
ObjTypCheck correspondig field of the ZPTC database table
ObjIdCheck correspondig field of the ZPTC database table
ObjDescCheck correspondig field of the ZPTC database table
Reason1(Optional - empty) check correspondig field of the ZPTC database table
Reason2(Optional - empty) check correspondig field of the ZPTC database table
Status_E2S(Optional - empty) check correspondig field of the ZPTC database table
ErrMsg1(Optional - empty) check correspondig field of the ZPTC database table
ErrMsg2(Optional - empty) check correspondig field of the ZPTC database table
ErrMsg3(Optional - empty) check correspondig field of the ZPTC database table
argsnone
Returns
Database Id of the newly created entry or ERROR

References TPSAP::getSessionLogChannel().

◆ ZPTC_Update()

TPSAP::ZPTC::ZPTC_Update   Id ?ObjTyp? ?ObjId? ?ObjDesc? ?Reason1? ?Reason2? ?Status_E2S? ?ErrMsg1? ?ErrMsg2? ?ErrMsg3? ?Deleted? ?Reset? args  

Calls the corresponding ZPTC update ABAP function in SAP to update one line of the T4S ZPTC database table. If one of the optional parameters is passed empty, no action will be performed on it. If the value '!leer!' is passed, the parameter will be deleted in SAP.

Parameters
IdUID of the entry which has to be updated.
ObjTyp(optional - empty) check correspondig field of the ZPTC database table
ObjId(optional - empty) check correspondig field of the ZPTC database table
ObjDesc(optional - empty) check correspondig field of the ZPTC database table
Reason1(optional - empty) check correspondig field of the ZPTC database table
Reason2(optional - empty) check correspondig field of the ZPTC database table
Status_E2S(optional - empty) check correspondig field of the ZPTC database table
ErrMsg1(optional - empty) check correspondig field of the ZPTC database table
ErrMsg2(optional - empty) check correspondig field of the ZPTC database table
ErrMsg3(optional - empty) check correspondig field of the ZPTC database table
Deleted(optional - empty) check correspondig field of the ZPTC database table
Reset(optional - empty) - (X or empty) if an 'X' is passed, the 'Changed' timestamps in SAP will be cleared.
argsnone
Returns
0 (= OK) or ERROR

References TPSAP::getSessionLogChannel().