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

Batch Classification using BAPI_OBJCL_CHANGE_KEY

Former Member
0 Likes
1,378

I am trying to do Batch Classification using the Bapi "BAPI_OBJCL_CHANGE_KEY". What do I have to pass in CLOBJECTKEY. As I am doing Batch Classification I am passing the Batch Number but it is not working with that. Can I get some help?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
873

check INOB table the field is CUOBJ

4 REPLIES 4
Read only

Former Member
0 Likes
873

Hi,

The value what you need to pass there is the SAP GUI ID, which you can get from the document table. In the enterprise versions of SAP this field is added.

Thansk,

Mahesh.

Read only

0 Likes
873

I am doing it in a proxy. I am getting the inspection lot number, Batch Number, Material Number etc from the proxy structure.

Are you talking about the CUOBJ field from the QALS table. I tried testing the BAPI with that but it is not running. I am getting a message object does not exist.

Can you help me with some code snippet if you have worked with it?

Read only

0 Likes
873

Let me explain the entire scenario.

once a inspection lot is created it is sent to a different vendor for its usage decision. the usage decision comes back to us as a flat file and we have to update the batch characteristics.

if the interface wouldn't have been there the we would do it through MSC2N.

the steps are as follows:

Step1 - from transaction cor1 the process order is created

step2 - from cor2 process order

step3 - from cor6n, do the goods movement, give storage location and save

step4 - the interface work starts::

we get the inspection lot number from the proxy structure for the batch. now we need to update the batch characteristics

as we do in transaction MSC2N.

I need to use the Bapi here. now tell me how do i do that?

Read only

Former Member
0 Likes
874

check INOB table the field is CUOBJ