Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bapi_goodsmvt_create bapi error

Former Member
0 Likes
1,897

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

8 REPLIES 8
Read only

Former Member
0 Likes
1,770

Cross module posting not possible through BAPI_GOODSMVT_CREATE. Instead of that use BAPI BAPI_OUTB_DELIVERY_CONFIRM_DEC.

Read only

0 Likes
1,770

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

Read only

0 Likes
1,770

Are you passing 'X' to bapi structure variable HEADER_CONTROL-POST_GI_FLAG ?

Read only

0 Likes
1,770

Yes Iam Passing 'X' to HEADER_CONTROL-POST_GI_FLAG .

It is throwing Warning message (Number 268). But not giving the message text.

Read only

0 Likes
1,770

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).

Read only

0 Likes
1,770

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 '.

Read only

0 Likes
1,770

Conversion factors 0:0 are zero, not defined mathematically

Read only

Former Member
0 Likes
1,770

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