Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Himanshuv1
Contributor
Contributor

How to execute tSapBapi multiple times with different inputs

Hi Team,
Is there any way we can execute tSapaBapi multiple time wherein we should be able to provide different input value?
Regards
Akanksha
Labels (2)
7 Replies
Anonymous
Not applicable

Yes it is in a bit cumbersome way:
tFixedFlowInput --(flow)--> tFlowToIterate --(iterate)--> tJava --(OnComponentOk)--> tSAPBapi
The tJava component is actually only a kind of anchor and has none logic or necessary configuration at all.
In the tSAPBapi you have to use the return values provided from the tFlowToIterate component. 
_AnonymousUser
Specialist III
Specialist III

Yes it is in a bit cumbersome way:
tFixedFlowInput --(flow)--> tFlowToIterate --(iterate)--> tJava --(OnComponentOk)--> tSAPBapi
The tJava component is actually only a kind of anchor and has none logic or necessary configuration at all.
In the tSAPBapi you have to use the return values provided from the tFlowToIterate component. 

I have the same issue, however the tSAPBapi can not accept tJava (onComponentOk), I'm using 6.0.1 Talend Integrater
Anonymous
Not applicable

Yes, sorry I forgot a tJava.
tFixedFlowInput --(flow)--> tFlowToIterate --(iterate)--> tJava --(OnComponentOk)--> tJava --(OnSubjobOk)--> tSAPBapi
Both tJava are necessary to have a call per row of he input flow.
Anonymous
Not applicable

Is it possible to use the same sequence of components for a tSAPInput?
(you can see my full post with id=49168)
TIA,
  Vince
Anonymous
Not applicable

Hi jlolling
I am facing some issue with tSAPBapi.
I am using Talend 6.2.1 Enterprise version (Free trial)
Can any one please explain me how to send row in tSAPBapi if it is required to pass a table as input parameter
Please explain with example to pass a table in input to tSAPBapi
Thanks in advance
Following are my job screenshot...
I am getting following error...
Exception in component tSAPBapi_2_TSAPBapi_OUT
SAPException@51b279c9
at org.talend.sap.exception.SAPException$Builder.<init>(SAPException.java:269)
at org.talend.sap.exception.SAPException$Builder.<init>(SAPException.java:264)
at org.talend.sap.exception.SAPException.newBuilder(SAPException.java:74)
at org.talend.sap.impl.model.bapi.SAPBapiTemplate.processXmlNode(SAPBapiTemplate.java:317)
at org.talend.sap.impl.model.bapi.SAPBapiTemplate.processXmlRoot(SAPBapiTemplate.java:255)
at org.talend.sap.impl.model.bapi.SAPBapiTemplate.setXml(SAPBapiTemplate.java:117)
at talendtestrfc.rfctest_0_1.RFCTest.tFixedFlowInput_1Process(RFCTest.java:3561)
at talendtestrfc.rfctest_0_1.RFCTest.runJobInTOS(RFCTest.java:6768)
at talendtestrfc.rfctest_0_1.RFCTest.main(RFCTest.java:6602)
: talendtestrfc.rfctest_0_1.RFCTest - tSAPBapi_2_TSAPBapi_OUT null
0683p000009MBUt.png 0683p000009MBZn.png 0683p000009MBWp.png
0683p000009MB76.png
Anonymous
Not applicable

No I cannot, I am not very experienced in the SAP stuff. I suggest you ask the support. Talend provides support also for the trail versions.
Anonymous
Not applicable

Ok
Thank you