cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_SALESORDER_GETSTATUS

Former Member
0 Kudos

Hi,

I want to get the status of a Sales Order using Java/JCo programming. My SALESDOCUMENT is '0000001234'. I want to search basing on criteria SALESDOCUMENT LIKE '1234' .

This works fine.

JCoFunction function = connect.getFunction("BAPI_SALESORDER_GETSTATUS");

function.getImportParameterList().setValue("SALESDOCUMENT", "0000001234");

But want to use LIKE operator. Is there a way to use as such?

Thank you all in advance.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi ,

You have two options -either use java listner after getting the result set from this bapi or use some regular expression to set "1234*" in import param. set.

Hope this would resolve ur problem.

p330068
Active Contributor
0 Kudos

Hi James,

I don't think there is any like operator for this. But you can do this for user to use like operators in the screen to search that need to coded in Java accordingly based on value received from backend.

Hope it helps

Regards

Arun