on 10-03-2007 7:13 AM
Hi all;
I am trying to call a BAPI from xMII which has its input parameter as from and to dates.I passed in the dates in format DDMMYYYY but am unable to get a reply back from BAPI.
Same thing is working when i execute the BAPI with the same parameter in R/3 system.
Please help.
Mudit
Mudit
Did u hv tried with the help of built-in function <b>datefromxmlformat( <InputDate>, <dateformat> )</b>
Regards
Som
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Mudit
It is not possible to give much suggestions if u give no detailed error.
Tell me wat u hv tried in BLS for calling BLS including passing DateTime from the starting point step by step.
Also pls use Action <b>Tracer</b> just after SAP JCO Interface where u call BAPI and link the message with <b>SAPJCOInterface_0.LastErrorMessage</b>
Regards
Som
Mudit
Did u hv defined Transaction Input parameter with Data Type DateTime which is used to be passed to BAPI request item.
Pls do check the LastErrorMessage using Tracer (see the tracer logs after hitting F5/F6)
IlluminatorDocument(With one string param defined)
SAPJCOInterface(With BAPI call and input param passed in date format)
<b>Tracer (LastErrorMessage mapped to the mesage) </b>
IlluminatorRow(Reply from bapi mapped to output param)
Assignment
One thing more, y r u not using Repeater action which is used to loop the response from BAPI call and within the loop, use Row action to append the response item the XML Document defined in the first sequence. (Hope, u remember my that guided doc in some prvious thread posted to u where full guide with steps are provided)
Regards
Som
You are passing the dates to the BL transactions as DDMMYYYY. Please note that this is not the XML format so using a datefromxml will not work but rather a datetoxmlformat will.
Always pass an XML formatted date to BAPI. It never fails.
Also in your transaction , when it fails ,map your tracer to the BAPI response RETURN table's (or structure, whatever the case may be) node called MESSAGE to get back the actual error from the BAPI.
Before trying this make sure of the permissions as Sam suggests.
User | Count |
---|---|
10 | |
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.