-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (27 loc) · 712 Bytes
/
Makefile
File metadata and controls
28 lines (27 loc) · 712 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#https://answers.sap.com/questions/4484314/rhstrucget.html
HR='{\
"exporting":{
"plvar":"01",
"otype":"O",
"objid":"i_org_wa-org",
"wegid":"A002",
"begda":"i_org_wa-endda",
"endda":"i_org_wa-endda",
"pup_info":"X",
"with_stext":"X",
"tdepth":"0"
},
"tables":{
"stru_tab":"h_stru_tab"
},
"exceptions":{
"catalogue_problem":"1",
"root_not_found":"2",
"wegid_not_found":"3",
"others":"4"
}
}'
test:
curl -X POST -H "Content-Type: application/json" -d '{}' http://localhost:8088/rfc/STFC_STRUCTURE
hr:
curl -X POST -H "Content-Type: application/json" -d $(HR) http://localhost:8088/rfc/RHPH_STRUCTURE_READ