You are on page 1of 131

SAP e-book about:blank

1 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

2 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

3 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

4 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

5 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

6 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

7 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

8 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

9 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

10 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

11 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

12 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

13 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

14 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

15 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

16 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

17 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

18 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

19 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

20 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

21 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

22 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

23 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

24 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

25 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

26 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

27 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

28 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

→ →

29 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

30 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

● → →

31 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

32 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

33 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

34 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

35 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

36 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

37 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

38 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

39 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

40 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

41 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

42 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

43 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

44 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

45 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

46 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

47 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

48 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

49 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

50 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

51 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

52 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

53 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

54 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

55 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

56 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

57 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

58 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

59 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

60 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

61 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

62 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

63 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

64 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

65 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

66 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

67 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

68 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

69 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

70 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

71 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

72 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

73 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

74 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

75 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

76 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

77 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

78 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

79 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

80 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

<static> init(successCallback, errorCallback,


applicationId, context, logonView)

81 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

82 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

83 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

<static> debug(message, tag, successCallback, errorCallback) Or


warn(...) or info(...) or error(...).

sap.Logger.info(message, tag);

84 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

85 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

86 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

87 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

88 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

● clear(successCallback, errorCallback)

● removeItem(key, successCallback,
errorCallback)

● length(successCallback, errorCallback)

89 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

// Create a list template


var oTemplate =
new sap.m.StandardListItem({title: "{carrid}",
description: "{CARRNAME}"});

// Create a List and add the model


var oList = new sap.m.List();

90 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

oList.setModel(oModel);

// Bind the CarrierCollection items and template


oList.bindItems("/CarrierCollection", oTemplate, null, null);

// Place it on the page


oList.placeAt("content");

var headers = {"X-SMP-APPCID" : appConnID};

// Create OData model from URL


var oModel = new sap.ui.model.odata.ODataModel(uri,
true,
user,
password,
headers);

// Create a list template


var oTemplate =
new sap.m.StandardListItem({title: "{carrid}",
description: "{CARRNAME}"});

// Create a List and add the model


var oList = new sap.m.List();
oList.setModel(oModel);

// Bind the CarrierCollection items and template


oList.bindItems("/CarrierCollection", oTemplate, null, null);

// Place it on the page


oList.placeAt("content");

91 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

92 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

93 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

94 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

open(success_callback, error_callback)

store.open(store_open_success, store_open_failure);

flush(success_callback, error_callback)
sap.OData.stores[0].flush(flush_success, flush_failure);

95 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

refresh(success_callback, error_callback)
sap.OData.stores[0].refresh(flush_success, flush_failure);

96 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

97 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

98 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

99 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

100 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

101 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

102 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

103 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

104 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

105 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

106 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

107 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

108 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

<static> regThis is a code


snippet:isterForNotificationTypes(types, successCallback,
errorCallback, notificationlistenerfunc, senderId)

<static> registerForNotificationTypes(types,
successCallback, errorCallback, notificationlistenerfunc, senderId)

109 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

● →

110 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

111 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

112 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

113 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

114 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank


115 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

116 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

117 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

TestPushApp

118 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

119 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

TestPushAppProfile

TestPushAppProfile.mobileprovision

→ →

→ →

120 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

121 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

122 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

123 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

124 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

125 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

126 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

127 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

128 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

129 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

130 of 131 9/6/2018, 3:25 PM


SAP e-book about:blank

131 of 131 9/6/2018, 3:25 PM