‎2009 Dec 14 4:33 AM
Hi,
I am using BAPI IBAPI_ALM_ORDER_COMP_READ inside an include program. When I execute this BAPI individually in SE37 it is returning required values. But when it is called inside the program, it is not giving output.
What might be the reason?
Please help.
‎2009 Dec 14 4:37 AM
check the padded zeros for the values you are passing into the BAPI
‎2009 Dec 14 4:40 AM
Hi,
You can debug the code by putting a break-point at the BAPI call and checking the parameters that you are paasing ...
thanks,
Rimpa
‎2009 Dec 14 4:44 AM
I tried checking in debug mode where I am passing the correct parameters only.
Even there is zeroes or not, the FM is returning values in SE37.
‎2009 Dec 14 4:47 AM
>
> Even there is zeroes or not, the FM is returning values in SE37.
in se37 things would be taken care by SAP.. not in abap editor
‎2009 Dec 14 5:02 AM
Hi If I remove the preceding zeroes, it is giving error messages in ET_MESSAGES
‎2009 Dec 14 5:08 AM
using converexitalpha*input/output functions is a general practice... which u need to add padded zeros, that is when SAP understands its an Orders number..
‎2009 Dec 14 4:44 AM
Hi Vinraj,
Did you check the table ET_MESSAGES defined under table section of BAPI IBAPI_ALM_ORDER_COMP_READ.
It should be giving you the information about the status right.
Are you getting any exception when you run through the program.
Also cross check the fiels type and value format you are passing is appropriate.
Hope this helps you.
Thanks and Regards,
Ranjith Nambiar
‎2009 Dec 14 4:55 AM
Hi,
The ET_MESSAGES is returning zero values.
The type is same
‎2009 Dec 14 5:04 AM
Hi,
have you checked the passing parameters or tables to the BAPI. u have to declare the the export or tables as of same type. otherwise u will not get expected results.
suppose,
if export parameters in BAPI, MATNR is type MATNR, then u have to declare ur export parameter as MATNR...like this tables also..check ur inputs...
thnks
yerukala setty
‎2009 Dec 16 9:06 AM
‎2011 Mar 14 7:16 PM
Hi,
I am facing the same issue. Please let me know how you have solved this issue.
Thanks for your help.
Regards,
Janani