April 13

simulate mapping in CPI iFlow

https://sapzero2hero.com/2022/04/19/sap-cpi-working-with-simulation-in-sap-cpi/

阅读全文...

Oct 4

Using Value Mapping in Groovy

import com.sap.it.api.ITApiFactory
import com.sap.it.api.mapping.ValueMappingApi
def valueMapApi = ITApiFactory.getApi(ValueMappingApi.class, null)
def value = valueMapApi.getMappedValue('source-agency', 'source-identifier', 
                                       'source-value',
                                       'target-agency', 'target-identifier')


阅读全文...

Aug 25

sap cloud connector

1) Download

https://tools.hana.ondemand.com/#cloud

2) Operation

sudo systemctl start sapcc_daemon
sudo systemctl stop sapcc_daemon
sudo systemctl status sapcc_daemon


阅读全文...

Aug 11

AMDP Practices 2

CLASS zcl_amdp_gzn_ps DEFINITION   PUBLIC   FINAL   CREATE PUBLIC .   PUBLIC SECTION.     INTERFACES: if_amdp_marker_hdb, if_oo_adt_classrun.     TYPES:       BEGIN OF ty_result,         code TYPE char1,       END OF ty_result,       ty_result_tab TYPE STANDARD TABLE OF ty_result.     METHODS:       chk_inst_3k IMPORTING VALUE(iv_pid)    TYPE z9pieces                             VALUE(iv_plant)  TYPE werks_d      &nbs

阅读全文...

July 1

s/4 HANA Start & Stop

sapcontrol -nr XX -function Start
sapcontrol -nr XX -function Stop
sapcontrol -nr XX -function GetProcessList


阅读全文...