‎2010 Dec 19 10:10 AM
Hi friends,
I developed a bapi for Post Goods Issue (PGI). The BAPI is throwing an error at the Movement Type. The error is ' Goods movement is not possible with mvmt type 601'.
This BAPI should be triggered in the background when VL01N transaction is run. Also please suggest me if we need any userexits / BADIs. I went through badis. But of no use.
Thanks and Regards,
Murali Krishna .T
‎2010 Dec 20 4:36 AM
Cross module posting not possible through BAPI_GOODSMVT_CREATE. Instead of that use BAPI BAPI_OUTB_DELIVERY_CONFIRM_DEC.
‎2010 Dec 21 6:05 AM
Hi Vinod,
Thanks alot for your reply. I have used the BAPI BAPI_OUTB_DELIVERY_CONFIRM_DEC. But when I run, it is not displaying any message from return table.
I have passed both the header and item details.
Thanks and Best regards,
Murali
‎2010 Dec 21 6:35 AM
Are you passing 'X' to bapi structure variable HEADER_CONTROL-POST_GI_FLAG ?
‎2010 Dec 21 6:50 AM
Yes Iam Passing 'X' to HEADER_CONTROL-POST_GI_FLAG .
It is throwing Warning message (Number 268). But not giving the message text.
‎2010 Dec 21 6:59 AM
Return structure of this BAPI doesn't return the TEXT of messgae. Extract the Message text using the function module FORMAT_TEXT (Pass the error type,error class,error_msgno as input parameters).
‎2010 Dec 21 7:26 AM
Hi Vinod,
Thanks for your information.
it is FORMAT_MESSAGE. I used this function module. When I run the BAPI, it is throwing the message
' Conversion factors 0:0 are zero, not defined mathe '.
‎2010 Dec 21 7:28 AM
Conversion factors 0:0 are zero, not defined mathematically
‎2010 Dec 30 4:55 PM
Hi Murali,
In the header are you passing the correct GM code. Pass the GM code depending on your Requirment and set movement indicator accordingly in item table. You can get more information about in Function module documentation.
Regards,
Sajith