on 07-29-2010 11:12 AM
import com.dummy.model.Request_SXMB_GET_MESSAGE_LISTPortType_SXMB_GET_MESSAGE_LIST;
import com.dummy.model.ComplexType_SXMB_GET_MESSAGE_LIST;
import com.dummy.model.ComplexType_SXI_MESSAGE_FILTER;
import com.dummy.model.proxies.types.SXI_MESSAGE_FILTER;
import com.dummy.model.proxies.types.SXMB_GET_MESSAGE_LIST;
Request_SXMB_GET_MESSAGE_LISTPortType_SXMB_GET_MESSAGE_LIST oRequest =
new Request_SXMB_GET_MESSAGE_LISTPortType_SXMB_GET_MESSAGE_LIST();
ComplexType_SXMB_GET_MESSAGE_LIST oParameters = new ComplexType_SXMB_GET_MESSAGE_LIST();
oRequest.setParameters(oParameters);
wdContext.nodeRequest_SXMB_GET_MESSAGE_LISTPortType_SXMB_GET_MESSAGE_LIST().bind(oRequest);
SXMB_GET_MESSAGE_LIST oInputbean = this.wdContext.
nodeRequest_SXMB_GET_MESSAGE_LISTPortType_SXMB_GET_MESSAGE_LIST()
.nodeParameters().currentParametersElement().modelObject().getOriginalBean();
oInputbean.setIM_FILTER(new SXI_MESSAGE_FILTER());
SXI_MESSAGE_FILTER ofilter = oInputbean.getIM_FILTER();
ofilter.setOB_NAME("DEBMAS.DEBMAS06");
ofilter.setOB_NS("urn:sap-com:document:sap:idoc:messages");
In the execute_..() method, i used the following code to set the parameters
SXMB_GET_MESSAGE_LIST oInputbean = this.wdContext
.nodeRequest_SXMB_GET_MESSAGE_LISTPortType_SXMB_GET_MESSAGE_LIST()
.nodeParameters().currentParametersElement().modelObject().getOriginalBean();
SXI_MESSAGE_FILTER ofilter = oInputbean.getIM_FILTER();
* ofilter.setFROM_TIME(new BigDecimal("2001229000000"));*
* ofilter.setTO_TIME(new BigDecimal("2001229235959"));*
Dear experts,
I need to run the function module RFC SXMB_GET_MESSAGE_LIST ,Everytime i would give some parameter on from time and to time ,i used to get internal error.However after finding and reading this webservice code,when i supplied the same parameter
mentioned in bold,there was no error found.But since i may be not having any data in this range so doesnot get picked up at the same time.Interesting thing here is datatype used ,once i put this value on import parameters,sap interprets the
FROM_TIME - 2.001.229.000.000,0000000
TO_TIME - 2.001.229.235.959,0000000
which again something i could not understand but this range is valid for sap as now it says "No data found" and not internal error as before.
Component Type Data Type
TIMESTAMPL DEC 21.
I dont know,what i am ginv to sap and what sap is interpreting.
RESOLVED 'IB_CONVERT_INTO_TIMESTAMP'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
RESOLVED
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.