on 11-02-2022 1:13 PM
Hello,
We are extracting data from BW and staging data in DI data lake(I know that this is not a good idea while using SAP DI but we had to due to the fact that data transfer operator cannot send data directly to ADLV2).
We need to extract 176 millions of data from source packet wise. So I want to create one graph and reuse it.
I have followed the below blog but couldn't successfully pass the variable value to the DI graph which is using pipeline operator to pass the variable.
Could anyone help me on this?
----------------------------------
$.addGenerator(gen)
var graphName = "Test_pipeline_with_dynamicvariable" //Your subgraph name
var ZDATPAKID = "000001"
function gen(ctx) {
// start subgraph
var g
try {
g = $.instantiateGraph(graphName,
{"ZDATPAKID": ZDATPAKID}
)
} catch(e) {
$.fail(e.message)
return
}
// wait for graph execution is finished
status = g.wait()
// check graph status
if (status != $.graphStatus.completed) {
$.fail("Subgraph is failed")
} else {
$.done()
}
}
------------------------------------------
Error:
MessageGroup messages: Group: default; Messages: error building graph: configuration substitution failed for subengine operator subengineOperator0: for process "1_2019" ("pipeline1"): for configuration "configurationSubstitutions[0].value": missing value for "ZDATPAKID" Process(es) terminated with error(s). restartOnFailure==false
Thanks,Sirisha
Hello majer.michal,
I have attached the graph code for your view. It an ADSO object in BW.
di-transaction-full-graph-1-2019.txt
Please let me know if you need more details.
Thanks,
Sirisha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.