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

while processing BAPI_GOODSMVT_CREATE , getting error.

Former Member
0 Likes
1,409

Hello,

In Program Script , i am using BAPI_GOODSMVT_CREATE for Goods Movement code = 04.  while processing i am getting error " Material 1000999 not maintained in Plant 1200 .  Checked in debug mode and noted the input details, same inputs if i pass through function module (SE37), i am able to process and never get any error.  I am getting Error while processing through Program mode.

Can any one suggest how to fix this issue.

BR,

Murali

1 ACCEPTED SOLUTION
Read only

VenkatRamesh_V
Active Contributor
0 Likes
1,328

Hi Murali,

Try,

pass the Material to the CONVERSION_EXIT_ALPHA_INPUT FM to get the preceding zero's as like stored in table. Then pass the values to  bapi.

Regards,

Venkat.

4 REPLIES 4
Read only

Former Member
0 Likes
1,328

Hi Murali, Can you please provide the Code snippet. Regards, Suhas.

Read only

VenkatRamesh_V
Active Contributor
0 Likes
1,329

Hi Murali,

Try,

pass the Material to the CONVERSION_EXIT_ALPHA_INPUT FM to get the preceding zero's as like stored in table. Then pass the values to  bapi.

Regards,

Venkat.

Read only

ThangaPrakash
Active Contributor
0 Likes
1,328

Hello Murali,

Use the function module CONVERSION_EXIT_MATN1_INPUT and do the conversion of material before passing it to the function module for creating goods movement.

Regards,

Thanga

Read only

0 Likes
1,328

Hello,

Thanks to every one,  Material code issue , fixed.  Please close this Request.

BR,

Murali