Application Development 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: 

BAPI_SALESORDER _CHANGE - Urgent

Former Member
0 Kudos

Hello Gurus,

I am using BAPI_SALESORDER _CHANGE passing

VBELN

orderheaderinx-updateflag = 'U'.

itemsin-posnr = 1

updateflag = 'X'

I am not trying to change any value,I just wanted to test this BAPI.

In development server with these basic values,the bapi is running successfully.But in quality its giving error

' Batch doesnot exist for plant .'

Even though I am not trying to change BATCH or PLANT why is thsi message coming...Please tell me....

Useful answers will be rewarded

Thanks ,

Arjun

5 REPLIES 5

Former Member
0 Kudos

Try this oss note:

OSS: 300757

0 Kudos

How to check the OSS note

Former Member
0 Kudos

Hi Arjun,

Check for the length of the plant and pass the value with preceeding zeroes or use the function module "CONVERSION_EXIT_ALPHA_INPUT"

I forsee that the length of the plant is not matching.

Hope this should solve your query.

Reward Points if useful.

Thanks,

Tej..

Message was edited by:

Shree Tejus

Former Member
0 Kudos

chk plant in production

dev and pro same plant or difference chk.

else.

see funcational consultant ask correct plant.

Former Member
0 Kudos

I am not giving plant or batch no as input ,I am just passing

VBELN

orderheaderinx-updateflag = 'U'.

itemsin-posnr = 1

updateflag = 'X'

I am just testing this BAPI beforeuse